analog signal -> MP3

Moderator: flatmax

Post Reply
kevincho
Posts: 1
Joined: Wed Jul 11, 2018 2:18 pm

analog signal -> MP3

Post by kevincho » Wed Jul 11, 2018 2:24 pm

Hi guys,

I'm new to sound cards, but also new to Raspberry Pi as well. So consider me as a complete newbie.
I have only used Arduino so far, but it can no longer handle my use case, so I'm looking into Raspberry Pi and see if it can solve my problems.

Essentially I'm trying to create an MP3 file from an analog input (Line Out from an Amp).
I know on high level that I need to convert analog audio signal from Amp to digital, then have Pi create an MP3 file using the converted digital signal.
Could someone guide me towards how I could achieve my goal?

Thanks,

Kevin

fastloudmusic
Posts: 2
Joined: Sun Aug 13, 2017 7:29 am

Re: analog signal -> MP3

Post by fastloudmusic » Fri Dec 14, 2018 1:52 pm

Run these commands in a terminal:

$ sudo apt-get install lame
$ arecord -v -f cd -t raw | lame -r -b 320 - output.mp3

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests