Converting An Audio File to LPCM
Published in
12 min readJun 20, 2021
[macOS] — Using Objective-C and the Apple Audio APIs
This is a series of posts about Apple Core Audio API. Read them and practice in order.
Series Episodes:
- S01,01. Reading Basic Info from a Local Audio File
- S01,02. Generating Raw Audio Samples
- S01,03. Audio Stream Basic Descriptions
- S01, 04. Recording With Audio Queues
- S01, 05. Playing Back With Audio Queues
- S01, 06. Converting Any Audio Format to LPCM
- [this post], S01, 07. Converting An Audio File to LPCM
- S01, 08. Playing Back With Audio Units
- S01, 09. Audio Unit Input Via A Render Callback
- S01, 10. Connecting Audio Units Together
- S01, 11. Positional Sound with OpenAL
- S01, 12. OpenAL Streaming Example
- S01, 13. Connecting to a MIDI Controller
- S01, 14. Primitive MIDI Controller
Introduction
In the previous episode here, we developed a program that converts an audio file to LPCM (Linear Pulse Code Modulation). However, that program worked with an input buffer. There was a callback function that had the…