You are not logged in.
For the past few weeks or so, when I change tracks with my multimedia keys (which are mapped to run 'mpc next', etc), the first half-second to full second of the next track is cut off. I haven't changed any configuration files, and my system's up to date. I have no idea what I can do to get things playing the way I want them to. Optimally, I'd like a half-second to full-second pause <i>between</i> tracks instead of cutting off the first little part of a track. Any ideas out there?
EDIT: Forgot to include a descriptive topic title. Those are important.
Last edited by xelados (2008-05-05 22:56:57)
Offline
Hi, I don't think i have your problem (or I just unobservable for me). But you can try to set some non zero value on the
buffer_before_play "0%"
line in /etc/mpd.conf
Offline
I tried that and restarted mpd. The problem still wasn't fixed... Could it be a problem in alsa?
Offline
I would try playing your files in an alternate player before assuming the problem is with alsa. What format are your music files in?
Offline
Does this also happen if you use
mpc next
from the command line? If so, posting your mpd.conf would help.
Last edited by japetto (2008-05-08 20:51:38)
Offline
japetto: Yes, it does that even in the command line. I don't seem to have an mpc.conf file, however. My mpd.conf is simply default settings with the directories changed to suit my setup.
Agent69: My files are all mp3 and ogg. This issue occurs with both types of files in mpd.
Offline
Oops sorry, I meant mpd.conf.
Offline
http://rafb.net/p/p1r75J96.html
There's my mpd.conf
Offline
Well I would suggest maybe changing the audio output in mpd.conf to a specific audio output and see if the problem is related to a specific output type and/or looking for help on #mpd on irc.freenode.net or using the MPD forums, http://www.musicpd.org/forum/.
Offline
Oh and have you checked the MPD log file?
Offline
japetto: The log file just contains adding/removal of tracks from the playlist.
Offline
I don't know if you fixed it or not, but defining ALSA as my output fixed it for me. I just uncommented the first output example in mpd.conf.
Offline
I'm having the same problem, and unfortunately, uncommenting the alsa section in mpd.conf didnt fix the problem. It seems to happen when I cycle through songs, not when it defaultly switches to the next song
Offline
Sorry to shamelessly bump my own post, but I feel like I've tried everything to get this working, and I'm still having the problem
Offline
I've found this to happen throughout ALSA itself.. speaker-test did it, mplayer does it, mpd does it... I don't understand what's causing the problem.
Offline
I solved my problem finally. It is an alsa issue, I also tested it with speaker-test, mplayer, etc. What solved it for me was setting up my dmix correctly (there's one tailored for maudio revolution 5.1 that i found while searching around) and now it works great!
Offline
heleos: Could you link to the page that helped you?
Offline
I believe I used the .asoundrc file from the alsa wiki for my card:
Offline
My card wasn't in that wiki page's list..
This is what 'lspci' outputs for my card:
nVidia Corporation CK804 AC'97 Audio Controller
And alsamixer itself:
Card: NVidia CK804
Chip: Realtek ALC850 rev 0
I searched the wiki and still can't seem to find a configuration that would fix this issue...
Last edited by xelados (2008-06-02 14:29:46)
Offline
I hate to double post, but I still haven't found any fix for this issue. Has anyone else had a similar problem?
Offline
A triple post, but still not much luck. I found a command on an ALSA wiki that gets rid of this for mplayer, but MPD (and aplay) still cut off the first half-second. Here's the command I used for mplayer:
mplayer -ao alsa:device=hw=0.0 -ac hwdts,hwac3, music/Cave\ Story/On\ To\ Grasstown.mp3
The above resulted in no skipping. I tried opening the same file with 'gmplayer' without options, and it worked identically. What are "hwdts" and "hwac3"? Could they be the trick to figuring this out?
Edit: Found a debug script. Here's its output: http://rafb.net/p/Ljp3ZS21.html
Last edited by xelados (2008-07-26 14:44:51)
Offline