Forums > MaxMSP

Amplitude Vocoder

March 7, 2008 | 3:55 pm

Hello, I am trying to build a basic ‘classic’ vocoder in MaxMSP, preferably using only native maxmsp objects.

The plan is to build a pfft~ with 16 bins, and then use a snapshot~/line combo on each bin to create the envelope control signals to be used on the carrier bins.

The problem is I have no idea how I take the output of the cartopol~ object and change it from a frame of bin amplitudes into individual streams of numbers (and then back).

Can anyone provide me with some pointers?

Thanks kindly,
Joshua


March 7, 2008 | 5:36 pm

Joshua Hemming schrieb:
> Hello, I am trying to build a basic ‘classic’ vocoder in MaxMSP,
> preferably using only native maxmsp objects.
>
> The plan is to build a pfft~ with 16 bins, and then use a
> snapshot~/line combo on each bin to create the envelope control
> signals to be used on the carrier bins.

A classic vocoder has nothing to do with fft, the bins of a fft have an
equal bandwidth in frequency, a vocoder has frequency bands of equal
intervals. Classic would be some use of fffb~ and envelope followers…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


March 7, 2008 | 5:48 pm

Ha!!!! Thats excellent, thank you!

So now I’m thinking I’ll run the signals through an fffb~ each, and then use abs~ & line~ on the outputs of the modulator to generate the control signal for the carrier. Does that sound about right?

Thanks most kindly!
Joshua


March 7, 2008 | 6:12 pm

I’d recommend putting an envelope follower on the output of each
filter. An envelope follower is very easy to make in MaxMSP – I’ve
posted one I made on here a few times in past months, for example.
You can search the forum for it.

On Mar 7, 2008, at 10:48 AM, Joshua Hemming wrote:

>
> So now I’m thinking I’ll run the signals through an fffb~ each, and
> then use abs~ & line~ on the outputs of the modulator to generate
> the control signal for the carrier. Does that sound about right?
>

—-
Steven M. Miller
Professor, Contemporary Music Program
College of Santa Fe

Home < http://pubweb.csf.edu/~smill>
SFIFEM <
http://sfifem.csf.edu>
Atrium Sound Space <
http://atrium.csf.edu>
OVOS <
http://pubweb.csf.edu/~smill/ovos.html>
CMP <
http://www.csf.edu/academics/contemporary_music/>


March 7, 2008 | 7:19 pm

Thats certainly the idea… However, until I get home tonight I can’t try anything out, but I am daydreaming about objects that can be used to create a decent envelope follower. Some combo of abs~, line~, rampsmooth~ ought to do it, I reckon.

Thanks kindly for offering your patch, but I’d like to try to build it myself for now. If you have some caveats or advice in this regard, I would be most greatful. :)

Thanks,
Joshua


March 7, 2008 | 7:32 pm

I used a simple combination of [abs~] and [slide~], along with a
couple of [mstosamps~] to specify attack and release times in ms for
input to [slide~].

Have fun!

On Mar 7, 2008, at 12:19 PM, Joshua Hemming wrote:

>
> Thats certainly the idea… However, until I get home tonight I
> can’t try anything out, but I am daydreaming about objects that can
> be used to create a decent envelope follower. Some combo of abs~,
> line~, rampsmooth~ ought to do it, I reckon.
>
> Thanks kindly for offering your patch, but I’d like to try to build
> it myself for now. If you have some caveats or advice in this
> regard, I would be most greatful. :)

—-
Steven M. Miller
Professor, Contemporary Music Program
College of Santa Fe

Home < http://pubweb.csf.edu/~smill>
SFIFEM <
http://sfifem.csf.edu>
Atrium Sound Space <
http://atrium.csf.edu>
OVOS <
http://pubweb.csf.edu/~smill/ovos.html>
CMP <
http://www.csf.edu/academics/contemporary_music/>


March 7, 2008 | 7:49 pm

> Thanks kindly for offering your patch, but I’d like to try to build it myself for now.

If you get stuck, you can always take a peek inside the examples/effects/classic-vocoder-folder, part of the max folder. It contains a good example from Marcel Wiercks.

_
johan


Viewing 7 posts - 1 through 7 (of 7 total)