From af2f8ca7a80433f2a7c45bc3b5d148291c26b6c7 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 21 Sep 2022 21:33:00 -0500 Subject: [PATCH] *add vis to config update scripts --- .config/vis/colors/rainbow | 30 +++++++++++++ .config/vis/config | 90 ++++++++++++++++++++++++++++++++++++++ .config/vis/vis.log | 0 .local/scripts | 2 +- 4 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 .config/vis/colors/rainbow create mode 100644 .config/vis/config create mode 100644 .config/vis/vis.log diff --git a/.config/vis/colors/rainbow b/.config/vis/colors/rainbow new file mode 100644 index 0000000..13714c5 --- /dev/null +++ b/.config/vis/colors/rainbow @@ -0,0 +1,30 @@ +#1F80F3 +#08ADD8 +#06B3D4 +#01D7AF +#01DBA9 +#0DF47E +#26FE53 +#2CFF4B +#4FF829 +#58F522 +#83DE0B +#8FD506 +#ADBB01 +#BEAA01 +#D78C07 +#E27C0D +#F65525 +#F94C2B +#FE2A4D +#FE2456 +#F20B81 +#D901AC +#D501B2 +#B007D6 +#AA09DA +#7C21F4 +#6D2DF9 +#5541FE +#3E58FE +#2A70F9 diff --git a/.config/vis/config b/.config/vis/config new file mode 100644 index 0000000..fb2ad6d --- /dev/null +++ b/.config/vis/config @@ -0,0 +1,90 @@ +#Refresh rate of the visualizers. A really high refresh rate may cause screen tearing. Default is 20. +visualizer.fps=20 + +#Defaults to "/tmp/mpd.fifo" +#mpd.fifo.path + +#If set to false the visualizers will use mono mode instead of stereo. Some visualizers will +#behave differently when mono is enabled. For example, spectrum show two sets of bars. +audio.stereo.enabled=false + +#Specifies how often the visualizer will change in seconds. 0 means do not rotate. Default is 0. +#visualizer.rotation.secs=10 + +#Configures the samples rate and the cutoff frequencies. +audio.sampling.frequency=44100 +audio.low.cutoff.frequency=60 +audio.high.cutoff.frequency=22050 + +##Applies scaling factor to both lorenz and ellipse visualizers. This is useful when the system audio is set +#to a low volume. +visualizer.scaling.multiplier=1.0 + +#Configures the visualizers and the order they are in. Available visualizers are spectrum,lorenz,ellipse. +#Defaults to spectrum,ellipse,lorenz +visualizers=spectrum,ellipse,lorenz + + +#Configures what character the spectrum visualizer will use. Specifying a space (e.g " ") means the +#background will be colored instead of the character. Defaults to " ". +visualizer.spectrum.character=^ + +#Spectrum bar width. Defaults to 1. +visualizer.spectrum.bar.width=1 + +#The amount of space between each bar in the spectrum visualizer. Defaults to 1. It's possible to set this to +#zero to have no space between bars +visualizer.spectrum.bar.spacing=1 + +#Available smoothing options are monstercat, sgs, none. Defaults to sgs. +visualizer.spectrum.smoothing.mode=monstercat + +#This configures the falloff effect on the spectrum visualizer. Available falloff options are fill,top,none. +#Defaults to "fill" +visualizer.spectrum.falloff.mode=fill + +#Configures how fast the falloff character falls. This is an exponential falloff so values usually look +#best 0.9+ and small changes in this value can have a large effect. Defaults to 0.95 +visualizer.spectrum.falloff.weight=0.95 + +#Margins in percent of total screen for spectrum visualizer. All margins default to 0 +visualizer.spectrum.top.margin=0.0 +visualizer.spectrum.bottom.margin=0.0 +visualizer.spectrum.right.margin=0.0 +visualizer.spectrum.left.margin=0.0 + +#Reverses the direction of the spectrum so that high freqs are first and low freqs last. Defaults to false. +visualizer.spectrum.reversed=false + +#Sets the audio sources to use. Currently available ones are "mpd" and "alsa"Sets the audio sources to use. +#Currently available ones are "mpd", "pulse", "port", and "alsa". Defaults to "mpd". +audio.sources=pulse + +##vis tries to find the correct pulseaudio sink, however this will not work on all systems. +#If pulse audio is not working with vis try switching the audio source. A list can be found by running the +#command pacmd list-sinks | grep -e 'name:' -e 'index' +audio.pulse.source=0 + +#vis tries to find the correct portaudio device (through portaudio default method), however its not for-sure. +#If port audio is not working with vis try switching the audio srouce. A list can be found by setting +#this value to "list" and checking the vis log file. Replace this value with the device name desired +audio.port.source=auto + +#This configures the sgs smoothing effect on the spectrum visualizer. More points spreads out the smoothing +#effect and increasing passes runs the smoother multiple times on reach run. Defaults are points=3 and passes=2. +visualizer.sgs.smoothing.points=3 +visualizer.sgs.smoothing.passes=2 + + +#Configures what character the ellipse visualizer will use. Specifying a space (e.g " ") means the +#background will be colored instead of the character. Defaults to " ". +visualizer.ellipse.character=# + +#The radius of each color ring in the ellipse visualizer. Defaults to 2. +visualizer.ellipse.radius=2 + +## Turns off overriding the user's terminal colors +#colors.override.terminal=false + +#Specifies the color scheme. The color scheme must be in ~/.config/vis/colors/ directory. Default is "colors" +colors.scheme=rainbow diff --git a/.config/vis/vis.log b/.config/vis/vis.log new file mode 100644 index 0000000..e69de29 diff --git a/.local/scripts b/.local/scripts index 657f44e..89870ee 160000 --- a/.local/scripts +++ b/.local/scripts @@ -1 +1 @@ -Subproject commit 657f44ecf09d6854ac6576ebbf11d680e93c987f +Subproject commit 89870ee40a8c7333c5b8ae78c35f1bfe92823678