Search found 223 matches

by PaulDaMacMan
Sun Feb 23, 2020 5:29 pm
Forum: LiveCode Builder
Topic: Text-to-speech TTS for macOS 10.6+
Replies: 1
Views: 143

Re: Text-to-speech TTS for macOS 10.6+

Just added setting the pitchMod property on a SpeechSynth Voice to this lib, you can make "Alex" voice sound like Mickey Mouse and then have Mickey say inappropriate things! hahah! :P Too much fun! https://www.youtube.com/watch?v=qvI8_y4aQPw&feature=share&fbclid=IwAR09fiifbfHY7_mqupOMXiMkH1aPp0DfMsw...
by PaulDaMacMan
Thu Feb 20, 2020 9:47 pm
Forum: LiveCode Builder
Topic: Text-to-speech TTS for macOS 10.6+
Replies: 1
Views: 143

Text-to-speech TTS for macOS 10.6+

Inspired by trevix & Simon Knight who are working on an LCB library to wrap Apple's AVSpeech APIs for Text-to-speech on iOS (at least some of which should also work on newer versions of macOS like 10.14 Mohave/10.5 Catalina), I started messing around with the older Apple API for doing Text-to-speech...
by PaulDaMacMan
Thu Feb 20, 2020 9:28 pm
Forum: LiveCode Builder
Topic: Community widgets
Replies: 47
Views: 24841

Re: Community widgets

Where the source code is not included it is commercially licensed (current price $0.00, license: "use at your own risk!" Hah! Kind of a vague license, but cool! With 10 of 13 widgets the source code is included Scrolling back in the forum, I see now that the source for most of them is posted here a...
by PaulDaMacMan
Thu Feb 20, 2020 5:23 pm
Forum: LiveCode Builder
Topic: Community widgets
Replies: 47
Views: 24841

Re: Community widgets

Great work Herman!
But doesn't MIT-licensed mean it's open source? Or am I confused (again)?
I'd be very interested in seeing some of your LCB code for your awesome widgets!
by PaulDaMacMan
Wed Feb 19, 2020 3:17 am
Forum: LiveCode Builder
Topic: Text-to-speech TTS for iOS
Replies: 17
Views: 597

Re: Text-to-speech TTS for iOS

I had to use the "|" itemdelimiter because I couldn't find out how to add a TAB (sigh). Anyway, easy to parse in LCS for 'tab' you can use a token \t like this: variable tStr as String -- LCB string put "\t" into tStr -- tab character unsafe put ObjC_NSArrayComponentsJoinedByString(pNSArray, String...
by PaulDaMacMan
Tue Feb 18, 2020 10:05 pm
Forum: LiveCode Builder
Topic: Text-to-speech TTS for iOS
Replies: 17
Views: 597

Re: Text-to-speech TTS for iOS

If, as I suspect it is then the LCB variable declaration should be moved outside the handlers to make it a static. This means that the next call from LCS to speak this text with this voice will be able to access the array of voices. Correct, if you define the variables within your handler then they...
by PaulDaMacMan
Tue Feb 18, 2020 7:47 am
Forum: LiveCode Builder
Topic: How do I deal with Code Blocks?
Replies: 12
Views: 412

Re: How do I deal with Code Blocks?

So one thing that may or may not be important in getting blocks to work is the scope. There's apparently 2 types of blocks that a compiler can create 1) Gobal block, which seems like it must be self contained and so doesn’t use any variables from outside its scope (local variables only). Notice the ...
by PaulDaMacMan
Tue Feb 18, 2020 7:04 am
Forum: LiveCode Builder
Topic: How do I deal with Code Blocks?
Replies: 12
Views: 412

Re: How do I deal with Code Blocks?

Here is some snippets of the relevant comments from the Gutter.im chatroom: -- This is our current block handling code. It adds a pointer that the block struct needs if it is treated as an objective c object: /* BLOCK HANDLING */ type LibraryHandle is Pointer private variable mNSConcreteGlobalBlock ...
by PaulDaMacMan
Tue Feb 18, 2020 1:31 am
Forum: LiveCode Builder
Topic: CalendarEvents Library
Replies: 2
Views: 184

Re: CalendarEvents Library

Cool, looks like you're off to a real good start with LiveCode Builder! The more people tinkering with it, and sharing their work/examples, the better! I started using Git (and MarkUp) so that I could help edit LiveCode's docs, then to host my LCB projects. It's not too hard to get the hang of. I ha...
by PaulDaMacMan
Tue Feb 18, 2020 1:20 am
Forum: LiveCode Builder
Topic: What to do with a potentially useful extension ?
Replies: 2
Views: 179

Re: What to do with a potentially useful extension ?

The extension store still doesn't appear to be ready for prime time, years after it's introduction. That tabbed panel has changed a bit over that time, it looks like they're going to combine the example stacks into that window too, eventually. I've been waiting for it too, I have a few LCB extension...
by PaulDaMacMan
Mon Feb 17, 2020 11:30 pm
Forum: LiveCode Builder
Topic: How do I deal with Code Blocks?
Replies: 12
Views: 412

Re: How do I deal with Code Blocks?

Hi guys, Just wanted to chime in to say, NO!!! I never really did get blocks working (except maybe one time when it was firing and then crashing the engine). Nor did I ever really fully understand them. So a little background: a Block (denoted by the ^ symbol) is something that Apple added to Object...
by PaulDaMacMan
Sat Jan 25, 2020 4:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Missing App Icon in MacOS build
Replies: 9
Views: 592

Re: Missing App Icon in MacOS build

Look up the macOS command line "lsregister", with it you can tell LaunchServices to do things like scan a directory for Bundles
by PaulDaMacMan
Sat Jan 25, 2020 4:53 am
Forum: Developer Services Marketplace
Topic: Simple Music DLL/ Library
Replies: 9
Views: 710

Re: Simple Music DLL/ Library

But only if you know the language that the external libraries are written in so that you can use LCB can wrap them. That's not necessarily true, I don't really know C language (I learned a little of ANSI C a few decades ago) and I was able to wrap a bunch of calls to Apple's C based CoreMIDI API. I...
by PaulDaMacMan
Thu Jan 16, 2020 12:23 am
Forum: LiveCode Builder
Topic: Nyquist Language and LCB
Replies: 3
Views: 1377

Re: Nyquist Language and LCB

Thank You Trevor. I'll look into it! Tom I just looked into it (and replied to your private msg). It doesn't appear to be available in the form of a code library. It has it's own IDE. It's a language derived from LISP. It looks like you could use it's runtime from the command line, so you should be...
by PaulDaMacMan
Thu Dec 05, 2019 12:00 am
Forum: Mac OS
Topic: Return value from AppleScript
Replies: 15
Views: 1920

Re: Return value from AppleScript

I hadn't realized until now that on macOS you can use any OSA scripting language via the 'Do' command. Which should mean that since macOS 10.10 you can actually use JXA (JavaScript for Automation) via the 'Do' command, which has an ObjC bridge object, which should give macOS LC scripters another way...

Go to advanced search