Changing Sound Intensity During Experiment


Author
Message
ELP
ELP
ELP
posted Last Month HOT
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 4, Visits: 21
Hi,
I am running an experiment online where participants need to hear a tone during the experiment. The tone needs to be set to a level that is noticeable but not unpleasant, but it must also be novel, so we have a calibration sound that is matched in intensity at the beginning of the experiment. The idea was to have a block where the participants heard the calibration sound and could set the volume on their computer so that it is at a comfortable level, but Inquisit takes over the computer so that it is not possible to easily change the computer sound level. Is there a way to have an option for the participant to increase or decrease the volume of the sounds themselves which once they set the volume can be used throughout the experiment?
This is how it is coded at the moment with the train being the calibration sound but with no way to change intensity.

<item Train>
/1= "train.wav"
</item>

<sound Train>
/items = Train
</sound>

<item Tone>
/ 1 = "tone440hz.wav"
</item>

<sound Tone>
/items = Tone
</sound>
g
<trial Train>
/stimulustimes = [0=Train, TrainInfo]
/timeout = 6000
/posttrialpause = 0
</trial>

<trial CSUextinctionNFE>
/stimulustimes = [0=CSU; 500=CSU, Tone]
/timeout = 2000
/posttrialpause = 2000
</trial>

Thanks😊

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 84K
ELP - 7/21/2022
Hi,
I am running an experiment online where participants need to hear a tone during the experiment. The tone needs to be set to a level that is noticeable but not unpleasant, but it must also be novel, so we have a calibration sound that is matched in intensity at the beginning of the experiment. The idea was to have a block where the participants heard the calibration sound and could set the volume on their computer so that it is at a comfortable level, but Inquisit takes over the computer so that it is not possible to easily change the computer sound level. Is there a way to have an option for the participant to increase or decrease the volume of the sounds themselves which once they set the volume can be used throughout the experiment?
This is how it is coded at the moment with the train being the calibration sound but with no way to change intensity.

<item Train>
/1= "train.wav"
</item>

<sound Train>
/items = Train
</sound>

<item Tone>
/ 1 = "tone440hz.wav"
</item>

<sound Tone>
/items = Tone
</sound>
g
<trial Train>
/stimulustimes = [0=Train, TrainInfo]
/timeout = 6000
/posttrialpause = 0
</trial>

<trial CSUextinctionNFE>
/stimulustimes = [0=CSU; 500=CSU, Tone]
/timeout = 2000
/posttrialpause = 2000
</trial>

Thanks😊

Your best option is to run the script in window-mode, such that it does not take over the entire screen. That should allow participants to access the volume controls on their computer.

https://www.millisecond.com/support/docs/current/html/language/attributes/windowsizedefaults.htm


ELP
ELP
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 4, Visits: 21
Dave - 7/21/2022
ELP - 7/21/2022
Hi,
I am running an experiment online where participants need to hear a tone during the experiment. The tone needs to be set to a level that is noticeable but not unpleasant, but it must also be novel, so we have a calibration sound that is matched in intensity at the beginning of the experiment. The idea was to have a block where the participants heard the calibration sound and could set the volume on their computer so that it is at a comfortable level, but Inquisit takes over the computer so that it is not possible to easily change the computer sound level. Is there a way to have an option for the participant to increase or decrease the volume of the sounds themselves which once they set the volume can be used throughout the experiment?
This is how it is coded at the moment with the train being the calibration sound but with no way to change intensity.

<item Train>
/1= "train.wav"
</item>

<sound Train>
/items = Train
</sound>

<item Tone>
/ 1 = "tone440hz.wav"
</item>

<sound Tone>
/items = Tone
</sound>
g
<trial Train>
/stimulustimes = [0=Train, TrainInfo]
/timeout = 6000
/posttrialpause = 0
</trial>

<trial CSUextinctionNFE>
/stimulustimes = [0=CSU; 500=CSU, Tone]
/timeout = 2000
/posttrialpause = 2000
</trial>

Thanks😊

