Music player in REPL.
- Play wav, mp3 files.
- Add tag to files.
- Search by tags.
- Supported ros script.
One file.
* (play "~/path/to/file.wav")
Some files.
* (play (uiop:directory-files "~/Music/directory/" "*.wav"))
Adding tag to files.
* (tag "tag" (uiop:directory-files "~/Music/directory/" "*.wav"))
Play by tag.
* (play (make-tag :exp "tag"))
Logical expressions (i.e. and
, or
and not
) are supported.
* (play (make-tag :exp '(and "tag1" "tag2" (not "tag3"))))
Start replayer server.
replayer start
Play one music.
replayer play path/to/music.wav
Play some files
replayer play $(ls music/directory/*.wav)
or
ls music/directory/*.wav | xargs replayer play
Adding tag to files
replayer tag tag file1 file2 ...
Play by tag.
replayer play --tag tag
With logical expression.
replayer play --tag '(and tag1 tag2)'
Replayer server is http server.
You can send request for it with any http client.
One file.
curl -d "FILE=~/path/to/file.wav" http://localhost:5000/play/file
Adding one more file.
curl -d "FILE=/path/to/file.wav" http://localhost:5000/play/push
Play by tag.
curl -d "TAG=tag" http://localhost:5000/play/tag
MIT
SBCL
ros install hyotang666/r-iff hyotang666/wav-parser hyotang666/replayer
* (ql:quickload :replayer)
ros build $HOME/.roswell/local-projects/hyotang666/roswell/replayer.ros
ros exec replayer
If you want reduce ros exec
do like
echo 'export PATH="$HOME/.roswell/bin:$PATH"' >> ~/.zshrc