the time of the 'beep' function

Michiel Sovijarvi-Spape mspape at cognitology.eu
Fri Apr 20 13:25:03 UTC 2012


Scientists,

Well, there we go. Here's the very ultimate in timing: 100 ms 16bit/stereo
(which is useless)/44.1Khz wave-form with envelope of 10 ms stochastic fade
in/fade out (to avoid clicks). Please use this if you want a real beep or
want some sound to demarcate an event or something. 

Hope it'll be actually attached after i send it to g-groups.

Best,

Michiel

 

From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf
Of Michiel Sovijarvi-Spape
Sent: 20 April 2012 16:09
To: e-prime at googlegroups.com
Subject: RE: the time of the 'beep' function

 

Hi,

No. In fact, it will say explicitly in your e-basic help file that the Beep
function *should never be used* for stimulus presentation. This is because
E-Prime cannot guarantee the onset time of the beep - the only thing your
function below does is measuring when E-Prime starts to send the call to
beep to Windows (if I'm not mistaken). It will then take X ms until your
internal speaker starts beeping. For that matter, what beep is it? How long
in ms? Is there a fade in or does it start at full amplitude? What
frequency? dB? If you can't know this (and you'd have to measure it with a
microphone), it is exactly the same as saying "Somewhere around the 3rd
second, maybe, a picture of unknown quality, size and colour was shown to
the subjects for a bit", literally. 

Anyway, so you might find out, with an electronic ear and such, but you
could take the easy path and just record a precise tone using something like
cooledit. PST can, given conditions, guarantee ('ish) accurate timing for
sound-files, just not for beeps (correct me if I'm wrong).

 

To be fair, I don't know why they don't just provide an inbuilt function to
play a 1s 1000 Hz sine wave tone and name the sub to
play("MichsCoolTone.wav") beep. I think people can spare the few bytes of
memory involved in keeping that permanently in memory.

Cheers,

Michiel

 

 

 

From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf
Of hangue jo
Sent: 20 April 2012 11:43
To: e-prime at googlegroups.com
Subject: the time of the 'beep' function

 

Hi there,

Is there anybody figure out how to measure the onset time of the beep?
Is this code below report the exact onset time of beep in milisecond unit
(with trigger signal to sync to the recording computer)?

Beep
WritePort &H378, 1
BeepTime = Clock.Read

I can't use Slide object because of my whole stimuli was conducted in InLine
(made an animation using Canvas).
Thank you.

Best,
HanGue Jo.

-- 
You received this message because you are subscribed to the Google Groups
"E-Prime" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/e-prime/-/OXzsxaF3bjoJ.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to
e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/e-prime?hl=en.

-- 
You received this message because you are subscribed to the Google Groups
"E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to
e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/e-prime?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20120420/4d65a94a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MichsCoolTone.zip
Type: application/octet-stream
Size: 13698 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20120420/4d65a94a/attachment.obj>


More information about the Eprime mailing list