Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi:
Is there any application common to all linux distros (or at least to Slackware), which I could use to record music coming from the line input connector in my sound card into a file (.wav, .mp3, whatever) and which can be run from the cli? Thanks in advance.
I have used Audacity to record records to .wav files. You can then encode them to any format you like. I have done lots of .mp3's and now .ogg files. Audacity can also be used to edit a .wav file. You can edit pops and clicks that are common from records. Audacity needs exclusive access to the sound card, so turn off any other sound applications before you start Audacity.
I have used Audacity to record records to .wav files. You can then encode them to any format you like. I have done lots of .mp3's and now .ogg files. Audacity can also be used to edit a .wav file. You can edit pops and clicks that are common from records. Audacity needs exclusive access to the sound card, so turn off any other sound applications before you start Audacity.
Thanks for your reply, camorri. I have audacious in kde. I don't know if it's the same (I did 'locate -i audacity and it output
/usr/share/apps/kappfinder/apps/Multimedia/audacity.desktop
)
In any case where can I get Audacity for free? Thanks againg.
Ecasound is a software package designed for multitrack audio
processing. It can be used for simple tasks like audio playback,
recording and format conversions, as well as for multitrack effect
processing, mixing, recording and signal recycling. Ecasound supports a
wide range of audio inputs, outputs and effect algorithms. Effects and
audio objects can be combined in various ways, and their parameters can
be controlled by operator objects like oscillators and MIDI-CCs. A
versatile console mode user-interface is included in the package.
#!/bin/sh
# script that shall be updated to pipe wav to mp3
seq 0 1 5 | while read i ;
echo "Card number: $i"
printf "Aux,line,number... 0 for default, try higher:>"
read trymynumber
echo "Creating a wav file to Filewavtestcard.wav"
OUTPUT="Filewavtestcard.wav"
arecord -Dplughw:$i,$trymynumber -f cd -vv "$OUTPUT"
ls -ltra "$1"
echo "Testing ... "
mplayer "$OUTPUT"
echo "Removing temp $OUTPUT"
rm "$OUTPUT"
echo "Reloop "
done
echo "Coded by Frenchn00b for stf92. We need a database on Internet of Scripts for text_CLI linux, because everything is possible from CLI!!"
Last edited by frenchn00b; 06-19-2010 at 08:17 PM.
Does it use the aRts daemon? Because I have a program with a console mode user interface named artsrec and when I run it, it displays the message 'Can't connect to sound server'. However, ps says artsd, obviously the daemon, is running. Starting KRec (a GUI app), the help says its a frontend for aRts. And it runs.
Well. I'd rather try ecasound and see what happens.
#!/bin/sh
# script that shall be updated to pipe wav to mp3
seq 0 1 5 | while read i ;
echo "Card number: $i"
printf "Aux,line,number... 0 for default, try higher:>"
read trymynumber
echo "Creating a wav file to Filewavtestcard.wav"
OUTPUT="Filewavtestcard.wav"
arecord -Dplughw:$i,$trymynumber -f cd -vv "$OUTPUT"
ls -ltra "$1"
echo "Testing ... "
mplayer "$OUTPUT"
echo "Removing temp $OUTPUT"
rm "$OUTPUT"
echo "Reloop "
done
echo "Coded by Frenchn00b for stf92. We need a database on Internet of Scripts for text_CLI linux, because everything is possible from CLI!!"
I thank you from my heart. Unfortunately the script gets this error:
line 16: syntax error near unexpected token 'done'
Line 16 is the line containing 'done'. I'll see what can be done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.