Dolby Headphone Wrapper DSP, foo_dsp_dolbyhp |
Dolby Headphone Wrapper DSP, foo_dsp_dolbyhp |
Dec 4 2005, 13:08
Post
#1
|
|
![]() Group: Members Posts: 50 Joined: 26-November 05 Member No.: 26010 |
I'd like to introduce a DSP I've been developing these weeks. It's a Dolby Headphone wrapper DSP.
After some research on Lake DOLBYHPH.DLL bundled with software DVD players, I was able to find out its protocol used to interface with the client app. Then, why not make it work for myself?! And that was how foo_dsp_dolbyhp was originated. It wraps the functionality of the original DLL to be used under foobar2000. You just need to configure the plugin pointing out the location of that DLL in your system. Of course I'll NOT give any help about how to get that DLL. foo_dsp_dolbyhp is available at the usual 3rd party component website. Any comments, criticisms, bug reports and legal issues |
|
|
|
![]() |
Dec 6 2006, 21:40
Post
#2
|
|
|
Group: Developer Posts: 97 Joined: 6-June 06 Member No.: 31515 |
QUOTE Can it really? After all you only have two channels as input (2.0 -> 5.1 with the PL2 plugin) and two channels as output (5.1 -> 2.0 with the DHP plugin). How can you have something "behind you" if there is neither "behind"-information in the source material nor any physical "behind"-information in the two output channels? Yes, it can. If the source is encoded in Dolby Stereo (which exist since ~1970). For each sound source you determine where it is, relative to the listener, along 2 major axes: left <-> right and center <-> rear. Then, it's encoded like this (taken from wikipedia): Left Total = Left*1.000 + Right*0.000 + Center*0.707 + RearLeft*j*0.8165 + RearRight*j*0.5774 Right Total = Left*0.000 + Right*1.000 + Center*0.707 + RearLeft*k*0.5774 + RearRight*k*0.8165 j = + 90º phase-shift , k = - 90º phase-shift Its hard to get the original directions back from Left Total / Right Total, but its possible (with some assumptions such as relative stability of locations/frequencies over time and limited number of separable sources - probably up to 4). This is your "behind" information in the source. So where is the behind information in the output? Well, how can you determine if anything is behind you if your brain gets only two streams of audio (left ear+right ear)? It can do this *only* because the sound coming from behind you sounds differently from sound coming from infront of you. That works because sound either gets blocked or reflected by your earlobes. Cut them off and you loose your spatial information. This difference can be recorded and reproduced electronically. Listen to the samples at http://binaural.jimtreats.com/ This is your "behind" information in the output. QUOTE It would be great if you could make as most settings available to the user as possible. That way one would be able to tweak the plugin for an optimal use. After all I believe that a professional upmixing algorithm like Dolby Pro Logic II has to have some advantages over mere channel doubling. But at the current state of the plugin I cannot say that I really like the sound it produces. Yeah, I'd like to add a separate volume control for each channel (I think this would be the most important thing - if no other plugin like channel mixer can do this), but doing all this GUI c*** is what I hate most about software development and I need a bit free time for that. The second possible option is "music mode" versus "movie mode". Its in music mode by default, b/c movie mode makes not much sense within a music player, I think. And I believe that this implementation doesn't have any more advanced options like "center width" and "dimension" like some more expensive A/V receivers have. If you find any software player that supports this in its PL2 implementation then tell me please (I'm interested). QUOTE I've tested a bunch of songs up till now, and PL2 has won none of them. 4 chan -> DHP has won most, and no DSP has won a few. It's not up to loudness or extra bass, I can assure you. But I also made a test where I RG gained a FLAC file, then outputted each file with the different DSP, then RG'd those, and then tested them. I'm not disappointed in the surround aspect or the soundstage---it reminds me a bit of listening to my 5.1 system. However, it feels like I have my ears in tubes and there are speakers in the end of those; the music has this weird tinny feeling to it, I'll post samples if this doesn't make sense. I believe you, although I cannot second that in general. But I'd definitely like to hear a few of those samples. I found some stuff that sounds equally good, e.g. Dover, Coldplay, some others. And some cinematic soundtracks like Once Upon A Time In Mexico (especially) or Gladiator seem to sound better with DPL2. But I think I have understood what you mean by tinny. Since I use PL2 in exactly the same way as the Program that ships the DLL I suspect that this is an inherent problem of the combination of DPL2 and the virtual speakers present in Dolby Headphone. I am confident that I can solve that by equalization, though. Christian |
|
|
|
Dec 6 2006, 23:41
Post
#3
|
|
|
Group: Members Posts: 291 Joined: 27-January 04 From: Germany Member No.: 11530 |
Okay, I think you're right about the "behind" information. But how often do you encounter music that contains an embedded surround signal? Isn't most music on a CD saved in plain stereo?
|
|
|
|
Chungalin Dolby Headphone Wrapper DSP Dec 4 2005, 13:08
Stratman QUOTE (Chungalin @ Dec 4 2005, 04:08 AM)I... Dec 4 2005, 22:55
Chungalin If the plugin is working fine and you have selecte... Dec 5 2005, 00:24
Stratman QUOTE (Chungalin @ Dec 4 2005, 03:24 PM)If th... Dec 5 2005, 22:04
Chungalin Best results are obtained when a 5.1 signal is use... Dec 6 2005, 01:57
kode54 Interesting limitation there. I always wondered wh... Dec 6 2005, 02:22
thegeek Nice job, works quite well. There is no doubt that... Dec 11 2005, 06:54
edwardar Just wanted to say thanks for a really useful plug... Dec 13 2005, 01:45
GiGurra QUOTE (edwardar @ Dec 12 2005, 06:45 PM)Just ... Dec 14 2005, 20:06
Chungalin I can't hardly do anything to improve DH sound... Dec 15 2005, 00:19
GiGurra QUOTE (Chungalin @ Dec 14 2005, 05:19 PM)I ca... Dec 15 2005, 15:38
Chungalin Looks interesting. I've found the full specifi... Dec 15 2005, 17:07
GiGurra QUOTE (Chungalin @ Dec 15 2005, 10:07 AM)Look... Dec 15 2005, 21:40
ItsLateIMustSleep Is it possible to use that Plugin in Winamp, too?
... Jan 2 2006, 02:36
Chungalin I had to choose between Winamp and foobar2000 when... Jan 4 2006, 03:23
Dark_Angel If you can find a way to do this but for the Dolby... Jan 9 2006, 05:09
daveuu Definately a worthwhile plugin! Thanks.
I w... Jan 9 2006, 14:18
daveuu QUOTE (daveuu @ Jan 9 2006, 02:18 PM)I was wo... Jan 11 2006, 02:06
option1 Thank you for this great plugin!!!
I... Jan 16 2006, 14:59
Chungalin Discussing technical details about how I did it is... Jan 18 2006, 01:51
euphonic I'd love to try out the plugin -- rock & r... Feb 12 2006, 11:46
admiraljustin I'm in love this, and I hope it's ported t... Feb 12 2006, 19:29
Chungalin Since there have been two folks asking me the same... Feb 18 2006, 01:12
iZenja QUOTE (Chungalin @ Feb 17 2006, 06:12 PM)I ex... Mar 28 2006, 09:27
ssamadhi97 The foobar2000 SDK provides plenty of help for han... Feb 18 2006, 03:32
Audionut I love this plugin. Produces very pleasing sound t... Mar 28 2006, 12:36
Chungalin There will be 0.9 version. I'm in the process ... Mar 28 2006, 23:23
iZenja QUOTE (Chungalin @ Mar 28 2006, 04:23 PM)Ther... Mar 29 2006, 23:14
david_dl QUOTE (iZenja @ Mar 30 2006, 11:14 AM)QUOTE (... Apr 5 2006, 05:33
fred_frno I love this plugin ! too bad I discovered it o... Apr 2 2006, 17:36
broski QUOTE (fred_frno @ Apr 2 2006, 08:36 AM)I lov... Apr 5 2006, 03:08
falconfox never knew about this plugin. i am excited to test... Apr 5 2006, 04:33
Chungalin Today I've started the port to 0.9. There... Apr 23 2006, 00:55
Chungalin Just uploaded the updated plugin for 0.9.x at 3rd ... Apr 30 2006, 14:21
MrMuffin Wow, I didn't realize the effect would be so d... May 1 2006, 00:31
Chungalin While testing this new version I tried to feed the... May 1 2006, 12:39
GeSomeone QUOTE (Chungalin @ May 1 2006, 01:39 PM) ... May 1 2006, 14:07
prawns I've just tried this plugin. Nice work, Chunga... May 1 2006, 14:24
MrMuffin After much work, I figured out how to encode my DT... May 1 2006, 23:32
Hancoque I have version 1.2.0.222 of DolbyHph.dll. I think ... May 5 2006, 00:33
Rogacz Will it be possible to do something similar, but f... May 5 2006, 23:18
Chungalin Haven't got into this CMSS-3D thing, first of ... May 6 2006, 22:49
Rogacz Ummm there is a Creative software bundled with the... May 7 2006, 23:02
euphonic Out of curiosity, does anyone know what ffdshow... May 12 2006, 21:10
lextune I am interested in trying this plugin out, but cal... May 12 2006, 22:36
Hancoque Just use your computer's local search function... May 13 2006, 03:44
lextune QUOTE (Hancoque @ May 12 2006, 22:44) Jus... May 13 2006, 16:22
Spirit_of_the_ocean QUOTE (lextune @ May 13 2006, 16:22) QUOT... Dec 2 2006, 00:17
MrMuffin Alright, I may have found some insight as to what ... May 13 2006, 08:31
atjs QUOTE (MrMuffin @ May 13 2006, 15:31) I a... May 13 2006, 18:46
deadfones Can someone please put the 0.8.3 version up somewh... May 14 2006, 09:00
thuneau I just wanted to express my gratitude to Chungalin... Jul 3 2006, 05:20
Chungalin Thanks thuneau for your feedback.
Regarding the b... Jul 4 2006, 02:44
Peter L I am delighted to find this wrapper. For some tim... Aug 15 2006, 14:16
Peter L Same newbie again. I got it licked - apparantly, ... Aug 16 2006, 03:07
mkeroppi Thanks! This is great. Dolby Headphone is the ... Sep 15 2006, 06:59
greekgoddj Hello,
Would like to say you have done a great jo... Oct 27 2006, 11:34
Chungalin For those who where asking here, a Dolby Headphone... Nov 18 2006, 14:47
Hancoque It doesn't work for me. In Cubase all it does ... Nov 19 2006, 04:16
greekgoddj QUOTE (Hancoque @ Nov 19 2006, 04:16) It ... Nov 19 2006, 14:00
Hancoque Yes, the file was already there. But I also tried ... Nov 19 2006, 14:10
greekgoddj QUOTE (Hancoque @ Nov 19 2006, 14:10) Yes... Nov 19 2006, 14:57
Kblood Hello,
The original website seems to be down (at ... Nov 29 2006, 11:22
Chungalin Kblood and all others, I've uploaded the lates... Dec 1 2006, 02:01
Kblood Thanks a lot!!! Dec 1 2006, 06:21
saberrider I use that component with version 1.2.0.222 of the... Dec 1 2006, 23:38
Chungalin Thanks saberrider. As always, 99% of the credit go... Dec 2 2006, 14:27
hushypushy Man, this is a great DSP. Any chance to get a wina... Dec 3 2006, 02:43
Hancoque You should upmix stereo material to at least 4 cha... Dec 3 2006, 15:49
Chungalin It has already been discused about the convenience... Dec 3 2006, 19:53
hushypushy I agree with Hancoque. Stereo to 4 channels --... Dec 3 2006, 20:27
Hancoque QUOTE (Chungalin @ Dec 3 2006, 19:53) I t... Dec 4 2006, 01:44
Chungalin Very interesting and clarifying experiment.
The t... Dec 4 2006, 03:19
Hancoque QUOTE (Chungalin @ Dec 4 2006, 03:19) Whi... Dec 4 2006, 11:25
Andreasvb For PL2XDLL.dll, you can download PowerDVD, it... Dec 4 2006, 11:29
Hancoque Thanks, that worked.
PowerDVD also has an olderne... Dec 4 2006, 14:51
Chungalin OK, but have in mind that 1.10.0.270 is *not* olde... Dec 4 2006, 19:35
Hancoque Oh, you're right. Stupid me. Dec 4 2006, 19:55
Chungalin Hancoque, here you have a test version with checkb... Dec 5 2006, 02:34
hushypushy Chungalin, could you please elaborate on what that... Dec 5 2006, 10:01
Hancoque @Chungalin: I will check it out later today.
@hus... Dec 5 2006, 12:58
hushypushy QUOTE (Hancoque @ Dec 5 2006, 03:58) @hus... Dec 6 2006, 00:41
Chungalin This version is not a fix, it just shows a new con... Dec 5 2006, 14:55
Morfeus It produces some weird sound, but it doesn't m... Dec 5 2006, 18:32
Hancoque I have made a new graphical comparison. This time ... Dec 6 2006, 04:29
hushypushy QUOTE (Hancoque @ Dec 5 2006, 19:29) But ... Dec 6 2006, 08:08
pro_optimizer QUOTE edit: Just did a couple of tests with PLII a... Dec 6 2006, 11:35
hushypushy QUOTE (pro_optimizer @ Dec 6 2006, 02:35)... Dec 6 2006, 20:18
Hancoque QUOTE (hushypushy @ Dec 6 2006, 08:08) Ar... Dec 6 2006, 15:00
Chungalin Thanks Hancoque for taking your time to make these... Dec 6 2006, 18:22
pro_optimizer QUOTE Okay, I think you're right about the ... Dec 7 2006, 00:21
hushypushy Whoa whoa whoa, I'd love to see some source in... Dec 7 2006, 03:07
pro_optimizer QUOTE (hushypushy @ Dec 7 2006, 03:07) Wh... Dec 8 2006, 01:25
hushypushy Very interesting...I will mess with this.
By the ... Dec 8 2006, 07:23
pro_optimizer Hi folks,
I was just thinking about how PL2 works... Dec 9 2006, 01:25
hushypushy I've been trying to understand how PL works fo... Dec 9 2006, 05:54
pro_optimizer QUOTE So let me ask you this: why do you think tha... Dec 9 2006, 16:09
Nathan P Wow, I am finding this plugin incredibly enjoyable... Jan 2 2007, 01:07![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 11:34 |