• 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: Anders Gärder <email@hidden>
  • Date: Tue, 14 Feb 2006 14:31:01 +0100

Doug Wyatt wrote:
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?

It remains set to the previous value, that is, I can only set it once.
Do I have to reset something else first? Or is MIDIObjectSetIntegerProperty all I should have to call?


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.



Interesting, MIDISend might be the way to do it then, but MIDISendSysex was attractively simple to use.


Thanks for helping me out
best regards

Anders Gärder @ Elektron



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

  • Prev by Date: OpenAL not playing sounds except in the debugger?
  • Next by Date: Put Own Data in to AudioBuffer
  • Previous by thread: Re: 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