Arraytostring

Discuss Lemur and share techniques.
Post Reply
mh175
Newbie
Posts: 23
Joined: 06 Oct 2012 16:42

Arraytostring

Post 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!
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Arraytostring

Post 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! ;)
Post Reply