<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Audio on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/tags/audio/</link><description>Recent content in Audio on Andrew's Memory Blog</description><generator>Hugo -- gohugo.io</generator><image><url>https://andrewmemory.acornwall.net/img/rss_image.png</url><title>Audio on Andrew's Memory Blog</title><link>https://andrewmemory.acornwall.net/</link></image><language>en</language><managingEditor>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</managingEditor><webMaster>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</webMaster><copyright>Copyright 2009--2025</copyright><lastBuildDate>Fri, 12 Sep 2025 22:32:08 -0700</lastBuildDate><atom:link href="https://andrewmemory.acornwall.net/tags/audio/index.xml" rel="self" type="application/rss+xml"/><item><title>Shrinking files on AntennaPod</title><link>https://andrewmemory.acornwall.net/blog/2025-09-12-shrinking-files-on-antennapod/</link><pubDate>Fri, 12 Sep 2025 22:32:08 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2025-09-12-shrinking-files-on-antennapod/</guid><description>&lt;p&gt;I like to listen to podcasts, and my favourite podcast app for Android is &lt;a href="https://antennapod.org/" target="_blank" rel="noreferrer"&gt;AntennaPod&lt;/a&gt;. I like the control it gives me, the fact that it deals reasonably with non-audio RSS feeds, the wide range of speed controls, and the searchability.&lt;/p&gt;
&lt;p&gt;But I download a &lt;em&gt;lot&lt;/em&gt; of podcasts. That means there&amp;rsquo;s a lot of stuff ready for me when I go on flights and things like that, but otherwise it&amp;rsquo;s, you know, waiting. Some podcast feeds think I want really high quality audio. Like 256 or 320 k/second. Nope, don&amp;rsquo;t need that.&lt;/p&gt;
&lt;p&gt;Finally I figured out that it might be smart to recode some of the podcasts to free up space on my chronically overfilled phone. That&amp;rsquo;s what I did. Here&amp;rsquo;s how I did it. First, you have to be in &lt;a href="https://www.howtogeek.com/129728/how-to-enable-developer-options-menu-and-enable-and-usb-debugging-on-android/" target="_blank" rel="noreferrer"&gt;developer mode&lt;/a&gt; and be able to connect over adb. Then:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;adb shell &amp;#34;ls /storage/emulated/0/Android/data/de.danoeh.antennapod.debug/files/media/&amp;#34;
adb pull &amp;#34;/storage/emulated/0/Android/data/de.danoeh.antennapod.debug/files/media/your-podcast-directory-name&amp;#34;
cd your-podcast-directory-name
mkdir recoded
for i in *.mp3; do echo $i; lame -V6 &amp;#34;$i&amp;#34; &amp;#34;recoded/$i&amp;#34;; done
cd recoded
for i in *.mp3; do echo $i; adb push &amp;#34;$i&amp;#34; &amp;#34;/storage/emulated/0/Android/data/de.danoeh.antennapod.debug/files/media/your-podcast-directory-name/$i&amp;#34;; done&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;(Replace &lt;em&gt;your-podcast-directory-name&lt;/em&gt; with something that exists. Oh, and I&amp;rsquo;m running the debug version &amp;lsquo;cause I build it from source&amp;hellip; you&amp;rsquo;ll probably just want de.danoeh.antennapod instad of de.danoeh.antennapod.debug.)&lt;/p&gt;
&lt;p&gt;By doing this on my two fattest podcast directories, I was able to save 4+ G. Nice!&lt;/p&gt;</description></item><item><title>Setting up soundmodem on Ubuntu 10.04</title><link>https://andrewmemory.acornwall.net/blog/2011-06-29-setting-up-soundmodem-on-ubuntu-10-04/</link><pubDate>Wed, 29 Jun 2011 22:23:42 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2011-06-29-setting-up-soundmodem-on-ubuntu-10-04/</guid><description>&lt;p&gt;After a long delay, I finally decided to upgrade to 10.04 LTS and get soundmodem running again.&lt;/p&gt;
&lt;p&gt;Luckily, there was help this time. I started with my config, and merged with this post: &lt;a href="http://ubuntuforums.org/showthread.php?p=10864691" target="_blank" rel="noreferrer"&gt;ubuntuforums.org/showthread.php?p=10864691&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s the config I ended up using:&lt;/p&gt;
&lt;p&gt;Configuration: AX.25 IO: Mode: soundcard Audio Driver: /dev/dsp Half Duplex: selected PTT Driver: none&lt;/p&gt;
&lt;p&gt;Channel Access: TxDelay: 150 Slot Time: 100 P-Persistence: 40 Full Duplex: not selected TxTail: 10&lt;/p&gt;
&lt;p&gt;Channel 0: Modulator: Mode: afsk Bits/s: 1200 Freq 0: 1200 Freq 1: 2200 Differential: selected&lt;/p&gt;
&lt;p&gt;Demodulator: Mode: afsk Bits/s: 1200 Freq 0: 1200 Freq 1: 2200 Differential: selected&lt;/p&gt;
&lt;p&gt;Packet IO: Mode: MKISS Interface: sm0 Callsign: mycall IP address: 10.0.0.1 Network mask: 255.255.255.0 Broadcast addr: 10.0.0.255&lt;/p&gt;
&lt;p&gt;I also set up /etc/ax25/axports to have:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;sm0 mycall 1200 255 7 144.39 APRS (1200 bps)&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;Finally, I made sure Avahi was set to ignore sm0. This is easier than it was &lt;a href="https://andrewmemory.acornwall.net/blog/2009-10-17-radio-packet-soundmodem-losing-the-squeaks/" &gt;prevously&lt;/a&gt; - now you just add:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;deny-interfaces=sm0&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;to /etc/avahi/avahi-daemon.conf&lt;/p&gt;
&lt;p&gt;Once that&amp;rsquo;s done, don&amp;rsquo;t forget to chmod 4755 /usr/bin/xastir so it can open sm0 and things are good.&lt;/p&gt;</description></item><item><title>Converting audio files under Linux</title><link>https://andrewmemory.acornwall.net/blog/2010-12-29-converting-audio-files-under-linux/</link><pubDate>Wed, 29 Dec 2010 23:14:27 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2010-12-29-converting-audio-files-under-linux/</guid><description>&lt;p&gt;Linux has mplayer, an excellent audio player. It&amp;rsquo;s also handy when you want to convert a sound file from one format to another. The secret is to use .wav as an intermediate conversion, since most audio converters know how to handle that.&lt;/p&gt;
&lt;p&gt;Here is the magic incantation for mplayer:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;mplayer -quiet -vo null -vc dummy -ao pcm:waveheader:file=&amp;#34;output.wav&amp;#34; input.rm&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;This takes the input file and creates output.wav from it. Once you have that, it&amp;rsquo;s a simple matter of&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;oggenc output.wav&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;to get output.ogg (don&amp;rsquo;t forget to install vorbis-tools) or&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;lame output.wav&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;if MP3s are your bag.&lt;/p&gt;
&lt;p&gt;Linux Review has a good &lt;a href="http://en.linuxreviews.org/HOWTO_Convert_audio_files" target="_blank" rel="noreferrer"&gt;article on converting&lt;/a&gt; using this technique&lt;/p&gt;</description></item><item><title>Speed up those boring meeting replays with mplayer</title><link>https://andrewmemory.acornwall.net/blog/2010-12-29-speed-up-those-boring-meeting-replays-with-mplayer/</link><pubDate>Wed, 29 Dec 2010 23:14:27 -0700</pubDate><author>andrewmemoryblog@gmail.com (Andrew's Memory Blog)</author><guid>https://andrewmemory.acornwall.net/blog/2010-12-29-speed-up-those-boring-meeting-replays-with-mplayer/</guid><description>&lt;p&gt;It&amp;rsquo;s been a while since I looked at the man page for mplayer. Ubuntu has finally included something I&amp;rsquo;ve wanted for a long time.&lt;/p&gt;
&lt;p&gt;Every now and then I have to listen to pre-recorded meetings. Since I usually think faster than the speakers can talk (&amp;ldquo;umm, uhh&amp;hellip; could you go to the next slide please?&amp;rdquo;) I like to speed things up.&lt;/p&gt;
&lt;p&gt;I used to have to use sox to change the playback speed without changing the pitch, but now it appears it&amp;rsquo;s built into mplayer, which makes it much easier.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s how to do it:&lt;/p&gt;
&lt;figure class="highlight"&gt;
&lt;pre tabindex="0"&gt;&lt;code class="language-" data-lang=""&gt;mplayer -af scaletempo -speed 1.3 boringmeeting.mp3&lt;/code&gt;&lt;/pre&gt;
&lt;/figure&gt;
&lt;p&gt;This plays back at 1.3 times the usual speed, which is good for most speakers. Really slow ones will benefit from -speed 1.5.&lt;/p&gt;
&lt;p&gt;When I was young, I had an LP with the song &amp;ldquo;Twilight Zone&amp;rdquo; by Golden Earring on it. I used to listen to that at 45 rpm instead of 33 rpm because it made it sound more urgent. That would be -speed 1.363 if you&amp;rsquo;re playing at home.&lt;/p&gt;</description></item></channel></rss>