GithubHelp home page GithubHelp logo

Comments (11)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
I suspect this is an alsa audio output problem as it runs fine on pi for others 
for long periods of time.

Try using -o hw:CARD=XXXX as the output device and disabling mmap using -a :::0

v1.8 is work in progress (no date in changelog - won't be available as a binary 
until it is complete)

Original comment by [email protected] on 17 Jan 2015 at 9:58

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
Thank you for your quick answer.

Unfortunately changing the parameters did not help.

Please listen to distorted2.mp3. The noise appeared after playing a web stream 
for about 2 minutes. After some seconds (about 00:05) everything goes back to 
normal.

At the moment I am running out of ideas how to solve this. I tried changing USB 
sound card, the RPi itself, USB Hub etc. Every piece of software should be up 
to date.

Is there any other thing I could try?

Original comment by [email protected] on 19 Jan 2015 at 6:55

Attachments:

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
Try changing codec - does it also appear on flacs?  If it is mp3 specific, does 
it appear with mad as well as mpg123 codecs?

Original comment by [email protected] on 19 Jan 2015 at 7:39

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
Have not tried with flacs yet, but changed mp3 codec to mpg instead of mad.

Now there seems to be an encoding problem:
[format.c:269] error: Unable to set up output format! Constraints: 44100, 22050 
or 11025Hz.
Same error appears with 2 web streams and local MP3 files. According to VLC 
player, they are all at 44100 Hz.

Current parameters are:
/usr/bin/squeezelite-armv6hf -o hw:CARD=forRoom1 -n Room1 -m 00:00:00:00:00:11 
-s 127.0.0.1 -a :::0 -e mad -f /var/log/squeezelite.log -d all=info

I attached the log file, please have a look.

Original comment by [email protected] on 20 Jan 2015 at 10:32

Attachments:

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
There is no format.c in squeezelite - this must be coming from the libmpg123?

Suggest trying flac files to prove to yourself that the player and output 
device works, then try to narrow down on how mp3s are decode.

Original comment by [email protected] on 20 Jan 2015 at 7:07

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
According to http://fossies.org/dox/mpg123-1.21.0/format_8c_source.html, this 
seems to be a libmpg123 file.
Unfortunately, I'm not a C expert, so I could not really get an information 
what causes this error.
If I play an MP3 file via command line "mpg123 test.mp3", it starts without 
problems.

Could there maybe be any incorrect parameter etc. in the squeezelite mpg123 
handler?
Or could it have something to do with alsa-oss? (is also installed anyway)

At the moment I have been playing a list of flac files for some hours, they run 
fine yet. But to be sure if libmad is the cause, I have to run it for some more 
days, and it would be great to get libmpg123 working.


Original comment by [email protected] on 20 Jan 2015 at 7:52

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
Is that file mono or multichannel?  Can you post it or part of it?

Original comment by [email protected] on 20 Jan 2015 at 8:36

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
This is one of the files I tested, it's a common stereo MP3 file.

Original comment by [email protected] on 21 Jan 2015 at 1:26

Attachments:

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
Update: Today I heard the same noise also with flac files...

Original comment by [email protected] on 21 Jan 2015 at 3:28

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
Sorry don't know what is the output device - there are many people using 
squeezelite on a Pi who don't hear this so there is something specific to your 
application.

Original comment by [email protected] on 21 Jan 2015 at 9:27

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 1, 2024
The output devices I tested until now were Sound Blaster Play v1 and v2, and a 
noname model.
Today I ordered an Asus Xonar U3 and another USB hub, hopefully it will run 
better with these parts.

However, could you help me with the libmpg123 problem?
If you need more information regarding this, please let me know.

Original comment by [email protected] on 22 Jan 2015 at 8:06

from squeezelite.

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.