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

Javier Diaz-Reinoso javier_diaz_r at mac.com
Wed Apr 6 17:16:38 UTC 2016


Yes, there is an AVMIDIPlayer class and a lot of AUMIDIEvent, MIDIGetDevice, etc.., search MIDI in XCode and is a lot of entries.


> On Apr 6, 2016, at 12:08, Tobias Pape <Das.Linux at gmx.de> wrote:
> 
> 
> Hi,
> 
> On 06.04.2016, at 18:59, 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 :-(
> 
> Just a note: It works well for me on CogSpur_r3427 on Mac.
> BTW: Has Cocoa a MIDI interface in the first place?
> 
> 
>> 
>> 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.!
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160406/8cf5f5a7/attachment.htm


More information about the Vm-dev mailing list