Using Quicktime to record sounds in Livecode

Richmond richmondmathewson at
Fri Mar 23 02:38:51 EDT 2012

On 03/22/2012 10:09 PM, Alejandro Tejada wrote:

That's an "old chestnut" (will try to see about it this evening after 
work), but, while I am here this occurs to me:

How can one record sounds in Livecode on Linux (can one?) ?

If the answer to my question, Alejandro, is positive, maybe, just maybe, 
it might not be a bad idea to install
some kind of Linux on  another partition to XP, or get another machine 
running with Linux, and then use Livecode
over there for sound recording.

> Hi All,
> Recently, I have been struggling in Windows XP with
> sound recording in LiveCode using QuickTime 7.7.1
> When I start recording, I see that hard disk is writing
> but when I click the button "Stop recording", there is
> no file written.
> This is the code that I am using, copied from a forum
> post. Please, test in your own setup and post your results
> using the development environment and the more recent version of
> StackRunner:
> Thanks in advance!
> Al
> ----------------------------------------------
> Button "Record Sound":
> on mouseUp
>     set the recordInput to "dflt" -- default
>     -- other options are imic (internal microphone) emic (external
> microphone), etc
>     set the recordRate to 48
>     put the platform into tPlatform
>     if tPlatform is "win32" then
>        set the recordFormat to "wave"
>        put ".wav" into tSuffix
>     else
>        set the recordFormat to "aiff"
>        put ".aif" into tSuffix
>     end if
>     set the playLoudness to 100
>     record sound file (specialfolderpath("desktop")&  "/SoundTest"&  tSuffix)
> end mouseUp
> Button "Stop Recording"
> on mouseup
>     stop recording
> end mouseup
> --
> View this message in context:
> Sent from the Revolution - User mailing list archive at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list