Reaktor Subdivisions for Event Table
Hi, I'm trying to make a step sequencer which is able to play sudivided beats. It seems to work until I try to make a subdivision of 5 where events will start to double trigger the sampler output. is there any way to prevent this from happening? All other subdivisions work fine so i'm not sure what the issue is. thanks.
Best Answer
-
I deleted all the stuff that didn't make any sense and divisions by 5 work just fine now:
You should probably switch all those modules to mono as well, unless there is a reason to have them set to polyphonic?
EDIT: you can also scrap the value module, just take the output of the ste filter directly to the trigger input of the sampler.
The value module is there because my first edit was to replace the multiplexer with that value module as they perform exactly the same function... although it's redundant anyway ;)
2
Answers
-
Even subdivisions higher than 5 work? 6, 7, 8,…
In this case it sounds like a bug
0 -
Hi there, yes all the other subdivisions are working, thanks for your input it's a shame it doesn't seem to be able to be fixed.
0 -
Without the code, all anyone can do is guess. You need to post the ensemble, or at least a pic of the structure.
0 -
here is a picture of the ensemble, the division at the second modulo is what controls the subdivisions.
0 -
Assuming that your problem is when you change the constant 4 to a 5 as the divisor of that div module feeding the modulo then...
I would guess it has something to do with the fact that 48/5 = 9.6 which is not a whole number, and you are using that as the divisor for the modulo module. So sometimes the rounded div result jumps to the next integer after 9 steps, sometimes after 10. So with that step filter after it, you get a jittery result fluctuating between these two numbers of steps.
Of course, that's just a guess. And if that is the problem, you would likely see issues with 7 and 9...
...but then, you haven't posted the ensemble, and because you don't know what the problem is, you might not have posted a pic that includes it ;)
Information is missing from that pic that is required to understand how that code is working. There's no context, there's no parameter information
Some weird stuff going on with the event table too, like you are trying to read and write to the same index in the same event, but it's impossible to see which will happen first because some of the wires come from the same output, the order is not clearly defined. The write index is updated to be the same as the read index, but only after the data is written...
You can set order modules to be more than three outputs. That way you can be more explicit about order without having to chain multiple order modules...
---------------
Probably a good idea would be to explain how you want it to work, and how the code is trying to achieve that goal?
...and why are all the inputs to the multiplex the same value?
1 -
the step filter is there to prevent the step triggering multiple times after it comes out of the subdividor module, and every input is multiplexed to the same value because the idea was to have the counter reset to 0 every bar and only play the notes that it counted up to, which would be dictated by the modulo output of the subdivision part. here is a copy of the ensemble if you would like a look at it. 5 seems to work at first but it just seems to double trigger sometimes at random
0 -
I deleted all the stuff that didn't make any sense and divisions by 5 work just fine now:
You should probably switch all those modules to mono as well, unless there is a reason to have them set to polyphonic?
EDIT: you can also scrap the value module, just take the output of the ste filter directly to the trigger input of the sampler.
The value module is there because my first edit was to replace the multiplexer with that value module as they perform exactly the same function... although it's redundant anyway ;)
2 -
Here's the same thing, but with the event table set up with 8 steps so you can manually turn each step on or off using the GUI. Clunky but working.
2 -
wow, much more efficient than what i was trying to do, thank you very much for that
0 -
I really don't like how jittery the timing is using fractional divisions like that. So here's a version with much smoother timing.
Still overly simple for a finished sequencer, but you get the idea - use a square wave to generated the subdivisions, then they will all be the same length. This is not sample accurate because it depends on the Control rate settings. For sample accurate, you'd be better moving to core. But the same approach will work.
Any questions about what the parts do, just ask.
2 -
thanks for the insight. do you have any pointers on how i would go about that in core?
0
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 735 Tech Talks
- 3.9K Native Access
- 15.8K Komplete
- 1.9K Komplete General
- 4.1K Komplete Kontrol
- 5.5K Kontakt
- 1.5K Reaktor
- 364 Battery 4
- 816 Guitar Rig & FX
- 416 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.5K Maschine
- 7K Traktor
- 7K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators