Generating Raw Audio Samples
Published in
12 min readMar 28, 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
- [this post] 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
- 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 Unit 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
We are developing a command line application that generates a digital audio file. The audio stored in the file is the digital representation of a tone. The frequency of the tone to store is given as a command line…