Howdy, Stranger!

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

Supported by

[solved]Set duration for audio and present picture pairs in order

edited March 2014 in OpenSesame

Hello everyone!
First of all, thanks for offering a platform for discussions and help on here.
I'm fairly new to OpenSesame (went through all the Tutorials I could though) and really not that good at programming either. Hopefully someone on here could give some advice.
We're trying to do a reaction time task. There should be an Audio file being played (with a fixation dot being presented in the mean-time) and when the file is done, two pictures should pop up and the participant should decide for one of them with a key press.
I'm having problems with two things though and maybe someone can help (or re-direct me to a discussion or tutorial that discusses this):
1. How can I make the experiment to advance after the audio file is done playing? To set the duration, I can only find button presses or a set amount of time (the audio files will differ in length though).
2. I'd Need two pictures being presented then from a pool of 20 pictures. However, the pictures have been pre-assigned to each audio file and are not being presented at random from the pool. There was something similar here and the awesome response already helped quite a bit, but there, the pictures have been picked at random. We have a list of audio files that are being played in sequence and two specific pictures (out of those 20) for each file. Maybe I could use a second list for the pictures, or something like that.

Thanks for the help!

Comments

  • edited 8:38AM

    Hi!

    Thanks for the flattering, we like it ;)

    On your question about the sound duration: you can set the Duration of a sampler item to sound. In this way, the experiment will wait for the sound to stop before continuing.

    Your second question I don't quite get, I think. You have pictures that are supposed to be show directly after a specific audio file, so why not simply define some variables in a loop item? To be precise: define three variables: snd, img1, and img2. Set the amount of cycles to 10. For each of the 10 cycles, type in the appropriate combination of files, e.g.:

    snd     img1        img2
    s1.ogg  pic1.png    pic2.png
    s2.ogg  pic3.png    pic4.png
    
    ...
    
    s10.ogg pic19.png   pic20.png
    

    Now set the samplers sound file to [snd], and the image files to [img1] and [img2].

    Does that make sense? How to use variables is explained in each of the tutorials, so it might be worth going over those again. If this doesn't solve your problem, could you perhaps be more specific in terms of what you want to do exactly?

    Good luck!

  • edited 8:38AM

    Thanks! Works like a charm.
    The variables do make sense. We have over 1000 sound files, so I kind of wanted to avoid having to define so many variables, but if there isn't any problem with that, then I think that's the way to go.
    Thanks again! :)

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