Convert timeri to pulselenghtm delay inlet


#1

Hello,

I'm controlling the start and stop record of a loop with two events combinated: A midi CC trig and a note played by my external sequencer every 32 steps.

I added a pulselenght to the CC trig so when hit the Rec button it is waiting for the note to start or stop the recording: My loop is synced whit my drums.

This is working good whit a 3.91s delay time at 110 bpm but if I speed up the tempo, the rec trig is on when the next note come. So it start/stop the recording...

So I would like to set the delay time of a pulselenghtm object with the time between two notes.


#2

Hi There,

I achieved the same thing (quantized recording) with a kind of relais build around a counter. I tried your method too because it seemed simpler, but yes it doesn't work with different tempos.

I think you know the topic already, have a look at the part that says "record quantiser"

It is basically working around a mux. If you hit record you set mux to two 2 via a counter wich let's in my case the clock through to trigger the recording. In you case that would be the note/cc. The next clock tick resets the counter and sets the mux to 0.


#3

Thanks a lot!

The counter is the solution! A lot simpler than the pulselenght!

I don't use a mux but a logic/and 2 . When I hit the rec CC, the counter is set to 1, When the note trig, the logic/and 2 start or stop the record and reset the counter to zero.

Perfect!