A beginner's attempt at a mono synth..

Jack Meier's icon

Hey guys!

I'm more or less a complete beginner with max but have decided to jump right into it and for fun attempt to make a simple, working monophonic synthesizer. I feel as though I have come pretty close, but am struggling to put it all together into a working synth.

So far I have (as seen on the attached patch):

- 2 Oscillators
- My MIDI stuff
- Filter
- Amp module
- LFO

My biggest issue currently is connecting all the modules together, especially the LFO, which I do not know where to put. I've given it a try, but have only failed so far.

Anybody got any ideas or feedback? Any help would be greatly appreciated!
Thanks

My-First-Synth.maxpat
Max Patch
brendan mccloskey's icon

Hi
your patch is fairly well laid out, looks logical and transparent, but it isn't making any noise yet. Hint: your velocity output from kslider isn't going anywhere, and your adsr~ implementation is missing note-on/off triggers at the leftmost input. Perhaps make an even simpler synth that makes noise FIRST, then add extra stuff like envelopes and filters? Otherwise, a valiant attempt ; )

HTH

Brendan

brendan mccloskey's icon

. . . a few glaring errors in your patch:

You cannot simply connect a live.dial to any object and expect it to predict/know what numbers you intend to send it - live.dial defaults to an output range of 0 - 127 (at the left output) and you have connected a dial to the sustain input of adsr~ Woah, much distortion ! Read the helpfile for any object you are unsure about. This also applies to the biquad~ object. 0 - 127 is not a suitable range for any of its inputs ! Ditto for the LFO; you need to ensure you're fluent in the objects you are using before you start firing automation etc at them. My tip: don't use live.dial; use a slider and scale its output to the desired/expected range using that objects Inspector. If any of this is meaningless, I'm afraid it's time to rtfm.

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

Try this:

Brendan

Jack Meier's icon

Thanks for the replies Brendan, the edits you made clarified a few things for me...much appreciated. I've worked a bit further on the synth now and was able to get the LFO connected, with some sound coming out too :D A few issues though..

I decided to connect my LFO to my oscillator (same place i send my fequency from the Kslider) in order to test it out. However, once connected, even though I was able to modulate the rate and modulation depth, the notes stopped changing and it switched to only playing one single frequency each time.

Anybody know why its doing this?

I only connected it to the second oscillator, in order to compare the sound with it connected and without it connected.

Again, any help is greatly appreciated. Thanks.

MONO-SyNTH-EDIT.maxpat
Max Patch
fram hamill's icon

your lfo is going directly into the frequency input of your audio rate oscillators. if youre trying to modulate the frequency of the audio rate oscillators with the lfo, route the the output of receive freq into left inlet of a +~ object and the output of the receive~LFOsignal into the right inlet (of +~). take the resulting output and plug that into the freq input of your audio rate oscillator. you were on the right'sh track you just failed to combine(add) the two signals at signal rate before giving them to the oscillator. alternatively, (note there are more than a few ways of doing this) leave your connections as is EXCEPT before routing receive freq, pass it through a sig~ object and that output into the freq input of audiorate oscillator. you could also use an mtof~ object preceded by a sig~ object whose receiving pitch data.prior to sending it off to the send freq object, in which case it would need to be a send~ object