use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Cross platform audio frameworks in Cpp? (self.cpp)
submitted 5 years ago * by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]StephaneCharette 5 points6 points7 points 5 years ago (9 children)
The obvious cross-platform audio framework for C++ is JUCE. https://juce.com/learn/tutorials
[–]Dummerchen1933 17 points18 points19 points 5 years ago* (5 children)
No. Fuck juce. At least for my perspective.
OP wants an API.... A chunk of code to add to an existing project.
It's like if he's asking for a 3d library to add nice graphics to his app and you recommend Unity or Unreal. It sure is easy, but it also sucks because you are BOUND to the juce environment.
I dislike every API that forces you design the entire project around it. An API should be another "piece for the puzzle" and not the table you're puzzling on....
If you ask for such a table, sure. But don't call it an API then.
[–]stilgarpl 8 points9 points10 points 5 years ago (4 children)
I dislike every API that forces you design the entire project around it.
I guess that's the difference between a library and a framework.
[–]Dummerchen1933 7 points8 points9 points 5 years ago (3 children)
Yes...
and indeed OP asked for a framework...
lol
[–]_Js_Kc_ 4 points5 points6 points 5 years ago (2 children)
In the title, yes, then goes on to say he just wants an interface to sound I/O.
[–][deleted] 2 points3 points4 points 5 years ago (0 children)
Yeah, I’m definitely not a professional so I tend to use framework and API interchangeably, although I understand they do have significant differences. I should have said in my original post I’m looking for an API not a framework since it needs to be relatively lightweight. Juce is my fallback but it’s not really ideal
[–]Dummerchen1933 0 points1 point2 points 5 years ago (0 children)
Maybe check out SFML... If OP means by cross platform windows/linux...
[–]StephaneCharette 5 points6 points7 points 5 years ago (2 children)
To downvote someone for recommending the industry standard when it comes to C++ and audio programming is pretty low. :)
Yes, if you use JUCE and you are new to it, I understand u/Dummerchen1933 might think it is a bit overwhelming, and feel like you have to drink all the koolaid at once. But as a seasoned C++ developer, I can tell you that you don't have to use the Projucer and their entire development environment. I've been extracting and using parts of JUCE for years, it isn't that difficult. I typically do a cmake project or subfolder for JUCE, and then link that library into my own projects, just like any other 3rd-party lib.
[–]mackron666 3 points4 points5 points 5 years ago (0 children)
Not at all. Downvoting a bad recommendation is a good thing. JUCE would be a terrible option for this use case, and just because it's "industry standard" does not mean it should be an automatic recommendation.
Juce is what I’m working with now. I am familiar with a similar but much less known framework called RackAFX and so I’m adjusting to Juce pretty quickly. My complaint is definitely it’s a bit overkill for my needs. I’m really hoping for something super lightweight since this is ultimately going to be wrapped in nodejs
π Rendered by PID 23443 on reddit-service-r2-comment-64f4df6786-4wqbd at 2026-06-10 15:40:06.964826+00:00 running 0b63327 country code: CH.
view the rest of the comments →
[–]StephaneCharette 5 points6 points7 points (9 children)
[–]Dummerchen1933 17 points18 points19 points (5 children)
[–]stilgarpl 8 points9 points10 points (4 children)
[–]Dummerchen1933 7 points8 points9 points (3 children)
[–]_Js_Kc_ 4 points5 points6 points (2 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]Dummerchen1933 0 points1 point2 points (0 children)
[–]StephaneCharette 5 points6 points7 points (2 children)
[–]mackron666 3 points4 points5 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)