MIDI in 64-bi Mac apps

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

MIDI in 64-bi Mac apps

Eliot Miranda-2
 
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
Reply | Threaded
Open this post in threaded view
|

Re: MIDI in 64-bi Mac apps

johnmci
 
no doubt the midi interface has to be ported to OS X from the os-9 carbon base

On Tue, Dec 2, 2014 at 12:45 PM, Eliot Miranda <[hidden email]> 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 <[hidden email]https://www.linkedin.com/in/smalltalk
===========================================================================
Reply | Threaded
Open this post in threaded view
|

Re: MIDI in 64-bi Mac apps

Eliot Miranda-2
 


On Tue, Dec 2, 2014 at 12:53 PM, John McIntosh <[hidden email]> 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 <[hidden email]> 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 <[hidden email]https://www.linkedin.com/in/smalltalk
===========================================================================



--
best,
Eliot
Reply | Threaded
Open this post in threaded view
|

Re: MIDI in 64-bi Mac apps

johnmci
 
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 <[hidden email]> wrote:


On Tue, Dec 2, 2014 at 12:53 PM, John McIntosh <[hidden email]> 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 <[hidden email]> 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 <[hidden email]https://www.linkedin.com/in/smalltalk
===========================================================================



--
best,
Eliot



--
===========================================================================
John M. McIntosh <[hidden email]https://www.linkedin.com/in/smalltalk
===========================================================================
Reply | Threaded
Open this post in threaded view
|

re: MIDI in 64-bi Mac apps

ccrraaiigg
 

     Yeah, a while back I wrote a platform-independent audio/MIDI plugin
based on PortAudio. I'll publish it again, after I get some sleep after
a long flight.


-C

--
Craig Latta
netjam.org
+31   6 2757 7177 (SMS ok)
+ 1 415  287 3547 (no SMS)