Welcome to %s forums

BrainModular Users Forum

Login Register

Step Sequencer Preset Change Time

I need help on a Patch
Post Reply
CleverConQueso
Member
Posts: 190
Contact:

Unread post by CleverConQueso » 27 Sep 2011, 18:34

Image

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.

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 27 Sep 2011, 21:15

don't have test but maybe an idea, I've start from a clock beat subpatch,
i use the out of the selector to set the lenght of the ramp
i use the master sync to start the ramp
( i've add only what is selected here )
what do you think..?
Image

CleverConQueso
Member
Posts: 190
Contact:

Unread post by CleverConQueso » 28 Sep 2011, 00:07

And then connect this to the array that sets the preset manager? I think the 'tick' triggers at the beginning of the ramp so I think it's functionally the same as the other. Is that right? I updated the patch if you want to check my work? CCQSSN7

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 28 Sep 2011, 08:54

in fact there's a tick at the end but also at the start, your 'right, so maybe you could use a step data ( draw a ramp 0 to 1) to replace the ramp, will work ..?

CleverConQueso
Member
Posts: 190
Contact:

Unread post by CleverConQueso » 28 Sep 2011, 18:44

Thanks Nay. I slept on it and here's what I am going to try to do - Rather than try to figure out the lead time to switch the preset, I'm going to use the save preset buttons to copy the matrix's array to a poly array and use the scheduler to pass or not pass the output from these. I'll have to take a look at what that does to CPU.

CleverConQueso
Member
Posts: 190
Contact:

Unread post by CleverConQueso » 28 Sep 2011, 23:28

Here's the updated patch.

Step Sequencer

This one is the least disk space of all of them which can't be bad. I ended up remaking the 'store arrays' script in patch form so that i could save arrays while recalling different arrays.

Please let me know your thoughts.

Thanks,

-CCQ-

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests