first idea that comes to mind:
0...127 | [ expr ((($f1 / 127) * 720) - 360) ] | -360...360
but IANM (i'm not a mathematician)...
shreeswifty wrote:
hi
i am preparing an immersive video installation using pd-GEMG4 and need a little help. i would like to control the patch with midi using flash etc.. but i would like the slider to read from -360 to 360 is there a simple way to configure or scale an incoming midi ## 0-127 to -360to360
Thanks Patrick
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list .