-
Notifications
You must be signed in to change notification settings - Fork 370
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
I made it available for Windows and Python 3 #184
Comments
Fantastic job, @sniperwrb !! Thank you so much. All official MIDI repos are broken and we are desperately in need of a working solution. Here is my contribution in a form of a FluidSynth Hack for Windows and Jupiter/Google Colabs.
|
@sniperwrb Great job! I tried your version and got some strange messages when trying to install it.
So something about the Electron loading, and it always opened my IDE. For some reason. And also displayed this:
Something about VS Codes "spdlog.log".
I'm no expert in what you did with the "setup.py" so that's the reason I ask. Does any of this make sense to any of you? Hoping to use this package in the near future. Best |
Cloned your distro and it seemed to work fine. Ran the setup.py no apparent issues. Not sure why I am still getting the syntax error when I try to run mididump.py brian@brian-VirtualBox:~/python-midi$ mididump.py mary.mid |
The traceback you are showing has some python2 syntax in it.
should be: Something like that |
I'm getting a midi.sequencer not found error on macOS Big Sur, when running the python3 midiplay.py ../mary.mid
Was the fix made/tested for Windows only? |
Ah, realised after setup.py install, it needs ALSA support!... |
I've been trying to get this module to work on Raspbian for hours today. This is the error I'm getting: pi@raspberrypi:~/python-midi/scripts $ sudo python3 mididumphw.py |
@RogerLevy I would recommend not to use python-midi as it is pretty much abandoned atm. There are plenty of other great packages that can be easily substituted for python-midi, especially on Raspberry Pi due to compat issues. Check out my tegridy-tools repo: I have collected all MIDI stuff there and there is also a separate section specifically for Raspberry Pi. Hope this is helpful. |
Please let me know what module I can use; everything else I've found doesn't include the feature I need which is time-accurate sequence playback with realtime adjustable tempo. I wrote a functioning sequencer in Python but multitrack playback and recording have unacceptable timing issues so I'm looking for a way to hook into ALSA. Recording timing is solved (maybe) by using python-rtmidi but I haven't done extensive testing yet. |
@RogerLevy Yes, I was gonna recommend rtmidi so def. check it out. There is also note-seq by Google, mido, pretty_midi, and a few others...But it seems that your case is more on the sequencer side and you probably need a custom solution, so if I were you, I would use one of the popular modules I mentioned above to build upon myself. Or you can search GitHub for code/solutions that fit your needs. from my experience, GitHub has everything, you just need to look and also be wiling to do some work as its most likely going to be code snippets. I am sorry I can't be of more help in your case. I thought you just need a capable MIDI processor, not a sequencer. Hope this makes sense |
Here is my repo:
https://github.com/sniperwrb/python-midi
I just deleted the raised errors in setup.py configure_platform(), and then installed the original package on Linux python 3.6, and replaced the source files in Windows with the newly generated files in linux.
Then I could "python setup.py install" and enjoy it.
The text was updated successfully, but these errors were encountered: