Add "GUI not supported" primitives to Faustine.
[Faustine.git] / examples / fft / Makefile
1 SRC = fft.dsp
2 BASENAME = output
3 FORMAT = csv
4 CSVOUT = $(BASENAME)1.$(FORMAT)
5 IMGOUT = $(SRC:.dsp=.png)
6
7 SINS = four_sins.dsp
8 WAV_BASENAME = $(SINS:.dsp=)
9 WAV_FORMAT = wav
10 WAVIN = $(WAV_BASENAME)1.$(WAV_FORMAT)
11
12 INPUT1 = sin_1378Hz_0.005_ampli_128samples.wav
13 INPUT2 = sin_2067Hz_0.005_ampli_128samples.wav
14 INPUT3 = sin_16536Hz_0.005_ampli_128samples.wav
15 INPUT4 = sin_22000Hz_0.005_ampli_128samples.wav
16
17
18 all: $(IMGOUT)
19
20 $(IMGOUT): $(CSVOUT)
21 octave -qf img_write.m
22
23 $(CSVOUT): $(SRC) $(WAVIN)
24 faustine -d $(SRC) -i $(WAVIN) --oformat $(FORMAT) --obasename $(BASENAME)
25
26 $(WAVIN): $(SINS) $(INPUT1) $(INPUT2) $(INPUT3) $(INPUT4)
27 faustine -d $(SINS) -i $(INPUT1) -i $(INPUT2) -i $(INPUT3) -i $(INPUT4) --oformat $(WAV_FORMAT) --obasename $(WAV_BASENAME)
28
29 clean::
30 rm -f gmon.out output*
31
32
33
34
35
36
37
38
39
40
41
42