Ole Martin Bjørndalen
Ole Martin Bjørndalen
Would it be enough to implement `ne` as `not eq` as suggested here? https://stackoverflow.com/questions/4352244/should-i-implement-ne-as-the-negation-of-eq-in-python
OK, sounds good. We should implement `__ne__()` for Python 2 and mark it as something that can be removed when we drop Python 2 support.
Thank you for a very detailed bug report with example code and files! When I wrote the file player I didn't take into account the time spent processing the messages....
Just open each device with `mido.open_input()` and use them at the same time. They will not interfere with each other and each port will receive messages from the correct device....
Your file is read correctly, but I understand the confusion. The reason why you're getting `channel=0` is that Mido numbers channels 0-15 instead of 1-16, so a `channel=0` is the...
https://mozillascience.github.io/working-open-workshop/roadmapping/
Thanks for the report! It looks like @TheOtherDays has a fix for this in issue #256.
Hi, There is nothing built in to Mido but you can do something like this: ``` def get_intrument_name(track): for msg in track: if msg.type == 'instrument_name': return msg.name else: return...
A MIDI file has a default tempo of 500000 microseconds per tick (120 beats per minute). The tempo can be changed at any point in the file with a `set_tempo`...
It looks like Mido is not installed correctly. Could you make a `test.py` with the following and run it instead of `visualizer.py`: ``` import mido from mido import MidiFile ```...