Chris@196: #!/bin/bash Chris@196: Chris@196: . ../include.sh Chris@196: Chris@196: infile=$audiopath/20sec-silence.wav Chris@196: tmpmidi=$mypath/tmp_1_$$.mid Chris@196: Chris@196: trap "rm -f $tmpmidi" 0 Chris@196: Chris@196: for output in notes-regions curve-vsr; do Chris@196: Chris@196: flag="" Chris@196: Chris@196: $r -d "$testplug:$output" -w midi --midi-one-file "$tmpmidi" --midi-force "$infile" 2>/dev/null || \ Chris@196: fail "Failed to run for plugin $testplug with output $output and no additional flags" Chris@196: Chris@196: midicompare "$tmpmidi" "$mypath/expected/$output.mid" || \ Chris@196: faildiff_od "Output differs from expected for output $output" "$tmpmidi" "$mypath/expected/$output.mid" Chris@196: Chris@196: done Chris@196: Chris@196: exit 0 Chris@196: