Howdy, Stranger!

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

Supported by

Replay button sound in OpenSesame form and activation of the form after playing sound

Hi everyone,

I am creating a questionnaire for my PhD study. My questionnaire is simple: the participant play the audio, give a mark to the audio (mark from 1 to 5) and write some comments about the audio. My questionnaire looks like:

but I have some problems:

1/ My audio is playing if you click at image_button in the middle of screen or if you click at Next_button at the bottom of screen. I would like that the audio is played just only if you clicked at image_button.

2/ My audio is played just once but I would like that it can be played every time when the participant click on image_button. I would like that the sound could be played five times at most.

3/ When my audio is playing or have been played, it is impossible to fill in questionnaire. I would like that the participant can fill in questionnaire during the audio is playing or after the audio is played.

How can I do these things?

Thank you a lot!

There is my questionnaire's script


Comments

  • Hi Libgvi,

    That's an interesting scenario. It's actually quite easy to implement everything that you want.

    > My audio is playing if you click at image_button in the middle of screen or if you click at Next_button at the bottom of screen. I would like that the audio is played just only if you clicked at image_button.

    You can assign a variable to the image_button with the var keyword:

    widget 0 1 1 1 image_button adjust=yes frame=no path="bouton_son3.png" var=play_sound
    

    And then you can use the following run-if statement for the sampler to play a sound only if that button was clicked: [play_sound] = yes

    See also:

    > My audio is played just once but I would like that it can be played every time when the participant click on image_button. I would like that the sound could be played five times at most.

    You can set the repeat value of the question_loop to 5, and then break the loop when a sound has not been played with the following break-if statement: [play_sound] = no

    > When my audio is playing or have been played, it is impossible to fill in questionnaire. I would like that the participant can fill in questionnaire during the audio is playing or after the audio is played.

    Just set the duration of the sampler to 0!

    For a simple example, see:

    Cheers,

    Sebastiaan

  • Great, thank you, Sebastiaan!!

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