Skip to content

Commit

Permalink
new post: linux audio guide
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnt committed Jun 15, 2024
1 parent 1a878a6 commit 9d1df7f
Show file tree
Hide file tree
Showing 9 changed files with 202 additions and 11 deletions.
22 changes: 11 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ <h1 class="title"><a href="/posts/inicios/">inici(os)</a></h1>
<a class="readmore" href="/posts/inicios/">Read more ⟶</a>
</section>

<section class="list-item">
<h1 class="title"><a href="/posts/linux-audio-guide/">Linux Audio Guide</a></h1>
<time>May 3, 2024</time>
<br><div class="description">

Simplifying Linux Audio Quality

</div>
<a class="readmore" href="/posts/linux-audio-guide/">Read more ⟶</a>
</section>

<section class="list-item">
<h1 class="title"><a href="/posts/trees/">Trees</a></h1>
<time>Feb 27, 2024</time>
Expand Down Expand Up @@ -159,17 +170,6 @@ <h1 class="title"><a href="/posts/cloud-native/">Cloud Native</a></h1>
<a class="readmore" href="/posts/cloud-native/">Read more ⟶</a>
</section>

<section class="list-item">
<h1 class="title"><a href="/posts/vimwiki/">Take Notes in VIM</a></h1>
<time>Jan 28, 2022</time>
<br><div class="description">

How to use Vimwiki to take notes

</div>
<a class="readmore" href="/posts/vimwiki/">Read more ⟶</a>
</section>



<ul class="pagination">
Expand Down
7 changes: 7 additions & 0 deletions index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
<guid>https://jpnt.github.io/posts/inicios/</guid>
<description>Introduction: The Problem The growing complexity and size of modern software is a significant issue, which I have discussed previously here.&#xA;Today, software tends to be bloated, with enormous and complex codebases that can consist of tens of millions of lines of code and intricate dependency trees, often just to perform simple tasks.&#xA;It wasn&amp;rsquo;t always like this. In the past, when computers had limited processing power, developers had less freedom and were compelled to solve problems in more efficient ways.</description>
</item>
<item>
<title>Linux Audio Guide</title>
<link>https://jpnt.github.io/posts/linux-audio-guide/</link>
<pubDate>Fri, 03 May 2024 00:30:28 +0100</pubDate>
<guid>https://jpnt.github.io/posts/linux-audio-guide/</guid>
<description>Linux Audio Guide Compared to other OSes, Linux can leave much to be desired when it comes to audio quality, because most of the time Linux just uses generic open-source drivers to handle audio, which may not be optimized for every device. However with a few tweaks, it is possible to significantly improve the sound quality.&#xA;PipeWire vs PulseAudio PipeWire aims to replace both PulseAudio and JACK by providing a unified solution for audio and video handling.</description>
</item>
<item>
<title>Trees</title>
<link>https://jpnt.github.io/posts/trees/</link>
Expand Down
11 changes: 11 additions & 0 deletions page/2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@



<section class="list-item">
<h1 class="title"><a href="/posts/vimwiki/">Take Notes in VIM</a></h1>
<time>Jan 28, 2022</time>
<br><div class="description">

How to use Vimwiki to take notes

</div>
<a class="readmore" href="/posts/vimwiki/">Read more ⟶</a>
</section>

<section class="list-item">
<h1 class="title"><a href="/posts/ssh-config/">SSH Configuration</a></h1>
<time>Jan 28, 2022</time>
Expand Down
2 changes: 2 additions & 0 deletions posts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ <h1 class="page-title">All articles</h1>

