From e160337c4e45c53772f2c311aef1a7429e73ab51 Mon Sep 17 00:00:00 2001 From: John Glover Date: Thu, 23 Aug 2012 16:19:11 +0100 Subject: [sndobj] Fix bug in SndObjSynthesis. Partial IDs were not being handled correctly, added new class based on AdSyn that does not rely on IDs. --- src/sndobj/AdSyn.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/sndobj/AdSyn.h') diff --git a/src/sndobj/AdSyn.h b/src/sndobj/AdSyn.h index 1d62d01..089e3b1 100644 --- a/src/sndobj/AdSyn.h +++ b/src/sndobj/AdSyn.h @@ -26,9 +26,7 @@ #include "ReSyn.h" class AdSyn : public ReSyn { - public: - AdSyn(); AdSyn(SinAnal* input, int maxtracks, Table* table, double pitch = 1.f, double scale=1.f, @@ -37,4 +35,15 @@ class AdSyn : public ReSyn { short DoProcess(); }; + +class SimplAdSyn : public AdSyn { + public: + SimplAdSyn(); + SimplAdSyn(SinAnal* input, int maxtracks, Table* table, + double pitch = 1.f, double scale=1.f, + int vecsize=DEF_VECSIZE, double sr=DEF_SR); + ~SimplAdSyn(); + short DoProcess(); +}; + #endif -- cgit v1.2.3