Kautenja / PotatoChips

Eurorack modules based on programmable sound chip emulation.
Other
45 stars 4 forks source link

Add Polyphony to 2A03 and VRC6 #43

Closed xandramax closed 3 years ago

xandramax commented 3 years ago

Description

Implements #8

Add support for VCV Rack polyphony. Polyphony is implemented naively, without parallel processing of polyphony channels, which realistically may be the only possible method due to PotatoChips' use of external libraries for synthesis.

Witness a chamber orchestra of de-tuned Nintendo Entertainment Systems!

Type of change

Please select all relevant options:

How Has This Been Tested?

Tested with MIDI input (anlexmatos/MIDI-Delexander) with MIDI module in both channel-rotation and unison modes. Patch is attached.

Test Configuration

Checklist

xandramax commented 3 years ago

The existing code used the word "channel" to refer to the individual oscillators of a given sound chip. This conflicts with VCV Rack's use of the word "channel" to refer to one of up to 16 elements of a polyphonic cable. So, to avoid confusion, I replaced all existing references from "channel" to "oscillator" instead.