Lines Matching +full:convert +full:- +full:rate
3 # Sample rate conversion tests. Create a 20s sweep at the input sampling rate,
4 # then use each resampler to convert it to the output rate. Display the results
15 IN=/tmp/$BASE-in-$$.wav
16 OUT=/tmp/$BASE-out-$$.wav
17 TIME=/tmp/$BASE-time-$$.wav
22 $SOX -r $1 -n -twavpcm $IN synth 20 sin 0:$max sin $max:0 gain -2
24 "rate -h" \
25 "rate -v" \
31 ssrc*) time -f %U -o $TIME $SSRC_PATH/$src --quiet --rate $2 $IN $OUT;;
32 *) time -f %U -o $TIME $SOX $IN -r $2 $OUT $src;;
35 $SOX $OUT -n spectrogram \
36 -X 30 -z $RANGE -w kaiser \
37 -t "$1->$2: $src" -c "${t}s user time" \
38 -o "$1_$2_`echo $src | tr ' ' '_'`.png"
41 rm -f $IN $OUT $TIME # Clean up