Kyma Forum
  Tips & Techniques
  fetching previous output of a controller

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   fetching previous output of a controller
franz
Member
posted 17 September 2013 14:43         Edit/Delete Message   Reply w/Quote
Hi all!
I hope everybody came home well from Brussels. Thank you all for the inspiring days!

I have a problem which I can´t resolve: I have a MidiController (Controller1) which controls two parameters. Which one is selected by Button1 and Button2.
So: Button1 * Controller1 = Value1; Button2 * !Controller1 = Value2

The problem is: when I change Value1, Value2 immediately jumps to the position of Value1 when I press button2.

Now I want Value2 change only when Controller1 has been moved and reached the very value on which Value2 was parked the last time I pressed Button2.

In short !Button2 * !Controler1) and vice versa (!Button1 * !Controller1) should only become alive when the last value was fetched by the Midicontroller (!Controller1).

I tried to record !Controller1 with a memorywriter and then used the expression (!Button1 * (!Controller1 eq: !Sampleoutput)) trackAndHold: !Controller1) but with no success. The sampleoutput stays only at one value (the value !Controller1 had when the sound was compiled).

Does anyone have a clue what I´m missing?

I hope this makes sense.

Best,
Franz

IP: Logged

franz
Member
posted 18 September 2013 05:48         Edit/Delete Message   Reply w/Quote

fetchedfaderproblem.kym

 
to clarify my goal I uploaded two sounds. In the first sound the !Controller2fetched behaves exactly as I would expect except I have to hit record each time I want the Controller2 to be active (= same value as !Controller2fetched)

Now this should happen, when !Controller2 and !SampleOutput are at the same value.

I introduced the expression "Controller2 eq: !SmapleOutput" in the Record filed of the Memorywriter. But now, it works only the first time, which means when !Controller2 gets zero. The output of !Controller2 is not recorded when it gets positive.

I think I´m missing one tiny little thing… Any help appreciated!

best,
Franz

IP: Logged

franz
Member
posted 18 September 2013 12:06         Edit/Delete Message   Reply w/Quote

fetchedfadersolved.kym

 
I solved it! The tiny little bit missing was the expression "smoothed" in the Trigger field of the MemoryWriter! Seems that the MemoryWriter needed some tolerance to see "Controller2" and "SampleOutput" as equal while !Controller2 is being moved.

[This message has been edited by franz (edited 18 September 2013).]

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c