Table of Contents


jack plays it all

jplay2 is a command-line audio player, gluing

it plays a single file (no playlist), but with ffmpeg & libsndfile it plays every file one throws at it (even DVD-vobs or timemachine-w64 ;-) ). Once started, it's only possible to interact with jplay2 via OSC or jack-transport.

Audio decoder:

  • libsndfile
  • ffmpeg
  • libquicktime


  • optional jack-transport
    • stop OR scrub audio (loop N frames) when jack-transport is paused
  • variable or fixed speed, resampling
  • cache decoded (and/or resampled) audio
    • LRU cache, read/decode ahead, resample JIT



Usage: ./jplay2 [OPTION]... <FILE>
  -t, --transport            play along jack transport
  -s, --scrub                loop small region when transport is paused
  -J <port>                  specify jack-ports to connect to or 'none'
  -o <UDP-port>              start OSC server listening on spec. port
  -R <float>                 change playback speed; 0 < val < 20 (speed up <1, slow down >1)
  -S <N>                     scrub N audioframes (rounded to jack bufsize)
  -q, --quiet, --silent      inhibit usual output
  -v, --verbose              print more information
  -h, --help                 display this help and exit
  -V, --version              output version information and exit
oss/jplay2/start.txt · Last modified: 28.06.2009 15:48 by rgareus