diff options
author | John Glover <glover.john@gmail.com> | 2011-06-24 18:17:23 +0100 |
---|---|---|
committer | John Glover <glover.john@gmail.com> | 2011-06-24 18:17:23 +0100 |
commit | 416bd737074a287ea47106c73ea6bcfde40a75a8 (patch) | |
tree | 74562303d4f4f2f2e010f7e13cba41dc4852b50c /sndobj/SinSyn.h | |
parent | d26519464dcbf8c3682348167c29454961facefe (diff) | |
download | simpl-416bd737074a287ea47106c73ea6bcfde40a75a8.tar.gz simpl-416bd737074a287ea47106c73ea6bcfde40a75a8.tar.bz2 simpl-416bd737074a287ea47106c73ea6bcfde40a75a8.zip |
Change to using distutils.
Currently only builds the simplsndobj module
Diffstat (limited to 'sndobj/SinSyn.h')
-rw-r--r-- | sndobj/SinSyn.h | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/sndobj/SinSyn.h b/sndobj/SinSyn.h deleted file mode 100644 index 6d9e519..0000000 --- a/sndobj/SinSyn.h +++ /dev/null @@ -1,69 +0,0 @@ - -//////////////////////////////////////////////////////////////////////// -// This file is part of the SndObj library -// -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// Copyright (c)Victor Lazzarini, 1997-2004 -// See License.txt for a disclaimer of all warranties -// and licensing information - -#ifndef _SINSYN_H -#define _SINSYN_H - -#include "SndObj.h" -#include "SinAnal.h" -#include "Table.h" - -class SinSyn : public SndObj { - - protected: - - double m_size; - Table* m_ptable; - - double m_factor; - double m_facsqr; - double m_LoTWOPI; - double m_scale; - double m_incr; - double m_ratio; - - int m_tracks; - int* m_trackID; - int m_maxtracks; - - double* m_phases; - double* m_freqs; - double* m_amps; - - public: - - SinSyn(); - SinSyn(SinAnal* input, int maxtracks, Table* table, double scale=1.f, - int vecsize=DEF_VECSIZE, double sr=DEF_SR); - - ~SinSyn(); - void SetTable(Table* table); - void SetMaxTracks(int maxtracks); - void SetScale(double scale) { m_scale = scale; } - int Set(char* mess, double value); - int Connect(char* mess, void* input); - short DoProcess(); - - -}; - -#endif |