surge-synthesizer / stochas

The Stochas Sequencer
https://stochas.org
GNU General Public License v3.0
404 stars 35 forks source link

Reaper automation #52

Open romanskorobagatko opened 3 years ago

romanskorobagatko commented 3 years ago

I have 4 patterns, when triggering L1 pattern with automation in Reaper it changes notes patterns but the pitch remains the same as patern 1.

rudeog commented 3 years ago

Can you save your reaper project file and attach it (if possible, or link to where I can get it). Replace any commercial synth with ReaSynth and also post me exactly the expected behavior and what the behavior that you are seeing.

romanskorobagatko commented 3 years ago

Done https://1drv.ms/u/s!AgkNdOTywloDg7YuYLj9tCBBaJNjOw?e=8y64Oh

bypass stochas and you'll see the difference on the second bar

rudeog commented 3 years ago

The behavior you are observing as I see it (let me know if I have it right): The automation causes the pattern to change after each measure, and although the pattern changes, the first note in the new pattern is not triggering. Instead the first note in the previous pattern is triggering.

Yes, this behavior is undesirable. The reason for this is how the sequencer works with regards to note shift, swing, groove and humanization. It does a look-ahead on each step when it reaches halfway between the current step and the new step, and builds a list of "next notes to play". It does this because the new step may need to play somewhat earlier than the grid if it's moved backward in time. As a result, it has already added the new step to its list by the time it gets the automation to change patterns. So for example, in your project, when it gets the message to switch to pattern 2, it has already added the C3 from the repeat of pattern 1 to its list and has already processed grid position 1 so it does not process it for pattern 2.

There is a workaround (which I have attached). The workaround is to move your automation slightly earlier in time. This same workaround can be used if using midi notes to trigger pattern changes.

I would like to fix this issue, but I need to figure out a way to do it which still preserves the proper note shifting behavior.

Stochas patterns aut workaround.RPP.zip

romanskorobagatko commented 3 years ago

Okay I see. Thanks for detailed explanation, I really like the plugin and will definitely use it for composing ideas. Will look forward to the updates.

WskyG commented 7 months ago

I also use Reaper as my DAW, and have been unsuccessful at using one Stochas to control pattern switching in the other Stochas. I brought the issue up in Discord, but still can't figure it out. Is there a chance to get a reaper file with the 2 Stochas hooked up properly? Thanks in advance. WskyG

rudeog commented 7 months ago

pattern_change_example.zip Here you go

WskyG commented 7 months ago

Thanks!