Issue with poly~ object

Sonny Holland's icon

Hello, I'm very very new to max, so please excuse my not so tidy programming. However, I'm trying to create a pretty standard synth. With a toggle to switch between mono and poly mode, my mono mode works completely as expected however, when I use the poly mode (when toggle is on) the poly subpatcher seems to only be playing one voice at a time, and in general acting very strange.

I'm sure this is an incredibly easy fix - and I'd really appreciate the help

Cheers

(please note: I haven't implemented default values just yet, so you need to turn the toggle on and off, put values into all the dials, and select anything on the radio groups for sound to come out)

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

Jean-Francois Charles's icon

Typically, you would use just one [poly~] object, setting the number of voices to the maximum polyphony you want. Typically, you would also use [adsr~] inside of your poly~ voice. I recommend spending some time with the [adsr~] help file (tab poly~) and the "simple_poly" part of the Polyphony Tutorial 1 ("tutorial 11").
PS: when you paste your patch, the content of a [poly~] subpatch is never included.

Sonny Holland's icon

hey man thanks alot for ur response!!!

turns out what i needed to deal was: on my poly~ object add the arguement @steal 1 to enable voice stealing.

not really sure why i needed to do that or what it actually does, but it fixed it!