Browse Source

Visual feedback on canvas piano when plugin receives midi

tags/1.9.4
falkTX 10 years ago
parent
commit
7a4bcbeb88
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      source/carla_patchbay.py

+ 6
- 0
source/carla_patchbay.py View File

@@ -573,6 +573,9 @@ class CarlaPatchbayW(QFrame):

pitem.sendNoteOn(channel, note)

if pluginId in self.fSelectedPlugins:
self.fKeys.keyboard.sendNoteOn(note, False)

@pyqtSlot(int, int, int)
def slot_handleNoteOffCallback(self, pluginId, channel, note):
if pluginId >= self.fPluginCount:
@@ -584,6 +587,9 @@ class CarlaPatchbayW(QFrame):

pitem.sendNoteOff(channel, note)

if pluginId in self.fSelectedPlugins:
self.fKeys.keyboard.sendNoteOff(note, False)

# -----------------------------------------------------------------

@pyqtSlot(int)


Loading…
Cancel
Save