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
--
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-p...@googlegroups.com.
To unsubscribe from this group, send email to e-prime+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.
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
Thanks for the heads up, glad you enjoyed the listening experience and I'm happy it got through. It did take about 4 minutes to generate, including download of the demo version of syntrillium cooledit, so I expect to be included as co-author!*
Michiel
*Really? No, not really.
Thanks for the heads up, glad you enjoyed the listening experience and I'm happy it got through. It did take about 4 minutes to generate, including download of the demo version of syntrillium cooledit, so I expect to be included as co-author!*
Michiel
*Really? No, not really.
From: e-p...@googlegroups.com [mailto:e-prime@googlegroups.com] On Behalf Of Peter Quain
Sent: 20 April 2012 16:36
To: e-p...@googlegroups.com
Subject: RE: the time of the 'beep' function
that is a cool tone
At 11:25 PM 20/04/2012, you wrote:
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
To unsubscribe from this group, send email to e-prime+unsubscribe@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-p...@googlegroups.com .
To unsubscribe from this group, send email to e-prime+unsubscribe@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-p...@googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe@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-p...@googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.