Thanks, everyone.
So, patko, I gather poly alone should work -- I'd just multiplex messages, so long as there are two arguments?
Yes it's possible to pass an huge number to poly object, and then polypoly, that would be the result of multiplexed values.
For example if you need 7 bit words values like in MIDI standard, second value would be multiplied by 128 and then added to the first, the third by 16384 and added to the sum of the first and the second, etc ...
for demultiplexing a [mod 128] would get the first value, the second with [mod 16384]-[/ 128]-[int], etc ...
I have attached this example with three values.
Hans, I gather the Rj version u_makepoly is now the newest. It's looking great, though I ran into one hitch - right now, with the abstraction I built it's giving me this error - Error: Bad arguments for message 'f' to object 'objectmaker' f $1 ... couldn't create
Not sure what that means. (I mean, I know literally what it means, but not why.) Looking into it / open to someone pointing out anything obvious. ;)
Peter
On Fri, 11 Mar 2011, patko wrote:
For example if you need 7 bit words values like in MIDI standard, second value would be multiplied by 128 and then added to the first, the third by 16384 and added to the sum of the first and the second, etc ...
for demultiplexing a [mod 128] would get the first value, the second with [mod 16384]-[/ 128]-[int], etc ...
You can also do the second using : [mod 16384]-[div 128]
or : [div 128]-[mod 128]
or : [>> 7]-[& 127]
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC