-
Notifications
You must be signed in to change notification settings - Fork 25
Removing the original method per MIDI message (event) API #13
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
Conversation
…f new send() method for class based messages. Updating examples in README.rst and midi_simpletest2.py, removing midi_simpletest.py. adafruit#12
Sorry we missed this! Please have the new simpletest2 as simpletest otherwise Adabot will be unhappy. |
@tannewt I did the rename. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the slow response. I'm just back from vacation for a few days.
One quick fix for the build and then it is good to go. Thanks!
docs/examples.rst
Outdated
.. literalinclude:: ../examples/midi_simpletest.py | ||
:caption: examples/midi_simpletest.py | ||
.. literalinclude:: ../examples/midi_simpletest2.py | ||
:caption: examples/midi_simpletest2.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be changed back as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, I've been away from the CP library world for too long so missed this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Thank you!
Updating https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground to 2.1.5 from 2.1.4: > Merge pull request adafruit/Adafruit_CircuitPython_CircuitPlayground#73 from adafruit/dherrada-patch-1 > Merge pull request adafruit/Adafruit_CircuitPython_CircuitPlayground#72 from dherrada/master > Merge pull request adafruit/Adafruit_CircuitPython_CircuitPlayground#70 from dcbriccetti/tilt-instrument Updating https://github.com/adafruit/Adafruit_CircuitPython_GPS to 3.5.1 from 3.5.0: > Merge pull request adafruit/Adafruit_CircuitPython_GPS#37 from kattni/setup-py-update Updating https://github.com/adafruit/Adafruit_CircuitPython_LSM9DS1 to 2.0.5 from 2.0.4: > Merge pull request adafruit/Adafruit_CircuitPython_LSM9DS1#17 from adafruit/dherrada-patch-1 > Merge pull request adafruit/Adafruit_CircuitPython_LSM9DS1#16 from 2bndy5/master Updating https://github.com/adafruit/Adafruit_CircuitPython_Debouncer to 1.1.0 from 1.0.2: > Merge pull request adafruit/Adafruit_CircuitPython_Debouncer#12 from adafruit/dherrada-patch-1 > Merge pull request adafruit/Adafruit_CircuitPython_Debouncer#11 from dastels/master Updating https://github.com/adafruit/Adafruit_CircuitPython_HID to 3.3.6 from 3.3.5: > Merge pull request adafruit/Adafruit_CircuitPython_HID#41 from adafruit/dherrada-patch-1 > Merge pull request adafruit/Adafruit_CircuitPython_HID#42 from adafruit/revert-40-alternate-devices-for-ble > Merge pull request adafruit/Adafruit_CircuitPython_HID#40 from dhalbert/alternate-devices-for-ble Updating https://github.com/adafruit/Adafruit_CircuitPython_MIDI to 1.1.1 from 1.1.0: > Merge pull request adafruit/Adafruit_CircuitPython_MIDI#13 from kevinjwalters/master > Merge pull request adafruit/Adafruit_CircuitPython_MIDI#16 from adafruit/dherrada-patch-1
…based on @tannewt advice. Updating all the examples to explicitly set midi_in or midi_out to the USB ports. Adding test case as constructor now raises an error if midi_in and midi_out are both omitted. This will make sphinx-build work but that appears to be a separate bug. adafruit#13
adafruit_midi/__init__.py
README.rst
andmidi_simpletest2.py
to just use new API, deletedmidi_simpletest.py
as it purely used old API and other example replaces it.Note comments on #12 for approval of this API removal from an impacted guide author.