[chuck-users] user study!!!

biotechisgodzilla.wifebeater biotechisgodzilla.wifebeater at gmail.com
Thu Jun 15 23:48:26 EDT 2006


the last example, when you include the (great!!!) scale class, it should
be something like this:


------
StifKarp inst => dac;
Scale sc; //include this at the top

[0,2,3,1,4,2,6,3,4,4] @=> int mel[]; //sequence data

for (0=>int i; ; i++) { //infinite loop
  std.mtof( 3*12 + 7 + sc.scale( mel[i%mel.cap()] +5, sc.gypsy )) =>
inst.freq; //set the
  inst.noteOn( 0.5 ); //play a note at half volume
  300::ms => now; //compute audio for 0.3 sec
}
-------


seeya tnx for this tut!!!



On Thu, 2006-06-15 at 17:30 -0400, Graham Coleman wrote:
> Indeed, thanks! (fixed)
> 
> On Thu, 15 Jun 2006, Atte André Jensen wrote:
> 
> > Graham Coleman wrote:
> >
> > > Thanks for the feedback, fixed!
> >
> > The mistake is also in the next three examples (thanks to copy/paste I
> > guess)...
> >
> > --
> > peace, love & harmony
> > Atte
> >
> > http://www.atte.dk      | quartet:      http://www.anagrammer.dk
> > http://www.atte.dk/gps  | compositions: http://www.atte.dk/compositions
> > _______________________________________________
> > chuck-users mailing list
> > chuck-users at lists.cs.princeton.edu
> > https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
> >
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users



More information about the chuck-users mailing list