Thank you<div><br></div><div>I decide to use SoundBuffer.Play method hoping that its presents the sound on precise time, I have no good electronic ear (device) to measure.</div><div>Truly, I don't need so high resolution of tone. Anyway thank you for the attachment.</div><div><div><br></div><div><br></div><div>HanGue.</div><div><br>On Friday, April 20, 2012 3:46:02 PM UTC+2, Michiel Sovijärvi-Spapé wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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!*</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Michiel</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">*Really? No, not really.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a> [mailto:<a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.<wbr>com</a>] <b>On Behalf Of </b>Peter Quain<br><b>Sent:</b> 20 April 2012 16:36<br><b>To:</b> <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a><br><b>Subject:</b> RE: the time of the 'beep' function</span></p></div></div><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom:12.0pt"><br>that is a cool tone<br><br>At 11:25 PM 20/04/2012, you wrote:</p><p class="MsoNormal">Scientists,<br>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. <br>Hope it'll be actually attached after i send it to g-groups.<br>Best,<br>Michiel<br> <br><b>From:</b> <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a> [<a href="mailto:e-prime@googlegroups.com" target="_blank"> mailto:e-prime@googlegroups.<wbr>com</a>] <b>On Behalf Of </b>Michiel Sovijarvi-Spape<br><b>Sent:</b> 20 April 2012 16:09<br><b>To:</b> <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a><br><b>Subject:</b> RE: the time of the 'beep' function<br> <br>Hi,<br>No. In fact, it will say explicitly in your e-basic help file that the Beep function *<b>should never be used</b>* 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 <u>around the 3rd second</u>, maybe, a picture of <u>unknown quality, size and colour</u> was shown to the subjects <u>for a bit</u>", literally. <br>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).<br> <br>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.<br>Cheers,<br>Michiel<br> <br> <br> <br><b>From:</b> <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a> [<a href="mailto:e-prime@googlegroups.com" target="_blank"> mailto:e-prime@googlegroups.<wbr>com</a>] <b>On Behalf Of </b>hangue jo<br><b>Sent:</b> 20 April 2012 11:43<br><b>To:</b> <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a><br><b>Subject:</b> the time of the 'beep' function<br> <br>Hi there,<br><br>Is there anybody figure out how to measure the onset time of the beep?<br>Is this code below report the exact onset time of beep in milisecond unit (with trigger signal to sync to the recording computer)?<br><br>Beep<br>WritePort &H378, 1<br>BeepTime = Clock.Read<br><br>I can't use Slide object because of my whole stimuli was conducted in InLine (made an animation using Canvas).<br>Thank you.<br><br>Best,<br>HanGue Jo.<br>-- <br>You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/OXzsxaF3bjoJ" target="_blank">https://groups.google.com/d/<wbr>msg/e-prime/-/OXzsxaF3bjoJ</a>.<br>To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a> .<br>To unsubscribe from this group, send email to <a href="mailto:e-prime+unsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@<wbr>googlegroups.com</a>.<br>For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/<wbr>group/e-prime?hl=en</a>.<br>-- <br>You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a> .<br>To unsubscribe from this group, send email to <a href="mailto:e-prime+unsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@<wbr>googlegroups.com</a>.<br>For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/<wbr>group/e-prime?hl=en</a>.<br><br>-- <br>You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>To unsubscribe from this group, send email to <a href="mailto:e-prime+unsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@<wbr>googlegroups.com</a>.<br>For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/<wbr>group/e-prime?hl=en</a>.</p><p class="MsoNormal">-- <br>You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>To post to this group, send email to <a href="mailto:e-prime@googlegroups.com" target="_blank">e-prime@googlegroups.com</a>.<br>To unsubscribe from this group, send email to <a href="mailto:e-prime+unsubscribe@googlegroups.com" target="_blank">e-prime+unsubscribe@<wbr>googlegroups.com</a>.<br>For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/<wbr>group/e-prime?hl=en</a>.</p></div></div></blockquote></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/egzeSnq19zkJ">https://groups.google.com/d/msg/e-prime/-/egzeSnq19zkJ</a>.<br /> 
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />

For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />