Page 1 of 1

Recording Audio

Posted: Tue Jul 03, 2012 2:04 pm
by jsburnett
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

Re: Recording Audio

Posted: Tue Jul 03, 2012 3:08 pm
by Dixie
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

Re: Recording Audio

Posted: Tue Jul 03, 2012 10:03 pm
by jsburnett
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

Re: Recording Audio

Posted: Tue Jul 03, 2012 10:15 pm
by jmburnod
Hi,
Anything I am doing wrong?
No this is probabily a file LC 5.5 version

Best regards

Jean-Marc

Re: Recording Audio

Posted: Tue Jul 03, 2012 10:20 pm
by Dixie
John...

It was a 5.5 stack... here it is saved in legacy format

be well

Dixie

Re: Recording Audio

Posted: Wed Jul 04, 2012 11:27 pm
by jsburnett
Thanks again!

John

Re: Recording Audio

Posted: Fri Jul 06, 2012 7:02 pm
by jsburnett
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

Re: Recording Audio

Posted: Sat Jul 07, 2012 2:58 pm
by jmburnod
Hi John,

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
Best regards

Jean-Marc

Re: Recording Audio

Posted: Wed Oct 10, 2012 4:21 pm
by WarrenW
John,

I'm looking at how to record audio also with the iPhone. Were you successful with this?

Thanks,

Warren