recording a sound

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Drachen Jager
Posts: 20
Joined: Tue Aug 28, 2007 9:23 pm

recording a sound

Post by Drachen Jager » Fri Feb 22, 2008 8:12 pm

Ok, stupid simple question. How do I record audio from a microphone.

I have tried;

button "record" with code:

on mouseUp
record sound file "testing.wav"
end mouseUp

button "stop" with code:

on mouseUp
stop recording
end mouseUp

button "play" with code:

on mouseUp
play "testing.wav"
end mouseUp

(there is no testing.wav being created so button 3 is really irrelevant)

button "recording?" with code:

on mouseUp
answer recording
end mouseUp

(to test whether Rev is recording, always says false no matter what I've tried)

I've tried many different approaches but this seems the simplest program to test audio recording, this is just a test stack with no card or stack scripts and no other scripts outside those buttons.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Mon Feb 25, 2008 1:34 pm

Sound recording requires that you have QuickTime installed.
What operating system, os version, quicktime version and Rev version are you using?

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Drachen Jager
Posts: 20
Joined: Tue Aug 28, 2007 9:23 pm

Post by Drachen Jager » Mon Feb 25, 2008 5:57 pm

Win xp, 64 bit.
Latest QT now but I've tried several versions in the hopes it would work.
Rev 2.8.1

I think it's the 64 bit screwing things up, I registered for the trial of Revolution on an old computer running 2k in 32 bit and it works properly.

Drachen Jager
Posts: 20
Joined: Tue Aug 28, 2007 9:23 pm

Post by Drachen Jager » Thu Apr 24, 2008 10:56 pm

Update: Bug fixed in 2.9

Post Reply