mix tuning_fork.listen (TuningForkSpeaker v0.1.11)

Copy Markdown View Source

Listen on a TCP port and play the raw signed 16-bit PCM that arrives through this machine's speaker, connection after connection — the far end of an ssh tunnel from a server sending with TuningFork.Sink.Tcp.

mix tuning_fork.listen
mix tuning_fork.listen --port 5000 --max-lag 100

Runs until stopped with Ctrl-C.

Options:

  • --port N — the port to listen on. Required
  • --ip A — the interface, an address such as 0.0.0.0 for every one. Default 127.0.0.1
  • --rate N, --channels N — the PCM format. Default 44100 and 2
  • --max-lag N — the most audio kept waiting to play, in milliseconds. Default 100