C++ Audio

Open-source C++ projects categorized as Audio

Top 23 C++ Audio Projects

  • srs

    SRS is a simple, high efficiency and realtime video server, supports RTMP, WebRTC, HLS, HTTP-FLV, SRT and GB28181.

    Project mention: Video Streaming : HTTP Real Time Streaming using "multipart/x-mixed-replace" or WebRTC server-to-client? | reddit.com/r/flask | 2022-03-12

    not flask related but SRS is my go to when i think about media/video streaming

  • BackgroundMusic

    Background Music, a macOS audio utility: automatically pause your music, set individual apps' volumes and record system audio.

    Project mention: How can I get rid of this "Background Music" dot? I don't have any audio playing. And it's there even when Music and Safari are closed. | reddit.com/r/MacOS | 2022-11-15

    That’s there because you’re using the app ‘background music’. I was thinking about using it but after testing I wasn’t happy with the way it accesses the “microphone”. It’s not actually listening to you though. The “microphone” it’s accessing is actually a virtual microphone that the app creates with system audio going through it so it knows what’s being played so it can pause music when appropriate. To get rid of that microphone in use alert you’ll need to get rid of background music. You can follow their uninstall instructions on the page I linked

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • Sonic Pi

    Code. Music. Live.

    Project mention: Dittytoy lets you code generative music with javascript in the browser | reddit.com/r/javascript | 2022-11-21

    Y'all should check out Sonic Pi! https://sonic-pi.net/

  • OpenFrameworks

    openFrameworks is a community-developed cross platform toolkit for creative coding in C++.

    Project mention: Launching glitchIO pocket glitch art app on iOS with oF | reddit.com/r/openFrameworks | 2022-10-13

    glitchiO is a piece of visual generative Pocket Art for mobile phones and tablets that explores the space inside randomness and glitch. It is inspired by the analogue VHS tape noise of damaged video cassettes and dirty playback heads on domestic VCRs. Reimagining this space for contemporary digital media and mobile phones glitchiO is a contemplation and treatise on what it is to hear machines speak in the interstitial spaces between human defined functions.Using touch gestures and accelerometer you can navigate the visual world of noise, glitch, randomness and higher stochastic functions. you can download it for free from the Apple app store here https://apps.apple.com/app/id1620340485you can find the source code using openFrameworks here on my github pages https://github.com/danbz/glitchiO glitchiO is crafted with pride using openFrameworks artists C++ toolkit. http://openframeworks.cc

  • SFML

    Simple and Fast Multimedia Library

    Project mention: Game UI | reddit.com/r/cpp_questions | 2022-11-19

    I would probably use SFML for the actual game stuff and then ImGui with ImGui-SFML for any GUI like components (menus etc.).

  • Mumble

    Mumble is an open-source, low-latency, high quality voice chat software.

    Project mention: web gui alternative for Discord srv | reddit.com/r/selfhosted | 2022-11-18

    Element, Mumble, and Mattermost could all be considered alternatives to Discord. I haven't used any of them together with Minecraft, but I found these plugins. * Minetrix is a "Spigot/PaperMC plug-in for connecting your Minecraft server with a Matrix room" * MumbleLink's "purpose is to be able to use Minecraft in conjunction with Mumble's positional audio feature"

  • Snapcast

    Synchronous multiroom audio player

    Project mention: Alternative to Spotify with collab | reddit.com/r/selfhosted | 2022-11-24

    You can get this by combining Mopidy with Snapcast. Mopidy allows you to play, sort and manage playlists of local files, radio's or various remote sources (even Spotify). And Snapcast makes it possible to play this synchronized across multiple devices and speakers.

  • Zigi

    Workflow assistant built for devs & their teams. Automate the mundane part of your day, with live actionable messages for your GitHub & Jira tasks.

  • JUCE

    JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, RTAS and AAX audio plug-ins.

    Project mention: Ask HN: What are 100K dollar ideas but not million dollar ideas? | news.ycombinator.com | 2022-11-24
  • supercollider

    An audio server, programming language, and IDE for sound synthesis and algorithmic composition.

    Project mention: Sonic Pi – The Live Coding Music Synth for Everyone | news.ycombinator.com | 2022-11-07
  • qTox

    qTox is a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol.

    Project mention: 11 methods of sending 118GB failed. Advice? | reddit.com/r/techsupport | 2022-08-08

    Qtox(p2p messaging?) failed: You can send files, but it looks like you can only open folders to look for files to send, not send folders themselves.

  • WickedEngine

    3D engine with modern graphics

    Project mention: SDL vs Unreal | reddit.com/r/gamedev | 2022-08-14

    Code base really small because it develop by solo developer with help from some volunteer contibutors. Support DirectX12 and Vulkan. There is editor for edit and save scene file but it's not finish yet so you have to mostly add features that you want by yourself beside rendering part. https://github.com/turanszkij/WickedEngine

  • pedalboard

    🎛 🔊 A Python library for working with audio.

    Project mention: I need to learn audio processing in Python. | reddit.com/r/learnmachinelearning | 2022-09-01

    Perhaps Spotify Pedalboard might be of interest

  • oboe

    Oboe is a C++ library that makes it easy to build high-performance audio apps on Android.

    Project mention: Any Android NDK Tutorials or Courses? | reddit.com/r/androiddev | 2022-10-12

    https://github.com/google/oboe would be a good starting point for audio processing.

  • mixxx

    Mixxx is Free DJ software that gives you everything you need to perform live mixes.

    Project mention: Does anyone know whether the Pioneer DDJ-200 dj controller can be used with Linux and Mixxx? | reddit.com/r/linuxhardware | 2022-11-20
  • ardour

    Mirror of Ardour Source Code

    Project mention: Any open source software to mapping song note / chart? | reddit.com/r/gamedev | 2022-11-23

    You could use MIDI for this. You can use a Digital Audio Workstation (aka. DAW) or a MIDI sequencer to create and sequence MIDI files. The most popular DAWs aren't necessarily open-source but Ardour is a notable open source option. Do note that it does way more than just MIDI sequencing so just be aware in case you feel overwhelmed.

  • OTTO

    Sampler, Sequencer, Multi-engine synth and effects - in a box! [WIP] (by bitfieldaudio)

    Project mention: OP-1 Jailbreak Bounty? | reddit.com/r/OP1users | 2022-08-25

    Are you aware of the OTTO project?

  • react-native-track-player

    A fully fledged audio module created for music apps. Provides audio playback, external media controls, chromecast support, background mode and more!

    Project mention: Introducing MonoBox: How & Why I Built My Very Own Music Player | dev.to | 2022-11-18

    So I tried playing music through the app before moving on to dealing with the back-end; here is where the React Native Track Player library comes into play.

  • NymphCast

    Audio and video casting system with support for custom applications.

    Project mention: audio stream | reddit.com/r/selfhosted | 2022-07-06

    I've been watching NymphCast for a while now, but I've never actually run it before.

  • faust

    Functional programming language for signal processing and sound synthesis (by grame-cncm)

    Project mention: I've made a Theremin-like instrument with tons of expressivity, here is a mystic improv | reddit.com/r/Ultraleap | 2022-11-16

    Regarding the technical details, it's written "from scratch" by using the Leap SDK (LeapC) in the Rust programming language. For the audio generation, I've used Faust. It's free and open-source, so you can see how it's done here.

  • strawberry

    :strawberry: Strawberry Music Player (by strawberrymusicplayer)

    Project mention: A simple, clean and cross-platform music player | news.ycombinator.com | 2022-11-13

    Also Strawberry which, in my experience, is slightly better in supported features


  • mpd

    Music Player Daemon

    Project mention: C++20 Coroutines and Io_uring | news.ycombinator.com | 2022-11-13

    Source code for CoReadTextFile() which is also a coroutine: https://github.com/CM4all/libcommon/blob/master/src/io/uring...

    Sample code for libpq: https://github.com/CM4all/libcommon/blob/master/test/co/RunC... and c_ares https://github.com/CM4all/libcommon/blob/master/test/co/RunC... and libcurl https://github.com/CM4all/libcommon/blob/master/test/curl/Ru...

    I wrote all of this for proprietary applications at dayjob, but the core library is open source, as is much of my dayjob code. The I/O event loop this integrates with is also used by several open source projects I maintain, e.g. the Music Player Daemon (https://github.com/MusicPlayerDaemon/MPD/tree/master/src/eve...) which can also take advantage of io_uring, though not (yet) with coroutines, only "classic" non-blocking I/O.

    My code is optimized for low-overhead; the very core doesn't even use std::function because I fear its implicit heap allocations. Long ago, I used boost::asio (which also integrates well with coroutines) but didn't like it because it was too bloated for me.

    I've rarely seen other nerds talk about C++ coroutines, and never about integrating them with io_uring, made me thinking I'm the only one. But maybe all the others just don't write/blog about it - I never did either...

  • SOUL

    The SOUL programming language and API (by soul-lang)

    Project mention: Future of audio software development? | reddit.com/r/musicprogramming | 2022-02-14

    The soul overview gives some compelling reasons. The creator (also of JUCE) was basically predicting that C++ will eventually be phased out for these applications one way or another

  • audiowaveform

    C++ program to generate waveform data and render waveform images from audio files

  • Sonar

    Free webinar: The Power of Clean C++. Are you ready to take your C++ code to the next level? Join Sonar on December 7th for our live webinar as we discuss how to get your code clean - and stay clean - with minimal effort and without being overloaded with warnings. Register now!

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-11-24.

C++ Audio related posts


What are some of the best open-source Audio projects in C++? This list will help you:

Project Stars
1 srs 19,901
2 BackgroundMusic 12,515
3 Sonic Pi 9,621
4 OpenFrameworks 9,162
5 SFML 8,153
6 Mumble 5,115
7 Snapcast 4,774
8 JUCE 4,628
9 supercollider 4,486
10 qTox 4,289
11 WickedEngine 4,090
12 pedalboard 3,724
13 oboe 3,201
14 mixxx 3,062
15 ardour 2,776
16 OTTO 2,517
17 react-native-track-player 2,502
18 NymphCast 2,233
19 faust 2,014
20 strawberry 1,728
21 mpd 1,718
22 SOUL 1,641
23 audiowaveform 1,503
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.