Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Visualizer not reacting to sound #21

Open
treierxyz opened this issue May 24, 2020 · 21 comments
Open

Visualizer not reacting to sound #21

treierxyz opened this issue May 24, 2020 · 21 comments

Comments

@treierxyz
Copy link

Can't get the visualizer to work.
Logs: 2020-05-24 23-19-54.txt

Screenshot_20200524_231740

@univrsal
Copy link
Owner

Does it work with other audio sources? Maybe try changing back and forth in between audio sources

@treierxyz
Copy link
Author

Changing audio sources didn't work.

@univrsal
Copy link
Owner

Can you try adding a media or vlc source and see if it works with those?

@treierxyz
Copy link
Author

I will try tomorrow.

@treierxyz
Copy link
Author

Media and VLC Source work fine. Also tried JACK Input Client, but that didn't work.

@treierxyz
Copy link
Author

treierxyz commented May 25, 2020

Also Audio Capture Device (ALSA) works.

@univrsal
Copy link
Owner

I really don't know what's causing this.

@treierxyz
Copy link
Author

This actually started a while ago but I didn't get around to making a report and then I didn't use OBS for a while so I forgot about it.

@treierxyz
Copy link
Author

Still having this problem, but a fresh VM had no problems, so it must be something with my OS installation. I could try to find out what is causing this but it's just much simpler to reinstall the OS, which I might probably do by the end of the year.

@univrsal
Copy link
Owner

univrsal commented Sep 1, 2020

I really can't help you with this much, I haven't had issues with either JACK or Pulseaudio. I'm rewriting the spectrum code (or at least have started) so maybe that'll fix it.

@treierxyz
Copy link
Author

I reinstalled my OS and that didn't help, it's a problem with Pulseaudio and JACK.
I can get the spectralizer working by:

  1. opening OBS
  2. restarting JACK
  3. setting desktop audio to Default

I have no problems when Pulseaudio only is used, but Pulse and JACK together don't mix well. It might also depend on if you use JACK1 or JACK2, which of I am using the latter.

But if you're already working on a rewrite, then I think this bug doesn't matter anymore.

@mikelupe
Copy link

Hello,
I'm having the same issue. A local media file is handled correctly, but any routed Jack source first shortly triggers some signal being displayed, and then basically immediately mutes.
I'm on Debian 11 btw. and I'm routing with Jack from MIXXX to OBS.

Do you have any new insights about this? Thanks. (great plugin)

@univrsal
Copy link
Owner

nope

@Hitrate
Copy link

Hitrate commented Nov 12, 2020

Yes, no reaction to any audio. What a bummer. Hopefully you fix the app someday.

@remixmabix
Copy link

Same here

@LeonHartwig
Copy link

Jack users: as a test, try increasing your frames/period setting in your Jack setup. Make sure to restart Jack for the change to take effect. I normally use 256 and the visualizer doesn't react and spams the obs --verbose log with 'No Data in circle buffer' messages. However, if I configure Jack for 512 or 1024 frames/period, then the visualizer works. Could be some faulty assumptions in the visualizer regarding how much audio data to expect (and when) from an audio source.

@remixmabix
Copy link

Leon is on point, strange behaviour also because with Ardour if I go change the frames period from 512 to 64 it still visualize.

But if I change source again then it makes an error. Seems like the problem is in the initialisation of the plugin.

Thank you

@lcalder
Copy link

lcalder commented May 7, 2021

If I set my asio device to 512 samples it works fine. If I change the sample size to anything less than 512 samples, it will not react at all even though OBS audio meters show sound. If I switch back to 512 samples, spectralizer springs back to life.

@treierxyz
Copy link
Author

Jack users: as a test, try increasing your frames/period setting in your Jack setup. Make sure to restart Jack for the change to take effect. I normally use 256 and the visualizer doesn't react and spams the obs --verbose log with 'No Data in circle buffer' messages. However, if I configure Jack for 512 or 1024 frames/period, then the visualizer works. Could be some faulty assumptions in the visualizer regarding how much audio data to expect (and when) from an audio source.

Sorry, but sadly changing buffer size or periods/buffer didn't help, still no response. Sample rate also didn't have any effect. I don't get any "No Data in circle buffer" errors in logs so that could be a different issue?

@TheBlackParrot
Copy link

Getting this issue with Pipewire's JACK interface on Linux as well. I start OBS and the bars are always full with the Monstercat filter, and empty with any other filter. Never can get it to react.
I get similar issues on the Windows side too, my old layout had multiple Spectralizer sources and there was usually 1 out of the 3 that would initialize with full bars and never react. Swapping scene collections back and forth would usually re-init them.

@void-ghast
Copy link

This issue with the sample rate less than 512 not showing up is a huge bummer. Shouldn't be too difficult to fix on the developer's end right?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants