Millisecond Forums

INQUISIT 4 SETTING DEFAULT .WAV PLAYER

https://forums.millisecond.com/Topic22562.aspx

By sammyboy - 9/25/2017

want to change default sound player from windows media player to itunes
By Dave - 9/25/2017

sammyboy - Monday, September 25, 2017
want to change default sound player from windows media player to itunes

This is not possible, I'm afraid.
By sammyboy - 9/25/2017

Dave - Monday, September 25, 2017
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.

By Dave - 9/25/2017

sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
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.
By sammyboy - 9/25/2017

Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
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
By Dave - 9/25/2017

sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
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.
By sammyboy - 9/25/2017

Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
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.
By sammyboy - 9/25/2017

sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
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>
By Dave - 9/25/2017

sammyboy - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
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.
By sammyboy - 9/25/2017

Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
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.


By Dave - 9/25/2017

sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
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.
By sammyboy - 9/25/2017

Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
sammyboy - Monday, September 25, 2017
Dave - Monday, September 25, 2017
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.