Comments (9)
Are you using mpd or pulse?
from cli-visualizer.
pulse, sorry for the late response...
and thanks for the quick one =P
from cli-visualizer.
I was hoping you were going to say mpd : ( Pulseaudio is a lot harder to tweak, I have very little control on the lag delay there. The one option that might help are cranking up the fps with visualizer.fps=60
, the default is 20. The only other ways I know to tune the delay are to go into pulseaudio settings, which can get pretty complicated very quickly.
from cli-visualizer.
Oh I see... so if I may ask: does the visualizer get it's information pre-pulse delay or post-pulse delay? I suspect it'll be the second though I'm not too aware of how it works.
from cli-visualizer.
So unfortunately it's actually dependent on a lot of different things ranging from your pulseaudio configs to your audio setup, which makes it pretty hard to debug. For example, if I bought a 1000ft audio cables for my speaks there would be a delay to the speakers but the visualizer wouldn't have the delay. This same issue happens with mpd, it's just easier to fix since mpd has a fairly simple config and so is easier to tweak.
I will say vis is usually slower than pulse because of the buffer vis uses. Increasing the fps decreases the buffer size which usually makes the issue less noticeable. If you find vis being way ahead I could add a setting that will delay it by some configurable amount.
from cli-visualizer.
So for my problem it's the visualizer that's lagging so I'm sure the fps tweak should solve it. I'll try today and get back to you. If mpd is so much easier than pulse then I may consider just switching....
from cli-visualizer.
@Se-Si did the fps change work?
from cli-visualizer.
Argh, I never replied! Yes, I increased the fps to 60, which is my screens max and tested it out with Chop Suey by SOAD (lol), works perfectly!
from cli-visualizer.
I'd like to request the opposite. Let me know if I should file a ticket for this.
I'd like a configurable lag. In particular, I'm playing over a BT speaker in another room, and it has a full 2s lag between the mpd and when music comes out of the speaker. I'd love to be able to tell vis to buffer the display by a configurable amount so that the display is sync'd with the audio.
I can probably figure out how to do this with pipes and a program in between, but having it as an option would be nice.
from cli-visualizer.
Related Issues (20)
- "vis" gives error message HOT 2
- Aborted (core dumped) error
- Crash upon open HOT 8
- Aborted, core dumped HOT 8
- Turn off moving average AGC in SpectrumTransformer
- Improvement: Smooth Spectrum look using Unicode Characters
- Mac Os monterey Installation failure HOT 2
- option for hiding output when no audio is playing
- error in 'readme' images
- non-256 color in tmux with the -2 argument
- no display from $ sudo vis? HOT 1
- Changing the resolution / font of the lorenz visualizer?
- [MacOS] The $ZSH folder already exists when trying to run ./install.sh
- how to uninstall this? HOT 1
- I got blank screen on Ubuntu HOT 4
- Looks very dark in Kitty HOT 6
- Use `XDG_CONFIG_DIRS` as fallback to `XDG_CONFIG_HOME`
- no uninstall script
- Bars not moving HOT 2
- Logarithimic frequency spectrum
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli-visualizer.