Record Audio in OS X and Windows

Devin Asay devin_asay at byu.edu
Tue Jan 20 18:51:00 EST 2015


On Jan 20, 2015, at 12:41 PM, JOHN PATTEN <johnpatten at me.com> wrote:

> Hi All,
> 
> Is the record audio feature currently broken in LiveCode (7.0.0)?
> 
> When I do this:
> 
> on mouseUp
>   set the dontuseQt to false
>   record sound file test.wav
>   answer the result
> end mouseUp
> 
> I get message “error 2 starting recording”
> 
> Thank you!

John,

This works for me in 7.0.2 RC1:

    put “test.aif" into sndName
    
    # make sure there's a name
    if sndName is empty then 
      exit mouseUp
    end if
    
    set the dontUseQT to false
    record sound file sndName


There have been a few audio-related bugs fixed in recent releases, so it may be that you’re experiencing one of those.

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University





More information about the use-livecode mailing list