karlstav
90159e5de3
Reworked noncurses output mode and made it defualt.
...
The reworked noncurses mode uses a custom framebuffer technique that
only draws changes per frame and only writes to the terminal once per
frame. This results in far less cpu usage then ncurses. It is also
free of the flickering that we se in ncurses mode #196
Colors are no longer set by default so hopefully cava will change
color automatically in noncurses mode when using tools such as
pywall #340 #181
Unfortunently html colors, gradient and key controls are not supported
in noncurses.
6 years ago
karl
a0ab48bddc
Merge pull request #352 from Yash-Garg/patch-1
...
autogen: double quote to prevent globbing and word splitting
6 years ago
Yash Garg
b36363e9e8
autogen: Double quote to prevent globbing and word splitting
6 years ago
karl
9033e5d5ee
Merge pull request #350 from hsheth2/patch-1
...
Add hsheth2's PPA for Ubuntu 18+
6 years ago
Harshal Sheth
1b79ebff79
Add hsheth2's PPA for Ubuntu 18+
6 years ago
karl
3fbf890eb3
Merge pull request #348 from jonathanhacker/master
...
fix typo
6 years ago
Jonathan Hacker
a85dc45e5c
fix typo
6 years ago
Karl Stavestrand
894134a2e9
#347 shem is always on now, forgot to remove some ifdefs after configure options wos changed to always enable
6 years ago
karlstav
d4848c3ebd
#109 , #344 safer setting of locale settings
6 years ago
karlstav
3e7ac291ed
force set locale LC_ALL to en_us.UTF-8
...
most likely wide chars or just ncurses requires LANG to be set
some people just haven't set up their locale properly.
The settings will revert on exit.
this resolves #109 and resolves #344
6 years ago
karlstav
78b762cc32
increase max bars setting in config
6 years ago
karlstav
0bd2f100cb
#346 make sure bar value don't drop below zero when falling
6 years ago
karlstav
df40491dde
better debug info
6 years ago
karlstav
7d10ab5b75
better calculation of integral to height value
6 years ago
karlstav
d6b2cbdd4c
Merge branch 'rename_vars'
6 years ago
karlstav
194c199c3f
fix #343 noncurses ouptut method vertical offset
...
a new line after last row caused the terminal to start scrolling
this was resolved in the past by simply not drawing that row.
new fix is to not newline at the last row, but do a return instead
6 years ago
karlstav
e5702f08ca
rename more variables to human readable format
6 years ago
karlstav
ee96026023
renaming variables to be more human readable
...
the code has up until now used shorthand var names such as bw
for bar width and lcf for lower cut-off frequency. There is no
need for this. We are now moving to a naming scheme of
descriptive names on two to three words using underscores.
6 years ago
karlstav
626ba55018
ncurses init: use the word lines instead of height
6 years ago
karlstav
eb59e0fa91
ncurses: make sure not to use uninitialized color pair
6 years ago
karlstav
15d6645b04
ncurses: add manual painting of background, #344
...
when setting background color manually there was some strange bug
offsetting the bars and adding characters that are not cleaned up,
memory issue in ncurses?
fixed by adding spaces all over screen on init to paint background
manually.
6 years ago
karl
7ce8845a1a
Merge pull request #341 from Xyene/fix-fifo-unaligned-access
...
Fix potential unaligned memory access in FIFO input
6 years ago
karlstav
0e196d23fc
lint again, arg...
6 years ago
karlstav
42581bea4f
#338 fix default eq
6 years ago
Tudor Brindus
6e95db09c1
Fix potential unaligned memory access in FIFO input
6 years ago
karlstav
cb4ac7a1b8
decreased sleep time from 1 sec to 0.1 sec, improves wake up and cpu usage is unoticable
6 years ago
karlstav
251d096020
clean up, zero padding is only needed once
6 years ago
karlstav
5e0aaf8142
increased max number of bars from 200 to 256
6 years ago
karlstav
41189b76e6
removed unnecessary extra buffers (int arrays) between audio source and FFTW input
6 years ago
karl
90ecd6dd0c
Update README.md
...
add info about disabling components in configure.
6 years ago
karl
a08a0d60af
Merge pull request #338 from antiprism/disable_features
...
add configure options to disable optional features
6 years ago
Adrian Rossiter
87d150fb23
add configure options to disable optional features
6 years ago
karlstav
f60c79cab1
fix lint
6 years ago
karlstav
f8363515cd
comment out debug info about get defualt puls sink, this resolves #337
6 years ago
karlstav
b19395a677
gradient: start with color pair number 16
...
this way we will not temper with the color definitions mostly
used in the terminal. This resolves #336 . Also removed the reset
that was suposed to fix the, but did nothing, closes #305 .
6 years ago
karlstav
47ab43b279
fix bug where left channel was replaced by right channel, this resolves #335
6 years ago
karlstav
6407af045b
OSX needs to add librt in a funny way
6 years ago
karlstav
da64176490
always build shmem input module, it is light weight and have no special dependencies
6 years ago
karlstav
ef292806f6
move common included headers for the input modules to common.h
6 years ago
karlstav
0b1da3eb71
fix lint
6 years ago
karlstav
ddfc3bcdea
build fix #334 sndio was not done right after input restruct
6 years ago
karl
c91050774e
add sndio and portaudio dev files to workflows
...
we should test these as well to avoid things like #334
6 years ago
karl
8ecdf48f82
Merge pull request #333 from krkk/fix_directory_exists
...
alsa: don't close directories when they don't exist
6 years ago
Karol Kosek
df8ad39419
alsa: don't close directories when they don't exist
...
Fix #332
6 years ago
karlstav
a5cab50a20
make integral coefficient denpendent on height
...
higher terminals should have slightly higher integral value for
visualisation to appear smoother.
6 years ago
karlstav
88de9b6027
header files should be included alphabetically
6 years ago
karlstav
0558e37708
include alloca.h for also to build on Buster this resolves #331
6 years ago
karl
795971e73e
Merge pull request #330 from Xyene/fifo-bit-depth-example
...
Update example config with FIFO sample rate and bit depth
6 years ago
Tudor Brindus
4539d6e323
Update example config with FIFO sample rate and bit depth
6 years ago
karl
b7aaa7cf94
Merge pull request #322 from Xyene/path-max
...
Use PATH_MAX instead of hardcoding 255
6 years ago