Page 1 of 1

Arraytostring

Posted: 08 Jan 2013 20:43
by mh175
Hi,
I think what I want is arraytostring...but I'm not sure.

I have a expression "out" which will be a three note MIDI chord {63,67,71}.
I have a multi-pad object with a custom MIDI message, whose output is "out".

When I have more than one pad it sends each note in the array successively (i.e. Pads.x[0]=63, Pads.x[1]=67, Pads.x[2]=71).

But what I want is all the notes to come out each pad at once Pads.x[0]={63,67,71}, Pads.x[1]={63,67,71}] etc.

How exactly do I do this? Thanks!

Re: Arraytostring

Posted: 10 Jan 2013 08:11
by Softcore
I think the timing difference will be extremely low (so it will really sound like a chord and not like one note triggered after the other) so I think you should just trigger each note out seperately with the press of each pad.

for example on expression pad.x[0]

Code: Select all

noteout(target, 63, velocity, channel);
noteout(target, 67, velocity, channel);
noteout(target, 71, velocity, channel);
Arraytostring converts array data to string data - definitely not what you are after! ;)