Help - Search - Members - Calendar
Full Version: dBpoweramp Renaissance
Hydrogenaudio Forums > Hydrogenaudio Forum > Validated News
spoon
dBpoweramp Renaissance is a revitalization of dAP (dBpoweramp Audio Player), re-built from the ground up with specific unique goals (think high end Sonos or Squeezebox). Development is currently at stage 1.

Stage 1

µPlayer

Designed to be the most efficient (in terms of memory footprint and resources used) audio player ever designed, featuring:

Gapless playback
ReplayGain
Multi Audio Collection Aware
Multi Zone Capable
Wave, DirectX, ASIO, WDM and Apple Airport outputs [under development]

Gapless playback: sample perfect decoding of mp3, Ogg and of course any lossless format.

Multi Audio Collection Aware: uPlayer works with multiple audio collections, queue files for one collection and with the same player que a separate list of files under a different name. Assign multiple output zones to a single collection.

Multi Zone Capable: µPlayer is able to play the same audio perfectly synced through multiple sound cards. In addition a multi channel sound card will be able to be split into individual zones (ie 7.1 card split into 3 or 4 2 channel zones) [splitting is under development]

Putting Multi Audio Collection / Zones together - think of a whole home system, 4 or 5 zones, one persons audio collection could be playing through-out all downstairs zones, upstairs another persons audio collection can play. All these zones are handled internally from a single efficient program - uPlayer could playback 20 independent streams using less memory and resources than a typical player.

µPlayer is a command line player, it is able to interface programmatically with external 'controlling' programs, or interact with simple command line switches.

Details on ReplayGain (by default the DSP will scan for RG if not in ID Tags and store in an internal DB for next playback):

http://forum.dbpoweramp.com/showthread.php?t=17415
spoon
Installation

http://www.dbpoweramp.com/beta/uplayer.exe 991KB

µPlayer will run on Windows Vista / XP / 2000

By default uPlayer can decode: FLAC, mp3, Wavpack, Wave
Other codecs install from Codec Central: http://www.dbpoweramp.com/codec-central.htm


µPlayer Command Line Switches

µPlayer is designed to have one running in the background, additional commands (sent to another µPlayer) are passed automatically to the one running:

uPlayer command line:
CODE

    -zone="device:settings:shownname"    if omited, default is 'waveout:-1:(default)'
    -collection="collection_name"        if omited, default is '(global)'
    -skipnext                skip to next track
    -skipprev                skip back to begin, or previous track (if < 5 seconds into current)
    -pause
    -unpause
    -stop                    stops playback (pass zone and collection if not default)
    -close                    close all players (zone independent)
    -mute
    -unmute
    -play="filename"            play file
    -enqueue="filename"            queue file  (does not start playing)
    -penqueue="filename"            priority queue file  (does not start playing)
    -volume="x"                set volume 1..100
    -skippc="x"                skip to x %  (0 to 100)


Example usage:

"c:\program files\illustrate\dbpoweramp\uplayer.exe" // start player
"c:\program files\illustrate\dbpoweramp\uplayer.exe" -enqueue="c:\somefile.mp3" // queue a file (and playback will auto begin)
"c:\program files\illustrate\dbpoweramp\uplayer.exe" -enqueue="c:\anotherfile.mp3" // queue another file

or more advanced:

"c:\program files\illustrate\dbpoweramp\uplayer.exe" -collection="bob" -zone="waveout:1:z1{;}waveout:2:z2" // start player, outputting 'bob' collection to zone 1 & zone 2
"c:\program files\illustrate\dbpoweramp\uplayer.exe" -collection="spoon" -zone="waveout:3:z3" // start player, outputting 'spoon' collection to zone 3
"c:\program files\illustrate\dbpoweramp\uplayer.exe" -collection="bob" -enqueue="c:\somefile.mp3" // queue a file for bob
"c:\program files\illustrate\dbpoweramp\uplayer.exe" -collection="spoon" -enqueue="c:\somefile1.mp3" // queue a file for bob
"c:\program files\illustrate\dbpoweramp\uplayer.exe" -collection="spoon" -pause // pause spoon playback


uPlayer storage and queue:

CODE

