Vocal is a terminal program to play audio and to look cool while doing it.
bash
git clone https://github.com/Jackboxx/vocal
cd vocal
make
make install
| error | fixes |
|:-----:|:-----:|
|Package alsa was not found in pkg-config search path
| try installing the alsa-lib-devel
package on Fedora or these packages alsa-base libasound2 libasound2-dev libudev-dev
on Ubuntu. |
Color of the audio graph, progress bar, text, and list items.
toml
color = 'blue'
| lower case | upper case | |:------------:|:------------:| | black | Black | | red | Red | | green | Green | | yellow | Yellow | | blue | Blue | | magenta | Magenta | | cyan | Cyan | | gray | Gray | | lightred | LightRed | | lightgreen | LightGreen | | lightyellow | LightYellow | | lightblue | LightBlue | | lightmagenta | LightMagenta | | lightcyan | LightCyan | | white | White | | rainbow | Rainbow |
Color of the selected list item.
toml
highlight_color = 'magenta'
| lower case | upper case | |:------------:|:------------:| | black | Black | | red | Red | | green | Green | | yellow | Yellow | | blue | Blue | | magenta | Magenta | | cyan | Cyan | | gray | Gray | | lightred | LightRed | | lightgreen | LightGreen | | lightyellow | LightYellow | | lightblue | LightBlue | | lightmagenta | LightMagenta | | lightcyan | LightCyan | | white | White |
The directory that is loaded if no values are provided to the --load
or --play
flags.
All files in this directory are listed and can be selected to be played.
toml
audio_directory = '$HOME/vocal/audio'
The directory that logs of all events are stored. If there are 10 or more files in the log directory, files are removed until there are only 10 remaining files.
toml
log_directory = '$HOME/vocal/logs'
The prefix of the automatically created log files.
Log files have the following naming schema: {prefix}_{date}_{time}.log}
.
toml
log_file_prefix = 'vocal'
Whether to show the hotkeys in the footer section while playing an audio track.
toml
show_hotkeys = true
The text in the shown in the footer section if show_hotkeys = false
.
toml
custom_footer = ""
The volume level that audio will play at after the application is first started.
toml
starting_volume = 50
toml
starting_volume = 100
toml
starting_volume = 0
The speed that audio will play at after the application is first started.
toml
starting_speed = 100
toml
starting_speed = 200
toml
starting_speed = 10
The width of the bars in the bar chart shown when playing an audio track.
toml
bar_width = 3
The gap between bars in the bar chart shown when playing an audio track.
toml
bar_gap = 1