morphing an oscillator waveform (tri->saw->rect->puls)

wrodewald's icon

Hi,

I am currently working on a Synthesizer with Max /MSP for a project and I want it to have a morphable waveform for the oscillators. I already came up with a solution wich should work. The question to you are the following:

1)
Is the design efficient? I want to make 2 oscillators like this. There are going to be some filters and other effects (chorus, delay) in the main synthesizer patch later so I want this part to be as simple and efficient as possible. (The sound will do the job for now.)

2)
Is it in generall possible to make a synthesizer completely with Max/MSP without eating away the CPU-resources? I think there is a difference between max msp and normal programming "languages" like c++. I know you could do it easily (when it comes to performance) with c++ but i am not as sure with max. Here is a list of what I want to add to the synthesizer:
- 16 step sequenzer (2 octaves)
- 2 oscillators like above, propably a 3rd with some FM synthesis and a noise gen
- two envelopes, one LFO
- one or two filters (i think I will use the biquad object)
- 3 effects (chorus, a filtered delay, a simple reverb (schroeders)

Max Patch
Copy patch and select New From Clipboard in Max.

Thanks for your help. :)

dtr's icon

2) You didn't mention your intended polyphony but assuming you don't want a zillion voices any even remotely recent computer will easily crunch away your little Max synth. Don't worry :)
(assuming you don't make highly inefficient patching mistakes)

Wetterberg's icon

hmm, not really a morph, but a crossfade of sorts. Also note that your levels are off going through the crossfade.but yeah, it's light enough.

wrodewald's icon

Hi,

I know this is not realy morphing but the reults are actually close enough for my purpose. ;) But if you have a way of doing it better, I would gratefully accept every hint!
(Mathematicly i just would blend in the coefficiennts of the sinus waves but what works best for max msp?)

I had some problems when i made a synth the last time. Somehow the sequencer (i used a itable) got out of sync somehow. Thats why i asked about the performance. ;)

dtr's icon

If things get out of sync it's a patching mistake, not CPU overload ;)