Open viac92 opened 2 months ago
I managed to compile the docker image adding gcc and portaudio for compatibility with simpleaudio.
So my Dockerfile is:
FROM python:3.9-slim
# Installa le dipendenze necessarie
RUN apt-get update && apt-get install -y \
gcc \
portaudio19-dev
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "server-script.py"]
I used simpleaudio because I thought it would be a simple, low dependency, low hassle solution. Looks like I was wrong. Technically you don’t need simpleaudio unless you’re going to be playing back the audio received from the Frame. It’s only used by the helper function that plays audio.
Does anyone with more Python audio experience have a recommendation for a different package?
Does anyone with more Python audio experience have a recommendation for a different package?
hi, how about playsound
and pyaudio
?
Hi!
I'm trying to run a container with the SDK installed on but every time I tried to achieve this I get this error:
This is my Dockerfile:
I also see that is a common issue for this package: https://github.com/hamiltron/py-simple-audio/issues/75 https://github.com/hamiltron/py-simple-audio/issues/70 https://github.com/hamiltron/py-simple-audio/issues/62
maybe we should use a more stable and supported package for audio.
In the mean time any suggestions about this error?
Thank you!