The day I finally figured out how to have smoothly varying tempo in my ChucK improvisations:
jubilee2
Merry Christmas, everyone!
Beautiful! :D What's the code like, to change the tempo gradually?
something like this: //sounding code off in another shred while( tg.up() ) { 120 + tg.i%40 => int bpm; //calc bpm tg.set( minute/bpm/2, 8, 10 ); //set the global time //children shreds sync at next update tg.beat => now; }
January 27th, 2009 - 2:00 PM
Beautiful! :D What's the code like, to change the tempo gradually?
January 27th, 2009 - 4:37 PM
something like this: //sounding code off in another shred while( tg.up() ) { 120 + tg.i%40 => int bpm; //calc bpm tg.set( minute/bpm/2, 8, 10 ); //set the global time //children shreds sync at next update tg.beat => now; }