Page 1 of 1

Help in generating sound

Posted: Tue Oct 30, 2012 8:33 pm
by pedja
Hi all, this is my first post. I have recently switched to LiveCode and still warming up and can not find any explanation how i can generate sounds in LiveCode. I found explanations about playing audio files, but nothing about generating tone of certain frequency. Any help on this? Thanks!

Re: Help in generating sound

Posted: Tue Oct 30, 2012 11:20 pm
by Mark
Hi,

You can't do that, apart from the "beep" command.

However, you might use an external (or make one in C++ or a similar language), which can generate sounds at a particular frequency. I have an external that plays MOD files, which was created by Andre, IIRC.

Moreover, this was published on the mailing list recently. Maybe it is something for you:
You can download for free my ABC external player at:
http://sunny-tdz.com/dwn

It comes with a LiveCode stack and some ABC tunes samples.

Available only for mac users.

You don't know what ABC is about ?
Then read this article: SunnYabc: Playing ABC tunes with LiveCode:
http://sunny-tdz.com/art-1003

For technical lovers, the external is written in Flex/Bison.
Kind regards,

Mark

Re: Help in generating sound

Posted: Wed Oct 31, 2012 1:07 am
by pedja
Hi Mark, thanks for the info! I guess I will have to go with externals then.

Re: Help in generating sound

Posted: Wed Oct 31, 2012 5:42 pm
by jacque
SunnYmidi might be useful, depending on what you need.http://sunny-tdz.com/art-1000

This uses the midi intrument library and allows you to generate notes at standard frequencies.

Re: Help in generating sound

Posted: Sat Nov 17, 2012 2:56 am
by pedja
Hey, just saw your post, thanks Jack!