Difference between revisions of "ChucK/Programs/12BarBlues"
From CSWiki
Line 1: | Line 1: | ||
− | ==12 Bar Blues== | + | ==12 Bar Blues Program == |
by Rasmus Kaj and Gary Williams | by Rasmus Kaj and Gary Williams | ||
Latest revision as of 20:58, 21 February 2006
12 Bar Blues Program
by Rasmus Kaj and Gary Williams
Links
- ChucK 12-bar blues : A drum beat and a 12-bar blues standard : Rasmus Kaj
- hihat.ck : the hihat program (with commented out syntax error) : Gary Williams
- kick.ck : the kick drum program (with commented out syntax error) : Gary Williams
- snare.ck : the snare drum program (with commetned out syntax error) : Gary Williams
- baseloop.ck : the base loop program : Gary Williams
Discussion
- The current version of Frankenstein didn't allow dividing a float by a dur, so I just commented the divide op and substituted a simple assign, which may not be what Rasmus was aiming at -- I'm not sure it positions to the end of the sndbuf correctly. -- Gary
- All I was aiming for is that the sound should not be heard when loading, but only when I "tell it to start". Maybe there is some better way of doing that? -- Rasmus
- To not let sndbuf play until triggered, set .play or .rate to 0.0 (0.0 => s.rate) and set it to 1.0 when you want to start. -- Ge
- Another method is to do mysndbuf.samples() => mysndbuf.pos; right after you load a sample. --art
- All I was aiming for is that the sound should not be heard when loading, but only when I "tell it to start". Maybe there is some better way of doing that? -- Rasmus