Jump to content

Chord Trigger Midi Channel per Chord


Radiussound

Recommended Posts

Not sure about what you mean, but have you experimented with track (summing) stack?

 

Hi Atlas,

I am using Chord Trigger together with Scripter.

Scripter is the first Midi FX, then Chord Trigger below Scripter.

 

I have programmed melodies in Chord Trigger, starting from C0. The melodies consists of Chords and Single Notes.

Now everytime I press C0 on my midi controller Chord Trigger goes from C0, to C#0, to D0, to D#0. Every time I touch a knob on my midi controller assigned to CC1 (modwheel) the Chord Trigger restarts at C0.

 

This way I can easily tap the melody Rhythmically.

I am sharing the script code below.

 

Now this is what I am looking for: I am looking for a way to assign each note in Chord Trigger to a specific Midi Channel so that I can record more than one sound with 1 Chord Trigger. Just like when I am using my midi controller, I can assign each pad to a different Midi Channel.

 

Do you know how it can be done? Maybe with a Summing Stack like you suggested? If not, I am going to request a new feature.

Thanks

 

//-----------------------------------

var TITLE = "ECX Chromatic Pitch Up";

var triggerNote = 'C0';

var resetCC = 1;

//-----------------------------------

 

var accend = [];

 

function Reset() {

accend = [];

}

 

var trigNr = MIDI.noteNumber(triggerNote);

 

function HandleMIDI(e) {

if (e instanceof ControlChange && e.number === resetCC && e.value >= 90) {

accend = [];

}

 

if (e instanceof NoteOn && e.pitch === trigNr) {

e.pitch += accend.length;

}

 

if (e instanceof NoteOff && e.pitch === trigNr) {

e.pitch += accend.length;

accend.push(e.pitch);

 

if (e.pitch >= 127) {

accend = [];

}

}

e.trace();

e.send();

}

 

var PluginParameters = [{

name: TITLE,

type: "text"

}]

Link to comment
Share on other sites

I’m not savvy enough to analyze/validate your script.

 

To parse by MIDI channels among various VI, a summing stack would be the way to go i think,

unless you wish to use a multi timbral plugin such as Kontakt or Omnisphere, in which case the MIDI parsing would occur at the plugin level.

 

Since the summing stack’s master track cannot instantiate MIDI Fx, you would have to resort to an IAC loop to circumvent that limitation.

 

Unless you are playing pre-recorded events, you would also need a way to control the MIDI channel attribution in real time.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...