![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: Triggering ramps |
HectorBenard Member |
![]() ![]() ![]() Here's a software-related question for a change! ;-) I want to use a button to trigger a ramp expression, so that for example when I hit it the amplitude will go up from zero to the desired level. So I would try something like: !Trigger ramp: 3 s. The problem with this though is that the original value of the ramp is 1. When you trigger it it goes down to zero and up to 1 again. This should be a very simple thing to fix, but I can't think of any obvious way to do it. Do you have any suggestions? Thanks! Best, H IP: Logged |
keph Member |
![]() ![]() ![]() unless, i misunderstood you, all you need to do is enclose the expression in () and than multiple by the scaling factor: (!Trigger ramp: 3 s) * !scale IP: Logged |
HectorBenard Member |
![]() ![]() ![]() Thanks for your reply Keph! The problem is that the initial value of the ramp expression before being triggered is one. So for example in the case you describe, the !scale value would be multiplied by one initially (therefore full amplitude of whatever value !scale has), and whenever I trigger the ramp it would go down to 0 and up to 1 over 3 seconds. But what I want is for it to go up to 1 only when I trigger it, and not before, so it would have to be zero initially. So, that being the nature of ramp, I'm looking for a way around this problem. H IP: Logged |
pete Member |
![]() ![]() ![]() I think you have to look at what you want to happen for the rest of the time. You could use this (!Trigger ramp: 3 s)*!Trigger but this would mean that you would have to hold your finger on the trigger while it is ramping and keep it on until you want it to return to zero. It is going to have to return to zero sometime unless this is a once only operation and will never get retriggered until you start the sound over again. When you know what it is that should make it go back to zero, only then can you work out the whole expression. Is there going to be a second trigger button to reset it ? Pete IP: Logged |
SSC Administrator |
![]() ![]() ![]() If you want a kind of "one-shot" that starts at zero and then goes up and stays up once you trigger it, you could try: !TurnOn smooth: 3 s and make !TurnOn a toggle in the VCS with range (0,1) and grid of 1. IP: Logged |
keph Member |
![]() ![]() ![]() hmm. perhaps it is the cold medicine, but i seem to be not visuallizing the problem. i was pretty certain that a ramp starts at zero then goes from 0 to 1 when triggered and then stay at 1 until re-triggered. i don't the kyma in front of me, but i do have the documentation at that is want is implied as well in the capytalk references. do you want to trigger the ramp, have it rise to a speciific point over a given time and then have it return to zero until you trigger it again? oh, wait, i was looking at the reference graph more closely and it appears that it does rest to one and then go to zero and back up. never realized that before. so you can approach it with SSC suggestion, though the problem there of course is that it will fall back at the slewed rate once reset. Pete's suggestion is great if you use a toggle rather than a push button, but of course, the ramp stays at 1 until reset, which may or may not be desired. so the question remains, we know the desired beginning state (zero) and the ramp function, but do you want to have it return to zero after the ramp is completed or do you want it to hold at one? [This message has been edited by keph (edited 22 March 2005).] IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.