annotate svcore.pro @ 1098:329ddaf7415d simple-fft-model

Store temporary audio files in memory if we have plenty of it
author Chris Cannam
date Mon, 15 Jun 2015 14:35:37 +0100
parents 420fc961c0c4
children efea94b04d5a
rev   line source
Chris@811 1
Chris@824 2 TEMPLATE = lib
Chris@811 3
Chris@824 4 exists(config.pri) {
Chris@824 5 include(config.pri)
Chris@824 6 }
Chris@869 7 !exists(config.pri) {
Chris@888 8
Chris@888 9 CONFIG += release
Chris@888 10 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@888 11
Chris@869 12 win32-g++ {
Chris@869 13 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
Chris@869 14 LIBS += -L../sv-dependency-builds/win32-mingw/lib
Chris@824 15 }
Chris@869 16 win32-msvc* {
Chris@869 17 INCLUDEPATH += ../sv-dependency-builds/win32-msvc/include
Chris@869 18 LIBS += -L../sv-dependency-builds/win32-msvc/lib
Chris@869 19 }
Chris@869 20 macx* {
Chris@869 21 INCLUDEPATH += ../sv-dependency-builds/osx/include
Chris@869 22 LIBS += -L../sv-dependency-builds/osx/lib
Chris@869 23 }
Chris@869 24
Chris@870 25 DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_VAMP HAVE_VAMPHOSTSDK HAVE_RUBBERBAND HAVE_LIBLO HAVE_MAD HAVE_ID3TAG
Chris@870 26
Chris@870 27 macx* {
Chris@870 28 DEFINES += HAVE_COREAUDIO
Chris@870 29 }
Chris@824 30 }
Chris@824 31
Chris@1054 32 CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11
Chris@824 33 QT += network xml
Chris@824 34 QT -= gui
Chris@824 35
Chris@824 36 TARGET = svcore
Chris@824 37
Chris@824 38 DEPENDPATH += . data plugin plugin/api/alsa
Chris@824 39 INCLUDEPATH += . data plugin plugin/api/alsa ../dataquay
Chris@824 40 OBJECTS_DIR = o
Chris@824 41 MOC_DIR = o
Chris@824 42
Chris@824 43 # Doesn't work with this library, which contains C99 as well as C++
Chris@824 44 PRECOMPILED_HEADER =
Chris@824 45
Chris@824 46 # Set up suitable platform defines for RtMidi
Chris@824 47 linux*: DEFINES += __LINUX_ALSASEQ__
Chris@824 48 macx*: DEFINES += __MACOSX_CORE__
Chris@824 49 win*: DEFINES += __WINDOWS_MM__
Chris@824 50 solaris*: DEFINES += __RTMIDI_DUMMY_ONLY__
Chris@824 51
Chris@824 52 HEADERS += base/AudioLevel.h \
Chris@824 53 base/AudioPlaySource.h \
Chris@1038 54 base/BaseTypes.h \
Chris@824 55 base/Clipboard.h \
Chris@824 56 base/Command.h \
Chris@824 57 base/Debug.h \
Chris@824 58 base/Exceptions.h \
Chris@824 59 base/LogRange.h \
Chris@824 60 base/Pitch.h \
Chris@824 61 base/Playable.h \
Chris@824 62 base/PlayParameterRepository.h \
Chris@824 63 base/PlayParameters.h \
Chris@824 64 base/Preferences.h \
Chris@824 65 base/Profiler.h \
Chris@824 66 base/ProgressPrinter.h \
Chris@824 67 base/ProgressReporter.h \
Chris@824 68 base/PropertyContainer.h \
Chris@824 69 base/RangeMapper.h \
Chris@824 70 base/RealTime.h \
Chris@824 71 base/RecentFiles.h \
Chris@824 72 base/Resampler.h \
Chris@824 73 base/ResizeableBitset.h \
Chris@824 74 base/ResourceFinder.h \
Chris@824 75 base/RingBuffer.h \
Chris@824 76 base/Scavenger.h \
Chris@824 77 base/Selection.h \
Chris@824 78 base/Serialiser.h \
Chris@824 79 base/StorageAdviser.h \
Chris@824 80 base/StringBits.h \
Chris@824 81 base/TempDirectory.h \
Chris@824 82 base/TempWriteFile.h \
Chris@824 83 base/TextMatcher.h \
Chris@824 84 base/Thread.h \
Chris@824 85 base/UnitDatabase.h \
Chris@824 86 base/ViewManagerBase.h \
Chris@824 87 base/Window.h \
Chris@824 88 base/XmlExportable.h \
Chris@824 89 base/ZoomConstraint.h
Chris@824 90 SOURCES += base/AudioLevel.cpp \
Chris@824 91 base/Clipboard.cpp \
Chris@824 92 base/Command.cpp \
Chris@824 93 base/Debug.cpp \
Chris@824 94 base/Exceptions.cpp \
Chris@824 95 base/LogRange.cpp \
Chris@824 96 base/Pitch.cpp \
Chris@824 97 base/PlayParameterRepository.cpp \
Chris@824 98 base/PlayParameters.cpp \
Chris@824 99 base/Preferences.cpp \
Chris@824 100 base/Profiler.cpp \
Chris@824 101 base/ProgressPrinter.cpp \
Chris@824 102 base/ProgressReporter.cpp \
Chris@824 103 base/PropertyContainer.cpp \
Chris@824 104 base/RangeMapper.cpp \
Chris@824 105 base/RealTime.cpp \
Chris@824 106 base/RecentFiles.cpp \
Chris@824 107 base/Resampler.cpp \
Chris@824 108 base/ResourceFinder.cpp \
Chris@824 109 base/Selection.cpp \
Chris@824 110 base/Serialiser.cpp \
Chris@824 111 base/StorageAdviser.cpp \
Chris@824 112 base/StringBits.cpp \
Chris@824 113 base/TempDirectory.cpp \
Chris@824 114 base/TempWriteFile.cpp \
Chris@824 115 base/TextMatcher.cpp \
Chris@824 116 base/Thread.cpp \
Chris@824 117 base/UnitDatabase.cpp \
Chris@824 118 base/ViewManagerBase.cpp \
Chris@824 119 base/XmlExportable.cpp
Chris@824 120
Chris@824 121 HEADERS += data/fft/FFTapi.h \
Chris@824 122 data/fileio/AudioFileReader.h \
Chris@824 123 data/fileio/AudioFileReaderFactory.h \
Chris@1098 124 data/fileio/AudioFileSizeEstimator.h \
Chris@824 125 data/fileio/BZipFileDevice.h \
Chris@824 126 data/fileio/CachedFile.h \
Chris@824 127 data/fileio/CodedAudioFileReader.h \
Chris@824 128 data/fileio/CSVFileReader.h \
Chris@824 129 data/fileio/CSVFileWriter.h \
Chris@824 130 data/fileio/CSVFormat.h \
Chris@824 131 data/fileio/DataFileReader.h \
Chris@824 132 data/fileio/DataFileReaderFactory.h \
Chris@824 133 data/fileio/FileFinder.h \
Chris@824 134 data/fileio/FileReadThread.h \
Chris@824 135 data/fileio/FileSource.h \
Chris@824 136 data/fileio/MatrixFile.h \
Chris@824 137 data/fileio/MIDIFileReader.h \
Chris@824 138 data/fileio/MIDIFileWriter.h \
Chris@824 139 data/fileio/MP3FileReader.h \
Chris@824 140 data/fileio/OggVorbisFileReader.h \
Chris@824 141 data/fileio/PlaylistFileReader.h \
Chris@824 142 data/fileio/QuickTimeFileReader.h \
Chris@824 143 data/fileio/CoreAudioFileReader.h \
Chris@824 144 data/fileio/DecodingWavFileReader.h \
Chris@824 145 data/fileio/WavFileReader.h \
Chris@824 146 data/fileio/WavFileWriter.h \
Chris@824 147 data/midi/MIDIEvent.h \
Chris@824 148 data/midi/MIDIInput.h \
Chris@824 149 data/midi/rtmidi/RtError.h \
Chris@824 150 data/midi/rtmidi/RtMidi.h \
Chris@824 151 data/model/AggregateWaveModel.h \
Chris@824 152 data/model/AlignmentModel.h \
Chris@824 153 data/model/Dense3DModelPeakCache.h \
Chris@824 154 data/model/DenseThreeDimensionalModel.h \
Chris@824 155 data/model/DenseTimeValueModel.h \
Chris@824 156 data/model/EditableDenseThreeDimensionalModel.h \
Chris@824 157 data/model/FFTModel.h \
Chris@824 158 data/model/ImageModel.h \
Chris@824 159 data/model/IntervalModel.h \
Chris@824 160 data/model/Labeller.h \
Chris@824 161 data/model/Model.h \
Chris@824 162 data/model/ModelDataTableModel.h \
Chris@824 163 data/model/NoteModel.h \
Chris@826 164 data/model/FlexiNoteModel.h \
Chris@824 165 data/model/PathModel.h \
Chris@824 166 data/model/PowerOfSqrtTwoZoomConstraint.h \
Chris@824 167 data/model/PowerOfTwoZoomConstraint.h \
Chris@824 168 data/model/RangeSummarisableTimeValueModel.h \
Chris@824 169 data/model/RegionModel.h \
Chris@824 170 data/model/SparseModel.h \
Chris@824 171 data/model/SparseOneDimensionalModel.h \
Chris@824 172 data/model/SparseTimeValueModel.h \
Chris@824 173 data/model/SparseValueModel.h \
Chris@824 174 data/model/TabularModel.h \
Chris@824 175 data/model/TextModel.h \
Chris@824 176 data/model/WaveFileModel.h \
Chris@824 177 data/model/WritableWaveFileModel.h \
Chris@824 178 data/osc/OSCMessage.h \
Chris@824 179 data/osc/OSCQueue.h
Chris@824 180 SOURCES += data/fft/FFTapi.cpp \
Chris@824 181 data/fileio/AudioFileReader.cpp \
Chris@824 182 data/fileio/AudioFileReaderFactory.cpp \
Chris@1098 183 data/fileio/AudioFileSizeEstimator.cpp \
Chris@824 184 data/fileio/BZipFileDevice.cpp \
Chris@824 185 data/fileio/CachedFile.cpp \
Chris@824 186 data/fileio/CodedAudioFileReader.cpp \
Chris@824 187 data/fileio/CSVFileReader.cpp \
Chris@824 188 data/fileio/CSVFileWriter.cpp \
Chris@824 189 data/fileio/CSVFormat.cpp \
Chris@824 190 data/fileio/DataFileReaderFactory.cpp \
Chris@824 191 data/fileio/FileReadThread.cpp \
Chris@824 192 data/fileio/FileSource.cpp \
Chris@824 193 data/fileio/MatrixFile.cpp \
Chris@824 194 data/fileio/MIDIFileReader.cpp \
Chris@824 195 data/fileio/MIDIFileWriter.cpp \
Chris@824 196 data/fileio/MP3FileReader.cpp \
Chris@824 197 data/fileio/OggVorbisFileReader.cpp \
Chris@824 198 data/fileio/PlaylistFileReader.cpp \
Chris@824 199 data/fileio/QuickTimeFileReader.cpp \
Chris@824 200 data/fileio/CoreAudioFileReader.cpp \
Chris@824 201 data/fileio/DecodingWavFileReader.cpp \
Chris@824 202 data/fileio/WavFileReader.cpp \
Chris@824 203 data/fileio/WavFileWriter.cpp \
Chris@824 204 data/midi/MIDIInput.cpp \
Chris@824 205 data/midi/rtmidi/RtMidi.cpp \
Chris@824 206 data/model/AggregateWaveModel.cpp \
Chris@824 207 data/model/AlignmentModel.cpp \
Chris@824 208 data/model/Dense3DModelPeakCache.cpp \
Chris@824 209 data/model/DenseTimeValueModel.cpp \
Chris@824 210 data/model/EditableDenseThreeDimensionalModel.cpp \
Chris@824 211 data/model/FFTModel.cpp \
Chris@824 212 data/model/Model.cpp \
Chris@824 213 data/model/ModelDataTableModel.cpp \
Chris@824 214 data/model/PowerOfSqrtTwoZoomConstraint.cpp \
Chris@824 215 data/model/PowerOfTwoZoomConstraint.cpp \
Chris@824 216 data/model/RangeSummarisableTimeValueModel.cpp \
Chris@824 217 data/model/WaveFileModel.cpp \
Chris@824 218 data/model/WritableWaveFileModel.cpp \
Chris@824 219 data/osc/OSCMessage.cpp \
Chris@824 220 data/osc/OSCQueue.cpp
Chris@824 221
Chris@824 222 HEADERS += plugin/DSSIPluginFactory.h \
Chris@824 223 plugin/DSSIPluginInstance.h \
Chris@824 224 plugin/FeatureExtractionPluginFactory.h \
Chris@824 225 plugin/LADSPAPluginFactory.h \
Chris@824 226 plugin/LADSPAPluginInstance.h \
Chris@824 227 plugin/PluginIdentifier.h \
Chris@824 228 plugin/PluginXml.h \
Chris@824 229 plugin/RealTimePluginFactory.h \
Chris@824 230 plugin/RealTimePluginInstance.h \
Chris@824 231 plugin/api/dssi.h \
Chris@824 232 plugin/api/ladspa.h \
Chris@824 233 plugin/plugins/SamplePlayer.h \
Chris@824 234 plugin/api/alsa/asoundef.h \
Chris@824 235 plugin/api/alsa/asoundlib.h \
Chris@824 236 plugin/api/alsa/seq.h \
Chris@824 237 plugin/api/alsa/seq_event.h \
Chris@824 238 plugin/api/alsa/seq_midi_event.h \
Chris@824 239 plugin/api/alsa/sound/asequencer.h
Chris@824 240
Chris@824 241
Chris@824 242 SOURCES += plugin/DSSIPluginFactory.cpp \
Chris@824 243 plugin/DSSIPluginInstance.cpp \
Chris@824 244 plugin/FeatureExtractionPluginFactory.cpp \
Chris@824 245 plugin/LADSPAPluginFactory.cpp \
Chris@824 246 plugin/LADSPAPluginInstance.cpp \
Chris@824 247 plugin/PluginIdentifier.cpp \
Chris@824 248 plugin/PluginXml.cpp \
Chris@824 249 plugin/RealTimePluginFactory.cpp \
Chris@824 250 plugin/RealTimePluginInstance.cpp \
Chris@824 251 plugin/plugins/SamplePlayer.cpp
Chris@811 252
Chris@811 253 !linux* {
Chris@811 254 SOURCES += plugin/api/dssi_alsa_compat.c
Chris@811 255 }
Chris@824 256
Chris@824 257 HEADERS += rdf/PluginRDFIndexer.h \
Chris@824 258 rdf/PluginRDFDescription.h \
Chris@824 259 rdf/RDFExporter.h \
Chris@824 260 rdf/RDFFeatureWriter.h \
Chris@824 261 rdf/RDFImporter.h \
Chris@824 262 rdf/RDFTransformFactory.h
Chris@824 263 SOURCES += rdf/PluginRDFIndexer.cpp \
Chris@824 264 rdf/PluginRDFDescription.cpp \
Chris@824 265 rdf/RDFExporter.cpp \
Chris@824 266 rdf/RDFFeatureWriter.cpp \
Chris@824 267 rdf/RDFImporter.cpp \
Chris@824 268 rdf/RDFTransformFactory.cpp
Chris@824 269
Chris@824 270 HEADERS += system/Init.h \
Chris@824 271 system/System.h
Chris@824 272 SOURCES += system/Init.cpp \
Chris@824 273 system/System.cpp
Chris@824 274
Chris@824 275 HEADERS += transform/CSVFeatureWriter.h \
Chris@824 276 transform/FeatureExtractionModelTransformer.h \
Chris@824 277 transform/FeatureWriter.h \
Chris@824 278 transform/FileFeatureWriter.h \
Chris@824 279 transform/RealTimeEffectModelTransformer.h \
Chris@824 280 transform/Transform.h \
Chris@824 281 transform/TransformDescription.h \
Chris@824 282 transform/TransformFactory.h \
Chris@824 283 transform/ModelTransformer.h \
Chris@824 284 transform/ModelTransformerFactory.h
Chris@824 285 SOURCES += transform/CSVFeatureWriter.cpp \
Chris@824 286 transform/FeatureExtractionModelTransformer.cpp \
Chris@824 287 transform/FileFeatureWriter.cpp \
Chris@824 288 transform/RealTimeEffectModelTransformer.cpp \
Chris@824 289 transform/Transform.cpp \
Chris@824 290 transform/TransformFactory.cpp \
Chris@824 291 transform/ModelTransformer.cpp \
Chris@824 292 transform/ModelTransformerFactory.cpp