8/18/2023 0 Comments Purebasic play midi file* publish, distribute, sublicense, and/or sell copies of the Software, * including without limitation the rights to use, copy, modify, merge, * (the "Software"), to deal in the Software without restriction, * a copy of this software and associated documentation files * Permission is hereby granted, free of charge, to any person obtaining * Copyright (c) 1999-2000 Ross Bencina and Phil Burk * PortMidi Portable Real-Time MIDI Library I think we would all greatly benefit from a real time, cross platform, PureBasic compatible MIDI library. I'm not an expert in C/C++ and I have no clue on how to port/write the header part to PureBasic. The problem I have now is that I don't know how to port the header file (.h) from PortMIDI's source tree. I think I might have a working "portmidi.lib" file which can be used in PureBasic (I tried a "import" command successfully). I'm able to compile PortMIDI using Visual Studio 2010. Simplifying all of the MIDI handling for Windows and OS X. I would like to use PortMIDI in PureBasic. PyGame uses an open-sourced and cross platform library called PortMIDI. One good thing: PyGame (a Python addon) supports cross-platform MIDI. If Python was a car, it'd be a big Cadilac! Super comfortable but not built for speed, if you know what I mean. The problem is that it's interpreted and feels a bit slow. It's really a nice language, easy to learn. In my research for cross-platform compatibility, I toyed around with Python 2.7. I tried but there's almost no documentation on the net and PureBasic doesn't implement system calls on OS X like it works on Windows. On top of all that, I have to learn the OS X system calls for MIDI and such. I thought to myself: Bah, easy! PureBasic is cross platform, shouldn't be too hard, *WRONG*! Since I'm using so many low level DLL calls, the program I wrote is almost impossible to port to OS X without heavy modifications. I've received many requests for a Mac version. Now, I'm planning version 2.0 of my software. I learnt how to do MIDI the hard way, using Windows system calls (WinMM) and succeeded in writing a functional utility that converts incoming MIDI messages on the fly (some sort of a MIDI translator really). Now, I wrote some piece of software that deals with real time MIDI messages. I've been writing software in PureBasic for a while, I just love the platform! It's working awesome for me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |