Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 24-Nov-2017 18:18:13

andiy88
Member
Registered: 21-Nov-2017
Posts: 5

Audio not working on raspberry pi Zero W

Hi all,

I was triyng to add an audio in an AR application using the onFound and Lost events of  an AR Marker like in the AR piano example. Everything works fine on my windows development platform, but when I try to export the project to a raspberry pi Zero audio is not playing as expected. With the obvious differences in terms of computing power and delay in marker recognition, everything else is working fine on the Raspberry.
Some useful further details:
The Raspberry is running the latest OS version;
audio reproduction is fine on the Raspberry pi Zero via vlc, browser or omxplayer through hdmi.
Any help is appreciated.

Offline

#2 24-Nov-2017 21:02:22

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Audio not working on raspberry pi Zero W

hello,

what is the audio format you are trying to play ?
Does the alsamixer working correctly ?
you can also try to install pulseaudio just in case

Offline

#3 27-Nov-2017 11:30:01

andiy88
Member
Registered: 21-Nov-2017
Posts: 5

Re: Audio not working on raspberry pi Zero W

Thank you for the reply,
starting from your tips I managed to make it work properly. The file format to play is mp3, I had pulseaudio already installed and it was the default output from alsamixer. I tried removing pulseaudio to start from a clean situation and move forward from that... and that's it, It worked.

Offline

#4 27-Nov-2017 11:31:00

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: Audio not working on raspberry pi Zero W

Great smile

Offline

Board footer

Powered by FluxBB