Git Product home page Git Product logo

Comments (2)

n0xa avatar n0xa commented on June 10, 2024

Here's the asound.conf that setup.sh built for me:

pcm.!default {
type plug
slave.pcm {
type meter
slave.pcm "softvol"
scopes.0 pivumeter
}
}

ctl.!default {
type hw
card 0
}

pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave.pcm 'hw:0,0'
slave {
period_time 0
period_size 1024
buffer_size 8192
}
bindings {
0 0
1 1
}
}

ctl.dmixer {
type hw
card 0
}

pcm.softvol {
type softvol
slave.pcm "dmixer"
control {
name "PCM"
card 0
}
}

pcm_scope.pivumeter {
type pivumeter
decay_ms 500
peak_ms 400
brightness 128
output_device blinkt
}

pcm_scope_type.pivumeter {
lib /usr/local/lib/libpivumeter.so
}

pcm.pivumeter {
type meter
slave.pcm 'hw:0,0'
scopes.0 pivumeter
}

pcm.dsp0 pivumeter

from pivumeter.

Gadgetoid avatar Gadgetoid commented on June 10, 2024

I believe this is related to: pimoroni/speaker-phat#13 but I'm not sure.

Trying without the dmixer might work, I think you need to change softvol to type plug and use slave.pcm "hw:0,0"

from pivumeter.

Related Issues (19)

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.