jank (ASS) alsa music (player)
- C 99.2%
- Makefile 0.8%
| .gitignore | ||
| jam.c | ||
| jamrc | ||
| Makefile | ||
| README.md | ||
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