[LAU] An atrocity committed with PD
hard off
hard.off at gmail.com
Thu Aug 30 05:10:43 EDT 2007
>>Serious question: what do y'all do about the 1980's-era idiocy of MIDI, in
that it only has 127 steps in its CC's (sheesh, not even a lousy byte!). Do
you burn two controllers with fine/coarse adjustments? If so, how do you
determine the scale for fine and/or coarse?<<
one thing i have done in pd is turn my midi controller into an accelerator.
it's a bit different to use, but is really good for filter sweeps and stuff
like that.
quick explanation:
1) scale the midi data into a nice curve between -1 and 1
[ctlin]
|
[- 64]
|
[/ 64]
|
[expr pow($f1, 3)]
2) add a flat spot in the middle of the curve so that midi data between 55
->75 will cause zero acceleration
[* 100]
|
[div 100]
|
[/ 100]
3) use this acceleration data to feed a counter
(bit hard to draw here, so see attached patch)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20070830/4255a7e9/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accel-midi.pd
Type: application/octet-stream
Size: 936 bytes
Desc: not available
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20070830/4255a7e9/attachment.obj
More information about the Linux-audio-user
mailing list