Driving 4 leds regarding loop length


#1

Hello!

Firstly, I'm french and my english is very bad. At the moment I don't know how I will explain my problem...

Thanks to @rbrt I added a looper to my patches. It can record loops from my Korg minilogue.

I have a Groovesizer Multiboard sequencer to trig the groovebox part of my patches.

I modified the looper so when I hit the record midi/cc button, it's waiting for a note to start or stop record. This note is placed at the start of a 32 steps track on the Groovesizer. My loop is perfectly synced!

My problem is when my loop is too long (128 steps) and repetitive I don't know where is the start. Adding overdubbed layers is a little bit tricky. It's ok as long as I don't stop the loop but if I stop and restart it, the result can be bad.

So, basically I want to drive four leds, one every quarter of the loop, to help me to know where i am.

I thought about a square lfo but I don't know how to convert the loop length into k-rate fractional to drive the lfo.

Maybe there is a better way to do that so tell me please :smile:

I hope you understood me.


#2

So you want the loop to be divided into 4 parts and one light for each section? eg: loop is 128 steps long,
1. light step 1,
2. at 33,
3. at 65,
4. at 97?

If this is the case it might be worth having a look at my looper in this thread:

With this loop I have a dynamic counter, that counts how long the loop is. You could probably somehow modify this to divide the loop lenght by 4 and drive your leds.


#3

Thanks!

I already tested your patch but I didn't understood... I will retry!


#4

Yes! I've done it in a more simple way.

When position is greater than 1: the 1st led is on ( the green one)
The second when it's greater than the quarter of the length etc ....


So easy :smiley:

Thanks a lot!


#5

Cool that looks really smart and simple!
I think I will also integrate the record sync mechanism of your looper into my patches as it looks a lot simpler than what I am doing :wink: so thank you too!


#6

You're welcome!

Now I'm searching a way to drive the leds with a 74HC595. I have seen some examples but they are not controlled in the same way than me.

If you have an idea...


#7

Oh no Idea about that sorry. For simplicity my plan is to rely on midi controllers with LEDs at the moment :wink:
My day goal is to solder jacks on the board for connecting footswitches to control the loops but that shouldn't be to difficult.
This thread gives good information about that stuff:


#8

I found a way to drive the 74HC595!

It's working very good!

Here is how it looks like: