<h4 id="update-to-hpr-3507">Update to HPR 3507</h4>
<p><a href="https://hackerpublicradio.org/eps.php?id=3507">hpr3507 :: USB Turntable fix and sound journey</a>  </p>
<pre><code>record_capture_wav.sh
#!/bin/bash

echo &quot;Record name?&quot;
read record
echo &quot;Which side is this?&quot;
read side

arecord --device=&#39;hw:CARD=CODEC,DEV=0&#39; --rate=96000 --channels=2 --vumeter=stereo --duration=1500 --format=dat --file-type wav $record&quot;_Side_&quot;$side.wav
</code></pre>
<pre><code>record_capture_flac.sh
#!/bin/bash

 echo &quot;Record name&quot;
 read record
 echo &quot;Which side is this?&quot;
 read side

arecord --device=&#39;hw:CARD=CODEC,DEV=0&#39; --rate=96000 --channels=2 --vumeter=stereo --duration=1500 --format=dat --file-type wav - | flac - -o $record&quot;_Side_&quot;$side.flac</code></pre>
<p>Used hw:CARD=CODEC,DEV=0 derived from 'arecord -L'</p>
<p>hw:CARD=CODEC,DEV=0 USB Audio CODEC, USB Audio Direct hardware device without any conversions</p>
<h4 id="arecord-manpage">arecord manpage</h4>
<pre><code>...

-f --format=FORMAT

    Sample format
    Recognized sample formats are: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE
    FLOAT64_LE FLOAT64_BE IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM SPECIAL S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE
    S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE

    Some of these may not be available on selected hardware
    The available format shortcuts are:

    -f cd (16 bit little endian, 44100, stereo) [-f S16_LE -c2 -r44100]
    -f cdr (16 bit big endian, 44100, stereo) [-f S16_BE -c2 -f44100]
    -f dat (16 bit little endian, 48000, stereo) [-f S16_LE -c2 -r48000]

    If no format is given U8 is used.

-d, --duration=#
    Interrupt after # seconds. A value of zero means infinity. The default is zero, so if this option is omitted then the arecord process will run until it is killed.

-t, --file-type TYPE
    File type (voc, wav, raw or au). If this parameter is omitted the WAVE format is used.

...

</code></pre>
<p><a href="https://hackerpublicradio.org/eps.php?id=2881">hpr2881 :: Automatically split album into tracks in Audacity</a>  </p>
<h4 id="changes-as-of-5-20-2022">Changes as of 5-20-2022</h4>
<ul>
<li>Old way : Select the entire track and select Analyze &gt; Silence Finder</li>
<li>Update : Select the entire track and select Analyze &gt; Label Sounds</li>
</ul>
<p><em>Label sounds menu</em><br />
<a href="https://hackerpublicradio.org/eps/hpr3641/audacity_screenshot_1.png"><img src="https://hackerpublicradio.org/eps/hpr3641/audacity_screenshot_1_thumbnail.png" alt="Label sounds menu" /></a> <br/><small><small><em>Click the thumbnail to see the full-sized image</em></small></small>  </p>
<p><em>Silence detection options</em><br />
<img src="https://hackerpublicradio.org/eps/hpr3641/audacity_screenshot_2.png" alt="Silence detection options" />  </p>
<p>HowTo: Split MP3s by silence detection using mp3splt</p>
<p><a href="https://blog.dornea.nu/2012/04/01/howto-split-mp3s-by-silence-detection-using-mp3splt/" class="uri">https://blog.dornea.nu/2012/04/01/howto-split-mp3s-by-silence-detection-using-mp3splt/</a></p>
<p>mp3splt -s -p th=-40,min=6,rm</p>
<p>Parameters explanation:</p>
<pre><code>&#39;-s&#39;: silence mode; activate silence detection
&#39;-p&#39;: specify arguments for the silence mode
&#39;th=-40&#39;: threshold level (dB) to be considered silence
&#39;min=6&#39;: minimum number of seconds to be considered as splitpoint
&#39;rm&#39;: remove silence from splitted files</code></pre>
<h4 id="what-worked-for-me">What worked for me</h4>
<p>mp3splt -s -p th=-30,min=0.5,rm $1</p>
<p>Fix tracks not splitting</p>
<ul>
<li>Manually seek the silence in mplayer/mpv</li>
<li>Note the silent areas</li>
<li>Cut with ffmpeg ie.
<ul>
<li>ffmpeg -i track.flac -ss 00:03:05 -to 00:06:00 -acodec copy track-cut1.flac</li>
</ul></li>
</ul>
<h4 id="references">References</h4>
<p>How to rip vinyl in Manjaro<br />
<a href="https://forum.manjaro.org/t/howto-rip-vinyl-lps-in-manjaro/83300" class="uri">https://forum.manjaro.org/t/howto-rip-vinyl-lps-in-manjaro/83300</a></p>
<p>mp3splt<br />
<a href="https://mp3splt.sourceforge.net" class="uri">https://mp3splt.sourceforge.net</a></p>
<h5 id="man-pages">Man pages</h5>
<p><a href="https://mp3splt.sourceforge.net/mp3splt_page/documentation/man.html" class="uri">https://mp3splt.sourceforge.net/mp3splt_page/documentation/man.html</a></p>
<p><a href="https://manpages.ubuntu.com/manpages/xenial/en/man1/mp3splt.1.html" class="uri">https://manpages.ubuntu.com/manpages/xenial/en/man1/mp3splt.1.html</a></p>
<h5 id="youtube-downloader">Youtube downloader</h5>
<p><a href="https://ytgram.com/en/youtube-video-downloader" class="uri">https://ytgram.com/en/youtube-video-downloader</a></p>
<p><em>Screen capture of youtube link download on YTGram</em><br />
<a href="https://hackerpublicradio.org/eps/hpr3641/ytgram.png"><img src="https://hackerpublicradio.org/eps/hpr3641/ytgram_thumbnail.png" alt="Screen capture of youtube link download on YTGram" /></a> <br/><small><small><em>Click the thumbnail to see the full-sized image</em></small></small>  </p>
<h5 id="sample-album">Sample album</h5>
<p>J&#x332;o&#x332;urney - D&#x332;eparture&#x332; (Full Album) 1980<br />
<br />
<a href="https://www.youtube.com/watch?v=eoG9U8n0dWo" class="uri">https://www.youtube.com/watch?v=eoG9U8n0dWo</a></p>
