Recording sounds -- delay in starting?

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Aug 7 17:53:04 EDT 2007


Hi Peter,

Two things. have you set the recordFormat to "wave"? You are  
recording into a wav file, but I don't see a command to set the  
recordFormat to wave.

You could try to fiddle with the recordRate, recordSampleSize and  
recordCompression. My guess is that setting the recordCompression to  
raw and the recordSampleSize to a small number will cause the  
smallest delay.

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http;//www.salery.com

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com


Op 7-aug-2007, om 23:14 heeft Peter T. Evensen het volgende geschreven:

> Hi Mark,
>
> This is the script I'm using:
>
> on RecordWord
>  set cursor to watch
>  disable button "Record"
>  put the milliseconds into tStart
>  record sound file "compare.wav"
>  put (the milliseconds - tStart) && "ms" into field "Record"
>  set the cursor to arrow
>  enable button "Stop"
> end RecordWord
>
> field "Record" shows anywhere from "2000 ms" to "3800 ms."  I wish  
> I could get rid of the delay :).
>
> I haven't tried it on the Mac yet (or on an earlier version of  
> Rev).  I have QT 7.2.0 installed.
>
> Is there any way to record without using QT?  I tried settting  
> dontUseQT to true and then my standalone doesn't record anything.
>
> Mark Schonewille wrote:
>> Hi Peter,
>>
>> I don't have this problem with 2.8.1 on Mac OS X and 2.7.x on  
>> Windows. In fact, I wish I could make it start recording 1 second  
>> after executing the record command. I haven't tried recording with  
>> 2.8.1 on Windows yet. Is it possible that your scripts are  
>> preventing Revolution from recording immediately?
>>
>> Best regards,
>>
>> Mark Schonewille
>>
>> -- 
>>
>> Economy-x-Talk Consulting and Software Engineering
>> http://economy-x-talk.com
>> http;//www.salery.com
>>
>> Quickly extract data from your HyperCard stacks with DIFfersifier.  
>> http://differsifier.economy-x-talk.com
>>
>>
>> Op 7-aug-2007, om 22:53 heeft Peter T. Evensen het volgende  
>> geschreven:
>>
>>> Is there any other way to record sounds in Revolution, other than  
>>> *record sound file "/filepath/"*?
>>>
>>> Record sound file with Rev 2.8.1 on my Windows XP takes 2-3  
>>> seconds to start recording, which seems unacceptable.  Is there  
>>> any faster way to record a sound?
>>>
>>> Stopping recording also takes about 2 seconds, which seems a bit  
>>> much.
>>>
>>> The program I'm replacing with my Rev app records and plays back  
>>> almost instantaneously.
>>>
>>> Thanks!
>>>
>>> Peter T. Evensen
>>> Juice Plus+ Independent Distributor
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> -- 
> Peter T. Evensen
> Juice Plus+ Independent Distributor
> 314-629-5248 or 888-628-4588
> http://www.PetersRoadToHealth.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list