java.lang.Object
com.github.dakusui.symfonion.cli.subcommands.Play
All Implemented Interfaces:
Subcommand

public class Play extends Object implements Subcommand
  • Constructor Details

    • Play

      public Play()
  • Method Details

    • invoke

      public void invoke(Cli cli, PrintStream ps, InputStream inputStream) throws IOException
      Description copied from interface: Subcommand
      A method to invoke this subcommand.
      Specified by:
      invoke in interface Subcommand
      Parameters:
      cli - Cli object.
      ps - A print stream to which this sub-command should write. Usually System.err.
      inputStream - An input stream from which this sub-command should read. Usually System.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)