[PD] tight syncing of two pd machines...

Andre Schmidt huolong at arcor.de
Wed Dec 17 18:41:47 CET 2003


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 at 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 at videotron.ca>
> To: "shreeswifty" <bigswift at ufl.edu>
> Cc: <pd-list at 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 at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remap.pd
Type: application/octet-stream
Size: 644 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20031217/93a655d6/attachment.obj>


More information about the Pd-list mailing list