• 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: Changing the transfer speed to a USB to MIDI interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the transfer speed to a USB to MIDI interface


  • Subject: Re: Changing the transfer speed to a USB to MIDI interface
  • From: Doug Wyatt <email@hidden>
  • Date: Mon, 13 Feb 2006 15:39:25 -0800

On Feb 13, 2006, at 2:30, Anders Gärder wrote:
Hello,

I am working on designing a USB to MIDI interface that uses
the built in usbmidi drivers in OSX and XP.

The interface can negotiate a higher than MIDI speed when connected to a
compatible hardware synthesizer, up to 10 times the speed.


We are writing our own transfer utility, C6, to transfer bulk data (samples and SysEx).
I am trying to use the following functions to set the speed of the driver


gDest = MIDIGetDestination(target);
MIDIObjectSetIntegerProperty(gDest,kMIDIPropertyMaxSysExSpeed,speed);

There are two pieces of code in CoreMIDI that look at this property: MIDISendSysex. MIDIFlushOutput

The driver does not look at the property; throttling is better done at a higher level.

It works but I only seem to be able to set this property once.

What happens if you try to set it a second time?

Can I change it dynamically?

Yes.

Or do I have to set it to the highest value I plan to use and then use a timer to portion out the SysEx data?

If you use MIDISendSysex, it will use a timer based on the current value of the property. If you use MIDISend, then you're responsible for not sending data too quickly.


Doug

--
Doug Wyatt
Core Audio, Apple

_______________________________________________
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: Changing the transfer speed to a USB to MIDI interface
      • From: Anders Gärder <email@hidden>
References: 
 >Changing the transfer speed to a USB to MIDI interface (From: Anders Gärder <email@hidden>)

  • Prev by Date: Re: Core Audio instruments
  • Next by Date: Re: Coreaudio-api Digest, Vol 3, Issue 54
  • Previous by thread: Changing the transfer speed to a USB to MIDI interface
  • Next by thread: Re: Changing the transfer speed to a USB to MIDI interface
  • Index(es):
    • Date
    • Thread