First time here? Check out the FAQ!

Quantizing a Trigger to start MemoryWriter on the beat

0 votes

Hi there,
I hope someone is able to help me on this one:

1 - I'm sending MIDI Clock to Kyma's metronome.

2 - Then I'm using a STGC to extract and calculate the BPM from the MIDI Clock:
     1 bpm: (!TimingClockDuration * 24) s bpm removeUnits

So far so good..


3 - I want to trigger a Memory Writer to start recording right on the beat.


         I can't figure out how to trigger the MemoryWriter only once

         I can't figure out what should I do to start the recording right on the beat at the already established BPM

Can someone point me out with the right Capytalk expression to trigger the MemoryWriter?

Do I need to implement a Sequencer in Kyma for this?




asked Oct 29, 2019 in Capytalk & Smalltalk by eli (Adept) (1,090 points)

1 Answer

0 votes
One approach might be to use alignWith: on the MemoryWrite gate, for example

!Gate alignWith: !BPM

To trigger only once, you could uncheck the Cyclic box in MemoryWriter.
answered Oct 29, 2019 by ssc (Savant) (115,070 points)