LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-28-2004, 10:46 PM   #1
krock923
Member
 
Registered: Jul 2004
Posts: 171

Rep: Reputation: 30
Use parameters as default?


Hi. just a quick question. Normally, when encoding using lame, i'll type in this command. . .

notlame -b 256 -q 0 <inputfile> <outputfile>

is there a way so that when i type in notlame, those parameters are automatically run as well? Would it be someting with the .bashrc file?
 
Old 08-29-2004, 12:24 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You can a) make a shell-script or b) an alias
that does that. To the best of my knowledge
lame doesn't honour any rc-files or environment
variables...

But an
alias lame='notlame -b 256 -q 0 '
put into .bashrc/.bash_profile shouldn't be to
hard ;)


Cheers,
Tink
 
Old 09-10-2004, 05:20 PM   #3
krock923
Member
 
Registered: Jul 2004
Posts: 171

Original Poster
Rep: Reputation: 30
I'm not sure exactly what you mean. Can you (or someone else elaborate)

I'm trying to speed up the process from putting a cd in the drive to getting a finished mp3. I take all these steps and It takes a lot of time.

1) Rip CD using Grip (cdparanoia used). I would rip from the command line but I don't understand the arguments for it even after reading the --help.

2)for each track: notlame -b 256 -q 0 <input file> <output file> I have to do it for each track because I haven't figured out how to do multiple ones with one command. Putting them all after each other just with spaces doesn't work

3)using mp3gain: mp3gain -r -k <filename> This one isn't so bad because I can do them all at once.

4)rm ./<artist>*.wav
Don't want all those ripped wav files taking up room.

5)Open each one up in winamp and fix the tags. This method doesn't insert them anywhere along the line and I don't know of an ID3 editor for linux

Last edited by krock923; 09-10-2004 at 05:34 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Details about default web Browser & default Email client sudhasmyle Linux - Software 4 06-15-2006 11:45 AM
Editing default module parameters at boot time icpsvt Linux - General 3 02-11-2006 07:03 PM
Default Drowser & Default E-mail Cli sudhasmyle Linux - Networking 1 11-20-2004 10:42 AM
setting default page size and default tray lived4eva Linux - General 1 11-04-2003 02:39 PM
New Virtual Servers Default to Default Server Page? DigiDave Linux - Software 4 10-18-2003 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration