Page 1 of 1

Posted: 25 Nov 2013, 23:01
by AndrewChi
While patching in Hollyhock I discovered that the new Mapper-module for values has its ARRAY-out only on the output-section. In the former Usine, it used to be both on the input side (left).
I want to get incoming midi NOTE ON flow, mapped to a dynamic array.
It is impossible to connect something to the OUT VALUES-array, which was in fact the point of this module I thought?
So, is there another way to easily map incoming values to constantly changing new numbers from an array?
Is this a bug in the Mapper-module, or am I doing something wrong?

Thanks for tips & tricks!!!

Posted: 26 Nov 2013, 01:03
by joffo78
hi i think i made a patch that do this operation but i'm not sure to understand what you really need ?
do you mean you want to transform incoming midi note in a array of 128 vélocities (one index by note) ?

Posted: 26 Nov 2013, 09:56
by AndrewChi
What I'm trying to make is:
-an incoming stream of midi notes
-an outgoing stream of 'mapped' notes, like a scale or something.
Important is that the scale should be DYNAMIC! I want it derived from the last notes I was playing. This already works, there is no problem there, I only want to get this constantly changing 'out values' in the mapper module (or other solution!!!

ex.:
midi note 60, 61, 62 and 63 are played.
I want it to output: 60, 60, 62 and 62, based on a given scale (which is slowly changing based on incoming notes.

I used to do it by unpacking the MIDI, extracting only code 1 (note value), put it in the mapper module (input values 1)
and then map it to the values specified in output values (formerly on input 2: output values).
I have already found a solution using a dispatcher and a step-sequencer, but I think it is less elegant and doesn't work as easy as using the way the mapper used to work...

In fact in my practical patch, I first map the incoming midi notes to 12 values for the chromatic scale, so I only get 12 values (60 = 72 = ...)
but the principle & the problem are the same...

Thanks for any help joffo78!

Posted: 27 Nov 2013, 10:14
by senso
It's a mistake, in the next version 1.03 "out values" will available as inlet.
senso

Posted: 27 Nov 2013, 10:31
by AndrewChi
Great! looking forward for the new release!

Thanks senso.

Posted: 27 Nov 2013, 18:28
by woodslanding
Speaking of.... the 'grid number' on the grid object is an input. Shouldn't this be an output?