Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

Safe HaskellNone

Perform.Midi.Play

Description

This module is responsible for actually scheduling MIDI messages with the OS's MIDI driver.

Synopsis

Documentation

play Source #

Arguments

:: Transport.Info 
-> Maybe.Maybe Cmd.SyncConfig 
-> Text 
-> Messages 
-> Maybe.Maybe RealTime.RealTime

If given, loop back to the beginning when this time is reached.

-> IO (Transport.PlayControl, Transport.PlayMonitorControl) 

Start a thread to stream a list of WriteMessages, and return a Transport.Control which can be used to stop and restart the player.