Kyma Forum
  Kyma Support
  Oscillator and eveloppe distortion

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

next newest topic | next oldest topic
Author Topic:   Oscillator and eveloppe distortion
tuscland
Member
posted 31 July 2005 17:52         Edit/Delete Message   Reply w/Quote

enveloppe.kym

 
Hi,

For anybody that has followed the discussion about the pen and !KeyPitch parameter, here is the follow-up.
Attached is a sound file with two sounds :

- Bad : one oscillator (interpolation turned on), freq and enveloppe smoothed, but produces distortion when amplitude is changing. This is better heard when changes are strong, but well, they can't be that strong as the enveloppe parameter is smoothed.

- Good : a Level module placed after the oscillator replaces the enveloppe modulation of the oscillator. With its Interpolation turned on, the sound is perfectly right.

I would like to know what to do in order to get rid of the Level module. Is it possible to have the same results with the Oscillator module only ?

I will continue to search ...
It is amazing to see how such a "simple" module can open a infinite fields of possibilities ...


Camille

[This message has been edited by tuscland (edited 31 July 2005).]

IP: Logged

tuscland
Member
posted 31 July 2005 18:02         Edit/Delete Message   Reply w/Quote
After reading (two times) the answer from SSC in my previous thread, I better understand the problem. Sorry for bothering you !
What I understand is that the "smoothed" message operates at 1 kHz, and that why it is audible.
If I want to have audio rate interpolation, I must use the Level module because the Interpolation parameter of the Oscillator doesn't have the same meaning, it is (as SSC said) an Interpolation of the waveform.
So, the only way is to use a Level module after the oscillator. I'll try to use an enveloppe generator to see if I can get good results as well.

IP: Logged

pete
Member
posted 31 July 2005 18:21         Edit/Delete Message   Reply w/Quote
Hi Camille

Note to get full sample rate level control you'll have to use a product module and put both your envelope and signal in it.
Pete

IP: Logged

SSC
Administrator
posted 31 July 2005 19:17         Edit/Delete Message   Reply w/Quote
OR paste your AR or ADSR envelope generator into the Envelope field of the Oscillator and remove the "L" that is automatically appended to the end of the Sound name.

IP: Logged

tuscland
Member
posted 01 August 2005 11:12         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by SSC:
OR paste your AR or ADSR envelope generator into the Envelope field of the Oscillator and remove the "L" that is automatically appended to the end of the Sound name.

Sorry to bother you again on this, but I think there is something important to emphasize on continuous controllers velocity.

I've tried this idea, and this works well for A and R generated parts of the enveloppe. I mean that Scale is not Interpolated and if I use "!KeyVelocity smoothed", I get those 1 kHz distortion quircks again. I guess this is because the Scale parameter is at 1 kHz control.

What I try to achieve in a simple way is to control the volume of the oscillator with the pressure of the pen. It has the same functionality as the aftertouch.

Having the Scale parameter at 1 kHz control is OK for MIDI keyboards because they send one information of velocity per key strike. For pen tablets or continuous keyboards, the problem appears because of the continuous stream of velocity.

I think there are two solutions to this question :
1. Write a twiki article that describes how to handle this problem. (I think the more functionnal approach is to put an AR followed by a Level in the Enveloppe of the Oscillator), I would love to do this, but I am not sure where to start.
2. Make the Scale parameter of the AR and ADSR modules "full rate", or maybe an option like the Interpolation of the Level module. But on this one, SSC gurus know better than me! I don't feel very confident with this option because this could suggest that Kyma is not mature, and I know I still have lots of things to learn about it. Concerning this issue, I think the question arises because those continuous controllers are a new way of playing in Kyma.


Cheers!
Camille

[This message has been edited by tuscland (edited 01 August 2005).]

IP: Logged

pete
Member
posted 01 August 2005 13:11         Edit/Delete Message   Reply w/Quote
Hi Camille

I'm sure SSC will have a neat solution, but here's mine.

If you have Pete's DSP Modules, you can use the "SlewRateLimiter" module with a constant as its input (with your control typed in the constant's field). The SlewRateLimiter module is just like "smoothed" but it has a seperate up and down speed and works at full sample rate. You would probably have to put both the AR and the SlewRateLimiter modules in a "Product" module and then paste that "Product" module into the Envelope field of the oscilator (removing the "L").

Hope this helps ?

Pete

IP: Logged

SSC
Administrator
posted 01 August 2005 14:20         Edit/Delete Message   Reply w/Quote
Feed the AR into a Level. Check Interpolate option in the Level Sound. Paste the Level into the Envelope field of the Oscillator (remove the "L" so it is used at full sample rate).

IP: Logged

pete
Member
posted 01 August 2005 16:47         Edit/Delete Message   Reply w/Quote
OOOHH

Hi SSC

Thats a new one. Whats a level sound ? I tried Apple "B" but none was found in the prototypes, but it sounds interesting.

Pete

IP: Logged

keph
Member
posted 01 August 2005 16:59         Edit/Delete Message   Reply w/Quote
quote:
Originally posted by pete:
OOOHH

Hi SSC

Thats a new one. Whats a level sound ? I tried Apple "B" but none was found in the prototypes, but it sounds interesting.

Pete


"Level" is the fundimental sound name of "Gain", "Attenuation", et al sounds within the prototype menu.


IP: Logged

tuscland
Member
posted 01 August 2005 19:30         Edit/Delete Message   Reply w/Quote
Thanks everyone for your answers!
I have found the "AR & Level" solution by trial and error searching, and think it is the most elegant. The SlewLimiter is also very interesting with its independant up and down decays!

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