IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Command line gapless windows audio player?, Need a command line tool without interface that can play gapless audio
tommedema
post Aug 4 2008, 14:14
Post #1





Group: Members
Posts: 18
Joined: 10-June 08
Member No.: 54187



Hi,

I've been looking for a commandline .exe that can queue multiple audio files and add new files to the queue while playing an audio file. It must be gapless, so when it goes from 1.mp3 to 2.mp3 there must be no sound disruption etc.

It may not have an interface. I want to use it to create a program using AutoIT.

I started my search a couple of months ago and still haven't found anything that matches what I need.. so it's not on google or anything, but maybe someone knows a program that is not very known and thus not on google?

Best regards,
Tom

This post has been edited by tommedema: Aug 4 2008, 14:15
Go to the top of the page
+Quote Post
M
post Aug 4 2008, 16:01
Post #2





Group: Members
Posts: 964
Joined: 29-December 01
Member No.: 830



Use MPlayer as a back-end, perhaps? Pretty well known and gives you a heck of a lot more functionality than just MP3 (but the website documentation doesn't explicitly mention "gapless," which might explain why you missed it).

- M.
Go to the top of the page
+Quote Post
senab
post Aug 4 2008, 16:04
Post #3





Group: Members
Posts: 247
Joined: 4-August 05
From: Birmingham, UK
Member No.: 23690



MPD is the way to go.


--------------------
::.. www.senab.co.uk
Go to the top of the page
+Quote Post
spoon
post Aug 4 2008, 21:01
Post #4


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2745
Joined: 24-March 02
Member No.: 1615



As luck would have it, straight out of our R&B labs, we are releasing something tomorrow you will be interested in (no doubt), it will be billed as the most efficient (both memory and resources), gapless (and replaygian-able), multi zone audio player (designed to have as many as 10 simultaneous players running, including zones bridged together). Part 1 is done which the uPlayer which is controlled by the command line.

This post has been edited by spoon: Aug 4 2008, 21:03


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
donnie
post Aug 4 2008, 21:53
Post #5





Group: Members
Posts: 121
Joined: 19-November 05
Member No.: 25865



mpd or possibly xmms2. Don't know how good the windows support is on either of those though
Go to the top of the page
+Quote Post
bhoar
post Aug 4 2008, 22:21
Post #6





Group: Members (Donating)
Posts: 612
Joined: 31-May 06
Member No.: 31326



QUOTE (spoon @ Aug 4 2008, 16:01) *
As luck would have it, straight out of our R&B labs, we are releasing something tomorrow you will be interested in (no doubt), it will be billed as the most efficient (both memory and resources), gapless (and replaygian-able), multi zone audio player (designed to have as many as 10 simultaneous players running, including zones bridged together). Part 1 is done which the uPlayer which is controlled by the command line.


Spoon -

I love that you have R&B labs. That's cool. tongue.gif

-brendan


--------------------
Hacking CD Robots & Autoloaders: http://hyperdiscs.pbwiki.com/
Go to the top of the page
+Quote Post
tommedema
post Aug 4 2008, 22:33
Post #7





Group: Members
Posts: 18
Joined: 10-June 08
Member No.: 54187



@m
thanks, however I tried it and it gives a small but noticeable gap between multiple audio files, don't you have this?

@senab
strange enough I could not find a binary file for windows for this tool, is that correct?

@spoon
thanks, I'd like to try that program out, but does it support gapless playback?

@donnie
I tried xmms2 but it does not seem to playback gapless either..

So no luck yet.. or you guys do manage to playback gapless? (without any sound disruption when it goes from file 1 to file 2)

This post has been edited by tommedema: Aug 4 2008, 22:38
Go to the top of the page
+Quote Post
M
post Aug 4 2008, 22:46
Post #8





Group: Members
Posts: 964
Joined: 29-December 01
Member No.: 830



QUOTE (tommedema @ Aug 4 2008, 17:33) *
@m
thanks, however I tried it and it gives a small but noticeable gap between multiple audio files, don't you have this?

No, I don't have that problem... but then, I am not using MPlayer! I was under the impression that it did support gapless (and I was pretty sure I remembered hearing it demonstrated at some point), but if I was mistaken I offer humble apologies for sending you on a goose-chase.

- M.
Go to the top of the page
+Quote Post
tommedema
post Aug 4 2008, 22:58
Post #9





Group: Members
Posts: 18
Joined: 10-June 08
Member No.: 54187



QUOTE (M @ Aug 4 2008, 15:46) *
QUOTE (tommedema @ Aug 4 2008, 17:33) *

@m
thanks, however I tried it and it gives a small but noticeable gap between multiple audio files, don't you have this?

No, I don't have that problem... but then, I am not using MPlayer! I was under the impression that it did support gapless (and I was pretty sure I remembered hearing it demonstrated at some point), but if I was mistaken I offer humble apologies for sending you on a goose-chase.

- M.


It might be my sound files. I think I trimed 1 file into 2 parts with LAME, but who knows how accurate that is.

Would you happen to know a method on how to preciousely cut 1 audio file into 2 gapless files?
Go to the top of the page
+Quote Post
AliL
post Aug 5 2008, 00:20
Post #10





Group: Members
Posts: 95
Joined: 18-August 07
Member No.: 46314



I don't think you want to be using MP3 files as IIRC they cannot in themselves be gapless, and the players have to use some sort of workaround to make them gapless, like preloading the next song and starting it before the previous one has finished so that the audio is perfectly matched, but 2 files are actually playing at the same time at the point of crossover.

I'm pretty sure mp4/aac supports gapless playback as do most (all?) lossless formats, and they can be edited with Audacity.

This post has been edited by AliL: Aug 5 2008, 00:21
Go to the top of the page
+Quote Post
tommedema
post Aug 5 2008, 02:43
Post #11





Group: Members
Posts: 18
Joined: 10-June 08
Member No.: 54187



QUOTE (AliL @ Aug 4 2008, 17:20) *
I don't think you want to be using MP3 files as IIRC they cannot in themselves be gapless, and the players have to use some sort of workaround to make them gapless, like preloading the next song and starting it before the previous one has finished so that the audio is perfectly matched, but 2 files are actually playing at the same time at the point of crossover.

I'm pretty sure mp4/aac supports gapless playback as do most (all?) lossless formats, and they can be edited with Audacity.


Hmm, so would it be possible to record in mp3 and then convert the recorded .wav to aac or an other lossless format? Or do I have to record to aac directly? Is that even possible?
Go to the top of the page
+Quote Post
Canar
post Aug 5 2008, 03:16
Post #12





Group: Super Moderator
Posts: 3352
Joined: 26-July 02
From: princegeorge.ca
Member No.: 2796



QUOTE (AliL @ Aug 4 2008, 16:20) *
I don't think you want to be using MP3 files as IIRC they cannot in themselves be gapless, and the players have to use some sort of workaround to make them gapless, like preloading the next song and starting it before the previous one has finished so that the audio is perfectly matched, but 2 files are actually playing at the same time at the point of crossover.

I'm pretty sure mp4/aac supports gapless playback as do most (all?) lossless formats, and they can be edited with Audacity.
Please research your claims before making such assertions. Gapless MP3 playback in foobar2000 along with many other gapless MP3 players simply ensure that the tracks are of the proper length and do not require any kind of dual-file playback.

This post has been edited by Canar: Aug 5 2008, 03:17


--------------------
You cannot ABX the rustling of jimmies.
No mouse? No problem.
Go to the top of the page
+Quote Post
kornchild2002
post Aug 5 2008, 06:59
Post #13





Group: Members
Posts: 2072
Joined: 8-April 05
From: Cincinnati, OH
Member No.: 21277



QUOTE (tommedema @ Aug 4 2008, 15:33) *
@spoon
thanks, I'd like to try that program out, but does it support gapless playback?


Let's go back and read their post:
QUOTE (spoon @ Aug 4 2008, 14:01) *
As luck would have it, straight out of our R&B labs, we are releasing something tomorrow you will be interested in (no doubt), it will be billed as the most efficient (both memory and resources), gapless (and replaygian-able), multi zone audio player (designed to have as many as 10 simultaneous players running, including zones bridged together). Part 1 is done which the uPlayer which is controlled by the command line.


So yes, Spoon's solution will be gapless and it comes out tomorrow. I will be interested to see what it is.
Go to the top of the page
+Quote Post
spoon
post Aug 5 2008, 09:15
Post #14


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2745
Joined: 24-March 02
Member No.: 1615



QUOTE
other gapless MP3 players simply ensure that the tracks are of the proper length and do not require any kind of dual-file playback.


Technically the 2nd track would have to be opened and read whilst there is data from the first track in the buffers. Doing the 2nd track when the first track had finished completely would limit the player to audio formats which are fast to decode. Also keeping the 1st stream open allows skipping back in the last second of playback (if a 1 second buffer was used).

>but does it support gapless playback?

Indeed, since R12 (of Music Converter) we have had sample perfect mp3 decoding.

QUOTE
I love that you have R&B labs.


You would not be far wrong with that statement wink.gif


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
tommedema
post Aug 5 2008, 13:14
Post #15





Group: Members
Posts: 18
Joined: 10-June 08
Member No.: 54187



QUOTE (spoon @ Aug 5 2008, 02:15) *
QUOTE
other gapless MP3 players simply ensure that the tracks are of the proper length and do not require any kind of dual-file playback.


Technically the 2nd track would have to be opened and read whilst there is data from the first track in the buffers. Doing the 2nd track when the first track had finished completely would limit the player to audio formats which are fast to decode. Also keeping the 1st stream open allows skipping back in the last second of playback (if a 1 second buffer was used).

>but does it support gapless playback?

Indeed, since R12 (of Music Converter) we have had sample perfect mp3 decoding.

QUOTE
I love that you have R&B labs.


You would not be far wrong with that statement wink.gif


Okay, so I guess I just have to wait for your program smile.gif
Go to the top of the page
+Quote Post
spoon
post Aug 5 2008, 13:15
Post #16


dBpowerAMP developer


Group: Developer (Donating)
Posts: 2745
Joined: 24-March 02
Member No.: 1615



Wait no longer:

http://www.hydrogenaudio.org/forums/index....showtopic=65107


--------------------
Spoon http://www.dbpoweramp.com
Go to the top of the page
+Quote Post
tommedema
post Aug 5 2008, 16:59
Post #17





Group: Members
Posts: 18
Joined: 10-June 08
Member No.: 54187



QUOTE (spoon @ Aug 5 2008, 06:15) *


I'm not sure whether it is able to do what I want?
See http://www.hydrogenaudio.org/forums/index....id=581087&#
Go to the top of the page
+Quote Post
donnie
post Aug 9 2008, 12:51
Post #18





Group: Members
Posts: 121
Joined: 19-November 05
Member No.: 25865



QUOTE (tommedema @ Aug 4 2008, 21:33) *
@donnie
I tried xmms2 but it does not seem to playback gapless either..

So no luck yet.. or you guys do manage to playback gapless? (without any sound disruption when it goes from file 1 to file 2)


I've just checked this myself and there is indeed an audible gap (about 20ms) when using xmms2 on a LAME encoded pair of mp3s. Sorry for the misinformation. I personally use mpd which is far more mature and definitely completely gapless on properly encoded mp3s (tested with audacity on Dark Side of the Moon)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st August 2014 - 19:04