• 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: Still Confused about kMIDIPropertyReceiveChannels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Still Confused about kMIDIPropertyReceiveChannels


  • Subject: Re: Still Confused about kMIDIPropertyReceiveChannels
  • From: Jeremy Sagan <email@hidden>
  • Date: Wed, 3 Mar 2004 22:22:47 -0500

Doug,

On Wednesday, March 3, 2004, at 08:58 PM, Doug Wyatt wrote:

Very few of CoreMIDI's properties are guaranteed to be set on any given object -- if one doesn't, your code should make the smallest and least restrictive assumption. In the case of the receive channels property, it's least restrictive to assume that the device receives on all channels.

Also, if you have both a MIDI interface (driver device) endpoint and an extenal device endpoint, generally you'll want to look at the external device's endpoint, since that's where the user will have set properties in AMS -- if he set anything at all.

This is what I don't understand. Is it possible that the user can set up all the channels on the external device endpoint and still CoreMIDI will return an error when the application tries to look at it?

Jeremy



Doug

On Mar 3, 2004, at 14:49, Jeremy Sagan wrote:
Using Panther and MIDIman MIDISport 1x1 or 2x2 interface connected to an Korg X5D or X5DR the following call returns an error:

stat = MIDIObjectGetIntegerProperty(endp, kMIDIPropertyReceiveChannels, &chanMask);

The endpoint endp is obtained via this call:
if (MIDIObjectFindByUniqueID(thePtr[uniq], &object, &mot) == noErr)
{
endp = object;
}
Which is successful.

Why does kMIDIPropertyReceiveChannels return an error? Is this a driver issue? The receive channels is totally configurable under the port for the X5DR in AMS so I don't understand why I cannot read it.

Thanks,
Jeremy
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Still Confused about kMIDIPropertyReceiveChannels
      • From: Jeremy Sagan <email@hidden>
References: 
 >Re: Still Confused about kMIDIPropertyReceiveChannels (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: Still Confused about kMIDIPropertyReceiveChannels
  • Next by Date: CDDB database APIS?
  • Previous by thread: Re: Still Confused about kMIDIPropertyReceiveChannels
  • Next by thread: Re: Still Confused about kMIDIPropertyReceiveChannels
  • Index(es):
    • Date
    • Thread