zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit cec973d152cff22173ed16dfde69168c562e4906
parent 5d88e0d6ec8810cb713804ae4fff9f8d2a253ab0
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Tue,  4 May 2010 09:02:23 -0400

Samples: Apparently Harder to RM than thought

Diffstat:
Dsrc/Samples/AuSample.cpp | 28----------------------------
Dsrc/Samples/AuSample.h | 35-----------------------------------
Dsrc/Samples/FqSample.cpp | 33---------------------------------
Dsrc/Samples/FqSample.h | 37-------------------------------------
4 files changed, 0 insertions(+), 133 deletions(-)

diff --git a/src/Samples/AuSample.cpp b/src/Samples/AuSample.cpp @@ -1,28 +0,0 @@ -/* - ZynAddSubFX - a software synthesizer - - AuSample.h - Object for storing information on audio samples (for one channel) - Copyright (C) 2009-2009 Mark McCurry - Author: Mark McCurry - - This program is free software; you can redistribute it and/or modify - it under the terms of version 2 of the GNU General Public License - as published by the Free Software Foundation. - - 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 (version 2 or later) for more details. - - You should have received a copy of the GNU General Public License (version 2) - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ -#include "AuSample.h" - -AuSample::AuSample(int length, REALTYPE fill) - :Sample(length, fill) {} - -AuSample::AuSample(int length, const REALTYPE *input) - :Sample(length, input) {} - diff --git a/src/Samples/AuSample.h b/src/Samples/AuSample.h @@ -1,35 +0,0 @@ -/* - ZynAddSubFX - a software synthesizer - - AuSample.h - Object for storing information on audio samples (for one channel) - Copyright (C) 2009-2009 Mark McCurry - Author: Mark McCurry - - This program is free software; you can redistribute it and/or modify - it under the terms of version 2 of the GNU General Public License - as published by the Free Software Foundation. - - 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 (version 2 or later) for more details. - - You should have received a copy of the GNU General Public License (version 2) - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ -#ifndef AUSAMPLE_H -#define AUSAMPLE_H - -#include "Sample.h" -#include "FqSample.h" - -class AuSample:public Sample -{ - public: - AuSample(int length, REALTYPE fill = 0); - AuSample(int length, const REALTYPE *input); - FqSample getFqSample(); /**\todo implement this*/ -}; -#endif - diff --git a/src/Samples/FqSample.cpp b/src/Samples/FqSample.cpp @@ -1,33 +0,0 @@ -/* - ZynAddSubFX - a software synthesizer - - FqSample.C - Object for storing information on samples - Copyright (C) 2009-2009 Mark McCurry - Author: Mark McCurry - - This program is free software; you can redistribute it and/or modify - it under the terms of version 2 of the GNU General Public License - as published by the Free Software Foundation. - - 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 (version 2 or later) for more details. - - You should have received a copy of the GNU General Public License (version 2) - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ -#include "FqSample.h" - -FqSample::FqSample(int length, REALTYPE fill) - :Sample(length, fill) -{} - -FqSample::FqSample(int length, const REALTYPE *input) - :Sample(length, input) -{} - -FqSample::~FqSample() -{} - diff --git a/src/Samples/FqSample.h b/src/Samples/FqSample.h @@ -1,37 +0,0 @@ -/* - ZynAddSubFX - a software synthesizer - - FqSample.h - Object for storing information on samples - Copyright (C) 2009-2009 Mark McCurry - Author: Mark McCurry - - This program is free software; you can redistribute it and/or modify - it under the terms of version 2 of the GNU General Public License - as published by the Free Software Foundation. - - 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 (version 2 or later) for more details. - - You should have received a copy of the GNU General Public License (version 2) - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ -#ifndef MONOSAMPLE_H -#define MONOSAMPLE_H - -#include "FqSample.h" -#include "Sample.h" - -class FqSample:public Sample -{ - public: - FqSample(int length, REALTYPE fill = 0); - FqSample(int length, const REALTYPE *input); - ~FqSample(); - //FqSample &operator=(const FqSample &smp); - //float *dontuse(){return buffer;}; -}; -#endif -