Recording and playing sounds
carstenlist at itinfo.dk
Fri Aug 30 05:17:01 EDT 2002
Hi Mark ... and everybody :-)
Thanks for the advice on how to get better/acceptable quality. We are having
the same problem ...
And regarding your question on recording with ext_recordsound ... no the
recording is stopped ... it is controlled by the pallette called by the
external ... record/stop/playback.
> Message: 10
> Date: Fri, 30 Aug 2002 16:03:46 +0900
> Subject: Re: recording and playing sounds
> From: mark mitchell <cowhead at mac.com>
> To: use-revolution at lists.runrev.com
> Reply-To: use-revolution at lists.runrev.com
> Carsten wrote:
>> if platform() is "MacOS" then
>> get extInit(MacinfoBA,3050298)
>> put glbstilfilsti & "ress/sounds/opgavelyde/" & glbLydnavn &
>> into tempLYD
>> ext_recordSound tempLYD,1
>> play tempLYD
>> wait until the sound is done
>> answer "Optagelse af indtalt lyd kan kun ske under Mac OS" with OK
>> end if
>> end srtrecordsound
> I thought even with that external you had to Stop recording at some
> point. You seem to be recording and playing the sound simultaneously,
> and never stopping. There's something weird there.
> I had had problems in OSX getting record sound to work, as the 'quality'
> setting did not seem to be recognized, and always reverted to the
> worst. I got around this using the 'do' command:
> put "record sound file zaFile as zaFormat with" && zaQual && "quality"
> into zaMan
> do zaMan
> Using the above script, you can set any path to zaFile, any 4character
> codec to zaFormat (with new QT6, MP4 is available here!) and good,
> better or best to zaQual. But you still have to "stop recording"
> before you try to play it back, me thinks.
> good luck
> mark mitchell
More information about the Use-livecode