%appdata%\dbpoweramp\uPlayer\

    (collection)-previous.bin                    Previous Files Played (capped at 500 files)
    (collection)-pqueue.bin                        Priority enqueued
    (collection)-queue.bin                        Enqueued
        ** saved as unicode [MAX_PATH * 2] per file record

    default-dsps.bin                            DSPs used by default unless a collection dsp file is present
    (collection)-dsps.bin                        DSPs used by a collection
        ** -dsps.bin saved as unicode   ShowName\r\nSettings\r\nShowName1\r\nSettings1
    
    Any dBpoweramp 'Live' DSP effect can be used.



Bear in mind uPlayer is currently not for the faint hearted, there are no graphicals: it an efficient player, pure and simple.

Future development stages are: Stage 2: backend SQL database, auto track searching, auto updating, open field design. 'Glue' to tie a collection and random playback. Stage 3: Visuals, collection editing. Stage 4: Multi network streamer & hardware (top end hardware design: embedded operating system, silent system, no moving parts, PSU isolation, iTouch / iPhone remote control, Outputs: 4 zones, balanced XLR, usual digital outputs).
menno
Can you remove FAAD2? Or comply with the GPL? Thanks.
spoon
Handling the request for GPL discussions here:

http://www.hydrogenaudio.org/forums/index....mp;#entry581065
tommedema
QUOTE(spoon @ Aug 5 2008, 08:36) *

Handling the request for GPL discussions here:

http://www.hydrogenaudio.org/forums/index....mp;#entry581065


Sweet program spoon.

However, when I enqueue 2 .wav files and play them after each other I hear a very small "click" if I turn my headphones on.

Is that an issue with my sound files or with gapless playback or anything you can say about it? smile.gif

PS. I made the sound files by splitting 1 . flac file into 2 .wav files using Audacity.

Another problem ->
When I enqueued 2 files and start playing I can not enter any new commands. So I have to either stop playing or wait until the queue is finished to add a new file to the queue. But that would interrupt my gapless playback.

The thing is that with my program I need to re-enter new files to the queue while it is playing. Any comments about that?
j7n
QUOTE(spoon @ Aug 5 2008, 14:17) *
In addition a multi channel sound card will be able to be split into individual zones (ie 7.1 card split into 3 or 4 2 channel zones) [splitting is under development]

This will be very useful. I wish driver authors made it possible already. Now everybody owns a multichannel sound-"card", but I doubt a significant part of these users can setup properly arranged surround loudspeakers.
spoon
uPlayer Install Updated

m4a removed from default install.

QUOTE
This will be very useful. I wish driver authors made it possible already. Now everybody owns a multichannel sound-"card", but I doubt a significant part of these users can setup properly arranged surround loudspeakers.


Intel are doing just that for their next generation on-board sound. Maybe it will catch on, as at the driver level it is much easier to do than at a program level.

QUOTE
However, when I enqueue 2 .wav files and play them after each other I hear a very small "click" if I turn my headphones on.


If you could email those wave files please:

http://www.dbpoweramp.com/email.htm

QUOTE

Another problem ->
When I enqueued 2 files and start playing I can not enter any new commands. So I have to either stop playing or wait until the queue is finished to add a new file to the queue. But that would interrupt my gapless playback.

The thing is that with my program I need to re-enter new files to the queue while it is playing. Any comments about that?


When you enqueue audio files the .exe returns straight away, when you call the player to do the playing the exe does not return, so you need to call the player and not wait on its return (depending on how you call there is normally a switch to wait for the application to finish).
tommedema
I've send you the .wav files, and I will lookup that switch. I always thought you could only send input if it returns.

Moderation: It's entirely unnecessary to quote the previous post in its entirety.
spoon
uPlayer Install Updated

2nd update today, fixes a gapless issue.
tommedema
QUOTE(spoon @ Aug 6 2008, 08:57) *

uPlayer Install Updated

2nd update today, fixes a gapless issue.


Redownloaded it, still have the same problem however. Send more info by mail.
spoon
I have re-issued it (same link first msg), make sure you clear the internet cache as the fix was tiny and did not change the exe size and IE can use the one from the cache, if you have the right programs the install will show Beta 0.11 and the .exes with have a version number 1.0.0.2
ChesterB
Another kick-ass project by spoon. Congratulations!
Agent69
QUOTE(spoon @ Aug 5 2008, 07:32) *

µPlayer is designed to have one running in the background, additional commands (sent to another µPlayer) are passed automatically to the one running


Heck Spoon, maybe you should have made the background component a Windows Service that could be managed locally and across TCP/IP networks; just like MPD can.
tommedema
QUOTE(spoon @ Aug 7 2008, 03:08) *

I have re-issued it (same link first msg), make sure you clear the internet cache as the fix was tiny and did not change the exe size and IE can use the one from the cache, if you have the right programs the install will show Beta 0.11 and the .exes with have a version number 1.0.0.2


Ok I managed to download the new version.

However, I still have the same problem with gapless playback with the .wav files I send you by mail.

I hear a tiny "click" sound when it goes from part1.wav to part2.wav - if you can not hear it then try putting on headphones or something, because it is there.. and it's noticeable even though it's very short.

I can't hear any difference from the previous version though (I do have the new version, says version 1.0.0.2 in the file properties thing).

smile.gif
spoon
>Heck Spoon, maybe you should have made the background component a Windows Service that could be managed locally and across TCP/IP networks; just like MPD can.

We will be running it as a service, just without the need for a web server. If that is needed it could be added independant to the player, after all it is a player with zero bloat.

------------------------------------------

>I hear a tiny "click" sound when it goes from part1.wav to part2.wav - if

If you manually join part1.wav and part2.wav there is a click...
westgroveg
Spoon you heard of uPlayer?
tommedema
QUOTE(westgroveg @ Aug 9 2008, 08:02) *

Spoon you heard of uPlayer?


That program is discontinued. And isn't even compareable with spoon's to be honest.
flacflac
Very interesting project, Spoon.

Is this, or will this be open source? If not: why not?

ff
spoon
QUOTE
Spoon you heard of uPlayer?


I have now.

QUOTE
Is this, or will this be open source?


No it will not be.
Agent69
QUOTE(spoon @ Aug 7 2008, 12:16) *

>Heck Spoon, maybe you should have made the background component a Windows Service that could be managed locally and across TCP/IP networks; just like MPD can.

We will be running it as a service, just without the need for a web server. If that is needed it could be added independant to the player, after all it is a player with zero bloat.



MPD doesn't use a webserver. IIRC, it is controled via a TCP/IP port by clients written specifically for it.
Sebastian Mares
QUOTE(tommedema @ Aug 9 2008, 20:52) *

QUOTE(westgroveg @ Aug 9 2008, 08:02) *

Spoon you heard of uPlayer?


That program is discontinued. And isn't even compareable with spoon's to be honest.


But it's using the same name.
rosshmusic
What is this being written in... sure would be nice if we could use it on *nix systems...

Will it always be windows only?
spoon
It is heavily tied to Windows through our unique c++ class system (think of a mini ATL, full of helper classes for all operations: file handling, audio reading / buffering, etc).
spoon
ReplayGain processing abilities added

See first message.
BlAcKnOiSe
QUOTE
Multi Zone Capable: µPlayer is able to play the same audio perfectly synced through multiple sound cards. In addition a multi channel sound card will be able to be split into individual zones (ie 7.1 card split into 3 or 4 2 channel zones) [splitting is under development]

Hmmm... If you can take this 1 step further, that would be heaven: a digital crossover. biggrin.gif

Since the player is going to output 3 or 4 (or more with multi cards) sets of stereo signal, each output would need a fully user adjustable linear phase bandpass filter, maybe some other neet stuff, and... voila...

Of course this would need a quality 32bit float engine which is also desireable... rolleyes.gif

Or if this is unmanagable, please make sure that the user can add vst/directx plugins to EACH stereo output independently.

Bye the way, the project is very trusting, and I'm looking forward to it... smile.gif

Maybe a player that can rival foobar?... rolleyes.gif
tdicola
This sounds pretty cool, I'll definitely keep an eye on the project. Will you have any libraries or programmatic ways to control the player besides the command line? A .NET interface would be awesome. smile.gif
spoon
Will be adding a COM object so .NET will be no problem.
spoon
COM Object details (scritping in VBS, VB.NET, C#):

http://www.dbpoweramp.com/developer-scripting-uplayer.htm
niktheblak
Ok, so basically we now have a .NET interface. Awesome cool.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.