First time here? Check out the FAQ!
x

Perhaps strange behaviour between Global controller and the memory writer (?)

0 votes
428 views

I am using this simple expression: !Trigger stayOnFor: !OnDuration s... to 'freeze' the contents of a recording buffer for an arbitrary amount of time.  

The generated event (!Gate) indeed gates an AR envelope but doesn't seem to work within the memory writter. On the other hand holding !Trigger on the vcs works again as expected..

Any idea why this is? Am i doing something wrong? 

An example:

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

 

thanks!

asked Sep 22, 2016 in Using Kyma by greg-grigoropoulos (Practitioner) (820 points)

1 Answer

0 votes

In your MemoryWriter, you could use this as the Trigger:

(1 - !Gate)

and in the SoundToGlobalController  (STGC) that generates !Gate, you don't need a Constant input, you could simply use the expression that you had in the Constant's Value field directly in the STGC's Value field:

!Trigger stayOnFor: !OnDuration s

answered Sep 22, 2016 by ssc (Savant) (128,120 points)
Great thanks! Pasting the expression directly in the value field of the STGC did the trick. But why? Why is this different to sending the output of the constant to the STGC and why didn't it affect the AR envelope the same way?

Just trying to understand if i am missing something fundamental here..:)

p.s the 1 * (1 - !Gate) thingy was a remainder when simplifying the patch but it does  not  seem to affect the code..
...