[Stk] Drummer example not producing sound

Ioannis Chionidis ichionid at gmail.com
Tue Dec 18 05:34:34 PST 2012


Hi all,

I am trying to run a simple example like the following one:

|Drummer  drummer;
     StkFloat  bass_drum=  36;
     for  (int  i=  0;  i<  10;  i++)  {
         drummer.noteOn(36,  1.0);
         h->wait(400);//helper class's function
         drummer.noteOff(2.0);
         h->wait(400);//helper class's function
     }|

Should I be getting a sound output??
If not any idea of what should I add?

Best,
Ioannis Chionidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/stk/attachments/20121218/a8179df0/attachment.html 


More information about the Stk mailing list