summaryrefslogtreecommitdiff
path: root/src/sndobj/AdSyn.h
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2012-08-23 16:19:11 +0100
committerJohn Glover <j@johnglover.net>2012-08-23 16:19:11 +0100
commite160337c4e45c53772f2c311aef1a7429e73ab51 (patch)
tree4be6df6a5bc63d0ac54bb3d07f381445b0359ad1 /src/sndobj/AdSyn.h
parente4ab5141d33d0c94a1c82091a02cfc7ecffc65fd (diff)
downloadsimpl-e160337c4e45c53772f2c311aef1a7429e73ab51.tar.gz
simpl-e160337c4e45c53772f2c311aef1a7429e73ab51.tar.bz2
simpl-e160337c4e45c53772f2c311aef1a7429e73ab51.zip
[sndobj] Fix bug in SndObjSynthesis. Partial IDs were not being handled correctly, added new class based on AdSyn that does not rely on IDs.
Diffstat (limited to 'src/sndobj/AdSyn.h')
-rw-r--r--src/sndobj/AdSyn.h13
1 files changed, 11 insertions, 2 deletions
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