LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2009, 10:35 PM   #1
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Rep: Reputation: 15
Scriptable utility for concatenating audio files


I can't get my sound to play back gaplessly, so I'm going to bandaid it by writing a perl script to take a whole album, concatenate all the files into one big file, and play back with mplayer. I need to find something that can jam .flac files together first; I can transcode to something else first I guess but I don't know what to use for that either.
 
Old 08-05-2009, 11:41 PM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572

Rep: Reputation: 210Reputation: 210Reputation: 210
audacity might be useful for this.
 
Old 08-12-2009, 11:59 AM   #3
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
I can't figure out how to get use Audacity from the command line. Maybe I'll try mencoder but last time I did it kept complaining about no video streams.
 
Old 08-11-2010, 08:40 AM   #4
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
I'm bumping this back up. Gapless audio playback in linux is still, as far as I can tell, impossible with current programs.
 
Old 08-11-2010, 09:05 AM   #5
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
http://www.linuxquestions.org/questi...-image-657632/
 
Old 08-11-2010, 09:31 AM   #6
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Take a look at sox and lame. Sox is good for encoding your audio if you want to change the format, and lame will concatenate all of your files. If I remember, I think you use lame like this:

Code:
lame -V2 audiofile1 audiofile2 audiofile3 audiofile4 concatenated_output_file
 
Old 09-11-2010, 12:30 PM   #7
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
Lame also compresses the output, doesn't it? I don't want to compress the files, I just want to play them back gaplessly. There are a (very) few gapless GUI players in linux, but no gapless command-line players that I know of.
 
Old 09-11-2010, 10:03 PM   #8
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Quote:
Originally Posted by Daravon View Post
Lame also compresses the output, doesn't it? I don't want to compress the files, I just want to play them back gaplessly. There are a (very) few gapless GUI players in linux, but no gapless command-line players that I know of.
I believe you can use the --nogap option with lame. I have not used it myself, but you may want to take a look at it. Take a look at 'man lame' to see all of the options.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scriptable way of converting video files to flash/swf? neocookie Linux - Software 3 06-17-2008 08:51 AM
Problem concatenating a string in perl Singist Programming 4 03-22-2006 06:15 PM
concatenating files s_siouris Linux - Software 4 05-30-2005 09:36 AM
Gnome audio cd burning utility kaega2 Linux - Software 3 01-02-2005 04:41 AM
concatenating strings to open files veilig Programming 1 11-10-2003 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:37 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