Howdy, Stranger!

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

Supported by

[solved] Help Needed!

edited May 2016 in OpenSesame

Hello there,

I am a master student and I am trying to use OpenSesame to build my own experiment for my thesis.
All the stimuli that I would like to present is simple text.

Now, my experiment consists of three parts. The first part I am presenting stimuli randomly. So, I added a variable with my stimuli. So, I think this is OK.

For the two other parts, I have to present participants with feedback for each line of stimuli I have. The thing is I want each line of stimuli to appear three times randomly (so this is already done in part one). Since I have each line of stimuli appearing three times, I would need feedback to appear three times as well in such a way that participants receive "correct" feedback twice and "incorrect" feedback only once for each line of stimuli, but those three feedbacks should be random.

Is this possible? Can somebody please help? I am running out of time and I need a fast solution if possible.

Best,
Obada

Comments

  • edited April 2016

    Hi Obada,

    Unfortunately, I don't entirely grasp what you want to accomplish. However, from the general specs (e.g. using text, randomize, feedback, etc), I am quite positive that this will be possible (and not even very difficult) to do in OpenSesame. So, would you mind trying to rephrase your problem and/or give more details on what it is that you want to test?

    Thanks,

    Eduard

    Btw. "Help needed" is not a very good title for a discussion, because it is too generic and other people that have similar issues, won't be able to find it. Try to use something more specific in future.

    Buy Me A Coffee

  • edited 1:33PM

    Hi Edward,

    Thank you very much for replying so fast. I have to say OpenSesame saved me a lot of trouble with programming and what not. Anyways, here's what I want to do:

    1. Phase one:
      54 stimuli presented in a random order. What I added is creating a variable with my 18 original stimulus and made cycle to repeat 3 times. That way I get 54 stimuli appearing randomly.

    2. Phase two and three should be like this:
      the same 54 stimuli appearing randomly. But to each stimulus, I want to provide feedback. Now, this feedback should appear 2 times "correct" and 1 time "incorrect" to each stimulus.

    In other words, I have 18 stimuli. Each one is getting repeated 3 times (hence 3 * 18 = 54). Since each stimuli is repeated three times, I need 2 feedbacks to be "correct" and one feedback to be "incorrect" appearing randomly to that specific stimulus (this is should be done to each stimulus).

    I hope I was able to explain. Thank you very much for this program and this forum. I noticed that most of the developers are Dutch. I am studying at RUG in Groningen :)

  • edited 1:33PM

    Hey,

    In this case, I would recommend you to have not 3 repetitions of 18 stimuli, but to include all 54 in the loop table. Once you have them, you can add a variable to it (e.g. feedback) and assign correct to it 18 times and incorrect 36 times. Then you can present your stimuli depending on whether feedback evaluates to correct or incorrect.

    Does this make sense?

    Eduard

    Buy Me A Coffee

  • edited April 2016

    I think I got what you mean. I'll try it and hopefully it will work for my needs! :)

  • edited 1:33PM

    Hi Edward,

    I also would like to run a sampler while presenting the stimuli. I tried with the normal sequence, it didn't work. I added the coroutines plugin but it doesn't support loops or samplers.

    Is there a way around it?

  • edited 1:33PM

    Hi,

    Coroutines won't be necessary. What do you mean with "normal sequence" and what exactly didn't work? As far as I see, it should work just fine if you add the sampler to the sequence of stimulus and feedback and set the timing accordingly.

    Eduard

    Buy Me A Coffee

  • edited 1:33PM

    Hi Eduard,

    That's what I did. I used a sequence. I added my stimuli and my feedback. All I want is to add a sampler that works throughout my stimuli and feedback:

    1. Sampler starts and keeps going
    2. Stimuli and feedback starts and ends.
    3. By the end of the stimuli and feedback, the sampler stops.

    If it works using timing, could you elaborate on how to set that?

  • edited 1:33PM

    You have to set the duration of the sampler to 0. Then, it will just proceed to the next item while playing the sound. I am not sure though, how you would make the sound stop playing with the sampler item. But first, could you give it a try with these settings? If the sounds of multiple trials will overlap, we would need to find another solution.

    Eduard

    Buy Me A Coffee

  • edited 1:33PM

    Yes, it works now! However, when I run it, in the middle of the stimuli presentation, the whole process gets slowed down, sometimes the stimuli freeze and the audio file starts distorting! Is this because of OpenSesame or because of my operating system?

    Still the thing with stopping it at the end. Would there be a way?

    Thank you for helping me on this. Much appreciated.

  • edited 1:33PM

    The solution would be to use the sampler from within an inline_script.

    So, before the image shows, you begin playing, after participants responded, you stop it. Examples of how this can be implemented are here.

    Maybe this is also the reason why it slowed down.

    Let us know, if you need more help.

    Eduard

    Buy Me A Coffee

  • edited April 2016

    The issue of slowness that occurred was solved by taking the sound file outside of the loop. I also timed the sampler to stop after 2 mins, which is the time that takes for my stimuli to end. I think my experiment is ready and in good shape! :)

    Thanks Eduard!

Sign In or Register to comment.