<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4190&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / MPD + ALSA hardware mixer screweyness and negative values]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4190</link>
		<description><![CDATA[The most recent posts in MPD + ALSA hardware mixer screweyness and negative values.]]></description>
		<lastBuildDate>Sat, 13 Mar 2021 12:04:51 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[MPD + ALSA hardware mixer screweyness and negative values]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=28133#p28133</link>
			<description><![CDATA[<p>Granted this is probably an MPD bug, but it&#039;s all crickets in their forum and IRC and as I&#039;m running it on Devuan... Hey, why not?</p><p>To begin:<br />Bog standard Beowulf netinstall + MPD and deps. No bloat, no monitor, just a dumpster-special Pentium 4 SSF desktop, 1GB RAM, and an old Xonar DS I had laying around.</p><p>MPD generally works fine, so long as I use the software mixer or an ALSA softvol plugin. But software volume control over the range I need sounds like arse, and the card in question has a nice hardware mixer I would very much like to use. <br />Like is probably an understatement here TBH, the thing is hooked directly to an old-school dumb-as-rocks 350WPC (real, continuous RMS Watts mind you) power amplifier. That means no volume knob, nada, nothing but a power switch, 2 inputs and 2 outputs. I want that soundcard mixer working.</p><p>A random selection of other CLI media players work just fine with the hardware mixer, as does mopidy&#039;s alsamixer plugin. But it&#039;s mopidy, and that means dog-slow python-hell.</p><p>Here&#039;s a snip from a 0-100% volume ramp with mpc and the corresponding output from amixer:</p><div class="codebox"><pre class="vscroll"><code>volume: 60%   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 232 [81%] [-11.50dB] [on]
  Front Right: Playback 232 [81%] [-11.50dB] [on]
volume: 62%   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 233 [82%] [-11.00dB] [on]
  Front Right: Playback 233 [82%] [-11.00dB] [on]
volume: 62%   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 233 [82%] [-11.00dB] [on]
  Front Right: Playback 233 [82%] [-11.00dB] [on]
volume: 63%   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 234 [82%] [-10.50dB] [on]
  Front Right: Playback 234 [82%] [-10.50dB] [on]
volume: 65%   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 235 [83%] [-10.00dB] [on]
  Front Right: Playback 235 [83%] [-10.00dB] [on]
volume: 65%   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 235 [83%] [-10.00dB] [on]
  Front Right: Playback 235 [83%] [-10.00dB] [on]
volume: n/a   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 2 [-111%] [-126.50dB] [on]
  Front Right: Playback 2 [-111%] [-126.50dB] [on]
volume: 68%   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 237 [85%] [-9.00dB] [on]
  Front Right: Playback 237 [85%] [-9.00dB] [on]
volume: 68%   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 237 [85%] [-9.00dB] [on]
  Front Right: Playback 237 [85%] [-9.00dB] [on]
volume: 69%   repeat: off   random: off   single: off   consume: off
  Front Left: Playback 238 [86%] [-8.50dB] [on]
  Front Right: Playback 238 [86%] [-8.50dB] [on]</code></pre></div><p>And <a href="http://paste.debian.net/1189186/" rel="nofollow">here&#039;s</a> the full run.</p><p>See that glitch in the middle there where 84% takes a random holiday? That&#039;s potentially &quot;I have no windows any more&quot; levels of not-good, and it makes most MPD clients have kittens.</p><p>There&#039;s nothing unusual in my <a href="http://paste.debian.net/1189191/" rel="nofollow">mpd.conf</a>, and nothing weird in my /etc/asound.conf or ~/.asoundrc either, as those files are absent.<br />amixer output looks like <a href="http://paste.debian.net/1189189/" rel="nofollow">this</a>, again nothing odd except perhaps that the &quot;Master&quot; control is multichannel.</p><p>The Debian/Devuan MPD build is so fossilised upstream won&#039;t speak of it, so I went as far as to compile the latest (0.22.6) from source, with identical results.<br />I&#039;m now back with 0.21.5 from the repos, and as the instructions on that one amount to &quot;too old, go bug Debian about it&quot;, here I am.</p><p>Anyone have any ideas that aren&#039;t &quot;Use softvol&quot; or &quot;Use mopidy&quot;?</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sat, 13 Mar 2021 12:04:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=28133#p28133</guid>
		</item>
	</channel>
</rss>
