recording a sound
Posted: 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.
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.