Initial commit

These test files contain -10dBFS 1kHz tone on the left channel and 100Hz tone on the right channel. Various formats are available to verify wav header processing. The '.ac3.wav' can be used to verify that the -am824 switch can create compliant AM824/SMPTE 2110-31 stream with Dolby Digital (AC-3) content. This was created with a professional Dolby Digital encoder (not available) and SMPTE 337 wrapping tool (available at Dolby's github repository).
This commit is contained in:
James Cowdery 2020-07-30 13:27:43 -07:00 committed by GitHub
parent de79efc64d
commit 28c9f85228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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