[Vm-dev] Re: MIDI Plugins [was [squeak-dev] The Trunk: Sound-mt.53.mcz]

John McIntosh johnmci at smalltalkconsulting.com
Wed Apr 6 17:06:29 UTC 2016


maybe something like https://github.com/mixedinkey-opensource/MIKMIDI
 could be useful package to rebuild the plugin.

On Wed, Apr 6, 2016 at 9:59 AM, Eliot Miranda <eliot.miranda at gmail.com>
wrote:

>
>
>
> On Wed, Apr 6, 2016 at 9:49 AM, Eliot Miranda <eliot.miranda at gmail.com>
> wrote:
>
>> Hi All (including some persons I know know MIDI in bcc),
>>
>>     with Marcel working on MIDI I'm reminded that MIDI needs some love on
>> Linux and Mac.  My understanding is that there exists an alternative to the
>> libasound code on Linux.  It would be lovely to have this properly
>> integrated into the svn tree.  My understanding is that the Mac MIDI plugin
>> is using Carbon APIs, and hence we don't even have a MIDI plugin for the
>> 64-bit Spur VM on Mac (the Mac Cog VMs all switched over to Cocoa precisely
>> because there is only marginal support for 64-bit apps under Carbon).  So
>> it would be great to have the Mac MIDI supoort updated to use newer APIs
>> and to have it work in both 32-bit and 64-bit VMs.  I'm asking for
>> volunteers; please help.
>>
>
> and indeed the Mac MIDI support appears completely broken :-(
>
> On Wed, Apr 6, 2016 at 9:25 AM, <commits at source.squeak.org> wrote:
>>
>>> Marcel Taeumel uploaded a new version of Sound to project The Trunk:
>>> http://source.squeak.org/trunk/Sound-mt.53.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: Sound-mt.53
>>> Author: mt
>>> Time: 6 April 2016, 6:25:53.027926 pm
>>> UUID: 7e1b7e43-e9c2-2a41-90c2-d545cd195582
>>> Ancestors: Sound-mt.52
>>>
>>> Disable usage of MIDI device if it does not work.
>>>
>>> =============== Diff against Sound-mt.52 ===============
>>>
>>> Item was changed:
>>>   ----- Method: MIDISound>>play (in category 'as yet unclassified') -----
>>>   play
>>>         "The base class ScorePlayer has two interfaces: a sound and a
>>> sound player. Choose the right interface depending on whether MIDI support
>>> is present."
>>>
>>>         SimpleMIDIPort useMIDIDeviceForOutput ifTrue: [
>>>                 [self openMIDIPort]
>>>                         on: Error
>>>                         do: [
>>>                                 SimpleMIDIPort askForDefault.
>>> +                               [self openMIDIPort]
>>> +                                       on: Error
>>> +                                       do: [
>>> +                                               self inform: 'Use of
>>> MIDI device is not working. Using custom synthesis.\Go to preferences to
>>> change again.' withCRs.
>>> +                                               SimpleMIDIPort
>>> useMIDIDeviceForOutput: false]]].
>>> -                               self openMIDIPort]].
>>>
>>>         self reset; resumePlaying.!
>>>
>>>
>>>
>>
>>
>> --
>> _,,,^..^,,,_
>> best, Eliot
>>
>
>
>
> --
> _,,,^..^,,,_
> best, Eliot
>
>


-- 
===========================================================================
John M. McIntosh. Corporate Smalltalk Consulting Ltd
https://www.linkedin.com/in/smalltalk
===========================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160406/fcbf5aef/attachment-0001.htm


More information about the Vm-dev mailing list