First time here? Check out the FAQ!
x

Quantizing a Trigger to start MemoryWriter on the beat

0 votes
395 views

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.

BUT:

         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?


Cheers,


e.

http://kyma.symbolicsound.com/qa/?qa=blob&qa_blobid=5853065451076104003

 

asked Oct 29, 2019 in Capytalk & Smalltalk by eli (Adept) (1,130 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) (128,080 points)
...