Your best option is to run the script in window-mode, such that it does not take over the entire screen. That should allow participants to access the volume controls on their computer.

https://www.millisecond.com/support/docs/current/html/language/attributes/windowsizedefaults.htm


Thanks -- that works now :
ELP
ELP
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 4, Visits: 21
Dave - 7/21/2022
ELP - 7/21/2022
Hi,
I am running an experiment online where participants need to hear a tone during the experiment. The tone needs to be set to a level that is noticeable but not unpleasant, but it must also be novel, so we have a calibration sound that is matched in intensity at the beginning of the experiment. The idea was to have a block where the participants heard the calibration sound and could set the volume on their computer so that it is at a comfortable level, but Inquisit takes over the computer so that it is not possible to easily change the computer sound level. Is there a way to have an option for the participant to increase or decrease the volume of the sounds themselves which once they set the volume can be used throughout the experiment?
This is how it is coded at the moment with the train being the calibration sound but with no way to change intensity.

<item Train>
/1= "train.wav"
</item>

<sound Train>
/items = Train
</sound>

<item Tone>
/ 1 = "tone440hz.wav"
</item>

<sound Tone>
/items = Tone
</sound>
g
<trial Train>
/stimulustimes = [0=Train, TrainInfo]
/timeout = 6000
/posttrialpause = 0
</trial>

<trial CSUextinctionNFE>
/stimulustimes = [0=CSU; 500=CSU, Tone]
/timeout = 2000
/posttrialpause = 2000
</trial>

Thanks😊

Your best option is to run the script in window-mode, such that it does not take over the entire screen. That should allow participants to access the volume controls on their computer.

https://www.millisecond.com/support/docs/current/html/language/attributes/windowsizedefaults.htm


Hi,
Is there also a way to make the sound keep looping until they press the space bar to end the block and confirm the sound is set to the correct level?

<item TrainInfo>
/1 = "Please set the intensity of your volume to a level that is comfortable (e.g., the sound is clearly noticeable but not unpleasant or startling). When you are done press space"
</item>

<text TrainInfo>
/ numitems = 1
/ position = (50, 70)
/ size = (90%,75%)
/ vjustify = center
/ hjustify = center
/ fontstyle = ("Arial", 3%)
/ items = TrainInfo
/ color = white
/ txbgcolor = black
</text>

<item Train>
/1= "train.wav"
</item>

<sound Train>
/items = Train
</sound>

<trial Train>
/stimulustimes = [0=Train, traininfo]
/timeout = 24000
/posttrialpause = 0
/correctresponse = (" ")
/validresponse = (" ")
/response =correct
</trial>

<block Train>
/Trials = [1-1 = noreplace(train)]
</block>

Thanks!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 84K
ELP - 7/21/2022
Dave - 7/21/2022
ELP - 7/21/2022
Hi,
I am running an experiment online where participants need to hear a tone during the experiment. The tone needs to be set to a level that is noticeable but not unpleasant, but it must also be novel, so we have a calibration sound that is matched in intensity at the beginning of the experiment. The idea was to have a block where the participants heard the calibration sound and could set the volume on their computer so that it is at a comfortable level, but Inquisit takes over the computer so that it is not possible to easily change the computer sound level. Is there a way to have an option for the participant to increase or decrease the volume of the sounds themselves which once they set the volume can be used throughout the experiment?
This is how it is coded at the moment with the train being the calibration sound but with no way to change intensity.

<item Train>
/1= "train.wav"
</item>

<sound Train>
/items = Train
</sound>

<item Tone>
/ 1 = "tone440hz.wav"
</item>

<sound Tone>
/items = Tone
</sound>
g
<trial Train>
/stimulustimes = [0=Train, TrainInfo]
/timeout = 6000
/posttrialpause = 0
</trial>

<trial CSUextinctionNFE>
/stimulustimes = [0=CSU; 500=CSU, Tone]
/timeout = 2000
/posttrialpause = 2000
</trial>

Thanks😊

Your best option is to run the script in window-mode, such that it does not take over the entire screen. That should allow participants to access the volume controls on their computer.

