Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 4
»
INQUISIT 4 SETTING DEFAULT .WAV PLAYER
INQUISIT 4 SETTING DEFAULT .WAV PLAYER
Post Reply
Like
64
Prev
1
2
Jump To Page
INQUISIT 4 SETTING DEFAULT .WAV PLAYER
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Dave
Dave
posted 7 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
sammyboy - Monday, September 25, 2017
+
x
Dave - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
+
x
Dave - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
+
x
Dave - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
+
x
Dave - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
want to change default sound player from windows media player to itunes
This is not possible, I'm afraid.
A script that is not playing on a win 7 media player, does play on Mac os using itunes.
Depending on what sound format you use, you may have a codec problem under Windows, i.e. the system doesn't know how to render the respective file. Also note that under Windows, you _must_ use the <video> element -- not <sound> -- to play any media files, including audio, that are not PCM WAV files. In other words:
<sound mysound>
/ items = ("mysound.mp3")
...
</sound>
will not work under Windows, but will work under OSX, because OSX handles media files differently.
<video mysound>
/ items = ("mysound.mp3")
...
</video>
will work under Windows and Mac.
DirectSound Error -2004353017: Unknown DirectSound error.. Line 170, File win\SoundPlayer.cpp
This could be due to a broken soundcard driver. Try locating the latest available driver via the system manufacturer's site and updating to that.
not that, latest driver is installed. By the way thank you for your help.
*****Specify Subject Stimuli*****
<sound rps01>
/items = ("RPS01.wav")
/pan = 0
</sound>
Can you attach a piece of run-able example code, including the above WAV file, that triggers the error on your system? Just put those things in a ZIP file and then click +Insert -> Add File to attach that to a reply here.
Thanks for the code and WAV file. The problem is the WAV's encoding, specifically its sample size (32bits). Windows DirectSound API (which the <sound> element maps to) expects files to have a sample size of 16bits. If you convert your WAVs accordingly, things will work. I've attached a 16bit version of your WAV, so you can test / verify for yourself.
Provided the Windows system has a suitable codec available (it should), you could also simply switch to using <video> instead of <sound>, i.e.
<video rps01>
/items = ("RPS01.wav")
</video>
which should play the 32-bit WAVs incompatible with the <sound> element (working fine on my local Windows 7 test system).
Hope this helps.
Attachments
RPS01_16bit.zip
(
250 views,
425.00 KB
)
Edited
7 Years Ago by
Dave
Reply
Like
43
sammyboy
sammyboy
posted 7 Years Ago
ANSWER
Post Details
Share Post
Group: Awaiting Activation
Posts: 7,
Visits: 7
+
x
Dave - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
+
x
Dave - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
+
x
Dave - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
+
x
Dave - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
+
x
Dave - Monday, September 25, 2017
+
x
sammyboy - Monday, September 25, 2017
want to change default sound player from windows media player to itunes
This is not possible, I'm afraid.
A script that is not playing on a win 7 media player, does play on Mac os using itunes.
Depending on what sound format you use, you may have a codec problem under Windows, i.e. the system doesn't know how to render the respective file. Also note that under Windows, you _must_ use the <video> element -- not <sound> -- to play any media files, including audio, that are not PCM WAV files. In other words:
<sound mysound>
/ items = ("mysound.mp3")
...
</sound>
will not work under Windows, but will work under OSX, because OSX handles media files differently.
<video mysound>
/ items = ("mysound.mp3")
...
</video>
will work under Windows and Mac.
DirectSound Error -2004353017: Unknown DirectSound error.. Line 170, File win\SoundPlayer.cpp
This could be due to a broken soundcard driver. Try locating the latest available driver via the system manufacturer's site and updating to that.
not that, latest driver is installed. By the way thank you for your help.
*****Specify Subject Stimuli*****
<sound rps01>
/items = ("RPS01.wav")
/pan = 0
</sound>
Can you attach a piece of run-able example code, including the above WAV file, that triggers the error on your system? Just put those things in a ZIP file and then click +Insert -> Add File to attach that to a reply here.
Thanks for the code and WAV file. The problem is the WAV's encoding, specifically its sample size (32bits). Windows DirectSound API (which the <sound> element maps to) expects files to have a sample size of 16bits. If you convert your WAVs accordingly, things will work. I've attached a 16bit version of your WAV, so you can test / verify for yourself.
Provided the Windows system has a suitable codec available (it should), you could also simply switch to using <video> instead of <sound>, i.e.
<video rps01>
/items = ("RPS01.wav")
</video>
which should play the 32-bit WAVs incompatible with the <sound> element (working fine on my local Windows 7 test system).
Hope this helps.
Thank You, that worked. Replaced sound with video.
Reply
Like
43
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
64
Prev
1
2
Jump To Page
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search