|
Post by denise on Feb 18, 2020 10:28:48 GMT
Dear all,
I've coded a survey in which participants listen to sounds. However, I want them to only hear each sound once. (Currently it seems like they can click on the "play"-button as often as they want, but that is exactly not what I want). Is there a way to program the survey so that for each question, participants can only hear the sound once? One solution could be to have the sound play via autoplay and then time the question exactly to the stimulus length or disable to play-button. However I don't know if and how either is possible.
Here's my current code:
l: DS41
a: DS41.wav
t: info
b: Please click here to enter your response.
q: Remember this list.
I am beyond grateful for any help.
Denise
|
|
|
Post by PsyToolkit on Feb 19, 2020 10:11:11 GMT
Dear Denise, A new feature has just been implemented to do exactly this, you are really lucky. This working in the new version 2.6.2, which is stable to use (and will become default version in March anyway). Login to 2.6.2 this way: www.psytoolkit.org/cgi-bin/psy2.6.2/Then here is how you do your specific question: l: DS41 a: DS41.wav o: no_sound_replay t: info b: Please click here to enter your response. q: Remember this list.
That is all. When you click the sound to play, the sound will play, but the user cannot click it again. Note the purple line that makes the sound NOT replayable.
Let me know if this helps. For further questions, please write again or email me via psytoolkit@gmx.com
|
|
|
Post by denise on Feb 19, 2020 13:53:03 GMT
Thank you so so much, Prof. Stoet. I really appreciate your help.
|
|
|
Post by ivanenuel on Apr 10, 2020 13:22:26 GMT
Dear all,
I just discover this forum and I really appreciate it! Thank for your help! Related to the question of Denise, I want that my participant listen a music during a autobiographic recall to induce a specific emotional state. For that, I use the textbox question type with an audio file. This work pretty well.
However, it would be better if I could be sure that my participant listen the sound. I would like to know if an autoplay option exist in the new version ?
Otherwise, could I use a youtube video instead with such kind of option (as I see that the new version has new features concerning youtube question type).
Thank you very much for any information !
Best regards,
Ivane
|
|
|
Post by PsyToolkit on Apr 10, 2020 21:09:08 GMT
Hi Ivane,
With "autoplay" you mean that the sound starts to play automatically when the website loads.
This feature is not really supported by browsers, they have disabled it because it is unwanted. For example, when people are in a public or shared space, they do not want that websites automatically start to make music. The solution of browsers is that videos play automatically, but they will always be on mute.
Because of this, there is just no way to make this work, it is just not in line with current browser standards (for good reasons).
All best,
Gijsbert
|
|
|
Post by ivanenuel on Apr 13, 2020 7:17:40 GMT
Dear Pr. Stoet,
Thank you very much for your reply !
All the best,
Ivane
|
|
|
Post by denise on Apr 14, 2020 9:34:05 GMT
Dear Prof. Stoet,
I am currently acquiring data with the test version 2.6.2 as you suggested. Is there any limit on participants? For example, I should only gather 100 participant datasets at once because otherwise there might be some difficulty with saving the data?
Thank you so much and all the best Denise
|
|
|
Post by PsyToolkit on Apr 14, 2020 23:52:14 GMT
It should be fine to gather data from 100 participants.
|
|
|
Post by alison357 on Jun 9, 2021 11:52:48 GMT
Hi,
I just wanted to ask if it is still not possible to play a sound automatically, instead of the participant having to press play.
And on a related note, I have created a survey where participants are asked to rate audio files. Is there a feature or a way such that participants can only answer the questions (click on the scale) once the sound has been played?
Thank you so much for your help!
Best Alison
|
|
|
Post by PsyToolkit on Jun 10, 2021 8:45:38 GMT
As noted in earlier messages, autoplay is not possible in general, because Browsers protect users websites from playing stuff automatically. Imagine this would be possible, you would contantly get intrusive spam sounds and so on.
|
|