General

Arraytostring

Started by mh175 on .

Sign in or create an account to join the conversation.

2 posts

Topic starter
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!
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]
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! ;)