Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] Hardware for timing.

edited December 2012 in OpenSesame

Hi all,

This is related to a previous question regarding temporal accuracy for sound presentation.

Myself and Gary, our excellent technician, have used an oscilloscope to measure the temporal accuracy of sound presentation.

Depending on the computer used we're seeing 30-90 ms out which is to be exected based on a previous discussion here. This is a consistent presentation time on each computer, which allowed us to try something.

We've come up with a technique to use frames that are presented as a buffer for the sound which means we can get it to present in a small sequence with an accuracy of 5ms either side of the intended time. So it ranges from 100% accurate to 5ms below or above.

The thing is when we use this approach in a larger and more complicated sequence (which puts more demand on processing) the visual timings are no longer consistent.

We think this is likely a hardware problem.

I'm planning on requesting new hardware to address these issues. We need visual and audio accuracy and probably a kick-ass processor.

I was wondering if anyone here could give me an idea of what might be a good system to set up to best address these needs.

Tomorrow will be the deadline for departmental requests otherwise I'll be paying for the equipment out of my own pocket, so if anyone can help by then it would be great.

Thanks folks,

Boo.

ADDITIONAL QUERY: I think I have my visual stimuli drawn outside the screen size and OpenSesame resizes it on each call. Would this be the main cause of the frames being dropped that are being reported? I plan on changing this anyway.

Comments

  • edited 4:46PM
    We've come up with a technique to use frames that are presented as a buffer for the sound which means we can get it to present in a small sequence with an accuracy of 5ms either side of the intended time. So it ranges from 100% accurate to 5ms below or above.

    Right, so you are essentially measuring the playback delay, and then start sound playback a little bit before the sketchpad so that they are presented at the same time? I suppose that's a good trick, especially if you have the equipment to verify that it actually works.

    Regarding the system, I personally couldn't say, as I basically use whatever happens to be in the lab. But I suppose most modern systems should be fine, especially if they have a good graphics and sound card (i.e. preferably not built-in).

    ADDITIONAL QUERY: I think I have my visual stimuli drawn outside the screen size and OpenSesame resizes it on each call. Would this be the main cause of the frames being dropped that are being reported? I plan on changing this anyway.

    No, I don't think that should be a problem per se: OpenSesame does not resize or move anything. If you are concerned about frame dropping, perhaps you could describe your trial sequence in more detail, so that we can think of improvements? In principle, even long trial sequences should not suffer from significant timing issues.

  • edited December 2012

    I've had a suggestion for a video card by a perception researcher: Cambridge Research Systems, it's called apparently and is supposedly very high standard.

    I'm still looking into processors and audio cards.

    Boo.

    Sorry, just saw you replied. Will read now.

  • edited 4:46PM

    Thanks for your reply.

    The buffer approach appeared to work indeed. We used the oscilloscope to measure the beep followed by the next sketchpad. The output showed that the beep played approx 90ms after it's call which lined up with where we wanted it quite well.

    As I said above I think I'll make an attempt to acquire the vidoe card mentioned. However, I'm still looking into the audio and processing options.

    If anyone has any suggestions they are welcome.

    I'll get back to you regarding the dropped frames as I'm going to make some changes today.

    Thanks,

    Boo.

  • edited February 2013

    Hi,

    An update on the audio visual temporal accuracy.

    Gary, our wonderful IT engineering guru, conceived and developed a solution to my problems.

    Essentially he created an external switch that is connected to the PC (receiving commands to switch on or off via OS) and an external CD player and amplifier.

    He recorded an hour long CD of the required tone (3500kH) and it plays constantly. Depending upon the condition the switch is 'flicked' and plays the CD tone for 7ms (this time is coded into the switch but can be changed per experiment but not trial yet...) to the appropriate ear (left, middle or right).

    He has also factored the relation of when the tone and visual image is called to actual display time. This has resulted in an accuracy level in the order of micro-seconds.

    For all intent and purposes we have a tone played at the exact same time as the image is displayed.

    I'll post a link to his detailed explanation and timing data soon.

    There are some lovely colourful oscilloscope graphs included also.

    Boo.

  • edited 4:46PM

    Gary is getting famous! Someone (Anthony) mentioned him in another thread as well, in connection with a button box that he developed (which indeed looked very good).

  • edited 4:46PM

    And deservedly so! Gary is really bringing some reliable and affordable solutions to us mere non-engineer types.

    As Arnold used to say, I'll be back with a link to the nice data soon.

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games