notectrl

Polyphonic, Polyrythmic, Polymetric sequencer easy way to configure polyseq, used in conjuction with polyseq/note , see help patch
Author: Mark Harris
License: GPL
Github: tb/seq/polyseq/notectrl.axo

Inlets

None

Outlets

None

Parameters

frac32.u.map velocity

frac32.s.map mod1

frac32.s.map mod2

bool32.tgl gate

frac32.s.map.pitch pitch

Attributes

objref seq

spinner track

spinner step

Displays

bool32 valid

Init
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 ");
}
Control Rate
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;
}

Privacy

© 2024 Zrna Research