I have this idea for a Dubstep Growl Synth.
I've made the basic wavetable generator in C#.
I moved it over to ruby and made it a VSTi in FlowStone.
It's a basic FM synth. Two waveforms. One waveform is the basic multi-osc,
like from TripleOscillator. The second osc is a wavetable. Osc 2 is a
frequency modulation oscillator, and oscillates Osc 1.
Osc 2 is generated dynamically. A knob controls the wavetable position.
This psuedo-code generates Osc 2.
float[] GenerateOsc2(int wavetableQuality, int sampleRate, float mouth)
{
step = 1.0 / sampleRate;
wavetable = new float[wavetableQuality];
for (int i = 0; i < 1; i += step)
{
position = 1 - i;
ampEnv = (float)(1 / Math.Pow(position, 2));
wavetable[i * SampleRate] = -(float)Math.Sin((position * Math.PI
* (2 * mouth))) / ampEnv;
}
return wavetable;
}
The FM Modulation is your average Frequency Out = Frequency In + (Mod Osc *
FM Gain) function.
FM Gain goes from 0 to 1000, I believe. If that sounds too weird try 512 or
something.
This instrument should produce very vocal-sounding Growls.
If it works.
Thanks guys. :)
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
LMMS-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel