
Folks-
I'm working on a step sequencer that uses the matrix module to schedule MIDI events. I'm trying to leverage the presets functionality to create different melody lines that change automatically at the end of the cycle or bar. The 'scheduler' button on the interface launches an array editor that schedules the preset changes. Text from the coming WIKI page is below for more description.
The download is here - Step Sequencer
The problem I am having is that the preset change happens at the beginning of the cycle or bar. When this happens the first note in the bar or cycle either doesn't get played or if it does get played, is played from the previous preset. I put some logic in the patch to look for a cycle position of ('total cycle length'-'some number like 1 or .5') to try to change the preset in advance of the cycle change. This takes maintenance and the correct value is different depending upon other settings in the patch.
This patch is actually my second attempt at this 'preset manager'. My first attempt saves presets by loading them into an array. It works OK but it is very complicated and difficult to edit the patch so this approach is preferred.
Any ideas as to how I can tackle the problem of getting the preset to change before the note of the new bar/cycle are played? Is there a way to for example pause play briefly while the preset loads? Any creative approaches I'm not considering?
This patch is part of a group of patches I'm working on for add-on's that are all event schedulers driven by the matrix interface.
Thanks for your help.
- CCQ -
WIKI Entry
===== Bar and Cycle MIDI Step Sequencer =====
This plug-in allows the user to trigger MIDI notes over a bar or cycle.
The title of the button can be changed by double-clicking in the name field below the button. This can be useful for quickly identifying the instrument or sound in that patch.
To configure MIDI events, press the button to open the step sequencer matrix.
Set the root note you want the bottom row of the notes section of the matrix to correspond to. Each row above the bottom note row is one note higher. These trigger 'note on' events.
-this section is in flux-
</del>If you are using a polyphonic synth, these can build chords over time. If your synth is monophonic, then a portamento glide effect can be created.</del> The 'note off' slider at the top of the screen is a work in progress but can be used to set global note length. If it is set all of the way to the left, then the patch is monophonic.
The very bottom row below the line triggers note off events. This turns off all note events at the synth and can be useful for creating chopped or broken bass lines.
Set the number of notes in a bar or cycle by dounle-clicking on the 'notes' fader.
To choose whether the step sequencer repeats over a bar or over a cycle, choose row or cycle from the pop-up menu.
To choose whether events are scheduled using the matrix's draw, or toggle modes, select 'draw' or 'toggle' from the pop-up menu.
Selecting 'fade' sets the volume for the note event.
'Reset' deletes all of the note events.
Click on 'scheduler' to open a pop-up window that displays an array that advances at each cycle or bar and chooses a preset on the step sequencer matrix.

