Step Sequencer with external Input


#1

Hi I started patching that I can programm with controller, with leds and all the stuff. So once I get my controller to work with axoloti I am going to add midi ins and outs. I already tried it with the nanokontrol, worked perfectly.

There are two modes, either step on/off toggle style or recording patterns live. I'm struggling at the moment with the quantization of live input. Basically a counter skips through a demux object And let's the on/off trigger through acording to the value of the counter thus acording to the step . This works but if you trigger a bit before a count/step it will quantize this to the step before wich is not very musical. That's why i set the counter one step ahead and delayed the trigger, by this I can set a quantisation time window and tell the squencer how to interprete the live input.

My problem with this is, how can I set the delay relative to the tempo? How is the delaytime knob scaled?

It's pretty hard to explain in words, the best thing is to try it out.
Steppa Sequenca!.axp (266 Bytes)

Furthermore: Is there an easier way to build something like this? This would be so much easier if the sel/seq had inlets for turning steps on and off.
How would you build one that can save patterns? With tables somehow?


#2

yes, tables is the answer.... but I think its a valid point, that we have sel with UI, or tables and on UI, would be nice to have something with the advantages of both.
(sel are also 32 bit parameters, but Im not sure if this can be leveraged without C code)
saving, is then the next part, yes sel (and other params) can be 'stored' in presets, but saving tables and other things to SD card would be nice, again can be done in C, but not in objects currently.
(be aware IO access should not be done in the k-rate/s-rate execution, since this would cause audio issues but could be done in a separate 'thread', care to be taken, to not take too much time/resources)


#3

Hello!

Nice work but I cannot try because the patch I downloaded is empty...


#4

Sorry my bad. This one should not be empty.
Step Sequencer Intern Werkt 2.1.axp (21.8 KB)

Ok, my programming skills are zero but yeah it's a quite essential thing to have step sequencers that can be programmed in real time in the future :smile:
But untill somebody makes one the one I posted here will do it for me. I just need fix one little piece here:


The Lfo frequency and the delay should stay somehow coherent, so if I double the hertz, double the ms of delay etc. How do I achieve this? How is the delay time knob scaled?
If somebody has an idea, please let me know.


#5

curious about this patch.. couldn't get it running - it seems like i don't have a 16 in mux. did you roll that yourself? (do i have to learn how to do that now?!:confused:)


#6

I think it's a user contribution but since I only use 8 steps you can hit the arrow in the left of the object and replace it with mux 8


#7

thanks :moneybag: phew


#8

no problem. and step record only works with the one tempo (8hz)


Launchpad S – bidirectional communication with axoloti
#9

I startet to rebuild the whole thing with tables, since hope this might make it little bit simpler and I hope it will give me the option to save and load patterns in the future. Thanks to @jaffasplaffa's patch here I got quite far already: https://sebiik.github.io/community.axoloti.com.backup/t/how-to-write-to-table-sliders/416/5
This is the patch so far with 4 steps to begin with:

Stepsequencer.axp (16.1 KB)

I am still having some trouble at certain points:
When all 4 steps are active it leaves out half of the steps when triggering the sound.

I still need some quantisation mechanism that will quantize hits that are a little to early to the next beat. Any suggestions on how to achieve that? I was pretty close with the first patch I posted:
Set the counter for the live record one step a head and delay it by a certain value. This value should be relative to tempo.

P.S. Any suggestions on how to make this more efficient are more than welcome. Using one Table Read and table write for each step for example seems bit wastefull, but I didn't figure out an easier way yet.


#10

Okay this is really turning into a monologue now but In case anybody is interested, this is a simple step sequencer for use with a midi controller and led feedback.
No pattern storing and no /ibar like feedback, although that wouldn't be hard to implement.

Stepsequencah.axs (28.8 KB)


#11

Hello!
Can you share the mux16 object so I could try your patch?
It seems very interesting.
Thanks!


#12

Looks like only half of the custom mux 16 object is used, so you can easily replace it with a mux 8 object.


#13

Not in the last version, I will try with 2 x mux 8 or modify the mux 8 object.


#14

I actually got the mux 16 from @alex's stepsequencer here:


This is the link:
https://raw.githubusercontent.com/allox/axoloti_library/master/mux_16.axo18

Btw if anybody has a custom demux 16 it would be handy, I made an updated version of it with the walking lights but this works out really unpractical with two mux 8.
Stepsequencah 2.axs (32.3 KB)


#15

I rebuild this with tables and implemented a save/load function for patterns.
So this is a 4 voice 16 steps sequencer with variable length and start points and pattern save/load :slight_smile:

16 Step Sequencer.axs (60.4 KB)
16 Step Sequencer Example.axp (86.1 KB)

Now I also understand why most people here code this kind of stuff instead of patching, imagining turning this into a 64 steps version seems like a little patching hell to me :wink:


#16

Thanks @Blindsmyth, great job!
I'm trying to make the version for 8 voices but I cannot reach it because I don't understand completely the sub patch.
I've made a drum machine for Nanokontrol and I think it will be cool to have 8 voices. Can you do that? Or maybe explain to me how to do it?
Here's the Drum machine.Nanokontrol Drum machine2.axp (112.9 KB)


#17

Hey it's quite long ago I did this.

I do these kind of things a lot more tidier with @rbrt's objects.

this is a simple patch with all the ingredients, I didn't try this though. You need to add your cc / note values.

sequencer elements.axp (7.3 KB)

If you click "help" on the rbrt objects there is also different aproaches by him.

p.s. you only need individual counters if you want individual sequence lengths. Otherwise one main counter will be fine!