Active Topics

 



Notices


Reply
Thread Tools
Posts: 45 | Thanked: 45 times | Joined on Jul 2010 @ Berlin
#1
This is a little how to record music from the FM Radio Player from Martin Grimme.

Edit: Changed to Recaller 2010-08-22

Thanks to Tom Wälti there is the program Recaller to record from FM Radio.

Recaller can encode the recorded sound on the fly to the AAC audio format with 128 kbit/s.

Install Recaller and FM Radio:
Name:  fmradio1.jpg
Views: 813
Size:  24.4 KB

Configure Recaller by tapping on the desktop.
Name:  fmradio2.jpg
Views: 664
Size:  16.6 KB
Tap on the lower left symbol on the red Recaller icon.

Set the Audio Source to System:
Name:  fmradio3.jpg
Views: 677
Size:  27.5 KB

Tap the red button to start recording. It changes to green.
Name:  fmradio4.jpg
Views: 635
Size:  24.5 KB

Start the FM Radio.
Name:  fmradio5.jpg
Views: 653
Size:  28.3 KB

The recorded sound is in:
Code:
/home/user/MyDocs/Rec_<date>.aac

This was my first suggestion. A command line way but it is not recommended. I leave it here for historical reasons.

First you need to configure a virtual pulse sound device to record from.

Code:
echo "pcm.pulse { type pulse }" > ~/.asoundrc
Set the recording volume with the alsa utilities:
Code:
amixer
# or
alsamixer
Start FM Radio Player and record with alsa record (arecord):

Code:
filename=/home/user/MyDocs/`date +"%F_%H-%M-%S_radio"`.wav
arecord -f cd -t wav -D pulse "$filename"
Press Ctrl + C to stop recording.

The wav-format has a limit of the file size ! (2 GB)

Install an MP3 encoder to shrink the recorded file.

Code:
sudo gainroot
apt-get install lame
exit
Convert the wav file to mp3 and delete the wav file:

Code:
lame -h --cbr -b 192 -m j "$filename" "$filename".mp3
rm -f "$filename"
lame seems to be compiled without optimisation - it seems to be slow.

Last edited by TorstenT; 2010-08-22 at 17:37.
 

The Following 12 Users Say Thank You to TorstenT For This Useful Post:
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#2
Thank you very much, but in the end your post will be lost amongst million others here on TMO. You might get more public if you add it to the wiki...
__________________
My nickname on freenode is ptl, that is, the consonants of my nickname here. Kind of a long story.
 
Dousan's Avatar
Posts: 1,161 | Thanked: 1,707 times | Joined on Jan 2010 @ Denmark
#3
@TorstenT thanks for that one, did just think about that the other day how to record from the radio app. Will try this tomorrow
__________________
My Procreate art:
https://folio.procreate.art/dousan

My Søciety6:
http://society6.com/Dousan
 
Posts: 45 | Thanked: 45 times | Joined on Jul 2010 @ Berlin
#4
Originally Posted by Patola View Post
You might get more public if you add it to the wiki...
Thanks for the suggestion.

Someone has already written a wiki:

http://wiki.maemo.org/Recording_phonecalls

But there the pulseaudio-utils are used. Not sure what the raw file format is. But I'm sure this can also be converted to mp3.
 
Posts: 384 | Thanked: 95 times | Joined on Jan 2010 @ Romania
#5
maybe using all that stuff to create an application will be more user friendly!
 
Posts: 45 | Thanked: 45 times | Joined on Jul 2010 @ Berlin
#6
Originally Posted by puiradu View Post
maybe using all that stuff to create an application will be more user friendly!
I agree, but I don't have the time to develop a GUI.

Maybe the program "recaller" can record from FM Radio.

Until now I did not have much luck with Recaller in PR 1.2.
 
Dousan's Avatar
Posts: 1,161 | Thanked: 1,707 times | Joined on Jan 2010 @ Denmark
#7
5he recording works fine but when trying to convert to .mp3 it says '.mp3 not found'? I have Lame installed. Anybody know why i get that error?
__________________
My Procreate art:
https://folio.procreate.art/dousan

My Søciety6:
http://society6.com/Dousan
 
Posts: 883 | Thanked: 980 times | Joined on Jul 2007 @ Bern, Switzerland
#8
Originally Posted by TorstenT View Post
Until now I did not have much luck with Recaller in PR 1.2.
It works well to record FM radio. Go into settings, change "Audio Source" to "System". Then launch FM radio, begin to listen, switch back to the desktop, start the recording by tapping the red recording button (will switch to green to indicate recording).

Just make sure you don't have a space in your save-folder name - this would trigger a bug that makes recaller fail.
__________________
-Tom (N900, N810, N800)

"the idea of truly having a computer in your pocket just moved a big step closer."
 
Posts: 883 | Thanked: 980 times | Joined on Jul 2007 @ Bern, Switzerland
#9
Originally Posted by TorstenT View Post
This is a little how to record music from the FM Radio Player from Martin Grimme.
For everybody else: just use Recaller
__________________
-Tom (N900, N810, N800)

"the idea of truly having a computer in your pocket just moved a big step closer."
 

The Following User Says Thank You to twaelti For This Useful Post:
Posts: 3,664 | Thanked: 1,530 times | Joined on Sep 2009 @ Hamilton, New Zealand
#10
This could be nice if someone package this into an easy application
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:49.