First time here? Check out the FAQ!
x

alignWith vs changedInLast confusion.

0 votes
202 views

I know I there is an answer for this somewhere, but I can't find it, perhaps it was on the old forum.

My current solution which does not work:

1 bpm: (222 * (!Multi alignGateWith: (1 bpm: 222) ))


I want the !Multi to only change on a division of tempo. Taking inspiration from the MultiGrid Alg Change; (!Multi hasChangedInLast: !BPM bpm s) alignWith: ((1 bpm: !BPM dutyCycle: 0.5) triggerEvery: 8)

This is split between the trigger and the sound, I have tried squishing it in, yet I can't quite get there. Do I need a sampleAndHold?

I'm missing something to do with how the value is read, stored, and released.

Sorry.

asked Sep 1, 2018 in Using Kyma by charlienorton (Adept) (2,650 points)

1 Answer

0 votes

Hi Charlie,

How about:

(1 bpm: 222) sampleAndHold: !Multi

The value of this expression changes once per beat to be the then current value of !Multi

Does that do what you need?

answered Sep 1, 2018 by ssc (Savant) (127,080 points)
...