Hydrogenaudio Forums

Hydrogenaudio Forum => General Audio => Topic started by: mzso on 2016-06-12 10:34:51

Title: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-12 10:34:51
Hi!

I know it's integrated into some drivers and not into others. What I'm interested is having Dolby Headphone for the latter.

I'm also familiar with the foobar DH wrapper, but that's just for foobar. I want it for the whole system.

I found something (http://www.techpowerup.com/forums/threads/unlocked-realtek-hd-audio-drivers-with-dolby-digital-live-and-dts-interactive.193148/page-40#post-3370771) for realtek audio (since that's what I happen to have), but realtek utterly butchers it. The bass is gone, and the sound is ridiculously amplified.  (And who knows what else)
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Leo 69 on 2016-06-12 11:00:56
I've been interested in having the same Dolby Headphone thing for entire system without having that in the drivers by default.
There is actually no way of having it without support in the drivers. Most ASUS audio cards are equipped with Dolby Headphone feature by default, for example:
https://www.asus.com/us/Sound-Cards/Xonar_DX/
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: ErnestS on 2016-06-12 16:41:48
Create a clean impulse file with rephase, load it into foobar and convert it with Dolby Headphone as DSP applied. Then hook the impulse file into Equalizer APO (https://sourceforge.net/p/equalizerapo/wiki/Configuration%20reference/#convolution-since-version-10) via the built in convolver.

I attached a 44.1kHz impulse of setting DH3.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-12 17:00:09
Create a clean impulse file with rephase, load it into foobar and convert it with Dolby Headphone as DSP applied. Then hook the impulse file into Equalizer APO (https://sourceforge.net/p/equalizerapo/wiki/Configuration%20reference/#convolution-since-version-10) via the built in convolver.

I attached a 44.1kHz impulse of setting DH3.
Hmmm. I don't really understand what you propose, but how could a system wide equalizer replace Dolby Headphone's HRTF-s and whatnot?
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Juha on 2016-06-13 14:07:48
Create a clean impulse file with rephase, load it into foobar and convert it with Dolby Headphone as DSP applied. Then hook the impulse file into Equalizer APO (https://sourceforge.net/p/equalizerapo/wiki/Configuration%20reference/#convolution-since-version-10) via the built in convolver.

I attached a 44.1kHz impulse of setting DH3.
Hmmm. I don't really understand what you propose, but how could a system wide equalizer replace Dolby Headphone's HRTF-s and whatnot?
EqualizerAPO is not just a system wide equalizer but much more.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Arnold B. Krueger on 2016-06-13 14:54:02
Create a clean impulse file with rephase, load it into foobar and convert it with Dolby Headphone as DSP applied. Then hook the impulse file into Equalizer APO (https://sourceforge.net/p/equalizerapo/wiki/Configuration%20reference/#convolution-since-version-10) via the built in convolver.

I attached a 44.1kHz impulse of setting DH3.
Hmmm. I don't really understand what you propose, but how could a system wide equalizer replace Dolby Headphone's HRTF-s and whatnot?

A HRTF is just a response curve that can be duplicated with a suitable equalizer and equalization parameters.

It is proposed that you measure a frequency response curve created by the Dolby Headphone equalizer by means of measuring its impulse response.  Then transfer those equalization parameters to another equalizer.



Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-13 16:35:14
A HRTF is just a response curve that can be duplicated with a suitable equalizer and equalization parameters.
I'm highly doubtful of this.

Wikipedia describes it as:
Quote
HRTF describes how a given sound wave input (parameterized as frequency and source location) is filtered by the diffraction and reflection properties of the head, pinna, and torso, before the sound reaches the transduction machinery of the eardrum and inner ear (see auditory system).

I don't see how could this be done with plain equalization, that just only effects the spectrum of the audio.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Arnold B. Krueger on 2016-06-13 16:53:03
A HRTF is just a response curve that can be duplicated with a suitable equalizer and equalization parameters.
I'm highly doubtful of this.

Wikipedia describes it as:
Quote
HRTF describes how a given sound wave input (parameterized as frequency and source location) is filtered by the diffraction and reflection properties of the head, pinna, and torso, before the sound reaches the transduction machinery of the eardrum and inner ear (see auditory system).

I don't see how could this be done with plain equalization, that just only effects the spectrum of the audio.

That's not correct. Equalization affects both the spectral amplitude and the phase and timing of the signal.

Legacy equalizers often made amplitude and phase interdependent. Pick one, and you automagically picked a specific thing for the other.  For example minimum phase and linear phase are classic legacy filter designs where the frequency and phase response have a specific immutable mathematical relationship.  The relationship is different for each.

Modern equalizers can alter amplitude and phase independently. 

IMO you received good advice from Juha and Earnest S. The products they recommend and the setup procedures they recommend allow creating a filter with the same amplitude and phase as the filter in Dolby headphone.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-13 17:39:59
Okay. Thanks for the explanation
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: lvqcl on 2016-06-13 17:58:13
IIRC there was a foobar2000 plugin Stereo Convolver (https://hydrogenaud.io/index.php/topic,54966.0.html) and it required two impulse response files (L->effect->L and L->effect->R paths).

It's not possible to emulate crossfeed with simple convolver that processes channels separately.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Arnold B. Krueger on 2016-06-13 18:40:12
IIRC there was a foobar2000 plugin Stereo Convolver (https://hydrogenaud.io/index.php/topic,54966.0.html) and it required two impulse response files (L->effect->L and L->effect->R paths).

It's not possible to emulate crossfeed with simple convolver that processes channels separately.

Equalizer APO seems to have a channel mixer that can be used to create crossfeed effects.

Command manual: https://sourceforge.net/p/equalizerapo/wiki/Configuration%20reference/

Filtering command: COPY
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-13 18:53:14
IIRC there was a foobar2000 plugin Stereo Convolver (https://hydrogenaud.io/index.php/topic,54966.0.html) and it required two impulse response files (L->effect->L and L->effect->R paths).

It's not possible to emulate crossfeed with simple convolver that processes channels separately.
I'm not sure what you're getting at. What's certain is that DH goes up to 8 channels so anything stereo is insufficient.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: greynol on 2016-06-13 19:59:04
It's not possible to emulate crossfeed with simple convolver that processes channels separately.
I'm not sure what you're getting at. What's certain is that DH goes up to 8 channels so anything stereo is insufficient.
Just what you quoted above:  you cannot achieve proper HRTF unless the convolver can process those 2 < X < 9 channels separately.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: kode54 on 2016-06-14 02:21:27
The foobar plugin can be used to create impulses for that, but it will require a lot of work. You'll need to create 1 channel input files, perhaps RIFF WAV, and they need to be WAVEFORMATEXTENSIBLE with the correct speaker bit set for each of the 8 channels you wish to convolve.

Then you'll need to process each of those through the DSP, to produce each single 1 input -> stereo output impulse. Then you'll need the system-wide DSP to load each of those impulses, and apply all 1->2 impulses to each of its virtual 7.1 channels. And this method is still of questionable legality.

Then again, look at Hajo Headphone Enhancer for Mac. They basically do impulse convolution downmixing of 5.1 to stereo, and they appear to have generated their fixed impulses using rather expensive commercial software. I have no idea what the licensing for different software says about sampling impulses through their DSPs and distributing or even selling the results. It may be of questionable legality. (In this case, two of the included impulses are sampled from the New Audio Technology's Spatial Audio Designer. Or perhaps they figured out that NAT's Spatial Sound Card product, which also has a free demo, only blacklists piping its output into certain virtual sound cards, or perhaps they used an S/PDIF capture method instead? Either way, they're catching $18 registrations instead of forwarding 169€ dongle or machine locked registrations to NAT for something that essentially uses way more processing power, because it allegedly uses something way more sophisticated than fixed length FIR/FFT processing.)

So, if you're on a Mac, you can either figure out your own impulse setup, or you can register a copy of Hajo Headphone Enhancer, or deal with its periodic nag notices that randomly stop all sound output.

Alternate solutions for Windows include Asus and their Xonar drivers, which can do Dolby Headphone strengths 1 through 3, whether or not you use the somewhat buggy GX mode. I stopped using my Xonar card because it had horrible output to input interference on the front panel interface, which didn't occur when the same cable block was connected to the same machine's internal HD audio interface.

Or you could get one of Sennheiser's "surround" headsets, which also implement this surround using Dolby Headphone in the drivers. The drivers are tied to outputting to the cheap USB DAC/ADC adapter that they supply with the headset, but they're capable of virtualizing 4.0, 5.1, and 7.1 output in software, and don't attempt to pretend they support hardware acceleration effects like the Xonar drivers do.

Both of the Windows options I listed above are dependent on installing hardware.

There's a third option I know of for virtual surround, but I don't think it uses Dolby Headphone. Razer Synapse and their Virtual Surround feature, which is free for basic use, or a $29 or so registration for extended features, also does virtual surround through a virtual sound card, routing to your selected output device. I cannot recommend this driver at this time, though, as my recent experience with the new Doom game reveals that the audio runs through in alternating bursts of ~700ms of audio and ~700ms of silence, at least when the audio is being caught by Steam's In Home Streaming through WASAPI hooks or whatever Steam uses to hook into Vista+ audio drivers that only works if you have a real sound device active in the system. No such problem with VB-Cable, so it's obviously Razer's driver, which is now gone.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-14 12:33:51

There's a third option I know of for virtual surround, but I don't think it uses Dolby Headphone. Razer Synapse and their Virtual Surround feature, which is free for basic use, or a $29 or so registration for extended features, also does virtual surround through a virtual sound card, routing to your selected output device.
I tried that when it was new. It was inferior to DH, otherwise I'd still be using it. :)

Actually listened to a bunch of virtual surround methods thanks to youtube videos such as this: https://www.youtube.com/watch?v=04yEtZJVpyY

With all but Only Dolby headphone the sounds are perceived to come inside my head or in my ear.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-17 11:29:56
Create a clean impulse file with rephase, load it into foobar and convert it with Dolby Headphone as DSP applied. Then hook the impulse file into Equalizer APO (https://sourceforge.net/p/equalizerapo/wiki/Configuration%20reference/#convolution-since-version-10) via the built in convolver.

I attached a 44.1kHz impulse of setting DH3.
So I looked at this and rephase is a tad complicated software. Can anyone provide more verbose steps on how to "create a clean impulse file"? (An 8 channel one if I understand correctly is required)

(Not that I know how I get to applying the effect with Equalizer APO after loading the files into the convolver. I just didn't get that far.)
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2016-06-18 15:59:40
 For every channel you need left+right. So for 7.1 you need 16channels.
Here someone has already produced some DH files (but only 5.0)
http://forum.xda-developers.com/showthread.php?t=2764527

I will also try this but I don't know how to set up a the  Equalizer APO.  So far the convolution seems not to use the right channel mapping.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-18 16:04:39
For every channel you need left+right. So for 7.1 you need 16channels.
Here someone has already produced some DH files (but only 5.0)
http://forum.xda-developers.com/showthread.php?t=2764527

I will also try this but I don't know how to set up a the  Equalizer APO.  So far the convolution seems not to use the right channel mapping.
Thanks. I'll have a look.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2016-06-18 17:26:25
Ok after trying 1 hour I still have no idea how to set up binaural convolution in EQ-APO. 
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2016-06-18 20:07:06
Now I got it...
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-18 21:03:42
Now I got it...
Hi!
I wouldn't mind steps. I'm totally unfamiliar with both programs.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2016-06-19 10:23:12
I can't tell you anything to rephase but for teh EQ-APO I have used this settings for stereo (config.txt):

#Common preamp
Preamp: -8 dB
# Copy channels to virtual channels for the convolution to get the virtual speaker channels
Copy: L2=L R2=R
# Signals for Left & Right Headphone Channel from L Speaker
Channel: L L2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\cr7\L.wav
# Copy: L=0 L2=0
# Signals for Left & Right Headphone Channel from R Speaker
Channel: R R2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\cr7\R.wav
# Copy: R=0 R2=0
# Copy the virtual speaker channels to Left & Right Headphone Channel
Copy: L=1.0*L+1.0*R
Copy: R=1.0*L2+1.0*R2

Still this is only stereo. I'm not sure but it looks like you need a soundcard that allows 7.1 in order to get 7.1 into EQ-APO as it uses the Windows channel settings? Perhaps someone more experienced can tell more.
For 7.1 I used this settings but it did not work as I expected. I will have to test it with a 7.1 soundcard.

#Common preamp
Preamp: -15 dB
# Copy channels to virtual channels for the convolution to get the virtual speaker channels
Copy: L2=L R2=R C2=C SUB2=SUB RL2=RL RR2=RR SL2=SL SR2=SR
# Signals for Left & Right Headphone Channel from L Speaker
Channel: L L2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\sbs\L.wav
# Copy: L=0 L2=0
# Signals for Left & Right Headphone Channel from R Speaker
Channel: R R2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\sbs\R.wav
# Copy: R=0 R2=0
# Signals for Left & Right Headphone Channel from C Speaker
Channel: C C2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\sbs\C.wav
# Copy: C=0 C2=0
# Signals for Left & Right Headphone Channel from LFE Speaker
Channel: SUB SUB2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\sbs\SUB.wav
# Copy: SUB=0 SUB2=0
# Signals for Left & Right Headphone Channel from RL Speaker
Channel: RL RL2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\sbs\LS.wav
# Copy: RL=0 RL2=0
# Signals for Left & Right Headphone Channel from RL Speaker
Channel: RR RR2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\sbs\RS.wav
# Copy: RR=0 RR2=0
# Signals for Left & Right Headphone Channel from SL Speaker
Channel: SL SL2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\sbs\LB.wav
# Copy: SL=0 SL2=0
# Signals for Left & Right Headphone Channel from SL Speaker
Channel: SR SR2
Convolution: C:\Program Files\EqualizerAPO\config\convoluitonfiles\sbs\RB.wav
# Copy: SR=0 SLR=0
# Copy the virtual speaker channels to Left & Right Headphone Channel
Copy: L=1.0*L+1.0*R+1.0*C+1.0*SUB+1.0*RL+1.0*RR+1.0*SL+1.0*SR
Copy: R=1.0*L2+1.0*R2+1.0*C2+1.0*SUB2+1.0*RL2+1.0*RR2+1.0*SL2+1.0*SR2

Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-19 11:48:44
I can't tell you anything to rephase but for teh EQ-APO I have used this settings for stereo (config.txt):
Then how'd you get the impulse files?
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2016-06-19 13:27:19
I used some free binaural  impulse response files that were recorded with a dummy head.
I have a soundcard that supports Dolby Headphone but I  like these BRIRs much more. I already  uses the  BRIRs  with  a differenet convolver that can be used as a VST or directshow filter but not for the complete system like EQ-APO.

You can find the files here: (post 818).
http://www.head-fi.org/t/555263/foobar2000-dolby-headphone-config-comment-discuss/810.

All files are in  wav format with 16 channels.

But as I posted before you also can use the Dolby Headphone impulse files files from that site but that is only 5.1 and not 7.1. (The foobar DH wrapper also only supports 5.1)
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-19 18:14:45
I used some free binaural  impulse response files that were recorded with a dummy head.
I have a soundcard that supports Dolby Headphone but I  like these BRIRs much more. I already  uses the  BRIRs  with  a differenet convolver that can be used as a VST or directshow filter but not for the complete system like EQ-APO.

You can find the files here: (post 818).
http://www.head-fi.org/t/555263/foobar2000-dolby-headphone-config-comment-discuss/810.

All files are in  wav format with 16 channels.

But as I posted before you also can use the Dolby Headphone impulse files files from that site but that is only 5.1 and not 7.1. (The foobar DH wrapper also only supports 5.1)

Hmmm. If it's from a dummy head can you make it usable for eight channels > binaural? Or how does it work?
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2016-06-19 19:05:48
The dummy head BRIRS were  recorded for 360° and have 720 channels. I reduced them to 16ch for 7.1 .  The wav file  have the channel configuration that is mentioned in the file name (L_R_C_LFE_LS_RS_LB_RB).  For EQ-APO you have to  make seperate wav files for every speaker. So you have to put  the channels 1 and 2 into a seperate wav file (left speaker) , 2,3 into a seperate wav file (right speaker)  3,4  into a seperate wav file (center speaker)....

The procedure  would be the same for the DH files.

For using more than stereo you need a sound device that allows you to choose 5.1 or 7.1 in the windows settings! Otherwise Windows will downmix to stereo before  EQ-APO can do the convolution!
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-22 20:17:07
I used some free binaural  impulse response files that were recorded with a dummy head.
I have a soundcard that supports Dolby Headphone but I  like these BRIRs much more. I already  uses the  BRIRs  with  a differenet convolver that can be used as a VST or directshow filter but not for the complete system like EQ-APO.

You can find the files here: (post 818).
http://www.head-fi.org/t/555263/foobar2000-dolby-headphone-config-comment-discuss/810.

All files are in  wav format with 16 channels.

But as I posted before you also can use the Dolby Headphone impulse files files from that site but that is only 5.1 and not 7.1. (The foobar DH wrapper also only supports 5.1)

Hi!

Could you share whatever you made for EQ-APO? I'm curious how it sounds.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Joe Bloggs on 2016-06-23 05:03:00
I think a much simpler (in comparison!) method would be to setup the PC with a systemwide VST Host e.g. using Virtual Audio Cable and VSTHost, then simply use the Dolby Headphone VST adapter plugin.

Virtual Audio Cable or VB-Audio Cable
http://software.muzychenko.net/eng/vac.htm http://vb-audio.pagesperso-orange.fr/Cable/

VSTHost
http://www.hermannseib.com/english/vsthost.htm

Dolby Headphone VST wrapper
https://sites.google.com/site/tastymousakas/

This would let you apply Dolby Headphone and many, many more interesting operations besides, e.g.:
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2016-06-23 09:11:57

Hi!

Could you share whatever you made for EQ-APO? I'm curious how it sounds.

The settings for the EQ-APO are in reply 21.  You just must take one of the wav files and seperate it into the single speaker channels.   But for more than stereo you need a soundcard that allows you to choose 5.1 or 7.1 in the windows settings! Otherwise EQ-APO will only have stereo input!

If you just want to check how it sounds you also can use the method described in the headfi thread.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2016-06-23 09:23:06
I think a much simpler (in comparison!) method would be to setup the PC with a systemwide VST Host e.g. using Virtual Audio Cable and VSTHost, then simply use the Dolby Headphone VST adapter plugin.

This would let you apply Dolby Headphone and many, many more interesting operations besides, e.g.:


I always had troubles with the VST host to achieve 5.1 or 7.1 input with the free virtual audiocables.  Also you have a noticeable audio delay.  For me the setup of the VST host is  more difficult.
The EQ-APO does realtime convolution without any noticeable delay and the setup is not very difficult.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Joe Bloggs on 2016-06-23 10:15:14
I always had troubles with the VST host to achieve 5.1 or 7.1 input with the free virtual audiocables.  Also you have a noticeable audio delay.  For me the setup of the VST host is  more difficult.
The EQ-APO does realtime convolution without any noticeable delay and the setup is not very difficult.

It's worth paying to get Virtual Audio Cable which has 7.1 inputs and outputs.  No noticeable audio delay when using ASIO4ALL to interface the cables.

EQ-APO just doesn't do everything I want my sound system to do (bass management, multiband dynamic compression... :D )
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-06-23 11:10:52
The settings for the EQ-APO are in reply 21.  You just must take one of the wav files and seperate it into the single speaker channels.   But for more than stereo you need a soundcard that allows you to choose 5.1 or 7.1 in the windows settings! Otherwise EQ-APO will only have stereo input!

If you just want to check how it sounds you also can use the method described in the headfi thread.
I thought you'd end up with a DSP plugin of sorts for EQ APO.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Juha on 2016-06-23 13:04:54
VB-Audio (http://vb-audio.pagesperso-orange.fr/Cable/index.htm) has VAC software even as donation ware (for less than Myzenko's and also more useable) as like the Voicemeeter Banana.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: kode54 on 2016-07-13 05:03:47
I have sampled some impulses and produced a convolver here (https://gitlab.kode54.net/kode54/dh), but it's only code and untrimmed stereo impulses. The included sample_trim.c reduces them to their smallest sizes and converts them to a C include header. The included convolver uses either the included KissFFT, or may use your own supplied FFTW 3. The included dh2.c converts assumed 32 bit floating point wav files to a raw 32 bit floating point dump file, to demonstrate how to use the data and convolver.

Technically, this is should be legal, since I did sample the plug-in myself, using my own supplied input, so the impulse results belong to me.

You may note that the DH plug-in produced pure silence for the LFE channel in all cases. This may be intentional, or it may be due to a bug in foo_dsp_dolbyhph.

I welcome other impulse sets and ideas for this, assembled in a similar way, to a table of impulses. Further coding considerations include adding a FIR resampler to handle non-exact sample rates, and picking the rates from the tables based on (input_rate >= table_rate), and the loop should stop before testing the last item on the table, since all frequencies less than the second to last item should fall to the lowest item. The input will then be resampled to match the impulse. Conversely, it may be possible instead to resample the selected impulse to the rate of the input data, producing a set of longer impulses, but no longer requiring a constant resampler stage on the processing.

In my own testing, on my Retina 5K iMac with Core i7 4790K, the KissFFT code performed at about 31x real time on 44100Hz content, while the FFTW code on an AVX machine performed 77.93x real time. This may be improvable by vectorizing the complex math loop that sits between the forward and reverse FFT process that makes up the convolution of each channel.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2016-07-13 10:06:39
@kode54
Hi! Are you working on a virtual surround plugin for foobar2000?
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Juha on 2016-07-15 19:32:18
...
In my own testing, on my Retina 5K iMac with Core i7 4790K, the KissFFT code performed at about 31x real time on 44100Hz content, while the FFTW code on an AVX machine performed 77.93x real time. This may be improvable by vectorizing the complex math loop that sits between the forward and reverse FFT process that makes up the convolution of each channel.

Have you already looked this new DSP library? https://github.com/kfrlib/kfr
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: kode54 on 2016-07-16 00:06:00
Looks like quite a complex bit of code. And I don't see any way to use the univector type with a runtime defined vector size, rather than a compile time template parameter.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: samuelriddle on 2016-07-16 04:23:57
Hi!
By omitting the second template parameter you'll get univector with runtime defined size and all the member functions and constructors from std::vector.

Code: [Select]
univector<double> v1(100);   // runtime
univector<double, 100> v2;   // compile-time
univector<double, 0> v3(v2); // takes data() and size() from any vector-like class (similar to array_view from the future C++ standards)
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: kode54 on 2016-07-16 07:27:28
I ask, because if I consider writing a kfr based convolver, I would need to initialize them at runtime, likely using assign() or similar.

This is also at a disadvantage if I ever want to use it with foobar2000, since this level of templating is apparently unsupported by Visual Studio.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Juha on 2016-07-16 07:43:20
Which version of VS are you using?

Good alternative for KissFFT would be FFTS https://github.com/anthonix/ffts
Paper - http://www.cs.waikato.ac.nz/~ihw/papers/13-AMB-IHW-MJC-FastFourier.pdf
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: kode54 on 2016-07-16 09:00:08
https://github.com/anthonix/ffts/blob/master/src/codegen.c

This looks like it is not only GNU/Clang only code generation, but Unix only memory protection handling. It could probably be ported if I wanted to, though.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: Juha on 2016-07-16 10:20:14
...
This looks like it is not only GNU/Clang only code generation, but Unix only memory protection handling. It could probably be ported if I wanted to, though.

This https://github.com/linkotec/ffts might be helpful link in porting process...
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mudlord on 2016-07-19 07:56:52
However, for a library that doesn't need that codegen nonsense, there is a FFT library around that is heavily optimized using SSE/AVX intrinsics instead.

https://github.com/Themaister/muFFT

The author has also done a GPU based FFT library (https://github.com/Themaister/GLFFT) in some form, but I guess thats too experimental for some.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: kode54 on 2016-07-20 01:03:03
Not to mention introduces a lot of latency for something where you have to move the data across the bus to the GPU and back again. I assume that GPU library is mainly for use with image processing.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: bFooz on 2017-01-03 14:20:58
Few years ago I used to run DH with MPCHC with the help of ffdshow. It was not system wide and worked only in MPCHC. I also tried method with virtual audio cable, but was not working for me, lots of cracks.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2017-10-04 12:02:57
Hi!

It looks like someone made a pack of all commercial sound virtualization methods (https://sourceforge.net/p/equalizerapo/discussion/general/thread/3a03d8df/) for Equalizer APO. (Which includes Dolby headphone.)



Also in the meanwhile (a while ago) they uploaded near-field HRIRs (http://audiogroup.web.th-koeln.de/ku100nfhrir.html).
Though I don't know of anyone transforming them to be compatible with Equalizer APO.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: julialbert on 2017-10-05 09:11:01
VB-Audio has VAC software even as donation ware (for less than Myzenko's and also more useable) as like the Voicemeeter Banana.

Yes Its right, VB-Audio just like Voicemeeter and supports all audio interface: MME, Direct-X, KS, WaveRT, WASAPI, and ASIO to connect audio pro DAW or musical instrument.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: includemeout on 2017-10-05 12:02:12
Though a different beast, as I'm a happy bunny with foobar's Meier Crossfeed plugin (though still, not having it for all applications on my PC is a real bore) I haven't any inclination to try this, but I wonder if anyone here has heard/used the 4front Headphone (http://www.yohng.com/software/headphones.html) plugin, as an alternative to DH, which, though slightly deprecated, more or less promises similar results.

Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2017-10-21 13:33:48

Also in the meanwhile (a while ago) they uploaded near-field HRIRs (http://audiogroup.web.th-koeln.de/ku100nfhrir.html).
Though I don't know of anyone transforming them to be compatible with Equalizer APO.

I have done that already some time ago.
Here is a link to my OneDrive folder:
https://1drv.ms/f/s!AnbO8YLUAW6Jh1XaISDxGiV5Mlym
There are some impulse responses included that can be used with EQ-APO.  I have written a short manual for the correct setup. That is also included.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2017-10-21 20:05:22
I have done that already some time ago.
Here is a link to my OneDrive folder:
https://1drv.ms/f/s!AnbO8YLUAW6Jh1XaISDxGiV5Mlym
There are some impulse responses included that can be used with EQ-APO.  I have written a short manual for the correct setup. That is also included.
Thanks, I had a look. But I'm confused by the need for additional software.

If I extract the files in the appropriate folder and use this (based on the help file) do I get what I supposed to, by commenting/uncommenting the convolution lines?

They sound about right to me. The sounds have a spatial effect it seems.

Quote
#Common preamp
Preamp: 8 dB
#  L=Left ; R=Right C=Center; SUB=LFE; SL=Left Surround; RL=Rigth Surround, RL=Rear Left;
RR=Rear Right
#Create virtual speaker channels
    Copy: L0=L R1=L  L1=R  R0=R C1=C C2=C SUB0=SUB SUB1=SUB SL0=SL SR1=SL SL1=SR
SR0=SR RL0=RL RR1=RL RL1=RR RR0=RR 
#Mute Input Channels
    Copy: L=0 R=0 C=0 SUB=0 RL=0 RR=0 SL=0 SR=0
#virtual channels that are filtered
     Channel: L0 R1 L1 R0   SL0 SR1 RL0 RR1 C1 C2 SUB0 SUB1 SL0 SR1  SL1 SR0 RL0 RR1 RL1
RR0
#Folder of Convolution files complete folder name  or if files in config "\...."
Convolution: convolution\BRIRs\CR7_KU_ROTM_(L_R_C_LFE_LS_RS_LB_RB).wav
# Convolution: convolution\BRIRs\CR1_KU_ROTM_(L_R_C_LFE_LS_RS_LB_RB).wav
# Convolution: convolution\BRIRs\SBS_(L_R_C_LFE_LS_RS_LB_RB).wav
# Convolution: convolution\BRIRs\BBC_(L_R_C_LFE_LS_RS_LB_RB).wav
# Convolution: convolution\BRIRs\SSR_HRIR_CIRC360_NF150_(L_R_C_LFE_LS_RS_LB_RB).wav
# Convolution: convolution\BRIRs\SSR_HRIR_CIRC360_NF100_(L_R_C_LFE_LS_RS_LB_RB).wav
# Convolution: convolution\BRIRs\SSR_HRIR_CIRC360_NF075_(L_R_C_LFE_LS_RS_LB_RB).wav
# Convolution: convolution\BRIRs\SSR_HRIR_CIRC360_NF050_(L_R_C_LFE_LS_RS_LB_RB).wav
# Convolution: convolution\BRIRs\SSR_HRIR_CIRC360_NF025_(L_R_C_LFE_LS_RS_LB_RB).wav
# Convolution: convolution\BRIRs\BBCRD_(L_R_C_LFE_LS_RS_LB_RB).wav
 # Copy the virtual speaker channels to Left & Right Headphone Channel
Copy: L=L0+L1+C1+SL0+SL1+RL0+RL1   R=R1+R0+C2+SR1+SR0+RR1+RR0

Can you explain the filenames? (I suppose the ones with NF are the near-field ones, but even this is a guess, and what's the 025-150 number) Which is the closest to the standardized room for 5.1-7.1 speaker setups?

Is this pack superset of the old pack, but this time with separate headphone filters? (I never understood why the files were headphone specific, now I'm starting to suspect.)

Update:
I get a pretty annoying crackle when I start or stop playing anything. In foobar, my video player, browser, whatever. It's already going on my nerves....
What might be wrong?
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2017-10-21 22:21:02
Ugh. There were a couple line-breaks which shouldn't have been there in the text I copied from the pdf that broke stuff...
It seems okay now. (It got louder, and a couple of channels might have been missing too. )
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2017-10-21 23:37:38
The  free software vb-audio cable allows to use  7.1 with EQ-APO in any case. (e.g. also when your  soundcard only supports  stereo for headphone playback).  I strongly recommend it.
Peace is in my opinion the best gui for EQ-APO and the fastet way to switch between different rooms. I also recommend it.

If you don't like to install additional software then you can still use the usual EQ-APO config file configuration. 

The old pack was done for the convolver VST at a time where EQ-APO couldn't do  convolution. Hence, you can call this pack a superset of the old pack including a few additional rooms and separate headphone filters.

When you follow the links in the end of the pdf you will find information about the rooms and headphone filters. So far, I had no time to do a description. The pdf was written in very short time...

Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2017-10-22 08:26:55
The  free software vb-audio cable allows to use  7.1 with EQ-APO in any case. (e.g. also when your  soundcard only supports  stereo for headphone playback).  I strongly recommend it.
Peace is in my opinion the best gui for EQ-APO and the fastet way to switch between different rooms. I also recommend it.

If you don't like to install additional software then you can still use the usual EQ-APO config file configuration. 

The old pack was done for the convolver VST at a time where EQ-APO couldn't do  convolution. Hence, you can call this pack a superset of the old pack including a few additional rooms and separate headphone filters.

When you follow the links in the end of the pdf you will find information about the rooms and headphone filters. So far, I had no time to do a description. The pdf was written in very short time...


Thanks for the info
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2017-10-24 13:16:21
Hi!

I'm wondering... Sometimes I have to spend a bunch of time on linux. Is there an analog of Equalizer APO for linux that I might use?

BTW, I'm really liking "SSR_HRIR_CIRC360_NF150_(L_R_C_LFE_LS_RS_LB_RB).wav". So far it's the only thing that might be equal-or-better than Dolby Headphone.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2017-10-24 16:26:41
What headphones do you use? Do like it for music or movies?
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: eric.w on 2017-10-24 20:09:28
Is there an analog of Equalizer APO for linux that I might use?
I haven't used this personally, but this is what I would try:
https://github.com/bmc0/dsp/wiki/System-Wide-DSP-Guide
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2017-10-24 22:44:01
What headphones do you use? Do like it for music or movies?
I use/like it generally for everything. I have an ATH-30X right now, but this is not really a factor in it for me.

Is there an analog of Equalizer APO for linux that I might use?
I haven't used this personally, but this is what I would try:
https://github.com/bmc0/dsp/wiki/System-Wide-DSP-Guide
Thanks for the tip.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2017-10-25 11:12:55
@mzso
Don't underestimate the headphone filters! I use a AKG 701 and Sennheiser HD555 and it is a huge difference when I use the headphone filters.  The tonal balance and also the "out of your head" feeling is much better for me with the matching headphone filter!

Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2017-10-25 14:36:33
@mzso
Don't underestimate the headphone filters! I use a AKG 701 and Sennheiser HD555 and it is a huge difference when I use the headphone filters.  The tonal balance and also the "out of your head" feeling is much better for me with the matching headphone filter!


Tried a few but they only seemed to deteriorate things to me.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2017-10-25 18:47:04
That is not surprising as there is no filter for the ATH-30X. For the Neumann KU-100 there is even no filter that is close to this headphone.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2018-01-24 13:50:23
Hi!

So I tried peace. I managed to get it to function (though the guide has some false information to where to put the config files)

I have a significant issue though. When I turn it off and I play a multi channel video I only hear the front left/right channels...

Same thing happens when I clear the EQ APO config file. So there's no way to get back to an unmanipulated multi channel output, only by uninstalling EQ APO? (Or adding who-knows-what into config.txt)
This is bad...

I really miss a way to switch off everything.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: musicreo on 2018-01-26 22:08:27
I have a significant issue though. When I turn it off and I play a multi channel video I only hear the front left/right channels...

Do you use  a 7.1 speaker set up or stereo? Do you use Peace/EQ-APO with a virtual soundcard? 
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2018-01-26 22:16:48
I have a significant issue though. When I turn it off and I play a multi channel video I only hear the front left/right channels...

Do you use  a 7.1 speaker set up or stereo? Do you use Peace/EQ-APO with a virtual soundcard? 
Ouch. Now I realize I was being silly. I was so used to having output set at 7.1, that it didn't occur to me that I have to set it back to stereo when I disable surround virtualization...
Thanks for the reply.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: andy o on 2019-03-30 07:53:19
It looks like someone made a pack of all commercial sound virtualization methods (https://sourceforge.net/p/equalizerapo/discussion/general/thread/3a03d8df/) for Equalizer APO. (Which includes Dolby headphone.)
I've had an eye on this thread for a while, and just came back to say that this worked and from the looks of it it's the easiest for a non-technical person to install and run. I've installed it on two computers on Win 10 pro and are working flawlessly.

A couple of caveats, if the sound card doesn't expose surround channels, you'll need to use the Voicemeeter method or the Audio Repeater KS methods (it's in the instructions). The other is that I think Realtek cards have some issue with EQ-APO, which is fixed with the experimental EQ-APO setting "Install as SFX/EFX".
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: j314 on 2019-04-01 04:03:06
I'm trying to develop a raspberry pi based solution for this...

* Source (PC, games console, others) sends 5.1 bitstream through TOSlink (Dolby Digital Live or DTS Interactive). No dependency on specific OS etc as long as you can get DDL or DTS-I working.
* TOSlink into the pi. Software on the pi decodes the bitstream, applies one of several different varieties of HRTF, and sends the result to toslink out.
* TOSlink from pi to your DAC.

I also intend to have it detect when 2.0 vs 5.1 content is playing and apply different processing to each (maybe you want an aggressive virtualisation effect for 5.1 but a simple crossfeed, or nothing at all, for 2.0). May as well have some general EQ features too.

Is this something others would be interested in? I'm glad to see interest in virtual surround but I'm not sure how many people would be prepared to set up a pi-based DSP for it!
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2019-04-01 11:02:09
@j314
I'd recommend using the pack by musicreo. NF150 is the best sourround virtulaization that I tried in my opinion. (I think that's the reference layout for speakers).
There are also variants down to NF 025 where the virtual speakers are closer.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: j314 on 2019-04-01 18:26:05
I'd recommend using the pack by musicreo. NF150 is the best sourround virtulaization that I tried in my opinion. (I think that's the reference layout for speakers).
I'll try it out! I've mainly used HeSuVi's HRIRs so far. But I definitely want to get away from this messy APO solution with virtual sound cards and the like, towards a hardware approach that can also work with consoles.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: andy o on 2019-04-02 01:31:31
The JVC SU-DH1 did exactly that. I have one and used to use it for my PS3, but since moving I didn't bother to set it up again. One drawback is that it only works with 2AA batteries, although they last a long time. The Japanese version was supposed to accept a wall source as well. It's kind of a shame that it didn't succeed and I think there were very few others that made similar adapters (but not as complete in features) but meant for gaming.

It's also a shame that Dolby hasn't pushed DH more. Right now Dolby Atmos for Headphone is pretty useless on Windows 10 since you can't virtualize the surround input channels that pretty much all media apps need the soundcard to provide, to output in surround. I have never had it work with anything, not even with the Dolby app with video samples, and if it's working it's extremely inferior to Dolby Headphone.

Dolby also had an opportunity for an amazing set of headphones with DH, but missed it by releasing the extremely expensive Dolby Dimension (https://products.dolby.com/dimension/) which work over Bluetooth and don't do anything to provide surround virtualization since it only accepts stereo audio. It has head tracking though, but I wonder how much better it would have been if it offered at least SPDIF input and DH combined with head tracking.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2019-04-02 09:56:28
Right now Dolby Atmos for Headphone is pretty useless on Windows 10 since you can't virtualize the surround input channels that pretty much all media apps need the soundcard to provide, to output in surround.
I'm not sure I understand this at all. Why  would the soundcard output surround it is already virtualized into to channels?
How is a media app even relevant to what the soundcard outputs?
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: j314 on 2019-04-02 14:37:42
I'm not sure I understand this at all. Why  would the soundcard output surround it is already virtualized into to channels?
How is a media app even relevant to what the soundcard outputs?
Suppose you start watching a video with a 6-channel soundtrack in VLC. When it starts, VLC checks how many channels the selected sound device has. If it has 6, the channels are played back as-is, one-to-one. If it has 2, VLC makes a stereo downmix and ouputs that.

A solution like Spatial Sound Card or HeSuVi+VB Cable will cause Windows (and therefore playback software, games, etc) to see a 6/8-channel device, and therefore will output multichannel audio. Your chosen virtualisation solution therefore has all 6/8 channels to work with.

Dolby Atmos/Windows Sonic/etc do not change the number of channels the device appears to have, so VLC/games will only output stereo. Your virtualisation software will only have 2 channels to work with, and therefore won't actually be able to virtualise at all. I'm actually a bit confused as to when exactly Sonic/Atmos does work- as far as I can see, the media player or game has to specifically support it.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: andy o on 2019-04-02 14:47:30
Yup, I don't know either when are those supposed to work. Right now pretty much all of the references I see are for games, which makes it even more confusing, since some games come with Atmos for headphones, so do I still need that on the Windows Sound panel to be enabled, or does the game do the processing and outputting to 2 channels? And if the latter, why the heck did I buy Dolby Atmos on the Windows store?
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2019-04-02 19:42:56
I'm not sure I understand this at all. Why  would the soundcard output surround it is already virtualized into to channels?
How is a media app even relevant to what the soundcard outputs?
Suppose you start watching a video with a 6-channel soundtrack in VLC. When it starts, VLC checks how many channels the selected sound device has. If it has 6, the channels are played back as-is, one-to-one. If it has 2, VLC makes a stereo downmix and ouputs that.

A solution like Spatial Sound Card or HeSuVi+VB Cable will cause Windows (and therefore playback software, games, etc) to see a 6/8-channel device, and therefore will output multichannel audio. Your chosen virtualisation solution therefore has all 6/8 channels to work with.

Dolby Atmos/Windows Sonic/etc do not change the number of channels the device appears to have, so VLC/games will only output stereo. Your virtualisation software will only have 2 channels to work with, and therefore won't actually be able to virtualise at all. I'm actually a bit confused as to when exactly Sonic/Atmos does work- as far as I can see, the media player or game has to specifically support it.
I suppose it can't because it isn't integrated into the driver.  Could DH even do this? I know EQ APO surround virtualization has the same issue.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: mzso on 2019-04-02 19:45:10
And if the latter, why the heck did I buy Dolby Atmos on the Windows store?
Isn't that free? I remember someone linking something free before.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: kode54 on 2019-04-03 01:55:47
No, it's not free. It's $14.99, after the 14 day free trial.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: andy o on 2019-04-03 07:23:02
I'm not sure I understand this at all. Why  would the soundcard output surround it is already virtualized into to channels?
How is a media app even relevant to what the soundcard outputs?
Suppose you start watching a video with a 6-channel soundtrack in VLC. When it starts, VLC checks how many channels the selected sound device has. If it has 6, the channels are played back as-is, one-to-one. If it has 2, VLC makes a stereo downmix and ouputs that.

A solution like Spatial Sound Card or HeSuVi+VB Cable will cause Windows (and therefore playback software, games, etc) to see a 6/8-channel device, and therefore will output multichannel audio. Your chosen virtualisation solution therefore has all 6/8 channels to work with.

Dolby Atmos/Windows Sonic/etc do not change the number of channels the device appears to have, so VLC/games will only output stereo. Your virtualisation software will only have 2 channels to work with, and therefore won't actually be able to virtualise at all. I'm actually a bit confused as to when exactly Sonic/Atmos does work- as far as I can see, the media player or game has to specifically support it.
I suppose it can't because it isn't integrated into the driver.  Could DH even do this? I know EQ APO surround virtualization has the same issue.
That's why these solutions don't rely solely on EQ-APO if you don't have a multichannel device, they require you to install a virtual audio device as a middleman. The sound cards that come with integrated DH like some of the Xonar ones have in their control panel an input # of channels (e.g. 7.1 in this case) and an output # of channels. If you select the output channels as headphones, they give you the DH options, if you select stereo speakers, they give you Dolby Virtual Speaker.
Title: Re: Is there a way to get Dolby Headphone system-wide on any PC?
Post by: nu774 on 2019-04-20 13:10:22
This may be off-topic since this is not a "system-wide" solution, but anyway...
You can use ffmpeg's sofalizer filter ( https://ffmpeg.org/ffmpeg-filters.html#sofalizer ) to load and apply SOFA files (https://www.sofaconventions.org/mediawiki/index.php/SOFA_(Spatially_Oriented_Format_for_Acoustics), which you can grub from http://sofacoustics.org/data/ for example.

In case of mpv player, you can use sofalizer like this (in Windows):
Code: [Select]
mpv --af=lavfi=[sofalizer=sofa="C\\:/Users/foo/bar.sofa"] file-to-play
Note the backslashes before colon in the path name. Since colons are used as delimiters in the ffmpeg filter spec, you would need to escape them.
SimplePortal 1.0.0 RC1 © 2008-2019