krab5 / HaskellPortMidi

PortMidi Haskell binding
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

portmidi update #3

Open rbdannenberg opened 3 years ago

rbdannenberg commented 3 years ago

Hi krab5,

I'm the creator of PortMidi. I was a bit surprised to find how many portmidi versions there are on Github. I've finally gotten around to making a number of updates that are mostly minor but long overdue.

I also decided it would be wise to host a copy of PortMidi on Github.

I went through every copy of PortMidi I could find, looking at 4583 files and running diff 7961 times, but who's counting? :-)

I picked up a few fixes from your collective works, although with this many files and changes, I'm sure I missed something.

Your repo appears to serve as a source of bindings for Haskell. I hope you can add support for the new Pm_CreateVirtualInput() and Pm_CreateVirtualOutput() functions for Linux and macOS. Let me know any problems. If you tell me you updated and things work, I'll recommend your repo in rbdannenberg/portmidi/README.md. Note that you can also unbundle the bindings from the base portmidi implementation in C, and just refer to a particular version at rbdannenberg/portmidi. (Although rbdannenberg/portmidi has some old bindings for python, C#, and Java, I'm not planning to maintain or even keep them since they have been siphoned off and maintained in independent efforts. So I'm unbundling bindings from base code too.)

Thanks, Roger

krab5 commented 3 years ago

Dear Roger,

Thank you very much for notifying me about these updates! Your process is very courageous...

I will try integrating these updates in the bindings, and I will let you know if and when it will be done. Note however that I haven't worked on this in a fairly long time so it might take a while.

I have a plan to do a complete overhaul of the bindings to improve its ergonomics and compliance to Haskell philosophy; but until then I will first try to update the version of portmidi I am using.

On a side note, I would like to take this opportunity to thank you deeply and sincerely for the work you've done with portmidi. As both a developper and a musician, I am a big user of this library, and I can barely stress out how many times it helped me!

Thank you very much!

Kind regards, krab