aboutsummaryrefslogtreecommitdiff
path: root/stksitar~/mstksitar~.cc
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-07-30 20:40:34 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit2ae5d551c7b67fe5ff413e85d1e68eb1a063993a (patch)
treea0eb54d184ebbbf98b4a9cd9f00861108b3bc5a9 /stksitar~/mstksitar~.cc
parent66aa65d08587324b679556b7b50f5db434b8167c (diff)
added template-style README and LICENSE and purged cruft in prep for porting to the library template
svn path=/trunk/externals/unauthorized/; revision=15171
Diffstat (limited to 'stksitar~/mstksitar~.cc')
-rw-r--r--stksitar~/mstksitar~.cc39
1 files changed, 0 insertions, 39 deletions
diff --git a/stksitar~/mstksitar~.cc b/stksitar~/mstksitar~.cc
deleted file mode 100644
index 62edef6..0000000
--- a/stksitar~/mstksitar~.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-/* stksitar~ -- apply a stksitar effect
- * requires libDSP library
- * Copyleft 2001 Yves Degoyon.
- * Permission is granted to use this software for any purpose provided you
- * keep this copyright notice intact.
- *
- * THE AUTHOR AND HIS EXPLOITERS MAKE NO WARRANTY, EXPRESS OR IMPLIED,
- * IN CONNECTION WITH THIS SOFTWARE.
- *
-*/
-
-#include "sitar.h"
-#include "unistd.h"
-#include "RtWvOut.h"
-
-sitar *x_stksitar = NULL;
-
-int main( int argc, char** argv )
-{
-
- // int count=0;
-
- x_stksitar = new sitar( 50.0 );
- if ( x_stksitar == NULL )
- {
- printf( "mstksitar~: cannot build sitar instrument from STK" );
- exit(-1);
- }
-
- x_stksitar->noteOn( 400.0, 0.25 ); // start sound
- while (1)
- {
- double dare;
-
- dare = (float) x_stksitar->tick();
- printf( "%f\n", dare );
- fwrite( (void*)&dare, sizeof(float), 1, stderr );
- }
-}