[chuck-users] interpolated step? (equivalent to max's line)

George Locke george.locke.maxmsp at gmail.com
Fri Jul 13 16:21:09 EDT 2012


I was worried I'd end up with s/t like Jordan's solution; can't try
Kassen's suggestion till i get home, but it does look a lot cleaner.

@Jordan If you want a pitch envelope, you can do s/t like this:

Envelope e => Gain g => SinOsc s => dac;
Step s=> g;
0 => s.sync; // binds s.freq to input from g

100 => float minFreq;
500 => float maxFreq;
minFreq => s.next;
(maxFreq-minFreq) => e.gain; // noteOn() no longer limited to 0-1 ;)
e.noteOn();


I learned how to do this last night for a percussion patch i'm working on.


On Fri, Jul 13, 2012 at 3:38 PM, Kassen <signal.automatique at gmail.com>wrote:

> With the way I illustrated you should be able to write arbitrarily
> large or small values to either .value() or .target().
>
> It is only when using noteOn() and noteOff() (or whatever they were
> called) that it is forced in the 0-1 range, I believe.
>
> Yours,
> Kas.
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20120713/01a249b0/attachment.htm>


More information about the chuck-users mailing list