https://www.millisecond.com/support/docs/current/html/language/attributes/windowsizedefaults.htm


Hi,
Is there also a way to make the sound keep looping until they press the space bar to end the block and confirm the sound is set to the correct level?

<item TrainInfo>
/1 = "Please set the intensity of your volume to a level that is comfortable (e.g., the sound is clearly noticeable but not unpleasant or startling). When you are done press space"
</item>

<text TrainInfo>
/ numitems = 1
/ position = (50, 70)
/ size = (90%,75%)
/ vjustify = center
/ hjustify = center
/ fontstyle = ("Arial", 3%)
/ items = TrainInfo
/ color = white
/ txbgcolor = black
</text>

<item Train>
/1= "train.wav"
</item>

<sound Train>
/items = Train
</sound>

<trial Train>
/stimulustimes = [0=Train, traininfo]
/timeout = 24000
/posttrialpause = 0
/correctresponse = (" ")
/validresponse = (" ")
/response =correct
</trial>

<block Train>
/Trials = [1-1 = noreplace(train)]
</block>

Thanks!

https://www.millisecond.com/support/docs/current/html/language/attributes/loop.htm

You'll obviously want to remove the trial's /timeout as well.
ELP
ELP
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 4, Visits: 21
Dave - 7/21/2022
ELP - 7/21/2022
Dave - 7/21/2022
ELP - 7/21/2022
Hi,
I am running an experiment online where participants need to hear a tone during the experiment. The tone needs to be set to a level that is noticeable but not unpleasant, but it must also be novel, so we have a calibration sound that is matched in intensity at the beginning of the experiment. The idea was to have a block where the participants heard the calibration sound and could set the volume on their computer so that it is at a comfortable level, but Inquisit takes over the computer so that it is not possible to easily change the computer sound level. Is there a way to have an option for the participant to increase or decrease the volume of the sounds themselves which once they set the volume can be used throughout the experiment?
This is how it is coded at the moment with the train being the calibration sound but with no way to change intensity.

<item Train>
/1= "train.wav"
</item>

<sound Train>
/items = Train
</sound>

<item Tone>
/ 1 = "tone440hz.wav"
</item>

<sound Tone>
/items = Tone
</sound>
g
<trial Train>
/stimulustimes = [0=Train, TrainInfo]
/timeout = 6000
/posttrialpause = 0
</trial>

<trial CSUextinctionNFE>
/stimulustimes = [0=CSU; 500=CSU, Tone]
/timeout = 2000
/posttrialpause = 2000
</trial>

Thanks😊

Your best option is to run the script in window-mode, such that it does not take over the entire screen. That should allow participants to access the volume controls on their computer.

https://www.millisecond.com/support/docs/current/html/language/attributes/windowsizedefaults.htm


Hi,
Is there also a way to make the sound keep looping until they press the space bar to end the block and confirm the sound is set to the correct level?

<item TrainInfo>
/1 = "Please set the intensity of your volume to a level that is comfortable (e.g., the sound is clearly noticeable but not unpleasant or startling). When you are done press space"
</item>

<text TrainInfo>
/ numitems = 1
/ position = (50, 70)
/ size = (90%,75%)
/ vjustify = center
/ hjustify = center
/ fontstyle = ("Arial", 3%)
/ items = TrainInfo
/ color = white
/ txbgcolor = black
</text>

<item Train>
/1= "train.wav"
</item>

<sound Train>
/items = Train
</sound>

<trial Train>
/stimulustimes = [0=Train, traininfo]
/timeout = 24000
/posttrialpause = 0
/correctresponse = (" ")
/validresponse = (" ")
/response =correct
</trial>

<block Train>
/Trials = [1-1 = noreplace(train)]
</block>

Thanks!

https://www.millisecond.com/support/docs/current/html/language/attributes/loop.htm

You'll obviously want to remove the trial's /timeout as well.
Hi Dave,
Thanks - I had tried using the /loop = true in the sound element but /loop doesn't seem to work (for me at least) in the sound element but /loop works if I change it to a video element instead. Thanks for your help:)

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search