API Reference NetMD v#0.1.0

Copy Markdown View Source

Modules

Drive MiniDisc recorders over NetMD USB.

File headers for audio uploaded from a disc, ported from netmd-js.

High-level operations composed from NetMD.Interface commands, ported from netmd-js's netmd-commands.

DES primitives for the NetMD secure session, matching the CryptoJS usage in netmd-js. All inputs must be multiples of the 8-byte DES block size; the reference relies on the same alignment.

The fundamental NetMD USB exchange protocol, ported from netmd-js.

Known NetMD USB devices, from the netmd-js device table.

Disc contents as returned by NetMD.Commands.list_content/1.

A track group; title: nil marks the ungrouped tracks entry.

A track listing entry. Duration is in frames.

Enabling Key Blocks for the NetMD secure session, from netmd-js.

The NetMD factory command set, ported from netmd-js.

Higher-level factory operations, ported from netmd-js's factory commands: bracketed reads and writes, firmware patching and raw UTOC sector access.

The NetMD command set, ported from netmd-js.

The NetMD query DSL: build command payloads and parse replies from printf/scanf-like format strings, as used by netmd-js and libnetmd.

Raised by NetMD.Query.scan!/2 when a reply does not match.

Shift-JIS codec for NetMD titles.

The secure session needed to download tracks, ported from netmd-js's MDSession.

A virtual NetMD device that runs the whole library in-process.

The virtual disc a NetMD.Simulator presents.

Present the NetMD.Simulator brain as a real USB NetMD device.

Title sanitization for MiniDisc TOC entries, ported from netmd-js.

A track to download to the recorder, ported from netmd-js's MDTrack.

Behaviour for the USB plumbing underneath NetMD.Device.

A NetMD.Transport that fronts another transport with a stable pid and transparent reconnection.