-
Notifications
You must be signed in to change notification settings - Fork 25
Changes to note_off causing issues #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ah yeah I think you're right. Will fix |
@Russ-M You're quite right, the tests do reveal that someone broke
|
@dherrada Can you please take a look this week? |
@tannewt My bad. Making a todo for this so I don't forget. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there.
I was trying to run the 'examples/midi_inoutdemo.py' script today and had a problem.
It seems the changes made by @dherrada in #33 to note_off.py - specifically changing the class variables to be preceded by an underscore (eg self.note is now self._note) mean that the demo crashes out at line 65 because 'NoteOff' has no attribute 'note'.
Why were these changes to note_off.py necessary? And is the best fix to revert the changes, add getter methods for 'note' etc, or change the example code?
I haven't managed to try it yet, but I'm a bit confused as to why this would not also cause an error when running 'tests/test_MIDI_unittests.py' since this looks like it would simulate this.
The text was updated successfully, but these errors were encountered: