From b025be790091b28389c7f34566969fd0cbaaf0f9 Mon Sep 17 00:00:00 2001 From: Brian Whitman Date: Tue, 10 Sep 2024 13:30:36 -0700 Subject: [PATCH] adding required field `patch_number` to SingleOscSynthBase --- amy | 2 +- tulip/shared/py/midi.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/amy b/amy index 8a56b26d..638d07b9 160000 --- a/amy +++ b/amy @@ -1 +1 @@ -Subproject commit 8a56b26d019f3c1e49424df5fcfaec270187b1fe +Subproject commit 638d07b9bc948bee7c2a209d8a735a4fba7e5f01 diff --git a/tulip/shared/py/midi.py b/tulip/shared/py/midi.py index 25de5341..97193757 100644 --- a/tulip/shared/py/midi.py +++ b/tulip/shared/py/midi.py @@ -381,6 +381,7 @@ def __init__(self, num_voices=6, first_osc=None): amy.send(reset=osc) # Fields used by UI self.amy_voices = self.oscs # Actually osc numbers not amy voices. + self.patch_number = None # This method must be overridden by the derived class to actually send the note. def _note_on_with_osc(self, osc, note, velocity, time):