<ul class="posts"><li class="post">
<a href="/posts/inicios/">inici(os)</a> <span class="meta">Jun 2, 2024</span>
</li><li class="post">
<a href="/posts/linux-audio-guide/">Linux Audio Guide</a> <span class="meta">May 3, 2024</span>
</li><li class="post">
<a href="/posts/trees/">Trees</a> <span class="meta">Feb 27, 2024</span>
</li><li class="post">
Expand Down
7 changes: 7 additions & 0 deletions posts/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
<guid>https://jpnt.github.io/posts/inicios/</guid>
<description>Introduction: The Problem The growing complexity and size of modern software is a significant issue, which I have discussed previously here.&#xA;Today, software tends to be bloated, with enormous and complex codebases that can consist of tens of millions of lines of code and intricate dependency trees, often just to perform simple tasks.&#xA;It wasn&amp;rsquo;t always like this. In the past, when computers had limited processing power, developers had less freedom and were compelled to solve problems in more efficient ways.</description>
</item>
<item>
<title>Linux Audio Guide</title>
<link>https://jpnt.github.io/posts/linux-audio-guide/</link>
<pubDate>Fri, 03 May 2024 00:30:28 +0100</pubDate>
<guid>https://jpnt.github.io/posts/linux-audio-guide/</guid>
<description>Linux Audio Guide Compared to other OSes, Linux can leave much to be desired when it comes to audio quality, because most of the time Linux just uses generic open-source drivers to handle audio, which may not be optimized for every device. However with a few tweaks, it is possible to significantly improve the sound quality.&#xA;PipeWire vs PulseAudio PipeWire aims to replace both PulseAudio and JACK by providing a unified solution for audio and video handling.</description>
</item>
<item>
<title>Trees</title>
<link>https://jpnt.github.io/posts/trees/</link>
Expand Down
152 changes: 152 additions & 0 deletions posts/linux-audio-guide/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
<!DOCTYPE html>
<html><head lang="en">
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Linux Audio Guide - jpnt website</title><meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Simplifying Linux Audio Quality" />
<meta property="og:image" content=""/>
<meta property="og:url" content="https://jpnt.github.io/posts/linux-audio-guide/">
<meta property="og:site_name" content="jpnt website">
<meta property="og:title" content="Linux Audio Guide">
<meta property="og:description" content="Simplifying Linux Audio Quality">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="article">
<meta property="article:section" content="posts">
<meta property="article:published_time" content="2024-05-03T00:30:28+01:00">
<meta property="article:modified_time" content="2024-05-03T00:30:28+01:00">
<meta property="article:tag" content="Os">

<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Linux Audio Guide">
<meta name="twitter:description" content="Simplifying Linux Audio Quality">
<script src="https://jpnt.github.io/js/feather.min.js"></script>


<link href="https://jpnt.github.io/css/fonts.2c2227b81b1970a03e760aa2e6121cd01f87c88586803cbb282aa224720a765f.css" rel="stylesheet">



<link rel="stylesheet" type="text/css" media="screen" href="https://jpnt.github.io/css/main.ac08a4c9714baa859217f92f051deb58df2938ec352b506df655005dcaf98cc0.css" />
<link id="darkModeStyle" rel="stylesheet" type="text/css" href="https://jpnt.github.io/css/dark.726cd11ca6eb7c4f7d48eb420354f814e5c1b94281aaf8fd0511c1319f7f78a4.css" />









</head>
<body>
<div class="content"><header>
<div class="main">
<a href="https://jpnt.github.io/">jpnt website</a>
</div>
<nav>

<a href="/">~/</a>

<a href="/posts">posts</a>

<a href="/about">about</a>

<a href="/tags">tags</a>


</nav>
</header>

<main>
<article>
<div class="title">
<h1 class="title">Linux Audio Guide</h1>
<div class="meta">Posted on May 3, 2024</div>
</div>


<section class="body">
<h1 id="linux-audio-guide">Linux Audio Guide</h1>
<p>Compared to other OSes, Linux can leave much to be desired when it comes to
audio quality, because most of the time Linux just uses generic open-source
drivers to handle audio, which may not be optimized for every device. However
with a few tweaks, it is possible to significantly improve the sound quality.</p>
<h2 id="pipewire-vs-pulseaudio">PipeWire vs PulseAudio</h2>
<p>PipeWire aims to replace both PulseAudio and JACK by
providing a unified solution for audio and video handling.</p>
<p>It provides a handful of benefits such as:</p>
<ol>
<li>Low-latency audio</li>
<li>Modular architecture</li>
<li>JACK compatibility</li>
<li>Simplified setup</li>
<li>Bluetooth audio support</li>
</ol>
<p>Therefore, if you want the best possible experience, remove PulseAudio and
install PipeWire.</p>
<h2 id="pipewire-prerequisites">PipeWire prerequisites</h2>
<p>PipeWire requires two things to work properly:</p>
<ol>
<li>D-Bus user session bus</li>
</ol>
<ul>
<li>for inter-process communication and session management</li>
</ul>
<ol start="2">
<li>XDG_RUNTIME_DIR environment variable</li>
</ol>
<ul>
<li>for creating a runtime directory to store temporary files and session-specific data</li>
</ul>
<p>If your DE/WM/Wayland compositor is not configured to provide this, you have to
run a dbus session alongside it.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span># .xinitrc
</span></span><span style="display:flex;"><span>exec dbus-launch --exit-with-session spectrwm
</span></span></code></pre></div><p>To automatically set <code>XDG_RUNTIME_DIR</code> install <code>(e)logind</code> (already comes with
systemd distros) or <code>turnstile</code>. If not using (e)logind, user must be in <code>audio</code>
and <code>video</code> group.</p>
<p>For more info on turnstile:</p>
<p><a href="https://docs.voidlinux.org/config/session-management.html#turnstile">https://docs.voidlinux.org/config/session-management.html#turnstile</a></p>
<h2 id="pipewire-setup">PipeWire setup</h2>
<p>Install <code>pipewire</code> and a PipeWire session manager <code>wireplumber</code>.</p>
<h2 id="resources">Resources</h2>
<p><a href="https://wiki.gentoo.org/wiki/PipeWire">https://wiki.gentoo.org/wiki/PipeWire</a>
<a href="https://docs.voidlinux.org/config/media/pipewire.html">https://docs.voidlinux.org/config/media/pipewire.html</a>
<a href="https://wiki.archlinux.org/title/PipeWire">https://wiki.archlinux.org/title/PipeWire</a>
<a href="https://pipewire.org/">https://pipewire.org/</a></p>

