NAudio
Audio and MIDI library for .NET (by naudio)
CSCore
An advanced audio library, written in C#. Provides tons of features. From playing/recording audio to decoding/encoding audio streams/files to processing audio data in realtime (e.g. applying custom effects during playback, create visualizations,...). The possibilities are nearly unlimited. (by filoe)
NAudio | CSCore | |
---|---|---|
29 | 7 | |
5,739 | 2,284 | |
1.2% | 1.1% | |
5.4 | 6.4 | |
about 2 months ago | 9 months ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NAudio
Posts with mentions or reviews of NAudio.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-02-27.
-
Lumix - a .NET open source ableton like DAW
For audio handling, since working with .NET there really wasn't a choice, if not using the NAudio library. This is working pretty well so far, with the ASIO support to get low latency (a must have in the audio world) and many useful features to work with audio samples.
-
How to Integrate OpenAI for Text Generation, Text-to-Speech, and Speech-to-Text in .NET
This implementation will use the minimum configuration necessary. For Windows, we’ll also leverage the NAudio package for handling audio playback, as it offers a straightforward solution for recording and playing audio files.
-
DIY Wavetable Synthesis Sequencer
Thanks for the suggestion. I have to rewrite most of the audio signal processing code anyway as I am using NAudio currently. Have heard of PiSound before, and will definitely check it out as it is pretty popular. I just need a way to output an array of numbers, representing the processed sound wave, to turn into an analog signal. Writing this from scratch is unnecessarily complicated when these libraries already exist.
-
ButterWorth signal processing
https://github.com/naudio/NAudio/blob/master/NAudio.Core/Dsp/BiQuadFilter.cs Simple formulas for all major types of filters
-
Cross-platform audio playback
Not tried it but there is also NAudio (https://github.com/naudio/NAudio)
I’ve used NAudio for this. You get Windows support for free, and it’s not too difficult to implement for other platforms. I have gists published for Android and iOS that should get you going.
- Playback audio from microphone to default speaker
-
What is the best C# Library for detecting pitch from voice singing (through microphone)?
This might help: NAudio, they have a doc file for working with pitch here
- How to install NAudio in unity
- Show HN: Tone v0.0.4 – hackable command line audio tagger – any feedback?
CSCore
Posts with mentions or reviews of CSCore.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-14.
-
Arduino volume control for windows?
Another route (the one I'm taking) is to build the software yourself. For mine, I'm using Csharp and cscore so I can control the exact functionality I want. This gets really complicated if you are new, so I'd only take this route for a specific reason.
- Audio Editor with React and ASP
-
Analyze MP3 file without playing
This is one library has been used for rythym games (which I have no experience with): https://github.com/filoe/cscore/tree/netstandard https://morioh.com/p/0c9a89be2fa8
- Why is there a lack of cool repos?
- Show HN: Tone v0.0.4 – hackable command line audio tagger – any feedback?
-
I've created a funky marble
In this case I'm not using an audio source. I'm listening to the desktop audio. This is possible with the LoopbackAudio script from this repository. It uses the CSCore library for that.
-
Is possible record any audio coming out of your computer in real time in C#?
A simple Google search leads to this project; https://github.com/filoe/cscore
What are some alternatives?
When comparing NAudio and CSCore you can also consider the following projects:
Xabe.FFmpeg - .NET Standard wrapper for FFmpeg. It allows to process media without know how FFmpeg works, and can be used to pass customized arguments to FFmpeg from dotnet core application.
TagLib# - Library for reading and writing metadata in media files
Audio Switcher - .NET Library which facilitates interacting with Audio Devices on Windows
Bufdio - A cross platform audio playback library for .NET with PortAudio and FFmpeg.