Kyma Forum
  Tips & Techniques
  controller scaling?

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

next newest topic | next oldest topic
Author Topic:   controller scaling?
keph
Member
posted 22 July 2005 14:18         Edit/Delete Message   Reply w/Quote

i'd like to create a fader where

-1 = 0.25
0 = 1
1 = 4

with linear scales inbetween. having different ranges on either side of the 'center' is what is confusing me.

is there another way to do this without using the InputOutputCharacteristic sound? if not, i'll go the route, but as this was to be dropped into an expression and I was hoping for a more lightweight method (InputOutputCharacteristic is pretty heavy DSP-wise for this simple usage).



IP: Logged

SSC
Administrator
posted 22 July 2005 14:46         Edit/Delete Message   Reply w/Quote
The "into" array is similar in concept to the InputOutputCharacteristic but lighter in terms of processing (and even in terms of typing the name! Assuming a fader whose range is (-1,1), you could use:

!Fader into: #({-1@0.25} {0@1} {1@4})

IP: Logged

keph
Member
posted 22 July 2005 15:16         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
The "into" array is similar in concept to the InputOutputCharacteristic but lighter in terms of processing (and even in terms of typing the name! Assuming a fader whose range is (-1,1), you could use:

!Fader into: #({-1@0.25} {0@1} {1@4})


that was it. thanks.

i look again and see i skipped right over it when looking at the capytalk reference. instead i saw neg:zero os: and knew that wasn't it. clearly it is time to re-read the manual, basic things are being forgotten in flavour of more complex solutions.

i am working on a "enhanced" envelope generator. the easy part is adjustable global curves, so instead of having a basic linear or exponential curve you have a curve that is ultra steep or one that pops up more quickly.

now i am at curves by segment, allowing say the attack to be a x^3 curve on the way up but the the release to be a x^0.5. I am doing this all by adapting the standard kyma ADSR so I am not sure whether that will be feasible yet.


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