Hi,
Say I have 4+ wavetables that have hand-drawn waveforms. Now I want to blend between them using a slider.
Whats the best way to go about this?
cheers
Blending/Crossfading wavetables
Hi,
Say I have 4+ wavetables that have hand-drawn waveforms. Now I want to blend between them using a slider.
Whats the best way to go about this?
cheers
boonier
tabsend~ won't do since it works at the rate of the patch's blocksize. For tabosc4~ the table size has to be 2^x+3. That plus 3 gets in the way.
You can try using a blocksize that is larger than the table size but I'm not sure if that will work.
should be easy to get it working for more tables
ok i'm getting a bit stuck with the math on this....could someone give me a gentle nudge pls?
boonier
did you look up the link i posted some comments above?
http://puredata.hurleur.com/sujet-3133-channels-surround-pan
check this out, in this patch i built a 360 degrees panning for a quadrophonic speaker system. with a little work, it should be possible to adopt that technique for your table blender.
Cheers Toxonic
Well here it is - my only beef with it now is that its all happening at message rate. For true smoothness i'd like it to run at audio rate...shame there's no [tabwrite~ ] with index input
It would need a rethink - getting the calculations done at audio rate and updating the table....delay buffers, tabsend~, bang~
hmmm any ideas?
boonier
what? i guess, you don't want to have the disturbing clicks, while morphing the waveform, right? i have no idea at the moment, but what you mean with audio rate? the kalshnikov and tabwrite write the values as fast as your machine can manage it, if you worked in audio rate you would only be able to process 44100 calculations per second (at a given sample rate..).
if this here was reaktor, where the control rate was by default 200 hz i would understand what you mean, but in pd there are not such limitations.... or did i get something wrong?
but instead of the kalashnikov approach you could use 515 tabwrites.......
Sorry I never did get round to posting the fruits of my labours!....Probably could be improved with different fade tables, but fundamentally its working at audio rate
Its quite nice to do sequences and modulate the crossfade sequentially also
cheers
boonier
I just downloaded your patch and I'm very impressed - great work, no clicks!
Did you ever use Absynth? It is basically a waveform based thing and it morphs waveforms all over the place. Of course one can't draw his/her own waves but one can construct them from scratch or based on sampled audio AND there are literally 100s of waves supplied - some are so radically different that the morph can produce breathtaking results. If you're interested, there are a few tuts on NI's site, just to give you an idea.
I want to construct something that works in a similar way and your patch is just great. I'll keep it in a safe dry place for later use
Macbook Pro OS X.9 | Metric Halo | Sound + Visuals | on Borneo :: http://www.mata-telinga.net
Say I have 4+ wavetables that have hand-drawn waveforms. Now I want to blend between them using a slider.
Whats the best way to go about this?
I do something like this for files using vline~ & *~ and a bang for each wav file. The bang fades up its corresponding file and fades down all the others by triggering message boxes.
Oops! Looks like something went wrong!