Kyma Forum
  Kyma Support
  quantized ramp?

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

next newest topic | next oldest topic
Author Topic:   quantized ramp?
korb
Member
posted 04 March 2003 18:32         Edit/Delete Message   Reply w/Quote
i have been playing with this expression in param fields to help automate changes:

1 repeatingRamp: 6 s


is there a way to make the ramp jump in quantized bits instead of one smooth linear flow. fake eg: 1 repeatingRamp: 6s smooth: 0.5 s

perhaps there is a way to do this?

korb (:

IP: Logged

sm
Member
posted 04 March 2003 22:55         Edit/Delete Message   Reply w/Quote
im not sure what youre up to but the function "countTriggers" seems to help you maybe...

IP: Logged

korb
Member
posted 05 March 2003 21:18         Edit/Delete Message   Reply w/Quote
i searched the pdf manuals for the word countTriggers and came up wiht nothing.

let me try and re-explain my goal.

lets say i have a sample that is 2 seconds long, and i want the volume of that sample to move smoothly up. i just use this expression in the volume field ( 1 repeatingRamp: 2 s )

so instead of having the volume just fade smoothly up, i would like to have an expression step and hold the volume as it moves up according to a defined grid.

for instance, if the sample was 2 seconds and the defined grid was 4. 4 being the number of sections in the sample, then the volume over time look like:

Time -- Volume
---------------
0.0 s -- 0.0
0.5 s -- 0.25
1.0 s -- 0.5
1.5 s -- 0.75

instead of having smooth transitions in volume from each setting, they would hold until the next interval of 4 was reached.

[This message has been edited by korb (edited 05 March 2003).]

IP: Logged

korb
Member
posted 05 March 2003 21:27         Edit/Delete Message   Reply w/Quote
well i actually did find the countTriggers function.

i'll check it out.

IP: Logged

sm
Member
posted 06 March 2003 04:52         Edit/Delete Message   Reply w/Quote
((1 bpm: 120 "= 4 times in 2 sec") countTriggersMod: 5) / 4

IP: Logged

Bill Meadows
Member
posted 06 March 2003 09:15         Edit/Delete Message   Reply w/Quote
Would the InputOutputCharacteristic Sound help you?

It will make a stair-step out of a ramp.

I think you'd be limited to pre-determining the number of
steps (grid), though.

IP: Logged

korb
Member
posted 06 March 2003 11:54         Edit/Delete Message   Reply w/Quote
i didn't understand countTriggers before, but seeing it in context helps.

thanks.

i'll try this mutation of your solution tonight.
-----------------------------
!Grid = 4
!Duration = 2 s

((1 bpm: (60 / !Duration) * !Grid) countTriggersMod: (!Grid + 1)) / !Grid

[This message has been edited by korb (edited 06 March 2003).]

IP: Logged

korb
Member
posted 06 March 2003 19:47         Edit/Delete Message   Reply w/Quote
sweet magic sm!

with a modification to the countTriggersMod value, your expression works perfectly!

-----------------------------
!Grid = 4
!Duration = 2 s

((1 bpm: (60 / !Duration) * !Grid) countTriggersMod: !Grid) / !Grid

-----------------------------

thanks!

korb

[This message has been edited by korb (edited 06 March 2003).]

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