jank (ASS) alsa music (player)
  • C 99.2%
  • Makefile 0.8%
Find a file
2026-04-17 20:15:05 +00:00
.gitignore we on git now nurga 2026-04-17 19:53:38 +00:00
jam.c we on git now nurga 2026-04-17 19:53:38 +00:00
jamrc we on git now nurga 2026-04-17 19:53:38 +00:00
Makefile we on git now nurga 2026-04-17 19:53:38 +00:00
README.md fix readme formatting (again) 2026-04-17 20:15:05 +00:00

JAM - Jank (ASS) Alsa Music-player

dependencies:
  alsa
  ffmpeg        # optional, for mp3/m4a/flac/etc support

build:
  make
  # with ffmpeg support
  make FFMPEG_LIBS="-lavformat -lavcodec -lswresample -lavutil"

make (un)install:
  make install
  make uninstall

usage:
  jam song.wav
  jam .
  jam dir/*
  jam -R -r 48000 -c 2 -v 80 -s 10 song.pcm
  cat song.pcm | jam -R -r 44100 -c 2

arguments:
  -r RATE       sample rate                     [default 44100]
  -c CHANNELS   channels                        [default 2    ]
  -v VOLUME     0-100                           [default 100  ]
  -s SECONDS    seek start                      [wav only     ]
  -d DEVICE     alsa device                     [or --device  ]
  -R            raw PCM 16-b little endian      [no header    ]

default keybinds:
  space pause/resume
  h     seek -5s
  l     seek +5s
  k     volume +5%
  j     volume -5%
  n     next file
  p     previous file
  r     toggle repeat
  s     toggle shuffle
  /     search
  q     quit

configuration:
        refer to jamrc