<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Alsa on Lloyd Rochester's Geek Blog</title><link>https://lloydroc.github.io/tags/alsa/</link><description>Recent content in Alsa on Lloyd Rochester's Geek Blog</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2025, Lloyd Rochester.</copyright><lastBuildDate>Sat, 10 Apr 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://lloydroc.github.io/tags/alsa/index.xml" rel="self" type="application/rss+xml"/><item><title>Audio Clip Capture by Threshold</title><link>https://lloydroc.github.io/post/hardware/audio-clip/</link><pubDate>Sat, 10 Apr 2021 00:00:00 +0000</pubDate><guid>https://lloydroc.github.io/post/hardware/audio-clip/</guid><description>&lt;h1 id="hahahugoshortcode55s0hbhb">Audio Clip Capture by Threshold&lt;/h1>
&lt;p>Updated December 28th 2022&lt;/p>
&lt;p>&lt;img src="https://lloydroc.github.io/assets/png/audio-threshold-recording.png" alt="Raspberry Pi E32 Lora Receive">&lt;/p>
&lt;p>Here is a command line tool to capture audio clips based on two thresholds. Keep the tool running and it will write a number of audio files with audio that is loud enough for long enough. How loud and how long are the thresholds that are inputs to the program. For example we may want to record audio clips that only exceed 3 seconds. The loudness level is meant to keep us from recording noise.&lt;/p></description></item></channel></rss>