Mx.Session (mx v0.1.0)

Copy Markdown View Source

Plays one song file: the engine, the band, and the watcher that hands each saved version to the band.

Stopping the session stops them in reverse order, so the engine stops last and silences every note the band started.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts playing the song in opts through the engine, from the beat :from if given, watching its file for changes.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)

Starts playing the song in opts through the engine, from the beat :from if given, watching its file for changes.