Comments (8)
Did you compare this with PulseAudio input? The DFT is a linear transform, so DFT-based visualizations should also exhibit the same problem if input waveforms are incorrectly scaled.
from libvisual.
Chong Kai Xiong [email protected] schrieb:
Did you compare this with PulseAudio input? The DFT is a linear
transform, so DFT-based visualizations should also exhibit the same
problem if input waveforms are incorrectly scaled.
Reply to this email directly or view it on GitHub:
#4 (comment)
no, only input_alsa and input_debug work.
from libvisual.
PulseAudio works for me, but I have to use pavucontrol to be able to redirect and capture output audio streams.
from libvisual.
it seems input_alsa needs a complete facelift and VisParam support selection of different hardwares. https://github.com/mumble-voip/mumble/blob/master/src/mumble/ALSAAudio.cpp could serve as example, it looks quite clean.
from libvisual.
I really can't see anything wrong with the input signal from ALSA. If there is any incorrect scaling, it has to be elsewhere in lv_audio.c where the samples are converted.
If you're using lv_scope to check the waveforms, be aware that peak amplitudes will show up at 1/4 and 3/4 of the display height. They will not reach the top or bottom of the display.
from libvisual.
Chong Kai Xiong [email protected] schrieb:
I really can't see anything wrong with the input signal from ALSA. If
there is any incorrect scaling, it has to be elsewhere in lv_audio.c
where the samples are converted.If you're using lv_scope to check the waveforms, be aware that peak
amplitudes will show up at 1/4 and 3/4 of the display height. They will
not reach the top or bottom of the display.
Reply to this email directly or view it on GitHub:
#4 (comment)
i suppose it's not even directly linked to lv but to my snd-hw driver. It offers various alsa devices (hw:, plugdev:, etc) and iirc i read something about software processing on one of them. I can't just hardcode another device into input_alsa.c, this doesn't work. I merely wanted to know if anyone else is experiencing this...
from libvisual.
Hmm.. I have other issues with the ALSA input plugin though. The most serious one is that It hangs after a while.
from libvisual.
issue seems to be fixed in cxx branch
from libvisual.
Related Issues (20)
- Update lv-tool and examples to use SDL 2 HOT 1
- [0.4.x] Re-integrate or drop zombie plugins (that exist but are not being built) HOT 16
- Pass "double seconds_passed" to the acter rendering function? HOT 5
- MMX implementation of LV::Video's blit_overlay_alphasrc() is broken HOT 5
- Plans on release 0.4.2 (off branch 0.4.x, not master)
- macOS support / need your help with trying 0.4.x out on macOS (branch "0.4.x-macos") HOT 22
- Enable anti-aliasing for actor "lv_gltest"? HOT 6
- [0.4.x] Segfault in function blit_overlay_noalpha (lv_video.c)
- Enhancement of lv_analyzer HOT 6
- [0.4.x] Plugin "gforce": heap-use-after-free in method PixPort::Fade
- [0.4.x] Plugin "corona": heap-buffer-overflow in method Corona::genReflectedWaves HOT 4
- Support PipeWire HOT 4
- Port old GL code in actors to work with OpenGL 3.2+ core profiles HOT 9
- Throw out SIMD versions of memcpy and memset?
- Plugin (dancingparticles) - Signed integer overflows
- Provision Let's Encrypt certificate(s) for LV website
- [0.4.x] Plugin "gforce": severe warnings "no return statement in function returning non-void [-Wreturn-type]"
- [0.4.2] ./configure: 18070: Syntax error: word unexpected (expecting ")") HOT 7
- [0.4.2] [plugins] configure / bad substitution HOT 4
- RFE: port to `sdl2` HOT 4
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 libvisual.