</section>

<div class="post-tags">


<nav class="nav tags">
<ul class="tags">

<li><a href="/tags/os">os</a></li>

</ul>
</nav>


</div>
</article>
</main>
<footer>
<div style="display:flex"><a class="soc" href="https://github.com/jpnt" rel="me" title="GitHub"><i data-feather="github"></i></a>
<a class="border"></a><a class="soc" href="https://jpnt.github.io/index.xml" rel="me" title="RSS Feed"><i data-feather="rss"></i></a>
<a class="border"></a></div>
<div class="footer-info">
2024 © João Pinto | <a
href="https://github.com/athul/archie">Archie Theme</a> | Built with <a href="https://gohugo.io">Hugo</a>
</div>
</footer>





<script>
feather.replace()
</script></div>
</body>
</html>
3 changes: 3 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
</url><url>
<loc>https://jpnt.github.io/tags/</loc>
<lastmod>2024-06-02T00:00:00+00:00</lastmod>
</url><url>
<loc>https://jpnt.github.io/posts/linux-audio-guide/</loc>
<lastmod>2024-05-03T00:30:28+01:00</lastmod>
</url><url>
<loc>https://jpnt.github.io/tags/dsa/</loc>
<lastmod>2024-02-27T00:00:00+00:00</lastmod>
Expand Down
2 changes: 2 additions & 0 deletions tags/os/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ <h1>Entries tagged - "os"</h1>

<ul class="posts"><li class="post">
<a href="/posts/inicios/">inici(os)</a> <span class="meta">Jun 2, 2024</span>
</li><li class="post">
<a href="/posts/linux-audio-guide/">Linux Audio Guide</a> <span class="meta">May 3, 2024</span>
</li><li class="post">
<a href="/posts/tweaking-tlp/">Tweaking TLP</a> <span class="meta">Feb 25, 2024</span>
</li><li class="post">
Expand Down
7 changes: 7 additions & 0 deletions tags/os/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
<guid>https://jpnt.github.io/posts/inicios/</guid>
<description>Introduction: The Problem The growing complexity and size of modern software is a significant issue, which I have discussed previously here.&#xA;Today, software tends to be bloated, with enormous and complex codebases that can consist of tens of millions of lines of code and intricate dependency trees, often just to perform simple tasks.&#xA;It wasn&amp;rsquo;t always like this. In the past, when computers had limited processing power, developers had less freedom and were compelled to solve problems in more efficient ways.</description>
</item>
<item>
<title>Linux Audio Guide</title>
<link>https://jpnt.github.io/posts/linux-audio-guide/</link>
<pubDate>Fri, 03 May 2024 00:30:28 +0100</pubDate>
<guid>https://jpnt.github.io/posts/linux-audio-guide/</guid>
<description>Linux Audio Guide Compared to other OSes, Linux can leave much to be desired when it comes to audio quality, because most of the time Linux just uses generic open-source drivers to handle audio, which may not be optimized for every device. However with a few tweaks, it is possible to significantly improve the sound quality.&#xA;PipeWire vs PulseAudio PipeWire aims to replace both PulseAudio and JACK by providing a unified solution for audio and video handling.</description>
</item>
<item>
<title>Tweaking TLP</title>
<link>https://jpnt.github.io/posts/tweaking-tlp/</link>
Expand Down

0 comments on commit 9d1df7f

Please sign in to comment.