• 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: MusicDevice and soundfonts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MusicDevice and soundfonts


  • Subject: Re: MusicDevice and soundfonts
  • From: Chris Rogers <email@hidden>
  • Date: Mon, 9 Sep 2002 13:02:19 -0700

Jeremy,

Are you sending a bank select and program change first before sending
notes to the synth?? I believe it should be initialized to patch 0 bank 0,
but it never hurts to force the patch before sending notes...

Chris Rogers
Core Audio Engineer
Apple Computer



Hello,

I am trying to use the MusicDevice for soundfont2 in OS 10.1.5 and all I get
is silence.

I am trying to use it directly as an audiounit. I have other apple
audiounits working properly. I can get a valid instruments count and
instrument name, so I know that the soundfont is at least semi-loaded.

The big thing (I think) is that I am using solely the MIDI protocol. I do
not use prepare instrument. What am I doing wrong?

MusicDeviceMIDIEvent(m_audioUnit, status, midiData[1], midiData[2],
deltaFrames);

I render the audiounit with:

AudioUnitRenderSlice(m_audioUnit, 0, &theTime,
output, &myAudioBuffer);

also the time field I use I set up myself and only fill in and set the
kAudioTimeStampSampleTimeValid flag.

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: MusicDevice and soundfonts
      • From: "Jeremy@Verizon" <email@hidden>
References: 
 >MusicDevice and soundfonts (From: "Jeremy@Verizon" <email@hidden>)

  • Prev by Date: Re: Setting the samplerate
  • Next by Date: Re: MusicDevice and soundfonts
  • Previous by thread: MusicDevice and soundfonts
  • Next by thread: Re: MusicDevice and soundfonts
  • Index(es):
    • Date
    • Thread