From 0c8e687ce284d7599b9bfb7c578b0fc7fb32c493 Mon Sep 17 00:00:00 2001 From: Rafael Ortiz Date: Fri, 25 Feb 2011 21:40:07 +0000 Subject: fixing simlimking build error --- (limited to 'TamTamMini.activity/common/Util/Clooper/cmd_csound.cpp') diff --git a/TamTamMini.activity/common/Util/Clooper/cmd_csound.cpp b/TamTamMini.activity/common/Util/Clooper/cmd_csound.cpp new file mode 100644 index 0000000..ef94f84 --- /dev/null +++ b/TamTamMini.activity/common/Util/Clooper/cmd_csound.cpp @@ -0,0 +1,22 @@ + +#include +#include + +#include "SoundClient.h" + +int main( int argc, char ** argv) +{ + int userInput = 200; + int rval = sc_initialize(argv[1]); + sc_setMasterVolume(30.0); + + while ((userInput != 0) && (rval == 0)) + { + fprintf(stderr, "Enter a pitch\n"); + scanf("%i", &userInput); + //sc_instrumentLoad(5083, "/home/olpc/tamtam/Resources/Sounds/sitar"); + scanf("%i", &userInput); + } + + return 0; +} -- cgit v0.9.1