Supex.Sclang.ScPort (supex v0.2.0)

View Source

Port to the SuperCollider's command line tool sclang.

Summary

Functions

Opens a port to SC's sclang.

Sends a SuperCollider's command to the sclang via the port.

Functions

close(port)

(since 0.1.0)
@spec close(atom() | port()) :: true

open()

(since 0.1.0)
@spec open() :: port()

Opens a port to SC's sclang.

send_sc_command(sc_command, port)

(since 0.1.0)
@spec send_sc_command(
  binary(),
  atom() | pid() | port() | reference() | {atom(), atom()}
) ::
  {atom() | pid() | port() | reference() | {atom(), atom()},
   {:command, nonempty_binary()}}

Sends a SuperCollider's command to the sclang via the port.