diff --git a/wavplay_am824/test/44k1_2ch_16_tones.wav b/wavplay_am824/test/44k1_2ch_16_tones.wav new file mode 100644 index 0000000..0354f40 Binary files /dev/null and b/wavplay_am824/test/44k1_2ch_16_tones.wav differ diff --git a/wavplay_am824/test/48k_2ch_16_tones.ac3.wav b/wavplay_am824/test/48k_2ch_16_tones.ac3.wav new file mode 100644 index 0000000..9ba4d6b Binary files /dev/null and b/wavplay_am824/test/48k_2ch_16_tones.ac3.wav differ diff --git a/wavplay_am824/test/48k_2ch_16_tones.wav b/wavplay_am824/test/48k_2ch_16_tones.wav new file mode 100644 index 0000000..59fc1d4 Binary files /dev/null and b/wavplay_am824/test/48k_2ch_16_tones.wav differ diff --git a/wavplay_am824/test/48k_2ch_24_tones.wav b/wavplay_am824/test/48k_2ch_24_tones.wav new file mode 100644 index 0000000..731ffa9 Binary files /dev/null and b/wavplay_am824/test/48k_2ch_24_tones.wav differ diff --git a/wavplay_am824/test/48k_2ch_float_tones.wav b/wavplay_am824/test/48k_2ch_float_tones.wav new file mode 100644 index 0000000..3c4f455 Binary files /dev/null and b/wavplay_am824/test/48k_2ch_float_tones.wav differ diff --git a/wavplay_am824/test/create_test_files.sh b/wavplay_am824/test/create_test_files.sh new file mode 100644 index 0000000..f6f1739 --- /dev/null +++ b/wavplay_am824/test/create_test_files.sh @@ -0,0 +1,10 @@ +#!/bin/bash +sox -V -r 48000 -n -b 16 -c 2 48k_2ch_16_tones.wav synth 30 sin 1000 sin 100 vol -10dB +sox -V -r 48000 -n -b 24 -c 2 48k_2ch_24_tones.wav synth 30 sin 1000 sin 100 vol -10dB +sox -V -r 44100 -n -b 16 -c 2 44k1_2ch_16_tones.wav synth 30 sin 1000 sin 100 vol -10dB +sox -V -r 48000 -n -b 32 -e floating-point -c 2 48k_2ch_float_tones.wav synth 30 sin 1000 sin 100 vol -10dB +ddp_encoder -a7 -i48k_2ch_24_tones.wav -md1 -dn31 -+d640 -o48k_2ch_24_tones.ac3 +# The change from 24bit to 16bit below is not a typo. As a result of the encoding process the bitstream is 16bit +# although the encoded audio was in 24bit format +smpte -i48k_2ch_24_tones.ac3 -o48k_2ch_16_tones.ac3.wav +rm -f 48k_2ch_24_tones.ac3 \ No newline at end of file