MD.Net 0.0.7

dotnet add package MD.Net --version 0.0.7
NuGet\Install-Package MD.Net -Version 0.0.7
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.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MD.Net --version 0.0.7
#r "nuget: MD.Net, 0.0.7"
#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.7

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

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;

//Read device and disc info.
var device = DeviceManager.Default.GetDevices().SingleOrDefault();
var currentDisc = DiscManager.Default.GetDisc(device);

//Create an updatable copy of the disc.
var updatedDisc = currentDisc.Clone();

//Set the title and erase existing tracks.
updatedDisc.Title = "MD.Net.Tests - " + Math.Abs(DateTime.Now.Ticks);
updatedDisc.Tracks.Clear();

//Add 3 new tracks (SP).
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;
}

//Compile the actions, these may be inspected before writing.
var actions = ActionBuilder.Default.GetActions(device, currentDisc, updatedDisc);
//Apply changes.
var result = DiscManager.Default.ApplyActions(device, actions, Status.None, true);

Input files must be WAVE (or ATRAC so long as it matches the specified compression), 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 was computed.  net462 is compatible.  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.2

    • 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 779 11/28/2022
0.0.5 648 5/1/2022
0.0.4 382 5/1/2022
0.0.3 406 4/29/2022
0.0.2 386 4/26/2022
0.0.1 394 4/25/2022