1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>How to play music in the CLI with an equalizer - Archive - MayVaneDay Studios</title>
<link href="../style.css" rel="stylesheet" type="text/css" media="all">
<meta name="author" content="Vane Vander">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body class="mayvaneday">
<article>
<div class="box">
<p><h1>How to play music in the CLI with an equalizer</h1></p>
<p>published: 2020-04-10</p>
</div>
<hr>
<div class="box">
<ol type="1">
<li>Install VLC.</li>
</ol>
<p><code>sudo apt install vlc</code></p>
<ol start="2" type="1">
<li>Open VLC and drag some music in.</li>
<li>While playing some music, open the Tools &gt; Effects and Filters menu. Play around with the presets until you find one that sounds good.</li>
<li>Write down the name of the preset you used and then close VLC.</li>
<li>In a terminal, <code>cd</code> to where the music you want to play is.</li>
<li>In that terminal, execute this command:</li>
</ol>
<p><code>cvlc --equalizer-preset=INSERT_PRESET_NAME_HERE -I ncurses *.flac</code></p>
<p><code>INSERT_PRESET_NAME_HERE</code> should be in all lowercase. For example, the “Headphones” preset (which is what I use) would be <code>--equalizer-preset=headphones</code>.</p>
<p>The full list of valid possibilities is:
<ul>
<li>flat</li>
<li>classical</li>
<li>club</li>
<li>dance</li>
<li>fullbass</li>
<li>fullbasstreble</li>
<li>fulltreble</li>
<li>headphones</li>
<li>largehall</li>
<li>live</li>
<li>party</li>
<li>pop</li>
<li>reggae</li>
<li>rock</li>
<li>ska</li>
<li>soft</li>
<li>softrock</li>
<li>techno</li>
</ul>
<p>If your files are MP3 or some other format, replace the <code>flac</code> in <code>*.flac</code> with the actual file type.</p>
<ol start="7" type="1">
<li>Press the “h” key to open the help menu, which will show you the player controls.</li>
</ol>
</div>
<hr>
<div class="box">
<p align=right>CC BY-NC-SA 4.0 &copy; Vane Vander</p>
</div>
</article>
</body>
</html>