Jer wrote:foxidrive, swavplayer did not play a wav file of 4,458 bytes.
a file called sounder.exe that plays 2 seconds of a wav file.
My OS is Windows 7 32-bit.
They both play a tiny wav file here in Windows 8.1 and XP Pro, and a 7 second file plays too.
Try playing your file with Windows Media player, it will probably play it, but VLC might not. I found that here.
Wav files have all sorts of internal variations in codec and sample rate etc. Have you examined that aspect?
The tiny file is attached here.
Code: Select all
@echo off
if not exist "menu2.wav" (
echo creating "menu2.wav"
(
echo UklGRhsBAABXQVZFZm10IBAAAAABAAEAESsAABErAAABAAgAZGF0YfcAAABcW1tc
echo XF1eX2BjZGhsdIO1/////70gAAAAS6no/9KcaT81THGVrK2fh3BpbXaDk5KOipCr
echo wMe7kmRANlWOzPHnvINUQU92osPNvaB+ZFhabYeitrqulnlfVFx3mLK7r5V5ZV9m
echo dYeWoKKcjXtqYWRzhpifm45+cWlmanN+iI+Ph3lrYV9lcHuBg4F8dGphXV9oc32A
echo fnZuZmFfX2Rqc3h5dW1lX15fY2ZrcHR0b2ljX19hZWltcHFwbWdjYGFkaGtvcXJx
echo b2pmZGVpbXBzdHV0cW1qam1wdHd5e3t6d3RzdHZ5fH6AgYB+fHl5e31+gYOFhYOC
echo gICA
)>"decode.tmp"
certutil /decode /f "decode.tmp" "menu2.wav" >nul
del "decode.tmp"
)
Code: Select all
General
Format : Wave
File size : 291 Bytes
Duration : 22ms
Overall bit rate mode : Constant
Overall bit rate : 106 Kbps
Audio
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Unsigned
Codec ID : 1
Duration : 22ms
Bit rate mode : Constant
Bit rate : 88.2 Kbps
Channel(s) : 1 channel
Sampling rate : 11.025 KHz
Bit depth : 8 bits
Stream size : 247 Bytes (85%)