3Scribe.Utilities.AudioID 0.1.0

There is a newer version of this package available.
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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="3Scribe.Utilities.AudioID" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add 3Scribe.Utilities.AudioID --version 0.1.0
#r "nuget: 3Scribe.Utilities.AudioID, 0.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
0.1.2 977 2/3/2019
0.1.1 965 1/24/2019
0.1.0 1,036 1/11/2019

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.