MD.Net 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package MD.Net --version 0.0.2                
NuGet\Install-Package MD.Net -Version 0.0.2                
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="MD.Net" Version="0.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MD.Net --version 0.0.2                
#r "nuget: MD.Net, 0.0.2"                
#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 MD.Net as a Cake Addin
#addin nuget:?package=MD.Net&version=0.0.2

// Install MD.Net as a Cake Tool
#tool nuget:?package=MD.Net&version=0.0.2                

MD.Net

A package containing binaries and a managed wrapper API for minidisc devices. The binaries are from this project: https://github.com/gavinbenda/platinum-md

A simple example;

var toolManager = new ToolManager();
var formatValidator = new FormatValidator();
var formatManager = new FormatManager(toolManager);
var deviceManager = new DeviceManager(toolManager);
var discManager = new DiscManager(toolManager, formatValidator);

var device = deviceManager.GetDevices().SingleOrDefault();
var currentDisc = discManager.GetDisc(device);
var updatedDisc = currentDisc.Clone();
var title = "MD.Net.Tests - " + Math.Abs(DateTime.Now.Ticks);

updatedDisc.Title = title;
updatedDisc.Tracks.Clear();
foreach (var fileName in new[] { "Track_001.wav", "Track_002.wav", "Track_003.wav" })
{
    var track = updatedDisc.Tracks.Add(fileName, Compression.None);
    track.Name = "MD.Net.Tests - " + updatedDisc.Tracks.Count;
}

var actionBuilder = new ActionBuilder(formatManager);
var actions = actionBuilder.GetActions(device, currentDisc, updatedDisc);

var result = discManager.ApplyActions(device, actions, Status.None, true);

Input files must be WAVE, 44.1kHz, 16 bit, stereo. They may be converted depending on the Compression flag (SP, LP2, LP4). Progress for various operations (Action, Transfer, Encode) are emitted to your IStatus implementation.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.6.1

    • 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.0.7 882 11/28/2022
0.0.5 676 5/1/2022
0.0.4 409 5/1/2022
0.0.3 431 4/29/2022
0.0.2 411 4/26/2022
0.0.1 416 4/25/2022