Git Product home page Git Product logo

Comments (3)

jgarff avatar jgarff commented on May 17, 2024

That's correct. The Pi only has a single PWM hardware module. The audio
device uses the PWM, as does this library. If you need audio, you'll
probably want to use a USB audio device instead.

On Sat, Nov 28, 2015 at 2:20 PM skiniry [email protected] wrote:

So I've encountered a strange issue with my lights while using the pyaudio
module. Using this module in any script on the pi seems to cause the lights
to behave erratically. Running a script with just:

import pyaudio
p = pyaudio.PyAudio()

and then running the strandtest.py will cause the lights to blink rapidly
on and off in a series of random colours. This persists until the pi is
rebooted.


Reply to this email directly or view it on GitHub
#47.

from rpi_ws281x.

skiniry avatar skiniry commented on May 17, 2024

Will do, Thanks.

from rpi_ws281x.

doudz avatar doudz commented on May 17, 2024

I know this issue is closed but is there a way to use PCM peripheral instead of PWM to avoid audio conflict ?
As I understand ServoBlaster does it so controlling servo is possible with audio output.
https://github.com/richardghirst/PiBits/tree/master/ServoBlaster

from rpi_ws281x.

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.