Mercurial > hg > piper-vamp-js-builds
changeset 16:618391468c8e
Add TIPIC build
author | Chris Cannam |
---|---|
date | Tue, 14 Mar 2017 14:40:52 +0000 |
parents | 87fc2ac1a25a |
children | 9faf7a5ec0ff |
files | tipic/Makefile tipic/tipic.cpp |
diffstat | 2 files changed, 53 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tipic/Makefile Tue Mar 14 14:40:52 2017 +0000 @@ -0,0 +1,34 @@ + +PIPER_VAMP_JS_DIR := ../../piper-vamp-js + +PLUGIN_DIR := ../../tipic + +SRC_DIR := $(PLUGIN_DIR)/src +QMDSP_DIR := $(PLUGIN_DIR)/qm-dsp + +MODULE_NAME := Tipic +MODULE_SOURCE := tipic.cpp + +PLUGIN_SOURCES := \ + $(SRC_DIR)/PitchFilterbank.cpp \ + $(SRC_DIR)/CRP.cpp \ + $(SRC_DIR)/Chroma.cpp \ + $(SRC_DIR)/FeatureDownsample.cpp \ + $(SRC_DIR)/CENS.cpp \ + $(SRC_DIR)/TipicVampPlugin.cpp \ + $(QMDSP_DIR)/dsp/signalconditioning/Filter.cpp \ + $(QMDSP_DIR)/dsp/transforms/DCT.cpp \ + $(QMDSP_DIR)/dsp/transforms/FFT.cpp \ + $(QMDSP_DIR)/dsp/rateconversion/Resampler.cpp \ + $(QMDSP_DIR)/maths/MathUtilities.cpp \ + $(QMDSP_DIR)/base/KaiserWindow.cpp \ + $(QMDSP_DIR)/base/SincWindow.cpp + +PLUGIN_C_SOURCES := \ + $(QMDSP_DIR)/ext/kissfft/kiss_fft.c \ + $(QMDSP_DIR)/ext/kissfft/tools/kiss_fftr.c + +DEFINES := -Dkiss_fft_scalar=double +INCLUDES := -I$(SRC_DIR) -I$(QMDSP_DIR) -I$(QMDSP_DIR)/ext/kissfft -I$(QMDSP_DIR)/ext/kissfft/tools + +include $(PIPER_VAMP_JS_DIR)/Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tipic/tipic.cpp Tue Mar 14 14:40:52 2017 +0000 @@ -0,0 +1,19 @@ +/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ + +#include "PiperExport.h" + +#include "TipicVampPlugin.h" + +using piper_vamp_js::PiperAdapter; +using piper_vamp_js::PiperPluginLibrary; + +static std::string soname("tipic"); + +static PiperAdapter<Tipic> tipicAdapter(soname); + +static PiperPluginLibrary library({ + &tipicAdapter +}); + +PIPER_EXPORT_LIBRARY(library); +