Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 2.18 KB

README.md

File metadata and controls

31 lines (19 loc) · 2.18 KB

APPlayMIDI

A simple MIDI file player for MacOS.

Ever since 2009, when Apple deprecated the 32-bit QuickTime framework in favour of the newer AVKit, the Mac's flagship media player, QuickTime Player X has refused to play MIDI files. (Despite MIDI file types being associated with the app!)

The AVKit framework contains a perfectly good player for MIDI files: AVMIDIPlayer, so there's no excuse for not having an app that plays MIDI files. Here's my lightweight implementation.

alt text

Runs on Sierra (10.12) and above. (It could conceivably be 'updated' to support older OSes, as there's nothing particularly new in it.)
Each document window contains a slider that both indicates and sets the current play position, and a 'rewind' button to return to the start of the track. Numerical counters show the play position and total duration.

The app contains one other feature: it can Copy the MIDI data from a document to the clipboard, so it can be pasted into apps that support pasting MIDI data.

Known apps that support MIDI pasteboard include: Finale. (Let me know of others.)

You can also drag the file icon from the titlebar into any app that supports MIDI dragging: e.g. Cubase, Dorico...

Installation

Click on the Releases link above, or here: https://github.com/benwiggy/APPlayMIDI/releases. Download, unzip and move to the /Applications folder. You then need to right click on the app and select "Open". A dialog will come up, telling you that it is from an 'unidentified developer', but there should be an "Open" button.
You may want to make APPlayMIDI the default file for opening MIDI files. Select a MIDI file, then Get Info (File menu or Command I) select "APPlayMIDI", and then click "Change All".

The source files are included, for anyone who wants to add functionality or use them as the basis of a new app.

Future

It would be nice to offer QuickLook previews of MIDI files in the Finder, but currently, QL plug-ins cannot be written in Swift.

v.1.01 fixes an issue where document windows did not cascade.
v.1.02 The app has been code-signed, but apparently that's still not enough to clear MacOS's quarantine. v.1.04 Universal Binary for Intel and ARM Macs.