Audio player
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.5 KiB

3 years ago
# ditty
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
Audio player
## Features
- Uses a small amount of resources
- Files are read in chunks
- Remembers playing song and queue on exit
- Supports FLAC, MP3, OGG and WAV files
3 years ago
## Screenshot
[![](https://ditty.rocketnine.space/static/screenshot2.png)](https://ditty.rocketnine.space/static/screenshot2.png)
3 years ago
## Demo
If you are running Linux with ALSA, you can try ditty without installing:
```ssh -q ditty.rocketnine.space -p 20020 2> >(aplay --quiet)```
If you can't hear anything, you may need to specify which device ```aplay```
should use with ```-D```.
To list available sound devices, execute ```aplay -l```.
3 years ago
## Install
Choose one of the following methods:
### Download
[**Download ditty**](https://ditty.rocketnine.space/download/?sort=name&order=desc)
### Compile
```go get code.rocketnine.space/tslocum/ditty```
3 years ago
## Dependencies
* [faiface/beep](https://github.com/faiface/beep)
* [hajimehoshi/oto](https://github.com/hajimehoshi/oto)
* [mewkiz/flac](https://github.com/mewkiz/flac)
* [hajimehoshi/go-mp3](https://github.com/hajimehoshi/go-mp3)
* [jfreymuth/oggvorbis](https://github.com/jfreymuth/oggvorbis)
* [tslocum/cview](https://code.rocketnine.space/tslocum/cview)
## Documentation
3 years ago
See [CONFIGURATION.md](https://code.rocketnine.space/tslocum/ditty/src/branch/master/CONFIGURATION.md) for default keybindings.
3 years ago
## Support
Please share issues and suggestions [here](https://code.rocketnine.space/tslocum/ditty/issues).