c@315
|
1
|
c@315
|
2 LIBRARY ?= libqm-dsp.a
|
c@315
|
3 CXX ?= g++
|
c@315
|
4 CC ?= gcc
|
c@315
|
5 AR ?= ar
|
c@315
|
6 RANLIB ?= ranlib
|
c@315
|
7
|
c@379
|
8 CFLAGS := $(CFLAGS) -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double
|
c@379
|
9 CXXFLAGS := $(CXXFLAGS) -I. -Iext/kissfft -Iext/kissfft/tools -Dkiss_fft_scalar=double
|
c@314
|
10
|
c@314
|
11 HEADERS := base/Pitch.h \
|
c@314
|
12 base/Window.h \
|
c@379
|
13 base/KaiserWindow.h \
|
c@379
|
14 base/SincWindow.h \
|
c@314
|
15 dsp/chromagram/Chromagram.h \
|
c@314
|
16 dsp/chromagram/ConstantQ.h \
|
c@314
|
17 dsp/keydetection/GetKeyMode.h \
|
c@314
|
18 dsp/mfcc/MFCC.h \
|
c@314
|
19 dsp/onsets/DetectionFunction.h \
|
c@314
|
20 dsp/onsets/PeakPicking.h \
|
c@314
|
21 dsp/phasevocoder/PhaseVocoder.h \
|
c@314
|
22 dsp/rateconversion/Decimator.h \
|
c@380
|
23 dsp/rateconversion/DecimatorB.h \
|
c@379
|
24 dsp/rateconversion/Resampler.h \
|
c@314
|
25 dsp/rhythm/BeatSpectrum.h \
|
c@314
|
26 dsp/segmentation/cluster_melt.h \
|
c@314
|
27 dsp/segmentation/ClusterMeltSegmenter.h \
|
c@314
|
28 dsp/segmentation/cluster_segmenter.h \
|
c@314
|
29 dsp/segmentation/Segmenter.h \
|
c@314
|
30 dsp/segmentation/segment.h \
|
c@314
|
31 dsp/signalconditioning/DFProcess.h \
|
c@314
|
32 dsp/signalconditioning/Filter.h \
|
c@314
|
33 dsp/signalconditioning/FiltFilt.h \
|
c@314
|
34 dsp/signalconditioning/Framer.h \
|
c@314
|
35 dsp/tempotracking/DownBeat.h \
|
c@314
|
36 dsp/tempotracking/TempoTrack.h \
|
c@314
|
37 dsp/tempotracking/TempoTrackV2.h \
|
c@314
|
38 dsp/tonal/ChangeDetectionFunction.h \
|
c@314
|
39 dsp/tonal/TCSgram.h \
|
c@314
|
40 dsp/tonal/TonalEstimator.h \
|
c@314
|
41 dsp/transforms/FFT.h \
|
c@314
|
42 dsp/wavelet/Wavelet.h \
|
c@314
|
43 hmm/hmm.h \
|
c@314
|
44 maths/Correlation.h \
|
c@314
|
45 maths/CosineDistance.h \
|
c@314
|
46 maths/KLDivergence.h \
|
c@314
|
47 maths/MathAliases.h \
|
c@314
|
48 maths/MathUtilities.h \
|
c@314
|
49 maths/Polyfit.h \
|
c@314
|
50 maths/pca/pca.h \
|
c@314
|
51 thread/AsynchronousTask.h \
|
c@314
|
52 thread/BlockAllocator.h \
|
c@379
|
53 thread/Thread.h \
|
c@379
|
54 ext/kissfft/kiss_fft.h \
|
c@379
|
55 ext/kissfft/tools/kiss_fftr.h
|
c@314
|
56
|
c@314
|
57 SOURCES := base/Pitch.cpp \
|
c@379
|
58 base/KaiserWindow.cpp \
|
c@379
|
59 base/SincWindow.cpp \
|
c@314
|
60 dsp/chromagram/Chromagram.cpp \
|
c@314
|
61 dsp/chromagram/ConstantQ.cpp \
|
c@314
|
62 dsp/keydetection/GetKeyMode.cpp \
|
c@314
|
63 dsp/mfcc/MFCC.cpp \
|
c@314
|
64 dsp/onsets/DetectionFunction.cpp \
|
c@314
|
65 dsp/onsets/PeakPicking.cpp \
|
c@314
|
66 dsp/phasevocoder/PhaseVocoder.cpp \
|
c@314
|
67 dsp/rateconversion/Decimator.cpp \
|
c@380
|
68 dsp/rateconversion/DecimatorB.cpp \
|
c@379
|
69 dsp/rateconversion/Resampler.cpp \
|
c@314
|
70 dsp/rhythm/BeatSpectrum.cpp \
|
c@314
|
71 dsp/segmentation/cluster_melt.c \
|
c@314
|
72 dsp/segmentation/ClusterMeltSegmenter.cpp \
|
c@314
|
73 dsp/segmentation/cluster_segmenter.c \
|
c@314
|
74 dsp/segmentation/Segmenter.cpp \
|
c@314
|
75 dsp/signalconditioning/DFProcess.cpp \
|
c@314
|
76 dsp/signalconditioning/Filter.cpp \
|
c@314
|
77 dsp/signalconditioning/FiltFilt.cpp \
|
c@314
|
78 dsp/signalconditioning/Framer.cpp \
|
c@314
|
79 dsp/tempotracking/DownBeat.cpp \
|
c@314
|
80 dsp/tempotracking/TempoTrack.cpp \
|
c@314
|
81 dsp/tempotracking/TempoTrackV2.cpp \
|
c@314
|
82 dsp/tonal/ChangeDetectionFunction.cpp \
|
c@314
|
83 dsp/tonal/TCSgram.cpp \
|
c@314
|
84 dsp/tonal/TonalEstimator.cpp \
|
c@314
|
85 dsp/transforms/FFT.cpp \
|
c@314
|
86 dsp/wavelet/Wavelet.cpp \
|
c@314
|
87 hmm/hmm.c \
|
c@314
|
88 maths/Correlation.cpp \
|
c@314
|
89 maths/CosineDistance.cpp \
|
c@314
|
90 maths/KLDivergence.cpp \
|
c@314
|
91 maths/MathUtilities.cpp \
|
c@314
|
92 maths/pca/pca.c \
|
c@379
|
93 thread/Thread.cpp \
|
c@379
|
94 ext/kissfft/kiss_fft.c \
|
c@379
|
95 ext/kissfft/tools/kiss_fftr.c
|
c@314
|
96
|
c@314
|
97 OBJECTS := $(SOURCES:.cpp=.o)
|
c@314
|
98 OBJECTS := $(OBJECTS:.c=.o)
|
c@314
|
99
|
c@315
|
100 $(LIBRARY): $(OBJECTS)
|
c@315
|
101 $(AR) cr $@ $^
|
c@315
|
102 $(RANLIB) $@
|
c@315
|
103
|
c@383
|
104 depend:
|
c@383
|
105 makedepend -fbuild/general/Makefile.inc -Y -- $(CFLAGS) -- $(SOURCES)
|
c@383
|
106
|
c@315
|
107 clean:
|
c@379
|
108 rm -f $(OBJECTS)
|
c@315
|
109
|
c@315
|
110 distclean: clean
|
c@379
|
111 rm -f $(LIBRARY)
|
c@383
|
112
|
c@383
|
113
|
c@383
|
114 # DO NOT DELETE
|
c@383
|
115
|
c@383
|
116 base/Pitch.o: base/Pitch.h
|
c@383
|
117 base/KaiserWindow.o: base/KaiserWindow.h maths/MathUtilities.h
|
c@383
|
118 base/KaiserWindow.o: maths/nan-inf.h
|
c@383
|
119 base/SincWindow.o: base/SincWindow.h
|
c@383
|
120 dsp/chromagram/Chromagram.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
121 dsp/chromagram/Chromagram.o: dsp/chromagram/Chromagram.h dsp/transforms/FFT.h
|
c@383
|
122 dsp/chromagram/Chromagram.o: base/Window.h dsp/chromagram/ConstantQ.h
|
c@383
|
123 dsp/chromagram/Chromagram.o: maths/MathAliases.h
|
c@383
|
124 dsp/chromagram/ConstantQ.o: dsp/chromagram/ConstantQ.h maths/MathAliases.h
|
c@383
|
125 dsp/chromagram/ConstantQ.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
126 dsp/chromagram/ConstantQ.o: dsp/transforms/FFT.h
|
c@383
|
127 dsp/keydetection/GetKeyMode.o: dsp/keydetection/GetKeyMode.h
|
c@383
|
128 dsp/keydetection/GetKeyMode.o: dsp/rateconversion/Decimator.h
|
c@383
|
129 dsp/keydetection/GetKeyMode.o: dsp/chromagram/Chromagram.h
|
c@383
|
130 dsp/keydetection/GetKeyMode.o: dsp/transforms/FFT.h base/Window.h
|
c@383
|
131 dsp/keydetection/GetKeyMode.o: dsp/chromagram/ConstantQ.h maths/MathAliases.h
|
c@383
|
132 dsp/keydetection/GetKeyMode.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
133 dsp/keydetection/GetKeyMode.o: base/Pitch.h
|
c@383
|
134 dsp/mfcc/MFCC.o: dsp/mfcc/MFCC.h base/Window.h dsp/transforms/FFT.h
|
c@383
|
135 dsp/onsets/DetectionFunction.o: dsp/onsets/DetectionFunction.h
|
c@383
|
136 dsp/onsets/DetectionFunction.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
137 dsp/onsets/DetectionFunction.o: maths/MathAliases.h
|
c@383
|
138 dsp/onsets/DetectionFunction.o: dsp/phasevocoder/PhaseVocoder.h base/Window.h
|
c@383
|
139 dsp/onsets/PeakPicking.o: dsp/onsets/PeakPicking.h maths/MathUtilities.h
|
c@383
|
140 dsp/onsets/PeakPicking.o: maths/nan-inf.h maths/MathAliases.h
|
c@383
|
141 dsp/onsets/PeakPicking.o: dsp/signalconditioning/DFProcess.h
|
c@383
|
142 dsp/onsets/PeakPicking.o: dsp/signalconditioning/FiltFilt.h
|
c@383
|
143 dsp/onsets/PeakPicking.o: dsp/signalconditioning/Filter.h maths/Polyfit.h
|
c@383
|
144 dsp/phasevocoder/PhaseVocoder.o: dsp/phasevocoder/PhaseVocoder.h
|
c@383
|
145 dsp/phasevocoder/PhaseVocoder.o: dsp/transforms/FFT.h maths/MathUtilities.h
|
c@383
|
146 dsp/phasevocoder/PhaseVocoder.o: maths/nan-inf.h
|
c@383
|
147 dsp/rateconversion/Decimator.o: dsp/rateconversion/Decimator.h
|
c@383
|
148 dsp/rateconversion/DecimatorB.o: dsp/rateconversion/DecimatorB.h
|
c@383
|
149 dsp/rateconversion/DecimatorB.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
150 dsp/rateconversion/Resampler.o: dsp/rateconversion/Resampler.h
|
c@383
|
151 dsp/rateconversion/Resampler.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
152 dsp/rateconversion/Resampler.o: base/KaiserWindow.h base/SincWindow.h
|
c@383
|
153 dsp/rateconversion/Resampler.o: thread/Thread.h
|
c@383
|
154 dsp/rhythm/BeatSpectrum.o: dsp/rhythm/BeatSpectrum.h maths/CosineDistance.h
|
c@383
|
155 dsp/segmentation/cluster_melt.o: dsp/segmentation/cluster_melt.h
|
c@383
|
156 dsp/segmentation/ClusterMeltSegmenter.o: dsp/segmentation/ClusterMeltSegmenter.h
|
c@383
|
157 dsp/segmentation/ClusterMeltSegmenter.o: dsp/segmentation/segment.h
|
c@383
|
158 dsp/segmentation/ClusterMeltSegmenter.o: dsp/segmentation/Segmenter.h
|
c@383
|
159 dsp/segmentation/ClusterMeltSegmenter.o: hmm/hmm.h base/Window.h
|
c@383
|
160 dsp/segmentation/ClusterMeltSegmenter.o: dsp/segmentation/cluster_segmenter.h
|
c@383
|
161 dsp/segmentation/ClusterMeltSegmenter.o: dsp/segmentation/cluster_melt.h
|
c@383
|
162 dsp/segmentation/ClusterMeltSegmenter.o: maths/pca/pca.h dsp/transforms/FFT.h
|
c@383
|
163 dsp/segmentation/ClusterMeltSegmenter.o: dsp/chromagram/ConstantQ.h
|
c@383
|
164 dsp/segmentation/ClusterMeltSegmenter.o: maths/MathAliases.h
|
c@383
|
165 dsp/segmentation/ClusterMeltSegmenter.o: maths/MathUtilities.h
|
c@383
|
166 dsp/segmentation/ClusterMeltSegmenter.o: maths/nan-inf.h
|
c@383
|
167 dsp/segmentation/ClusterMeltSegmenter.o: dsp/rateconversion/Decimator.h
|
c@383
|
168 dsp/segmentation/ClusterMeltSegmenter.o: dsp/mfcc/MFCC.h
|
c@383
|
169 dsp/segmentation/cluster_segmenter.o: dsp/segmentation/cluster_segmenter.h
|
c@383
|
170 dsp/segmentation/cluster_segmenter.o: dsp/segmentation/segment.h
|
c@383
|
171 dsp/segmentation/cluster_segmenter.o: dsp/segmentation/cluster_melt.h
|
c@383
|
172 dsp/segmentation/cluster_segmenter.o: hmm/hmm.h maths/pca/pca.h
|
c@383
|
173 dsp/segmentation/Segmenter.o: dsp/segmentation/Segmenter.h
|
c@383
|
174 dsp/signalconditioning/DFProcess.o: dsp/signalconditioning/DFProcess.h
|
c@383
|
175 dsp/signalconditioning/DFProcess.o: dsp/signalconditioning/FiltFilt.h
|
c@383
|
176 dsp/signalconditioning/DFProcess.o: dsp/signalconditioning/Filter.h
|
c@383
|
177 dsp/signalconditioning/DFProcess.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
178 dsp/signalconditioning/Filter.o: dsp/signalconditioning/Filter.h
|
c@383
|
179 dsp/signalconditioning/FiltFilt.o: dsp/signalconditioning/FiltFilt.h
|
c@383
|
180 dsp/signalconditioning/FiltFilt.o: dsp/signalconditioning/Filter.h
|
c@383
|
181 dsp/signalconditioning/Framer.o: dsp/signalconditioning/Framer.h
|
c@383
|
182 dsp/tempotracking/DownBeat.o: dsp/tempotracking/DownBeat.h
|
c@383
|
183 dsp/tempotracking/DownBeat.o: dsp/rateconversion/Decimator.h
|
c@383
|
184 dsp/tempotracking/DownBeat.o: maths/MathAliases.h maths/MathUtilities.h
|
c@383
|
185 dsp/tempotracking/DownBeat.o: maths/nan-inf.h maths/KLDivergence.h
|
c@383
|
186 dsp/tempotracking/DownBeat.o: dsp/transforms/FFT.h
|
c@383
|
187 dsp/tempotracking/TempoTrack.o: dsp/tempotracking/TempoTrack.h
|
c@383
|
188 dsp/tempotracking/TempoTrack.o: dsp/signalconditioning/DFProcess.h
|
c@383
|
189 dsp/tempotracking/TempoTrack.o: dsp/signalconditioning/FiltFilt.h
|
c@383
|
190 dsp/tempotracking/TempoTrack.o: dsp/signalconditioning/Filter.h
|
c@383
|
191 dsp/tempotracking/TempoTrack.o: maths/Correlation.h
|
c@383
|
192 dsp/tempotracking/TempoTrack.o: dsp/signalconditioning/Framer.h
|
c@383
|
193 dsp/tempotracking/TempoTrack.o: maths/MathAliases.h maths/MathUtilities.h
|
c@383
|
194 dsp/tempotracking/TempoTrack.o: maths/nan-inf.h
|
c@383
|
195 dsp/tempotracking/TempoTrackV2.o: dsp/tempotracking/TempoTrackV2.h
|
c@383
|
196 dsp/tempotracking/TempoTrackV2.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
197 dsp/tonal/ChangeDetectionFunction.o: dsp/tonal/ChangeDetectionFunction.h
|
c@383
|
198 dsp/tonal/ChangeDetectionFunction.o: dsp/tonal/TCSgram.h
|
c@383
|
199 dsp/tonal/ChangeDetectionFunction.o: dsp/tonal/TonalEstimator.h
|
c@383
|
200 dsp/tonal/TCSgram.o: dsp/tonal/TCSgram.h dsp/tonal/TonalEstimator.h
|
c@383
|
201 dsp/tonal/TCSgram.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
202 dsp/tonal/TonalEstimator.o: dsp/tonal/TonalEstimator.h
|
c@383
|
203 dsp/transforms/FFT.o: dsp/transforms/FFT.h maths/MathUtilities.h
|
c@383
|
204 dsp/transforms/FFT.o: maths/nan-inf.h ext/kissfft/kiss_fft.h
|
c@383
|
205 dsp/transforms/FFT.o: ext/kissfft/tools/kiss_fftr.h
|
c@383
|
206 dsp/wavelet/Wavelet.o: dsp/wavelet/Wavelet.h
|
c@383
|
207 hmm/hmm.o: ./include/clapack.h maths/nan-inf.h ./include/cblas.h hmm/hmm.h
|
c@383
|
208 maths/Correlation.o: maths/Correlation.h
|
c@383
|
209 maths/CosineDistance.o: maths/CosineDistance.h
|
c@383
|
210 maths/KLDivergence.o: maths/KLDivergence.h
|
c@383
|
211 maths/MathUtilities.o: maths/MathUtilities.h maths/nan-inf.h
|
c@383
|
212 maths/pca/pca.o: maths/pca/pca.h
|
c@383
|
213 thread/Thread.o: thread/Thread.h
|
c@383
|
214 ext/kissfft/kiss_fft.o: ext/kissfft/_kiss_fft_guts.h ext/kissfft/kiss_fft.h
|
c@383
|
215 ext/kissfft/tools/kiss_fftr.o: ext/kissfft/tools/kiss_fftr.h
|
c@383
|
216 ext/kissfft/tools/kiss_fftr.o: ext/kissfft/kiss_fft.h
|
c@383
|
217 ext/kissfft/tools/kiss_fftr.o: ext/kissfft/_kiss_fft_guts.h
|