• 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: Audio Units - Connecting them to other applications...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Units - Connecting them to other applications...


  • Subject: Re: Audio Units - Connecting them to other applications...
  • From: Doug Wyatt <email@hidden>
  • Date: Fri, 9 Dec 2005 17:42:25 -0800

On Dec 8, 2005, at 3:35, Ian OKeeffe wrote:
Good morning,

I am currently working on an app in Cocoa (mixture of Obj-C and ordinary C) that inputs and parses MIDI files, alters them, and plays the result through a QTMovieView as found in the QTKit framework. This works (at last!), and plays the midi files through the internal Mac synth. However, I would like to add a bit of reverb or delay to make the played music sound more “real”, and would like to direct the output through an Audio Unit. I built the example Audio Unit, and ran the Audio Unit Viewer in AudioUnitHosting, and got my new audio unit to work on *.wav files I dragged into the Viewer, but how can I channel QTMovieView output sound into/through an Audio Unit?

Any help welcomed!


Hi,

I'd strongly encourage you to use the functions in AudioToolbox/ MusicPlayer.h for working with MIDI and the DLS synth. Yes, AudioToolbox doesn't currently supply anything like a movie view for playback controls, but that functionality is not that hard to replace.

What you'd gain from using MusicPlayer/MusicSequence:
- MusicSequence reads and writes MIDI Files without significant alteration (QT Music will export MIDI files converted to a steady tempo of 60 bpm regardless of the source tempo).
- MusicSequence's functions for editing MIDI Files are simple and powerful.
- MusicSequences can be directed to play through either a default chain of Audio Units (for cases where you don't want to add any processing), or an AUGraph that you construct. It can also play back to an external MIDI device.


HTH,
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


References: 
 >Audio Units - Connecting them to other applications... (From: Ian OKeeffe <email@hidden>)

  • Prev by Date: Re: persistent channel names
  • Next by Date: Re: kAudioUnitType_FormatConverter subtypes
  • Previous by thread: Audio Units - Connecting them to other applications...
  • Next by thread: altIncrementValue
  • Index(es):
    • Date
    • Thread