From 2ae5d551c7b67fe5ff413e85d1e68eb1a063993a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 30 Jul 2011 20:40:34 +0000 Subject: added template-style README and LICENSE and purged cruft in prep for porting to the library template svn path=/trunk/externals/unauthorized/; revision=15171 --- stksitar~/sitar.h | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 stksitar~/sitar.h (limited to 'stksitar~/sitar.h') diff --git a/stksitar~/sitar.h b/stksitar~/sitar.h deleted file mode 100644 index 1144c86..0000000 --- a/stksitar~/sitar.h +++ /dev/null @@ -1,43 +0,0 @@ -/******************************************/ -/* Karplus-Strong Sitar1 string model */ -/* by Perry Cook, 1995-96 */ -/* */ -/* There exist at least two patents, */ -/* assigned to Stanford, bearing the */ -/* names of Karplus and/or Strong. */ -/******************************************/ - -#if !defined(__sitar_h) -#define __sitar_h - -#include "Instrmnt.h" -#include "DelayA.h" -#include "OneZero.h" -#include "Noise.h" -#include "ADSR.h" - -class sitar : public Instrmnt -{ -protected: - DelayA *delayLine; - OneZero *loopFilt; - ADSR *envelope; - Noise *noise; - long length; - StkFloat loopGain; - StkFloat amPluck; - StkFloat delay; - StkFloat delayTarg; -public: - sitar(StkFloat lowestFreq); - ~sitar(); - void clear(); - virtual void setFreq(StkFloat frequency); - void pluck(StkFloat amplitude); - virtual void noteOn(StkFloat freq, StkFloat amp); - virtual void noteOff(StkFloat amp); - virtual StkFloat tick(); -}; - -#endif - -- cgit v1.2.1