Kyma Forum
  Tips & Techniques
  reading an lfo from multiple positions

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

next newest topic | next oldest topic
Author Topic:   reading an lfo from multiple positions
rafe
Member
posted 09 September 2011 15:56         Edit/Delete Message   Reply w/Quote
Hello

What i would like to do is control Multiple !amp values of David McLean's modal filter with an lfo where each hot value would be added to the !amp parameter at different points of the modulating wavetable.

The default expression in the Amp parameter is:
{(1 to: 32) collect: [:i | !A suffix5: ((12 nn + (i -1 * 4) nn) hz removeUnits rounded)]}

so if the wavetable were a sine wave when the sound started !amp1 and !amp17 would have 0 added to it, !Amp 8 would have 1 added, !amp25 would have -1 added, !amps2-16 would be in the positive portion of the wave and !amp 18-31 else would be in the negative portion of the wave. (assuming the corresponding frequency of the Lfo) Then like a shift register each amp hot value would move take on the value of its neighbour behind. ad infinum.

2) I would also like to control the depth of the modulation, the frequency and the shape of the wave. The only way I could think of doing this is with an Lfo->Waveshaping function as the control source and then using:

a) 32 delay lines that are offset by 1/32 of the frequency of the modulator ( this is very cumbersome sollution)

b) creating a collect expression that uses one Lfo and scales its ouput by 1/32 of the range of -1 to 1. but the collect statement is a smalltalk statement and therefor needs a finite scaler and the lfo/waveshaping function is a range so i don't think the syntax / logic can work. i tested it when place inside the curly braces and kyma wont allow the statement.

c) the other sollutions i dreamt up need to access a wavetable at multiple points and i dont think this is possible.


any suggestions would be appreciated

thanks

rafe

IP: Logged

rafe
Member
posted 10 September 2011 16:10         Edit/Delete Message   Reply w/Quote
I realized, after posting, that the small talk statement i wrote was confusing the syntax of creating the faders and the logic of adding a value to them.

I think the "brute force" solution using the delay lines is the only way i'll get the desired result.

But I'm still curious if it is possible to have multiple sounds/Hot variables accessing different time points or values of a wavetable at the same time? This way I could code a looped expression that is a function of the counter.

thanks

rafe

[This message has been edited by rafe (edited 10 September 2011).]

IP: Logged

SSC
Administrator
posted 10 September 2011 23:22         Edit/Delete Message   Reply w/Quote
Perhaps a FunctionGenerator through a ScaleAndOffset and then feeding into a Waveshaper (with Linear Interpolation checked) would do what you need? Put the wavetable in as the shaping function of the Waveshaper. Use different offsets to index different parts of the wavetable.

IP: Logged

pete
Member
posted 11 September 2011 10:05         Edit/Delete Message   Reply w/Quote

If I understand what you need correct, you could use oscillators to read the same wave table in RAM and put different fixed values in each FM input to make the offsets. If you set the FM range to 2 PI, then -1 to+1 FM will give an offset in the range of -180 to +180 degs or the full range of offsets.

Not sure if this is what you are looking for?

Pete

IP: Logged

rafe
Member
posted 16 September 2011 13:06         Edit/Delete Message   Reply w/Quote
thanks for the tips. i will try implementing over the weekend.

have fun at KISS!

rafe

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