Debian Codegraph @

tests/impulse-tests/deprecated/faust2impulse4bis

raw symbols SCIP
1 #!/bin/bash
2
3 #####################################################################
4 # #
5 # Compiles Faust programs to impulse tests #
6 # (c) Grame, 2017 #
7 # #
8 #####################################################################
9
10 for p in $@; do
11 if [ ${p:0:1} = "-" ]; then
12 OPTIONS="$OPTIONS $p"
13 elif [[ -f "$p" ]]; then
14 FILES="$FILES $p"
15 else
16 OPTIONS="$OPTIONS $p"
17 fi
18 done
19
20 #-------------------------------------------------------------------
21 # compile the *.dsp files
22
23 for f in $FILES; do
24
25 # run the binary to generate the impulse response
26 impulsellvm "$f" -inpl $OPTIONS
27
28 done
29