July 18, 2017
Recording analog audio using Tinycore Linux-- I also use this to record/digitize records).
Some of us have probably already done this , but it works great with my Rapsberry PI 2 running Tinycore (it is a PiCore player)
Assumes line signal coming from the Receiver/source into the DAC, connected with USB to Raspberry PI.
1. Mount the remote network folder. The server Address is the Vortexbox on the LAN at 10.209.162.144 ...or mount the local device (32 GB SD Card) if mount.cifs does not work ..
sudo mkdir /mnt/vorty (empty directory)
sudo mount /dev/mcblk0p2 /mnt/vorty
** This is the 32GB card which was resized to capture all of the extra space
2. at the command prompt, Use the arecord command to capture the signal from the FM tuner or your turntable, or any device sending out the line signal .. (use arecord -L to see the capture devices .. I use a Behringer UCA222 DAC which gets listed as sysdefault:CARD=CODEC
Here is the code:
sudo arecord -D sysdefault:CARD=CODEC -f cd /mnt/vorty/ KOOL-FM.wav
I use winscp to transfer the WAV file to my music collection (I use Media Monkey).. I am thinking this can become a cron job to capture radio shows .. as long as the equipment is setup beforehand ..
** call the WAV file whatever you like -- I use this to digitize my LP's .. a fun project and very easy. I see occasional buffer overrun errors, which are maybe 0.014 seconds, so I do not worry..now I can play my records in the car !
Bill Clark