Affiliate Disclosure
If you buy through our links, we may get a commission. Read our ethics policy.

Core Audio in Mac OS X Tiger to improve audio handling

Apple's next-generation OS will include an updated version of the company's Core Audio technology that will deliver new tools and functions to improve the audio handling experience of Mac OS X applications.

Sources close to Apple say that the new version of Core Audio will introduce two new audio units, aggregate device support, nonnative audio file format support, and other tools that let developers perform live mixing and playback of audio content.

New Audio Units

Tiger's version of Core Audio will present two new audio units that developers can use in their applications.

A file-playback audio unit will make it possible for applications to use an existing sound file as an input source. The audio unit will convert file data from any format to linear PCM so that it can be processed by other audio units, sources said. Linear PCM (LPCM) is an uncompressed audio format that is similar to CD audio, but with higher sampling frequencies and quantisations. The format offers up to 8 channels of 48kHz or 96kHz sampling frequency and 16, 20 or 24 bits per sample but not all at the same time.

The second audio unit will handle time and pitch transformation modifications to audio data. Developers will be able to use this audio unit to change the playback speed without changing the pitch, or vise versa.

Aggregate Device Support

Tiger's version of Core Audio will also support the creation of aggregate devices, sources said, allowing developers to combine multiple audio devices together under the auspices of a single audio device. For example, developers can take two devices with two input channels each, combine them to create a single aggregate device with four input channels, and then let Core Audio take care of routing the audio data to the appropriate hardware device.

Nonnative Audio File Format Support

Another planned enhancement to Core Audio is an extension mechanism for supporting audio file formats not natively supported by Core Audio in Mac OS X. This mechanism will reportedly allow developers to create components for reading and writing these audio file formats, while an updated API will aid applications in detecting and utilizing the custom components.

Two New APIs

Tipsters also said that Core Audio will add two new APIs to its toolbox.

A new extended audio file API will ease the complexity previously associated with converting files from one format to another. The API will read data in any format supported by Core Audio and then convert it to and from linear PCM format.

Meanwhile, a new clock API will allow developers to create and track MIDI time formats. The API will reportedly support the use of the MIDI Time Code (MTC) and MIDI Beat Clock protocols to synchronize operations between MIDI-based controllers.

Developer Tools

Finally, sources expect Tiger to ship with a new Audio Unit Lab tool, which will let developers graphically host audio units and examine the results. The tool will reportedly host audio units and allow developers to use them to do live mixing and playback of audio content.