New record
Signe Marie Sanne
signe.sanne at roman.uib.no
Tue Apr 2 08:58:01 EST 2002
Hello
I just downloaded the newest build and started to test out the new
record function. On Mac 8.5.1 I am able to record my own voice with
"answer record", but the speed is double (in earlier builds it
sometimes was half). On Windows 2000 I do not get any recording at
all.
I have also tried the following script and tested a variety of
settings (to no avail):
on recordMyVoice
global lydfil, nr
add 1 to nr
enable btn "stopp opptak"
put value (word 2 of the long name of this stack) into temp
set itemDel to "/"
delete last item of temp
set itemDel to comma
if the platform = "macos" then put "/minlyd" & nr & ".mov" after
temp --I have tried .aif and .ulaw as well
if the platform = "win32" then put "/minlyd" & nr & ".aif" after temp
put temp into lydfil
if the platform = "win32" then
set the recordrate to "44.1"
set the recordcompression to "raw "
set the recordFormat to "aiff"
set the recordInput to "emic"
end if
if the platform = "macos" then
set the recordrate to "22.05"
set the recordcompression to "raw "
set the recordFormat to "ulaw"
set the recordInput to "emic"
end if
record sound file lydfil
put the seconds into nsecs
repeat while recording is true
wait for 0.20 seconds with messages
set the thumbposition of scrollbar 1 to recordloudness()
end repeat
put "recorded for "&&the seconds - nsecs&&"seconds"
set the thumbposition of scrollbar 1 to 0
end recordMyVoice
Has anybody got this to work?
Regards
Signe Marie Sanne
--
1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no
Romansk Institutt tel: +47 55 58 21 27
Oysteins gt. 1
5007 Bergen http://www.hf.uib.no/hfolk/mlab/default.html
Norway
More information about the metacard
mailing list