Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Music playing at reduced speed #433

Closed
strangelittlemonkey opened this issue Mar 19, 2014 · 11 comments
Closed

Music playing at reduced speed #433

strangelittlemonkey opened this issue Mar 19, 2014 · 11 comments

Comments

@strangelittlemonkey
Copy link

I can't explain why, I haven't customized anything, but after about 3 days of constant playback, the songs play at what sounds like 10-15% reduced speed or so. You can hear the slowed tempo. This happens on all channels and persists after restart of the client. Version is 2013.09.15.

@codyps
Copy link
Contributor

codyps commented Mar 19, 2014

Are you running on linux? If so, are you using pulseaudio?

This sounds like another pulseaudio or libao issue (search the other issues for solutions, and try restarting pulseaudio if you're using it).

@strangelittlemonkey
Copy link
Author

This is on DragonFlyBSD, using DPorts, which is a patched Ports from FreeBSD. This is not pulseaudio, I don't use pulseaudio.

cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel 82801F High Definition Audio Controller> at memory 0xf0804000 irq 21 kld snd_hda [20071129_0050](1p/1r/1v channels duplex)

@PromyLOPh
Copy link
Owner

The sudden spike in bug reports with similar problems suggests there has
been a change somewhere in pianobar’s audio path which breaks it for
many people. Did you upgrade any packages within that timeframe?

@strangelittlemonkey
Copy link
Author

Pianobar is the last package I installed. I don't know if it's related, but
today it started with the same reduced tempo, then started printing buffer
overflow after each song, but not exiting. It skipped over these songs,
usually around six songs, then started playing a song. Until today I've
never had a single ad or music interruption but today it started playing an
ad too. Would a ktrace help?
On Mar 22, 2014 3:49 AM, "PromyLOPh" notifications@github.com wrote:

The sudden spike in bug reports with similar problems suggests there has
been a change somewhere in pianobar's audio path which breaks it for
many people. Did you upgrade any packages within that timeframe?

Reply to this email directly or view it on GitHubhttps://github.com//issues/433#issuecomment-38348349
.

@PromyLOPh
Copy link
Owner

The ads issue is known, see #415. It happens if you skip too many songs
in a row. Did the ad play at reduced speed too? Can you try other
libao-based music players (mpd has an optional libao backend) and see if
they have the same issue?

@strangelittlemonkey
Copy link
Author

Actually, ironically, the ad played at normal speed. If you know any other
players you want me to try I'll try them to help you isolate the issue.
I'll look at mpd as you mentioned. Anything else?

On Sun, Mar 23, 2014 at 1:27 AM, PromyLOPh notifications@github.com wrote:

The ads issue is known, see #415. It happens if you skip too many songs
in a row. Did the ad play at reduced speed too? Can you try other
libao-based music players (mpd has an optional libao backend) and see if
they have the same issue?

Reply to this email directly or view it on GitHubhttps://github.com//issues/433#issuecomment-38376871
.

Sincerely,

Zachary Crownover
mobile (310) 487-5573

@PromyLOPh
Copy link
Owner

Actually, ironically, the ad played at normal speed.
Sounds like pianobar can’t handle Pandora’s audio files then (see #422).
I just pushed a libav port to a branch with the same name. It’s
experimental and needs libav 9 instead of libfaad/libmad, but if it
works we’ll know the AAC decoding stuff (I assume you’re not subscribed
to Pandora One?) is seriously broken – honestly, everyone who looked at
the code already knew that ;)

If you know any other players you want me to try I'll try them to help
you isolate the issue.
I’m not aware of other players using libao.

@jhpaul
Copy link

jhpaul commented Mar 23, 2014

I was just able to fix this on ubuntu 13.10

edit /etc/libao.conf

change default_driver=alsa to read default_driver=pulse

reboot

@codyps
Copy link
Contributor

codyps commented Mar 24, 2014

@jhpaul Looks like more libao issues when used in combination with pulseaudio's alsa emulation. I wonder if there is an alternate cross platform audio output library, or if I should start patching up libao :(

@strangelittlemonkey I'm very inclined to blame libao making some type of bad assumption about audio output on bsd.

@potterleo1233
Copy link

just passing by but i just had this problem. i found the solution to be in the pianobar config file located in ~/.config/pianobar/config
i commented out the audio_format=mp3 line. hope this helps.
i had tried the libao.conf file changes to no luck.
Now the only problem i have is ads, still unsure as to why these problems started at the same time, it sounds like something pandora changed.

@PromyLOPh
Copy link
Owner

@potterleo1233: This setting is gone since 2012 (see
524abb9).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants