

- #Purebasic play midi file how to#
- #Purebasic play midi file portable#
- #Purebasic play midi file software#
* requested that these non-binding requests be included along with the * they can be incorporated into the canonical version. * requested to send the modifications to the original developer so that
#Purebasic play midi file software#
* Any person wishing to distribute modifications to the Software is * the PortMusic community also makes the following non-binding requests: * The text above constitutes the entire PortMidi license however, * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * included in all copies or substantial portions of the Software. * The above copyright notice and this permission notice shall be * and to permit persons to whom the Software is furnished to do so, * 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
#Purebasic play midi file portable#
* PortMidi Portable Real-Time MIDI Library I think we would all greatly benefit from a real time, cross platform, PureBasic compatible MIDI library.
#Purebasic play midi file how to#
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.
