None
None
frac32.u.map velocity
frac32.s.map mod1
frac32.s.map mod2
bool32.tgl gate
frac32.s.map.pitch pitch
objref seq
spinner track
spinner step
bool32 valid
if (attr_track >= attr_seq.maxTracks_) {
LogTextMessage("polyseq ctrl : invalid track %i", attr_track);
}
if (attr_step >= attr_seq.maxSteps_) {
LogTextMessage("polyseq ctrl : invalid step %i", attr_step);
}
if (attr_seq.numValues_ < 5) {
LogTextMessage("polyseq ctrl : requires at least 5 values ");
}
if (attr_track < attr_seq.maxTracks_ && attr_step < attr_seq.maxSteps_ &&
attr_seq.numValues_ >= 5) {
attr_seq.seqValue_[attr_track][attr_step][0] = param_gate;
attr_seq.seqValue_[attr_track][attr_step][1] = param_pitch;
attr_seq.seqValue_[attr_track][attr_step][2] = param_velocity;
attr_seq.seqValue_[attr_track][attr_step][3] = param_mod1;
attr_seq.seqValue_[attr_track][attr_step][4] = param_mod2;
disp_valid = attr_step < attr_seq.seqSteps_[attr_track];
} else {
disp_valid = false;
}