[Class]
player-stream

A subclass of midishare-stream that implements input and output to a Midishare Player multi-track sequencer application. A player-stream is automatically created when you specify a file with a ".mp" extension. The name of the player stream will become the player's application name used by Midishare.

player-stream supports the following slot initializations:

:track integer
Events generated to a player are placed in the track number specified by :track according to the value of :seq-mode. If :seq-mode is :replace (the default) then the the track contents at :track are replaced. If :seq-mode is :add then new tracks are created starting at :track and incrementing by 1 each time the events function outputs to the player.
:seq-mode {:replace | :add}
Determines if events sent to the player either replace the current sequence or are added as a new track in the sequence. The default value is :replace.
:play boolean
If true then the player application is automatically started once output to the player has concluded. If :play is false then the player is not automatically started. In either case a player-stream can be controlled interactively in the Lisp interpreter using the functions player-start, player-stop, player-pause and player-cont. The default value of :play is true.
:tempo bmp
The initial tempo of the player, specfied in beats per minute. The default value is tempo 60.

See Also: