[PD] newbie MIDI control questions

e skogen eskogen at usfamily.net
Wed Oct 22 08:58:52 CEST 2003

good morning,

instead of writing to an array, you can get the value of an audio signal 
more directly, and convert it to a control signal. see [snapshot~] or 
[avg~] and [unsig~] (which i think are in the zexy library)

here's on idea on how you could go about it. it creates an sinewave LFO 
using [osc~] based on BPM, snaphost~'s it every 5 msecs, scales the 
value to something ctlout can use (0 - 127), and outputs it.

you might want to check my math on the scaling. ugh. algebra. i should 
have paid more attention in junior high.

and i thought i'd never say it. algebra serves a purpose? i guess you 
win this time, junior high school math teacher.


------ http://USFamily.Net/info - Unlimited Internet - From $8.99/mo! ------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20031022/c8004d65/attachment.txt>

More information about the Pd-list mailing list