Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. novocaine

novocaine

MITObjective-C

A painless, high-performance audio library for iOS and macOS using Audio Units with simple APIs.

Visit WebsiteGitHubGitHub
2.2k stars269 forks0 contributors

What is novocaine?

Novocaine is an open-source audio library for iOS and macOS that simplifies high-performance audio input and output using Audio Units. It solves the pain of dealing with complex, low-level Core Audio APIs by providing straightforward block-based interfaces for capturing and playing audio in real-time.

Target Audience

iOS and macOS developers building audio-intensive applications like music apps, audio analyzers, or real-time sound processors who need reliable, low-latency audio without deep Core Audio expertise.

Value Proposition

Developers choose Novocaine because it dramatically reduces the time and effort required to implement audio features, offering a battle-tested solution derived from commercial apps with a focus on performance and ease of use.

Overview

Painless high-performance audio on iOS and Mac OS X

Use Cases

Best For

  • Building iOS or macOS apps that require microphone input with minimal latency
  • Creating real-time audio playback applications without complex Audio Unit setup
  • Developing audio analysis tools like spectrum analyzers or oscilloscopes
  • Prototyping audio features quickly with simple block-based APIs
  • Learning Core Audio concepts through a simplified, practical library
  • Integrating high-performance audio into Objective-C or C++ based projects

Not Ideal For

  • Swift-only iOS projects avoiding Objective-C and C++ interoperability
  • Cross-platform audio applications targeting Android or web in addition to Apple platforms
  • Advanced audio processing requiring custom Audio Unit graphs beyond Novocaine's abstractions

Pros & Cons

Pros

Simple Block API

Uses callback blocks for audio input and output, allowing developers to capture and play audio with minimal code, as shown in the README examples with just a few lines.

High-Performance Engine

Incorporates a C++ RingBuffer for efficient, low-latency processing, optimized over three years of development to handle real-time audio smoothly.

Proven in Production

Powers commercial apps like Octave and Fourier, demonstrating reliability and robustness in audio-intensive applications, as highlighted in the README.

Cons

C++ File Extension Requirement

Requires changing Objective-C files to .mm when using the RingBuffer, adding complexity and potential build issues for projects not set up for C++ interoperability.

Limited to Core Audio Abstraction

Abstracts away Core Audio details, which can be a limitation for developers needing advanced control or custom Audio Unit configurations not exposed by the library.

No Native Swift Support

Designed primarily for Objective-C, making it less straightforward for Swift-based projects without bridging overhead, as it lacks modern Swift APIs or documentation.

Frequently Asked Questions

Quick Stats

Stars2,232
Forks269
Contributors0
Open Issues45
Last commit7 years ago
CreatedSince 2012

Tags

#audio-library#objective-c#real-time-audio#low-latency#c-plus-plus#macos-audio#ios-audio#audio-processing#core-audio

Built With

O
Objective-C
C
Core Audio
C
C++

Links & Resources

Website

Included in

iOS51.7k
Auto-fetched 18 hours ago

Related Projects

AudioKitAudioKit

Audio synthesis, processing, & analysis platform for iOS, macOS and tvOS

Stars11,414
Forks1,619
Last commit6 days ago
EZAudioEZAudio

An iOS and macOS audio visualization framework built upon Core Audio useful for anyone doing real-time, low-latency audio processing and visualizations.

Stars4,982
Forks817
Last commit10 months ago
PorcupinePorcupine

On-device wake word detection powered by deep learning

Stars4,888
Forks578
Last commit2 days ago
FDWaveformViewFDWaveformView

Reads an audio file and displays the waveform

Stars1,307
Forks168
Last commit2 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub