k y m a • t w e a k y — the kyma collective || view the current website || February 2015 Archive

/ WebHome / How.UpsampleControllerValues

Search


How Section


How do I...
Add a question...

Home 
Topics 
More... 

All Sections


Products
Order
Company
Community
Share
Learn

Login / Register 
Change password
Forgot password?
%SESSION_IF_AUTHENTICATED% Site Map
%SESSION_ENDIF%

Symbolic Sound


Home
Kyma Forum
Eighth Nerve

TWiki Links


%SESSION_IF_AUTHENTICATED% TWiki Shorthand
TWiki Formatting FAQ
What is TWiki?
%SESSION_ENDIF% twiki.org

Question (or Task)

Is there a way to upsample controller values, such as input from the Wacom pen, to full DSP sample rate rather than the 1k MIDI rate? I found one solution with this trick with an AmplitudeFollower which is than scaled and offset into the -1 / 1 range, but are there also other ways?

I ran into a problem when trying to do some extreme normalising - multiplying a signal by its inversed amplitude. How can I do this "1/amplitudeFollower" operation at sample rate?

Thanks

-- MichaelStrohmann - 18 Apr 2006

Solution(s)

Here are two possibilities:

  1. Put the MIDI controller value into a Constant and place the Constant into the input of a filter (for example, the AveragingLowPassFilter with a cutoff frequency of 500 hz or lower. (The filter will reduce the aliasing.)
  2. Put the MIDI controller value into the left and right scale fields of a Level (with interpolation turned on) and place a Constant of value 1 into the input field. The interpolation will smoothly interpolate the old value of the controller to the new value over an interval of one millisecond.

For your extreme normalizing task, I would suggest pasting the AmplitudeFollower into the value field of a Constant to make the expression: (!MaxGain * [AmplitudeFollower] L) inverse. Filter the output of the Constant using a filter (as described above), then follow the filter with a Level module (with NoGain turned off) with scale parameters set to !MaxGain.

-- KurtHebel - 18 Apr 2006

WebForm
Question: How can I upsample a control rate signal to to full DSP sample rate?
Keywords: upsample, interpolation

 
 
© 2003-2014 by the contributing authors. / You are TWikiGuest