mido icon indicating copy to clipboard operation
mido copied to clipboard

MIDI Objects for Python

Results 182 mido issues
Sort by recently updated
recently updated
newest added

I was having trouble deploying a project using mido. Here is some example code for testing deployment _deployment_test.py_ ```python import mido if __name__ == "__main__": print(mido.get_output_names()) ``` This file compiles...

Problem midi file: [Vivaldi_-_Summer_-_Piano.zip](https://github.com/mido/mido/files/7575976/Vivaldi_-_Summer_-_Piano.zip) Code snippet: ``` def readMidiFile(filePath): noteOnList = [] mid = MidiFile(filePath) print('MIDI duration:', mid.length) absoluteTime = 0 for msg in mid: absoluteTime += msg.time if msg.type...

For some MIDI files the parameter `type` is passed to the constructor resulting in an TypeError. This workaround should fix this without changing anything else.

``` >>> mid = mido.MidiFile('Mariage-dAmour.mid') >>> for msg in mid: ... pass Traceback (most recent call last): File "", line 1, in File "/lib/python3.9/site-packages/mido/midifiles/midifiles.py", line 384, in __iter__ for msg...

I've been messing around with this lately, and I think I found an issue when iterating over midi message for a midi with multiple tracks. ```py for i in mid:...

question

Hi! First, thanks for mido - it's great, and I'm especially impressed with how everything I've tried so far has worked well cross platform between my desktop linux system and...

feature:midifile

Hello! Thanks a lot for this library! It is REALLY helpful! I have just started messing around with the library, and found something: Every time I send a midi message,...

Hello! I’m trying to realize real time python module which can play input midi events, and play existing midi files simultaneously. So in this way we can play something in...

I'm following the examples and trying to open a port, but I get a "cannot find reference" error on open_output() `import mido` `outport = mido.open_output()` I installed mido and python-rtimidi...

enhancement
documentation

With `None` I actually *do* get buffering with Python 3.8 under Linux. Does `None` maybe imply using some standard value? If buffering is active, the `_is_readable` check will return false...