Question on audio playing only on lab version but not web version of experiment


Question on audio playing only on lab version but not web version of...
Author
Message
kd01
kd01
Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)
Group: Forum Members
Posts: 6, Visits: 18
Hi all,

For some reason the audio for atrial in my experiment on Millisecond 5 will run on the lab version of Millisecond but when I try to run it on the inquisit app the recording will not play. Any help would be greatly appreciated! I already double check I did upload the audio fully to the millisecond web platform. Is there something wrong with my script?


<htmlpage listening>
/file="Example.htm"
</htmlpage>

<sound test_Audio>
/ items = ("example_audio.wav")
/ playthrough = true
</sound>

<block listening>
/ postinstructions = (listening)
/ bgstim = (sound.test_Audio)
/ onblockend = [true]
</block>

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: 13K, Visits: 104K
kd01 - Tuesday, December 19, 2017
Hi all,

For some reason the audio for atrial in my experiment on Millisecond 5 will run on the lab version of Millisecond but when I try to run it on the inquisit app the recording will not play. Any help would be greatly appreciated! I already double check I did upload the audio fully to the millisecond web platform. Is there something wrong with my script?


<htmlpage listening>
/file="Example.htm"
</htmlpage>

<sound test_Audio>
/ items = ("example_audio.wav")
/ playthrough = true
</sound>

<block listening>
/ postinstructions = (listening)
/ bgstim = (sound.test_Audio)
/ onblockend = [true]
</block>

Not seeing anything wrong with that code, and -- assuming this http://research.millisecond.com/kd2606/click_1.web is the web experiment in question -- the audio plays fine for me when running that. Are you seeing any error messages? If so, which? Also, are you seeing this on one particular system or kind of system (e.g. only under Windows / only under Mac) or across multiple different ones?

kd01
kd01
Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)
Group: Forum Members
Posts: 6, Visits: 18
Dave - Tuesday, December 19, 2017
kd01 - Tuesday, December 19, 2017
Hi all,

For some reason the audio for atrial in my experiment on Millisecond 5 will run on the lab version of Millisecond but when I try to run it on the inquisit app the recording will not play. Any help would be greatly appreciated! I already double check I did upload the audio fully to the millisecond web platform. Is there something wrong with my script?


<htmlpage listening>
/file="Example.htm"
</htmlpage>

<sound test_Audio>
/ items = ("example_audio.wav")
/ playthrough = true
</sound>

<block listening>
/ postinstructions = (listening)
/ bgstim = (sound.test_Audio)
/ onblockend = [true]
</block>

Not seeing anything wrong with that code, and -- assuming this http://research.millisecond.com/kd2606/click_1.web is the web experiment in question -- the audio plays fine for me when running that. Are you seeing any error messages? If so, which? Also, are you seeing this on one particular system or kind of system (e.g. only under Windows / only under Mac) or across multiple different ones?

No error message was coming up it would just play through without the audio. But I seem to have a solution to my issue as I think perhaps since there was an image in the html this may have cause the problem.

<picture explain>
/ items = ("Image_1.jpg")
</picture>

<sound test_Audio>
/ items = ("example_audio.wav")
/ playthrough = true
</sound>

<trial example>
/ trialduration = 60000
</trial>

<block listening>
/ trials= [1=example]
/ bgstim = (sound.test_Audio; picture.explain)
/ onblockend = [true]
</block>



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: 13K, Visits: 104K
kd01 - Tuesday, December 19, 2017
Dave - Tuesday, December 19, 2017
kd01 - Tuesday, December 19, 2017
Hi all,

For some reason the audio for atrial in my experiment on Millisecond 5 will run on the lab version of Millisecond but when I try to run it on the inquisit app the recording will not play. Any help would be greatly appreciated! I already double check I did upload the audio fully to the millisecond web platform. Is there something wrong with my script?


<htmlpage listening>
/file="Example.htm"
</htmlpage>

<sound test_Audio>
/ items = ("example_audio.wav")
/ playthrough = true
</sound>

<block listening>
/ postinstructions = (listening)
/ bgstim = (sound.test_Audio)
/ onblockend = [true]
</block>

Not seeing anything wrong with that code, and -- assuming this http://research.millisecond.com/kd2606/click_1.web is the web experiment in question -- the audio plays fine for me when running that. Are you seeing any error messages? If so, which? Also, are you seeing this on one particular system or kind of system (e.g. only under Windows / only under Mac) or across multiple different ones?

No error message was coming up it would just play through without the audio. But I seem to have a solution to my issue as I think perhaps since there was an image in the html this may have cause the problem.

<picture explain>
/ items = ("Image_1.jpg")
</picture>

<sound test_Audio>
/ items = ("example_audio.wav")
/ playthrough = true
</sound>

<trial example>
/ trialduration = 60000
</trial>

<block listening>
/ trials= [1=example]
/ bgstim = (sound.test_Audio; picture.explain)
/ onblockend = [true]
</block>



Hmm, that's strange. It was working fine for me with the HTML. But just to confirm: Now that you've replaced the HTML file with a simple <picture>, the audio plays?

kd01
kd01
Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)Respected Member (455 reputation)
Group: Forum Members
Posts: 6, Visits: 18
Dave - Tuesday, December 19, 2017
kd01 - Tuesday, December 19, 2017
Dave - Tuesday, December 19, 2017
kd01 - Tuesday, December 19, 2017
Hi all,

For some reason the audio for atrial in my experiment on Millisecond 5 will run on the lab version of Millisecond but when I try to run it on the inquisit app the recording will not play. Any help would be greatly appreciated! I already double check I did upload the audio fully to the millisecond web platform. Is there something wrong with my script?


<htmlpage listening>
/file="Example.htm"
</htmlpage>

<sound test_Audio>
/ items = ("example_audio.wav")
/ playthrough = true
</sound>

<block listening>
/ postinstructions = (listening)
/ bgstim = (sound.test_Audio)
/ onblockend = [true]
</block>

Not seeing anything wrong with that code, and -- assuming this http://research.millisecond.com/kd2606/click_1.web is the web experiment in question -- the audio plays fine for me when running that. Are you seeing any error messages? If so, which? Also, are you seeing this on one particular system or kind of system (e.g. only under Windows / only under Mac) or across multiple different ones?

No error message was coming up it would just play through without the audio. But I seem to have a solution to my issue as I think perhaps since there was an image in the html this may have cause the problem.

<picture explain>
/ items = ("Image_1.jpg")
</picture>

<sound test_Audio>
/ items = ("example_audio.wav")
/ playthrough = true
</sound>

<trial example>
/ trialduration = 60000
</trial>

<block listening>
/ trials= [1=example]
/ bgstim = (sound.test_Audio; picture.explain)
/ onblockend = [true]
</block>



Hmm, that's strange. It was working fine for me with the HTML. But just to confirm: Now that you've replaced the HTML file with a simple <picture>, the audio plays?

Yes. The audio now plays with the html file changed to picture. Thanks!

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search