is it in the abstractions CVS?
B. ----- Original Message ----- From: "Andre Schmidt" huolong@arcor.de To: pd-list@iem.at Sent: Wednesday, December 17, 2003 12:41 PM Subject: Re: [PD] tight syncing of two pd machines...
hi,
someone on this list made this sub-patch for me a long time ago (gotta check the archives)
takes a message:
"remap <min_input> <max_input> <min_output> <max_output>"
cheers -andre
On Wed, 17 Dec 2003 10:24:19 -0500 "B. Bogart" ben@ekran.org wrote:
Keep in mind that you cannot get better resolution with note messages (0-127) so you will have bigger jumps in your scaled control values. (you could also interpolate on the receiving end)
you should probably use a controller (ctlin) which is not limited to 0-127 but has 14bit resolution (I think?)
I did have issues sending ctl data from max and reaktor to pd, it seems pd just sends midi data, while other apps scale and translate the values.
I think a handly abstraction would be one that scales the incoming range
to
a specified range automatically... has 4 args, the min and max of the
input
and the desired min and max. if no one else has bothered I'll patch on up myself.
B. ----- Original Message ----- From: "Marc Lavallée" odradek@videotron.ca To: "shreeswifty" bigswift@ufl.edu Cc: pd-list@iem.at Sent: Tuesday, December 16, 2003 4:32 PM Subject: Re: [PD] tight syncing of two pd machines...
On Tue, Dec 16, 2003 at 02:54:21PM -0500, shreeswifty wrote:
is there a simple way to configure or scale an incoming midi ## 0-127 to -360to360
( ( ( <midi value> * 720 ) + 1 ) / 127 ) - 360
-- Marc
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list