FileSignatures
A small library for detecting the type of a file based on header signature (also known as magic number). (by neilharvey)
NAudio
Audio and MIDI library for .NET (by naudio)
FileSignatures | NAudio | |
---|---|---|
2 | 29 | |
275 | 5,739 | |
2.2% | 1.2% | |
8.1 | 5.4 | |
about 1 month ago | about 2 months ago | |
C# | C# | |
MIT License | MIT License |
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.
FileSignatures
Posts with mentions or reviews of FileSignatures.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-03.
-
Verify file type from file content
There seem to be a few in nuget, the issue is they only cover a very few filetypes, presumably because the authors didn't want to spend gazillions of hours typing all the data in. This one might be a good base if you wanted to fork or contribute to it: https://github.com/neilharvey/FileSignatures/
-
What is the best way to validate and get the length of an aac file with asp.net core 5 running on Linux?
https://github.com/neilharvey/FileSignatures is such a package that you can use to detect the actual file type and you can extend it to detect custom signature.
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?
What are some alternatives?
When comparing FileSignatures and NAudio you can also consider the following projects:
mimesniffer - A MIME type sniffer for Go.
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.
FFmpeg.NET - .NET wrapper for common ffmpeg tasks
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.
SignHere - File signature validator for C#.
TagLib# - Library for reading and writing metadata in media files