3Scribe.Utilities.AudioID
0.1.0
See the version list below for details.
dotnet add package 3Scribe.Utilities.AudioID --version 0.1.0
NuGet\Install-Package 3Scribe.Utilities.AudioID -Version 0.1.0
<PackageReference Include="3Scribe.Utilities.AudioID" Version="0.1.0" />
paket add 3Scribe.Utilities.AudioID --version 0.1.0
#r "nuget: 3Scribe.Utilities.AudioID, 0.1.0"
// Install 3Scribe.Utilities.AudioID as a Cake Addin #addin nuget:?package=3Scribe.Utilities.AudioID&version=0.1.0 // Install 3Scribe.Utilities.AudioID as a Cake Tool #tool nuget:?package=3Scribe.Utilities.AudioID&version=0.1.0
AudioID
Adds a class that analyses a byte stream of an audio file to determine the type of encoding used in the file and to extract details about the file.
Library is still under development and is currently only extracting some data from a few formats.
0.1.0 Initial Release
Currently only validates WAV, MP3 and Flac files and will return Bitrate, Sampling rate and Channels. Duration is also extracted but is currently only accurate for the Flac files.
Usage
using AudioInformation;
AudioID _AudioExample = new AudioID();
var loBytes = File.ReadAllBytes( Your Test file );
_AudioExample.Analyse(loBytes);
Properties
bool IsValid
True if the byte stream passed to the Analyse method is a valid MP3, WAV or Flac file
AudioFormat Format
Encapsulating class for information about the file. Contains Bitrate, SamplingRate, Channels and Duration (Duration only accurate for Flac). Also contains two enums detailling the audio format of the stream:
Encoding - Unknown MP3 Wav Flac
DetailedEncoding - Unknown MP3_Version1_Layer1 MP3_Version1_Layer2 MP3_Version1_Layer3 MP3_Version2_Layer1 MP3_Version2_Layer2 MP3_Version2_Layer3 MP3_Version25_Layer1 MP3_Version25_Layer2 MP3_Version25_Layer3 Wav_PCM Wav_IEEEFloat Wav_ALaw Wav_MuLaw Flac
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
0.1.0 Initial Release. Currently only validates WAV, MP3 and Flac files and will return Bitrate, Sampling rate and Channels. Duration is also extracted but is currently only accurate for the Flac files.