[Vm-dev] Re: MIDI in 64-bi Mac apps

John McIntosh johnmci at smalltalkconsulting.com
Tue Dec 2 21:15:22 UTC 2014


Craig wrote something about midi and OS X testing in 2005 to the squeak
list.
I have a sqMacMIDI.c file in a working directory here.
with some smalltalk code/class

'From Squeak3.2 of 15 January 2002 [latest update: #4956] on 5 September
2002 at 2:33:33 pm'!
Object subclass: #MultiMIDIPort
instanceVariableNames: ''
classVariableNames: 'AccessSema InputData InputPort InputProcess '
poolDictionaries: ''
category: 'Sound-Scores'!
MultiMIDIPort class
instanceVariableNames: ''!

!MultiMIDIPort class methodsFor: 'as yet unclassified' stamp: 'jh 9/4/2002
15:41'!
bufferTimeStampFrom: aByteArray
"Return the timestamp from the given MIDI input buffer. Assume the given
buffer is at least 4 bytes long."

^ ((aByteArray at: 1) bitShift: 24) +
  ((aByteArray at: 2) bitShift: 16) +
  ((aByteArray at: 3) bitShift: 8) +
   (aByteArray at: 4)
! !
...

Not sure who 'jh' is

On Tue, Dec 2, 2014 at 1:08 PM, Eliot Miranda <eliot.miranda at gmail.com>
wrote:

>
>
> On Tue, Dec 2, 2014 at 12:53 PM, John McIntosh <
> johnmci at smalltalkconsulting.com> wrote:
>
>> no doubt the midi interface has to be ported to OS X from the os-9 carbon
>> base
>>
>
> Hmmm.  Looks like one has to use CoreMIDI, not QuickTime.  Any media savvy
> volunteers willing to step up?  Craig?
>
>
>>
>> On Tue, Dec 2, 2014 at 12:45 PM, Eliot Miranda <eliot.miranda at gmail.com>
>> wrote:
>>
>>> Hi All,
>>>
>>>     I see this in QuickTimeMusic.h.  What is one to do long-term?
>>>  (Short-term I'll just not include the MIDI plugin)
>>>
>>> /* QuickTime is not available to 64-bit clients */
>>>
>>> #if !__LP64__
>>>
>>>
>>> --
>>> best,
>>> Eliot
>>>
>>
>>
>>
>> --
>>
>> ===========================================================================
>> John M. McIntosh <johnmci at smalltalkconsulting.com>
>> https://www.linkedin.com/in/smalltalk
>>
>> ===========================================================================
>>
>
>
>
> --
> best,
> Eliot
>



-- 
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>
https://www.linkedin.com/in/smalltalk
===========================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20141202/ec28e2ee/attachment-0001.htm


More information about the Vm-dev mailing list