Class Play
java.lang.Object
com.github.dakusui.symfonion.cli.subcommands.Play
- All Implemented Interfaces:
Subcommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(Cli cli, PrintStream ps, InputStream inputStream) A method to invoke this subcommand.static Map<String, MidiDevice> prepareMidiOutDevices(PrintStream ps, Map<String, Pattern> portDefinitions)
-
Constructor Details
-
Play
public Play()
-
-
Method Details
-
invoke
Description copied from interface:SubcommandA method to invoke this subcommand.- Specified by:
invokein interfaceSubcommand- Parameters:
cli-Cliobject.ps- A print stream to which this sub-command should write. UsuallySystem.err.inputStream- An input stream from which this sub-command should read. UsuallySystem.oin.- Throws:
IOException- An IO problem (file-read, write, etc.) happened during execution.
-
prepareMidiOutDevices
public static Map<String,MidiDevice> prepareMidiOutDevices(PrintStream ps, Map<String, Pattern> portDefinitions)
-