• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: More MIDIServer questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More MIDIServer questions


  • Subject: Re: More MIDIServer questions
  • From: William Stewart <email@hidden>
  • Date: Mon, 3 Nov 2008 14:05:43 -0800


On Nov 3, 2008, at 1:27 PM, Ethan Funk wrote:

I am still trying to get an understanding of what the MIDIServer limitations are. My primary problem is that I would like to use CoreMIDI from with in a daemon process that launches at run time. As it is now, there is some problem with the bootstrap at launch time not being a user bootstrap, so CoreMIDI can't run MIDIServer.

I would really like to understand what is going on here so I can try to find a way to make something work for my software.

1. If I run an app that used CoreMIDI in one user account and then switch users and run another CoreMIDI app, a second MIDIServer instance seams to be created, one for each user.

yes

This makes sense, but I am not sure if the switched out MIDIServer is still "active" while it is switched out. The switched out user app seams to stop responding to MIDI. Is this to allow the new, switched in user to get exclusive access to the hardware?

no, its because the switched out user is not the active user, so it shouldn't be active. Audio behaves the same way.


I don't know what this has to do with "exclusive" access - that is not a semantic we have layered on top of this, but one you are applying.

Our intention on only allowing a single active user was based around what we though general user expectations would be.

We don't have any intention of changing this basic behaviour (which I think we have also stated previously)

Bill



2. What if the two MIDIServer instances are trying to use different drivers/hardware? I don't have an extra MIDI interface to try this myself.

3. If I attempt to use the CFPlugin framework to have my daemon talk directly with the MIDI hardware drivers (yuck!) that are available, will there be a problem if a MIDIServer running for a logged in user is trying to use this driver at the same time? Will this depend on the underlying IO structure of the driver?

4. I noticed that launching my daemon with SystemStarter from a logged in user account in the Terminal application causes the MIDIServer to run for my daemon, only it is running under the logged in user account. I have no idea what this means, but I might be able to use it somehow?

I'm desperately trying to get a MIDI machine control interface working for my internet radio automation system.

Thanks in advance.
Ethan Funk

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: More MIDIServer questions
      • From: Ethan Funk <email@hidden>
References: 
 >More MIDIServer questions (From: Ethan Funk <email@hidden>)

  • Prev by Date: Re: More MIDIServer questions
  • Next by Date: kAudioFileUnspecifiedError
  • Previous by thread: Re: More MIDIServer questions
  • Next by thread: Re: More MIDIServer questions
  • Index(es):
    • Date
    • Thread