How to get functions for amplitude-windowing?

Feb 15, 2012 at 8:54pm

How to get functions for amplitude-windowing?

Hello!
I’m using a buffer to load functions for the use of amplitude-envelopes.
So far I have:
- hanning
- 3-stage-linear
- blackman
- blackman-harris
- gauss
- hamming
- expodec
- triangle
But I’d like to have more functions. Especially something like Gaussian but much more narrow. Where can I get these? Or: How can I draw functions/waveforms and store them?
Is there a more elegant way than recording a buffer-output and cropping the wave-period?

#61800
Feb 16, 2012 at 11:04am
#223115
Feb 16, 2012 at 11:19am

“Is there a more elegant way than recording a buffer-output and cropping the wave-period?”

Yes. The tradional way was to peek a wavetable of samples into a buffer using [uzi 1024] > [expr some maths]. There are some good examples of this in Nathan Wolek’s granular toolkit; I think the abstraction is called gtk.windows.

But now, in max6, you don’t even have to bother with that. (That is, so long as you only need triangle, hamming, hanning, blackman, welch and kaiser windows.) Sending a ‘fill suchandsuchwindow’ message to a buffer will fill it with your desired window, without your having to even touch the computer music tutorial. And I recall reading somewhere that more functions will be supported soon…

#223116

You must be logged in to reply to this topic.