When using noise as exciter for a wavetable based timbre, it's often crucial to find the right seed. Here is a crude but efficent hack to find the right noise table, without tediously resaving the uhm script to test the seed.
Code: Select all
NumFrames=101
Seed = 73616
Spectrum "(index % 5) * rand / (1 + 10 * phase)"
Normalize base=each
Note that "index % 5" operator: It's a cheap trick to apply some comb filtering on the spectrum, i.e. some peaks and notches. When going through the harmonics, the expression becomes 1,2,3,4,0,1,2,3,4,0,1,2,3,4... essentially scaling the (still random) 4th/9th/14th.. harmonics louder than the others and so on. (The % operator is called "modulo"... it's an amazing tool in our little box)
When I said that modifications to Karplus-Strong can create "glassy" kinds of timbres, these are usually related to a "Stiffness" parameter. Stiffness of a medium (e.g. vibrating string) is often simulated by introducing an allpass-filter into the delay, which essentially spreads frequencies, thus introducing non-harmonic content. In our case, adding a few peaks and notches has a similar effect, but isn't non-harmonic.
Back to the example. Let's say I found my favourite glassy tone in wavetable frame #15
Now look what I just did here:
Code: Select all
Info "Karplus-Strong-like wavetable with glassy spectrum"
NumFrames = 101
Seed = 73616
Spectrum start=15 end=0 "(index % 5) * rand / (1 + 10 * phase)"
Phase start=0 end=0 "rands * 2 * pi - pi"
Wave start=1 "y + 0.15 * ( main_fi(frame-1, index) - y)"
Spectrum lowest=0 highest=0 "0" // remove DC offset
Phase "rands * 2 * pi - pi"
Wave "x + tanh( lowpass(x, 0.3, 0.5) * 0.4)"
Normalize base=all
Code: Select all
Spectrum start=15 end=0 "(index % 5) * rand / (1 + 10 * phase)"
Awesome, innit?
Everything else is like the previous examples, except for this line:
Code: Select all
Wave "x + tanh( lowpass(x, 0.3, 0.5) * 0.4)"
Code: Select all
Wave blend=add "tanh( lowpass(x, 0.3, 0.5) * 0.4)"
So there. Go experiment. Use whatever you like. It's a huge canvas with an even huger number of paints and brushes at you disposal!