Git Product home page Git Product logo

Comments (8)

kaixiong avatar kaixiong commented on May 26, 2024

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.

rigid avatar rigid commented on May 26, 2024

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.

kaixiong avatar kaixiong commented on May 26, 2024

PulseAudio works for me, but I have to use pavucontrol to be able to redirect and capture output audio streams.

from libvisual.

rigid avatar rigid commented on May 26, 2024

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.

kaixiong avatar kaixiong commented on May 26, 2024

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.

rigid avatar rigid commented on May 26, 2024

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.

kaixiong avatar kaixiong commented on May 26, 2024

Hmm.. I have other issues with the ALSA input plugin though. The most serious one is that It hangs after a while.

from libvisual.

rigid avatar rigid commented on May 26, 2024

issue seems to be fixed in cxx branch

from libvisual.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.