[Vm-dev] Mac OS Cocoa MIDI Plugin

Tobias Pape Das.Linux at gmx.de
Tue May 17 19:24:44 UTC 2016


On 17.05.2016, at 20:15, Bert Freudenberg <bert at freudenbergs.de> wrote:

> 
>> On 12.05.2016, at 15:22, Craig Latta <craig at blackpagedigital.com> wrote:
>> 
>> 
>> 
>> Hi Eliot--
>> 
>>> recently the Cog VM on Mac OS X moved to Cocoa, the Objective-C API
>>> for the platform, leaving behind the old Carbon C API.  There is some
>>> backward compatibility support but it is gradually being deprecated by
>>> Apple.  One victim is the MIDIPlugin which was written against a
>>> ComponentManager API that, while Apple docs say is only deprecated,
>>> has actually disappeared.  Consequently the MIDIPlugin support
>>> (see http://www.squeakvm.org/svn/squeak/branches/Cog/platforms
>>> /iOS/plugins/MIDIPlugin) needs completely rewriting to use Cocoa
>>> APIs.  I've recently changed the build so that the MIDIPlgin is built
>>> externally, which will make it easier to work on; one doesn't need to
>>> build the entire VM, only the plugin.  I'm looking for volunteers who
>>> a) love music/know MIDI
>>> b) are happy programming at the Objective-C level using command-line
>>> builds and perhaps Xcode, but more immediately lldb for debugging.
>>> 
>>> If interested, reply to vm-dev and we can continue discussions there;
>>> there are folks that can help with Mac OS support, but no one I know
>>> of that has time to write this rather important plugin for multi-
>>> media.  It would be a great shame to lose MIDI on Mac.
>> 
>>    Perhaps this is an opportunity to reduce the platform code fanout a
>> bit. I've had good results with Squeak MIDI before on Mac, Windows, and
>> Linux, by making a VM plugin from the platform-independent PortMedia
>> libraries (PortAudio and PortMidi), at [1]. Perhaps it would make sense
>> to use PortMedia in combination with FFI/Alien these days.
>> 
>> 
>> -C
>> 
>> [1] http://portmedia.sourceforge.net
> 
> Why not re-implement MIDIPlugin in terms of PortMidi? That way even older images would benefit.

Or timidity++ http://timidity.sourceforge.net/


> 
> - Bert -


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1656 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160517/f88e4c9f/signature.pgp


More information about the Vm-dev mailing list