Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fedora - Tune up your sound with PulseEffects: Speakers

#1
Tune up your sound with PulseEffects: Speakers

<div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/08/tune-up-your-sound-with-pulseeffects-speakers.png" width="1024" height="703" title="" alt="" /></div><div><p>Audio components for your computer don’t always produce the quality of sound you want. For instance your laptop speakers may be a bit “tinny” sounding, or a set of speakers for your desktop may be too boomy for your room. Or if you use a desk or headset microphone, you may find that recordings you make are not as high quality as you’d like. Enter PulseEffects!</p>
<p> <span id="more-31663"></span> </p>
<h2>PulseAudio and Gstreamer</h2>
<p>The <a href="https://www.freedesktop.org/wiki/Software/PulseAudio/">PulseAudio</a> sound server comes with <a href="http://getfedora.org" target="_blank" rel="noreferrer noopener">Fedora Workstation</a> by default. It’s highly flexible and easily modified. PulseAudio can deal with many different inputs and outputs. For instance, it lets you switch between different inputs known as <em>sources</em> (such as microphones, or sound files) or outputs known as <em>sinks</em> (such as speakers or headphones).</p>
<p>By default, PulseAudio manages sound as streams, digitally sampled at a specific <a href="https://www.izotope.com/en/learn/digital-audio-basics-sample-rate-and-bit-depth.html">rate and bit depth</a> with a defined number of channels — two for most stereo streams. It handles different sample rates for you, so you don’t have to know the details of the stream. PulseAudio simply deals with moving sound from one point to another.</p>
<p>The <a href="https://gstreamer.freedesktop.org/">Gstreamer</a> multimedia framework, on the other hand, provides myriad ways to modify audio and video data on their way through a pipeline. Gstreamer comes with plugins that allow it to attach to PulseAudio. This means that you can use Gstreamer to make a pipeline between your inputs and outputs to change audio streams.</p>
<p>PulseEffects manages this process with a nice, graphical front end. It lets you select and order different effects for your sound.</p>
<h2>Installing PulseEffects</h2>
<p>To install PulseEffects, use the <em>Software</em> tool and type <em>pulseeffects</em> to find the package. Fedora carries this software in its official repositories. So if you need to, you can switch the source from the <em>Flatpak</em> version to the <em>Fedora</em> one. Then click <em>Install</em>.</p>
<p>If you’re using a command line, you can use the <em>sudo</em> command with <em>dnf</em> to do the same thing:</p>
<pre class="wp-block-preformatted">$ sudo dnf install pulseeffects</pre>
<p>Start playing some audio. This can come from your <em>Videos</em> or <em>Rhythmbox</em> media player, a website such as YouTube, a music streaming app such as Spotify, or something else. The best source to use is a full-fidelity digital audio source, like a CD or a FLAC file. (MP3 and online digital streams cut out some frequency information to reduce data size.) Ideally, it should be music that you are used to listening to in many places, and know well, like an album or playlist. Put it on repeat so you can use it while you tune your sound.</p>
<p>Then launch the program using either the <em>Software</em> tool’s <em>Launch</em> control, or your desktop’s application launcher. On Fedora Workstation, go to the <em>Activities</em> hotspot, use the <em>Show Applications</em> control to locate <em>PulseEffects</em> in the list, and click to launch. You should see your application in the list of active sound streams, with color bars that show an average frequency response:</p>
<figure class="wp-block-image size-large"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/08/tune-up-your-sound-with-pulseeffects-speakers.png" alt="" class="wp-image-31665" /><figcaption>PulseEffects initial screen with one sound stream from Videos</figcaption></figure>
<p>Notice all the sound modules available on the left. None are running by default when you first start PulseEffects. Any enabled modules are applied to your sound in order from top to bottom. You can use the up/down controls next to the module names to alter the order.</p>
<h2>What does “better” mean?</h2>
<p>Before we get started, realize that what constitutes “better” will usually be different based on many factors:</p>
<ul>
<li>Specific hardware like the model of speakers or microphone</li>
<li>The environment the sound device is in (your room)</li>
<li>What your ears prefer</li>
</ul>
<p>There is no magic cure for bad sound that works universally everywhere. So the examples you’ll see are based on some common problems. But you will need to use your ears to determine what’s best for your hardware, in the place you’re using it.</p>
<h2>Making desktop speakers sound better</h2>
<p>Often desktop speaker sets consist of a subwoofer and small satellite speakers. These tend to be both excessively “boomy,” meaning too much very low frequency sound, and “honky” or “boxy,” meaning too much of some middle (or “mid”Wink frequencies. To fix frequencies that are over- or under-represented, we can use an <em>equalizer</em>.</p>
<p>By default, all the effects are off in PulseEffects. Since you want to modify a sound output — your speakers — make sure the “speaker” icon at the upper left is selected. Locate the <em>Equalizer</em> control in PulseEffects and select it. Select the toggle switch at the top of the equalizer controls to turn it on. </p>
<p>The default equalizer appears as a 30-band graphic EQ. Older readers might be familiar with seeing physical equipment like this. Each band alters not just that specific frequency, but a fairly narrow band of frequencies around it. Think of it like a “dip” or “bump” in the frequency graph, depending on whether you lower or raise the slider.</p>
<figure class="wp-block-image size-large"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/08/tune-up-your-sound-with-pulseeffects-speakers-1.png" alt="" class="wp-image-31666" /><figcaption>PulseEffects default EQ, with a roll-off of extreme low frequencies and some reduction of unpleasant “boxiness” around 450Hz</figcaption></figure>
<p>If you’re not sure how to alter frequencies to get better sound, click the “tools” icon under the on/off toggle. Under <em>Presets</em> you can select different EQ settings to find something closest to what you like. Then you can modify those settings as you like. If things get out of control, under <em>Settings</em> use the <em>Flat response</em> control to zero out all the EQ.</p>
<p>Using the “tools” icon, you can also choose a different number of bands to simplify your choices. Using the “gear” icon above each band, you can choose different types of EQ, as well as <a href="https://www.presonus.com/learn/technical-articles/What-Is-a-Parametric-Eq">the width and Q</a>. Additional filter types like a <em>low/high pass</em> or <em>low/high shelf</em> are also available. Feel free to play with the EQ to see how it works, <strong>but be careful</strong> not to increase EQ levels too high if your speakers are above a moderate volume, because you can damage speakers that way.</p>
<h2>Tips from a mix engineer</h2>
<p>These guidelines may help you find the optimal sound for your situation.</p>
<ul>
<li>It’s almost always better to reduce a problem frequency than to boost other things. If you boost too much, your music can start to distort.</li>
<li>To fix excessive boominess, apply a high pass filter somewhere between 30 and 50 Hz. You may also want to try a bell EQ reduction somewhere between 40 and 100 Hz.</li>
<li>If you want to fix a boxy sound (reminds you of a cardboard box), try a bell EQ to reduce some frequencies between 300 and 500 Hz.</li>
<li>To fix a honky or nasal sound, try reducing some frequencies between 650 and 900 Hz.</li>
<li>If guitar/keyboard solos or vocals seem a bit muffled, try a gentle boost centered somewhere between 1 and 2 kHz to make them a little more present.</li>
<li>If your speakers sound overly tinny, apply a high shelf reduction starting somewhere between 4 and 8 kHz — start at a high frequency and dial back to where it’s helpful. To fix a dull sound, apply a high shelf boost using the same approach.</li>
</ul>
<p>Remember that a little EQ goes a long way. Try keeping your bell boosts or cuts between +4 and -4 on the sliders. The goal is not to make the music sound extreme, but to make slight corrections. Otherwise your ears will get tired more quickly, or in extreme cases you may even get headaches.</p>
<p>Watch the <em>Input</em> and <em>Output</em> meters at the bottom of every module. If you see a lot of green on one or both, the sound module is overloading at that stage. You’ll often find MP3 files, especially of modern music, have this issue. You may also see “warning” icons flashing over the check mark on enabled modules.</p>
<p>One way to cure this is to use the <em>Limiter</em> module at the beginning of the chain, and simply turn the input gain on the chain down about -3dB, leaving the limit at 0dB. This simply lowers the overall signal level without any attenuation. Then you can run other modules without worrying quite as much about distortion or overload in later stages.</p>
<h2>Making laptop speakers sound better</h2>
<p>While the above guidelines might be good for bigger speakers, laptops have the additional burden of being very small. Typically they lack bass response, because more and/or larger speakers, and more powerful magnets, are needed to produce those frequencies well.</p>
<p>However, you can correct this using the <em>Bass Enhancer</em> module in PulseEffects. You may want to move this module downward in the stack after your EQ for best results. Rather than turning the amount up excessively, try a modest change of +3 or +4dB, and then move the <em>Scope</em> frequency around until you find where you start to notice good results. Don’t be tempted to amplify too much because again, if it’s too high you could start to damage your laptop speakers over time.</p>
<h2>Storing your work</h2>
<p>First, set PulseEffects to run whenever you login. Use the “hamburger” tool at the top right to open up the <em>General</em> settings. Set <em>Start Service at Login</em> to enabled, and also enable the option to <em>Process All Outputs</em>. This does not mean all devices will get the same settings. Instead, it means that PulseEffects will run a chain for any sound output device you have connected. You can apply different chains to different devices.</p>
<p>Next, select the <em>Presets</em> button, and in the text box, type a name for your preset. One recommendation is to use the name of the device for which you’ve created a chain. Then click the “+” icon to add the preset. If you make changes, you can either use the “save” icon to save the changes to the selected preset, or click <em>Apply</em> to throw them away and re-apply the saved preset.</p>
<p>Finally, you can click the “cycle” icon if you want the preset to be applied every time the currently used sound output is detected. This is almost always a good idea. If you want to set up different presets for other outputs, first connect the output. Then make a new preset as described above, and select that to be auto-applied.</p>
<p>One final note: When you close the PulseEffects application, your active chain of effects does not stop. It will stay running unless you reset or stop the service. PulseEffects will consume a few percent of CPU time (depending on processor speed). On all but the oldest systems the load should not be noticeable. However, if you are sensitive to power use such as on a laptop, you may want to stop the service using this command:</p>
<pre class="wp-block-preformatted">$ pulseeffects -q</pre>
<h2>Conclusion</h2>
<p>Remember that every environment and person’s hearing is different, so beware of the overly dogmatic. Finally, you can’t make terrible speakers into great ones. But you can usually make them sound not so terrible — and if you have decent speakers, you usually <em>can</em> make them sound quite good!</p>
<p>The PulseEffects author also has both a <a href="https://liberapay.com/wwmm/donate">LiberaPay donation site</a> and a <a href="https://www.patreon.com/wellingtonwallace?fan_landing=true">Patreon account</a>, so if you find the software useful, you might want to consider contributing.</p>
<p>In the next installment, you’ll learn how to set up better sound on a desktop or headset microphone, to improve your teleconference meetings or make better audio or video spoken content. Until then, enjoy your new sound possibilities.</p>
<hr class="wp-block-separator" />
<p><em>Photo by <a href="https://unsplash.com/@pinjasaur?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Paul Esch-Laurent</a> on <a href="https://unsplash.com/s/photos/speakers?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></em>.</p>
</div>


https://www.sickgaming.net/blog/2020/08/...-speakers/
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016