Search found 964 matches

by max
August 8th, 2019, 5:53 pm
Forum: Other Clients
Topic: mpc output format - escape quotes
Replies: 2
Views: 1372

Re: mpc output format - escape quotes

Can anyone explain how to use # to escape quote chars in a field? Not at all. mpc never quotes its output. The "#" may be used to quote special characters in the format specification. If you want to quote output values, mpc is the wrong tool for the job. Better write a Python two-liner using a MPD ...
by max
August 6th, 2019, 5:09 pm
Forum: Help
Topic: Very low audio from HDMI and no volume control
Replies: 8
Views: 1427

Re: Very low audio from HDMI and no volume control

card 0: PCH [HDA Intel PCH], device 0: CX20641 Analog [CX20641 Analog] card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Analog output is "hw:0,0" because it's "device 0" inside "card 0". HDMI output is "hw:0,3" because it's "device 3" inside "card 0". ALSA is truly hard to configure, but once...
by max
August 6th, 2019, 3:33 pm
Forum: Help
Topic: Very low audio from HDMI and no volume control
Replies: 8
Views: 1427

Re: Very low audio from HDMI and no volume control

So you have two devices: one for analog output (to headphones) and one for HDMI output. Your MPD config uses analog output only; nothing should be on the HDMI output. Stupid question: is the audio volume so low because your laptop's tiny speakers do the output and not your TV? Anyway, I assume Rhyth...
by max
August 6th, 2019, 1:52 pm
Forum: Help
Topic: Very low audio from HDMI and no volume control
Replies: 8
Views: 1427

Re: Very low audio from HDMI and no volume control

Paste the output of "aplay -l".
After that, paste the output of "cat /proc/asound/card0/pcm0p/sub*/[sh]w_params" while MPD plays (being too silent), and again while a different software plays which has "good" volume.
by max
August 6th, 2019, 12:25 pm
Forum: Help
Topic: Very low audio from HDMI and no volume control
Replies: 8
Views: 1427

Re: Very low audio from HDMI and no volume control

Try forcing 16 bit output by adding format "*:16:*" .. to the ALSA output section. This reduces quality by discarding a few bits of precision, but I've seen some DACs misinterpret "unusual" bit depths (i.e. not 16 bit), so this may work around such a DAC bug. Note that you chose to use software volu...
by max
August 2nd, 2019, 6:54 am
Forum: Developers' Corner
Topic: GPIO playback control and read songs from UBS stick
Replies: 2
Views: 1313

Re: GPIO playback control and read songs from UBS stick

If you're writing a Python script, then why are you using mpc and not one of the MPD client libraries for Python? That would save a good amount of overhead. Now about the queue thing vs "just play": unlike mpg321, MPD isn't a "one-shot" player. The idea is that you put all the songs you wish MPD to ...
by max
July 29th, 2019, 4:43 am
Forum: Help
Topic: input_cache
Replies: 1
Views: 768

Re: input_cache

You're looking at the MPD 0.22 documentation, but you're actually using MPD 0.21.
by max
July 23rd, 2019, 9:06 am
Forum: Developers' Corner
Topic: mpd: output to SPI ?
Replies: 5
Views: 1226

Re: mpd: output to SPI ?

Implementing Enable/Disable is optional. If you don't know a reason to implement them, don't. For now, Open/Play/Close are important. Play shall block until at least one frame has been consumed (or until an error occurs). Delay is optional as well; it can be implemented if you know that the next Pla...
by max
July 22nd, 2019, 11:58 am
Forum: Developers' Corner
Topic: mpd: output to SPI ?
Replies: 5
Views: 1226

Re: mpd: output to SPI ?

You should write a new output plugin, implementing the C++ interface "AudioOutput". That interface is documented. If you need more help than the existing documentation, ask.
by max
July 22nd, 2019, 11:55 am
Forum: Help
Topic: Mac OS Audio output
Replies: 4
Views: 935

Re: Mac OS Audio output

I don't see a "device" setting in your config.
by max
July 21st, 2019, 4:48 pm
Forum: Developers' Corner
Topic: mpd: output to SPI ?
Replies: 5
Views: 1226

Re: mpd: output to SPI ?

There are many output plugins, and some of them are pretty complex (e.g. ALSA), and some are simpler but less featureful.
If you need any help, just ask.
by max
July 20th, 2019, 4:02 pm
Forum: Developers' Corner
Topic: Feature request for hardware volume control option
Replies: 1
Views: 770

Re: Feature request for hardware volume control option

What does "alsa is not supported" mean? MPD can control any ALSA mixer, just like the "amixer" program. If amixer can control it, then it's "alsa supported".
by max
July 20th, 2019, 4:01 pm
Forum: Help
Topic: Re: linux newbie, can't seem to setup alsa device properly
Replies: 1
Views: 824

Re: Re: linux newbie, can't seem to setup alsa device properly

I have no idea what you're talking about. Is this post auto-generated by a bot?
by max
July 20th, 2019, 3:58 pm
Forum: Help
Topic: Some basic questions
Replies: 1
Views: 809

Re: Some basic questions

Don't use MPD to stream your music. Install MPD on the machine that has the speakers. If your music is stored on a different machine, use the "satellite" setup as described in the manual,
by max
July 13th, 2019, 10:08 pm
Forum: Help
Topic: ALSA output. Need help with period_time and buffer_time
Replies: 3
Views: 2242

Re: ALSA output. Need help with period_time and buffer_time

As long as your driver fails to properly report those xruns to userspace, there's little we can do about the situation. Maybe you can reduce the number of xruns by using some "magic" numbers for those buffer settings, but it doesn't change the fact that your driver (or some other entity behind MPD) ...
by max
July 12th, 2019, 1:21 pm
Forum: Help
Topic: ALSA output. Need help with period_time and buffer_time
Replies: 3
Views: 2242

Re: ALSA output. Need help with period_time and buffer_time

Your MPD log doesn't show any underruns. This means alsa-lib and your kernel driver disagree on whether underruns happened. This is something I can't help with, because MPD is not involved. MPD has met all its deadlines, and the underruns apparently happen later in the chain. If MPD had missed any d...
by max
July 10th, 2019, 6:21 am
Forum: Help
Topic: Tidal Flac streaming
Replies: 6
Views: 1370

Re: Tidal Flac streaming

Really no, I cannot think of anything, because I don't have the slightest idea how Bubble decides whether to respond with FLAC or with MP3.
by max
July 9th, 2019, 6:29 pm
Forum: Help
Topic: Tidal Flac streaming
Replies: 6
Views: 1370

Re: Tidal Flac streaming

So Bubble sends MP3 to MPD, and FLAC to everybody else. But nobody but Bubble can know why Bubble decides to do this. I have no idea how to help you.
by max
July 4th, 2019, 9:12 am
Forum: Help
Topic: checking bit-perfect playing by log
Replies: 3
Views: 1148

Re: checking bit-perfect playing by log

So, If I want to send file directly without converting, which configuration changes I have to make? Can't. Your sound chip is unable to play floating point, and since all MPD gets from FFmpeg is floating point, you can't configure anything to prevent the conversion to integer samples. At some point...
by max
July 4th, 2019, 6:53 am
Forum: Help
Topic: 44100:f:2 -> what this means?
Replies: 2
Views: 919

Re: 44100:f:2 -> what this means?

44.1 kHz, 32-bit floating point samples, two channels (stereo)