Maybe dumb question on Polyphony Development

These are answered in How polyphonic cables will work in Rack v1, but that post is quite long, so here are the direct answers.

One “master” input should define the global channels of your process() function. Typically this is the most significant input, like “audio in” or “gate in” for envelope generators.

  1. Use inputs[GATE_INPUT].getVoltage(c) for the “master” input and inputs[CV_INPUT].getPolyVoltage(c) for secondary inputs.
  2. Same as above.
  3. Same as above. If the CV input is poly, it will return 0 for channels it doesn’t have. If it’s mono, it will return the mono voltage for all c.
2 Likes