Can't play WAV audio in Windows without Quicktime
Posted: Fri Jul 09, 2010 12:26 pm
Can Rev play a .wav audio file in Windows without Quicktime? My tests say no. Can this really be true?
Here is a simple test case: A stack with two controls -- a button and a player -- and an external audio file test.wav. Both files are in the same folder.
Button script:
Stack script:
This fails on both Windows XP and Windows 7 without Quicktime. It works fine on Mac using Quicktime. Interestingly, it works under both versions of Windows if you use an .mp3 file instead of a .wav file. However the .mp3 sound quality is awful on Windows 7.
Am I missing something? Here is my test stack and sound files (.wav and .mp3): http://spencerlearning.com/_temp/soundtest.zip.
Thanks for any help.
Here is a simple test case: A stack with two controls -- a button and a player -- and an external audio file test.wav. Both files are in the same folder.
Button script:
Code: Select all
on mouseUp
send playsound
end mouseUp
Code: Select all
on openStack
if the platform is "Win32" then set the dontUseQT to true
end openStack
on playsound
stop player "player"
set the fileName of player "player" to "test.wav"
set the currentTime of player "player" to 0
start player "player"
end playsound
Am I missing something? Here is my test stack and sound files (.wav and .mp3): http://spencerlearning.com/_temp/soundtest.zip.
Thanks for any help.