karlstav / cava

Cross-platform Audio Visualizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cava 9.x does not react with sensitivity = 0

zpamaral opened this issue · comments

When/where was the bug introduced?
cava 0.9.x (cava 0.8.x works fine).

Describe the bug
cava 0.9.x compiles fine, but when it runs the bars do not animate. The bar graph just sits there showing the frequencies and a minimum line.

To Reproduce
Steps to reproduce the behavior:

  1. Compile cava 0.8.x and cava 0.9.x
  2. run either one with the same config file and Background Music 0.4.0
  3. cava 0.8.x will work as expected, whereas 0.9.x will not
  4. See error on image attached.

Expected behavior
See a sound representation as a frequency bar graph.

Screenshots
Attached below.
cava 0 8 3
cava 0.9.1
cava 0 9 1
cava 0.8.3

Desktop

  • OS: macOS 10.11.6 (El Capitan)
  • Version: 10.11.6

Terminal emulator

  • Terminal.app (iTerm shows the same problem)
  • 2.6.1

Additional context
I will be delighted to elaborate on additional pertinent information if requested. Thank you.

commented

can't reproduce, there might have been an issue in cava 0.9.0 but it should be fixed now.

what is the output of cava -v

commented

does it work to capture audio from the mic? just set source to auto

commented

Good, that rules out background music at least. Is "method" set explicitly to portaudio in both cases? (Just try to remove the ; before that config option)

Yes, it is. The semicolons were removed thus:

method = portaudio
source = "Background Music"

and for the mic test I did:

method = portaudio
source = auto

Thank you.

ZP

commented

are you able to test before and after this commit:

4400d5b

commented

it's this commit:

af0c6d8

so it's something about the sensitivity that breaks it.

do you have any settings there? can you just dump your entire config here?

commented

great to hear it worked out!

i should probably make a guard against setting sensitivity = 0 does not really make any sense. Just accidentally worked before.