-
Notifications
You must be signed in to change notification settings - Fork 171
Description
When using Frescobaldi to capture midi in OS X, playing a MIDI note triggers the following error:
Traceback (most recent call last):
File "/Applications/Frescobaldi.app/Contents/Resources/app/frescobaldi/midiinput/init.py", line 85, in analyzeevent
self.noteevent(event.type, event.channel, event.note, event.value)
File "/Applications/Frescobaldi.app/Contents/Resources/app/frescobaldi/midiinput/init.py", line 100, in noteevent
self.print_or_replace(note.output(self.widget().relativemode(), self._language))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/Frescobaldi.app/Contents/Resources/app/frescobaldi/midiinput/elements.py", line 31, in output
return pitch.output(language) (('=' ly.pitch.octaveToString(self._pitch.octave)) if QApplication.keyboardModifiers() & Qt.Modifier.SHIFT else '')
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for &: 'KeyboardModifier' and 'Modifier'
Optionally describe below what you were doing:
Frescobaldi: 4.0.1
Extension API: 0.9.0
Python: 3.12.7
python-ly: 0.9.9
Qt: 6.8.2
PyQt: 6.8.1
qpageview: 1.0.0
OS: macOS-15.3-x86_64-i386-64bit
installation kind: standalone .app bundle