• 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: unable to populate MusicTrack (one solved, one new problem)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unable to populate MusicTrack (one solved, one new problem)


  • Subject: Re: unable to populate MusicTrack (one solved, one new problem)
  • From: Will Benton <email@hidden>
  • Date: Mon, 1 Dec 2003 21:25:44 -0600

Thanks for your reply, Bill.

> With a sequence you can only set a MIDI endpoint as a destination -
> ie. as a place for the sequence to send MIDI events.

That is what I want to accomplish; sorry if my message was unclear.
Here's what I'm doing now:

1. calling MIDIClientCreate() to create a new MIDI client
2. calling MIDISourceCreate() to create a new "source" endpoint,
owned by the client I just created. This shows up as a source in apps
like MIDI Monitor and SynthTest.
3. calling MusicSequenceSetMIDIEndpoint() to set the endpoint of my
MusicSequence to the endpoint I just created.

If I send noteon/noteoff messages to the MIDISource, they will pass
through to SynthTest, MIDI Monitor, or whatever, but the notes in the
playing sequence won't. (If, however, I set up the MusicSequence to
output to an AUGraph, I get sound.) My code ("test.m", although it's
mostly C-classic) is attached, in case that helps. I'm really at a
loss to what's going wrong.

You weren't suggesting that I create an output with
MIDIDestinationCreate, were you?

> The sequence won't take midi endpoints as a source and add events to
> that track as it receives it (though maybe that might be a good
> feature request!) - if you like this idea, write a bug for me :)
> (http://developer.apple.com/bugreporter)

That is a good feature request; perhaps it is fortunate that I was
unclear. :-) I'll write it up.




best,
wb

---
Will Benton <email@hidden>
"Wir sind Bettler, das ist wahr"
recently updated (11/1/03) contact info at:
http://www.cs.wisc.edu/~willb/willb.vcf

[demime 0.98b removed an attachment of type application/octet-stream which had a name of test.m]
_______________________________________________
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: unable to populate MusicTrack (one solved, one new problem)
      • From: William Stewart <email@hidden>
References: 
 >Re: unable to populate MusicTrack (one solved, one new problem) (From: William Stewart <email@hidden>)

  • Prev by Date: Re: AUParameterValueFromLinear?
  • Next by Date: Re: AIFF/AIFC current documentation?
  • Previous by thread: Re: unable to populate MusicTrack (one solved, one new problem)
  • Next by thread: Re: unable to populate MusicTrack (one solved, one new problem)
  • Index(es):
    • Date
    • Thread