CUETools.Codecs.FLAKE 1.0.5

.net Standard port of CUETools.Codecs.FLAKE Original code from Gregory S. Chudov and Justin Ruggles

Install-Package CUETools.Codecs.FLAKE -Version 1.0.5
dotnet add package CUETools.Codecs.FLAKE --version 1.0.5
<PackageReference Include="CUETools.Codecs.FLAKE" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CUETools.Codecs.FLAKE --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CUETools.Codecs.FLAKE, 1.0.5"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CUETools.Codecs.FLAKE as a Cake Addin
#addin nuget:?package=CUETools.Codecs.FLAKE&version=1.0.5

// Install CUETools.Codecs.FLAKE as a Cake Tool
#tool nuget:?package=CUETools.Codecs.FLAKE&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.net Standard port of CUETools.Codecs.FLAKE Original code from Gregory S. Chudov and Justin Ruggles

This is for encoding into FLAC.

This has not been tested much yet, I just converted it to .net standard and left much of the original code intact

public void ConvertToFlac(Stream sourceStream, Stream destinationStream)
{
    using (var audioSource = new WAVReader(null, sourceStream))
    {
        var buff = new AudioBuffer(audioSource, 0x10000);
        using (var flakeWriter = new FlakeWriter(null, destinationStream, audioSource.PCM) { CompressionLevel = 8 })
            while (audioSource.Read(buff, -1) != 0)
            {
                flakeWriter.Write(buff);
            }
    }
}

.net Standard port of CUETools.Codecs.FLAKE Original code from Gregory S. Chudov and Justin Ruggles

This is for encoding into FLAC.

This has not been tested much yet, I just converted it to .net standard and left much of the original code intact

public void ConvertToFlac(Stream sourceStream, Stream destinationStream)
{
    using (var audioSource = new WAVReader(null, sourceStream))
    {
        var buff = new AudioBuffer(audioSource, 0x10000);
        using (var flakeWriter = new FlakeWriter(null, destinationStream, audioSource.PCM) { CompressionLevel = 8 })
            while (audioSource.Read(buff, -1) != 0)
            {
                flakeWriter.Write(buff);
            }
    }
}

Release Notes

removed reader requirments for a flac file

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CUETools.Codecs.FLAKE:

Package Downloads
Aaru.Images
Media image formats used by the Aaru Data Preservation Suite.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.5 1,705 1/15/2019
1.0.4 372 1/10/2019
1.0.3 390 1/10/2019
1.0.2 342 12/18/2018
1.0.1 364 12/17/2018
1.0.0 377 12/14/2018