Skip to content

midi.py: Add midi.config.reset() to release & reset all synths/voices.#477

Merged
dpwe merged 1 commit intomainfrom
midi_config_reset
Feb 3, 2025
Merged

midi.py: Add midi.config.reset() to release & reset all synths/voices.#477
dpwe merged 1 commit intomainfrom
midi_config_reset

Conversation

@dpwe
Copy link
Copy Markdown
Collaborator

@dpwe dpwe commented Feb 3, 2025

The new dpwe piano wants 25 oscs per voice, and this went badly unless I fully release all the default Synths (and reset the voices system) before attempting midi.config.add_synth(channel=1, synth=Synth(patch_number=256, num_voices=4)). So this command releases any Synths known to midi.config, then calls Synth.reset(), which in turn calls amy.resetI().

@dpwe dpwe merged commit fbbe9e6 into main Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant