Recording Audio
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Recording Audio
Hi,
I am hoping to get some help with a hopefully simple problem. And I have tried to look for answers first in the dictonary and searching this forum.
I am trying to make a stack that allows you to record brief audio "comments" on a card associated with text (i.e., flash cards text notes and with audio notes).
I tried the 'record sound file (filePath)'. No file is created. The result is an error (I believe '-213', from my memory).
Quicktime is installed. I have a working microphone and I have set the input to external microphones per the documentation in the dictionary.
Any suggestions?
Does anyone know of or has a stack that I can look at the scripts to study?
Thank you in advance.
John
I am hoping to get some help with a hopefully simple problem. And I have tried to look for answers first in the dictonary and searching this forum.
I am trying to make a stack that allows you to record brief audio "comments" on a card associated with text (i.e., flash cards text notes and with audio notes).
I tried the 'record sound file (filePath)'. No file is created. The result is an error (I believe '-213', from my memory).
Quicktime is installed. I have a working microphone and I have set the input to external microphones per the documentation in the dictionary.
Any suggestions?
Does anyone know of or has a stack that I can look at the scripts to study?
Thank you in advance.
John
Re: Recording Audio
John...
Attached a very basic stack that allows you to record and then play the created file.. It will hopefully point you in the right direction..
be well
Dixie
Attached a very basic stack that allows you to record and then play the created file.. It will hopefully point you in the right direction..
be well
Dixie
- Attachments
-
- basicRecord.livecode.zip
- (1.04 KiB) Downloaded 346 times
Re: Recording Audio
Dixie,
Hi. Thanks for your prompt reply.
When I try to run basicRecord file, I get an error that "There was a problem opening that stack: file is not a stack".
Anything I am doing wrong?
I've 'extracted' the file.
Thanks.
John
Hi. Thanks for your prompt reply.
When I try to run basicRecord file, I get an error that "There was a problem opening that stack: file is not a stack".
Anything I am doing wrong?
I've 'extracted' the file.
Thanks.
John
Re: Recording Audio
Hi,
Best regards
Jean-Marc
No this is probabily a file LC 5.5 versionAnything I am doing wrong?
Best regards
Jean-Marc
https://alternatic.ch
Re: Recording Audio
John...
It was a 5.5 stack... here it is saved in legacy format
be well
Dixie
It was a 5.5 stack... here it is saved in legacy format
be well
Dixie
- Attachments
-
- basicRecordLegacy.livecode.zip
- (1.05 KiB) Downloaded 321 times
Re: Recording Audio
Thanks again!
John
John
Re: Recording Audio
Dixie,
I looked at the scripts in your stack.
They are similar to what i tried.
The "start recording file "Test" - doesn't always consistently 'work'. No file is often 'created'. Was wondering if anyone else has had this issue and found a work around.
Thanks.
John
I looked at the scripts in your stack.
They are similar to what i tried.
The "start recording file "Test" - doesn't always consistently 'work'. No file is often 'created'. Was wondering if anyone else has had this issue and found a work around.
Thanks.
John
Re: Recording Audio
Hi John,
set the script of the "Start" btn to this script:
Best regards
Jean-Marc
set the script of the "Start" btn to this script:
Code: Select all
on mouseUp
ask file "save as:"
if it = empty then exit mouseup
put it into tFile
record sound file tFile
end mouseUp
Jean-Marc
https://alternatic.ch
Re: Recording Audio
John,
I'm looking at how to record audio also with the iPhone. Were you successful with this?
Thanks,
Warren
I'm looking at how to record audio also with the iPhone. Were you successful with this?
Thanks,
Warren