octobanana's customizable text-based audio visualization interactive application.
octavia
/
README.md
octobanana's customizable text-based audio visualization interactive application.
OCTAVIA, Octobanana's Customizable Text-based Audio Visualization Interactive Application.
octavia is an audio visualizer for the terminal.
View the usage and help output with the -h|--help
flag,
or as a plain text file in ./doc/help.txt
.
Run octavia
and play some audio!
If octavia is not responding to audio being played, refer to the Troubleshooting section.
Here are a few key bindings to get started with:
?
to view the key bindings section of the help output, press q
to return back to octavia.q
to quit the program<backspace>
to reset all settings to the default state.o
to toggle the debug overlayc
to toggle colour.v
to randomize the colour scheme.a
to toggle vertical/horizontal layout.s
to toggle mono/stereo audio captured
to toggle shared/stacked layoutf
to toggle flipped layout.z
or x
to toggle bars/peaks on/off.g
to cycle through available smoothing filters.h
or H
to change the minimum frequency threshold.j
or J
to change the minimum decibel threshold.k
or K
to change the maximum decibel threshold.l
or L
to change the maximum frequency threshold.This section describes what environments this program may run on, any prior requirements or dependencies needed, and any third party libraries used.
Important
Any shell commands using relative paths are expected to be executed in the root directory of this repository.
./src/ob/belle
./src/ob/parg.hh
./src/ob/fft.hh
Using a new version of GCC or Clang is required, as the default
Apple Clang compiler does not support C++17 Standard Library features such as std::filesystem
.
A new compiler can be installed through a third-party package manager such as Brew. Assuming you have Brew already installed, the following commands should install the latest GCC.
1
2
brew install gcc
brew link gcc
The following CMake argument will then need to be appended to the end of the line when running the shell script.
Remember to replace the placeholder <path-to-g++>
with the canonical path to the new g++ compiler binary.
1
./RUNME.sh build -- -DCMAKE_CXX_COMPILER='<path-to-g++>'
The included shell script will build the project in release mode using the build
subcommand:
1
./RUNME.sh build
The included shell script will install the project in release mode using the install
subcommand:
1
./RUNME.sh install
If octavia is not responding to audio being played, make sure your systems default audio capture stream is set to monitor of built-in audio analog stereo, or something similar. On Linux, this can be done with the program pavucontrol. While octavia is running, launch pavucontrol. Within pavucontrol, select the recording tab, then choose Monitor of Built-in Audio Analog Stereo
in the drop down for the capture stream of octavia. Also, make sure the volume slider is set to 100% (0.00 dB)
.
If the audio being played is very quiet, such as classical music, try decreasing the minimum db threshold with J
and decreasing the maximum db threshold with k
.
If you want greater vertical movement of the bars, try increasing the minimum db threshold with j
and decreasing the maximum db threshold with k
.
If the bars are constantly touching the top, try increasing the maximum db threshold with K
.
This project is licensed under the MIT License.
Copyright (c) 2020 Brett Robinson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.