Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#2482 | Link | |
|
Registered User
Join Date: Oct 2012
Posts: 8,623
|
Quote:
i mean it can change the audio clock by a lot like 50 % so the soundcard get not 192000 sample a sec it gets 288000 sample a sec. or how does changing the audio clock works? i see. didn't get that out of your "show usage tips". at least it makes now sense why it worked. |
|
|
|
|
|
|
#2483 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Yes the audio card simply plays treats it like a stream with higher number of samples per second. There's a maximum of how much it'll take but for the use case of rate tuner, it's more than enough. It'll probably not work with bitstreaming audio though but I've tested with LPCM via HDMI and it works fine.
|
|
|
|
|
|
#2485 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Well that might be the case but unless you can notice a difference in sound quality I wouldn't be too worried about it. For cards that can support higher sample rates, I'm pretty sure it doesn't. At least according to what I could find on the internet...
EDIT: Oh BTW, I use MPC Audio Renderer with WASAPI exclusive mode output so I don't think windows mixer has any say in this at all. Last edited by Zachs; 20th June 2015 at 13:28. |
|
|
|
|
|
#2486 | Link | ||
|
Registered User
Join Date: Oct 2012
Posts: 8,623
|
Quote:
Quote:
|
||
|
|
|
|
|
#2487 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Yes as with every other feature in MPDN, it goes without saying you should always do your own testing.
Heck you could even write your own audio renderer and it may break it completely, or it may be like reclock where it resamples it with rather high quality interpolators. Too many different ways you can use MPDN and too many different hardware / driver out there too. No. WASAPI exclusive mode does not have a mixer from Windows. I'm not sure what MPC Audio Renderer is using as its resampler but I would suspect it's probably libresample. |
|
|
|
|
|
#2488 | Link |
|
Registered User
Join Date: Oct 2012
Posts: 8,623
|
wasapi has an share mode which needs an mixer why should they remove the whole mixer in exclusive mode. the only thing that change is that it may not be used if possible if the bit deep is to high it still has to change that same of speaker layout so i guess same for sample rate.
it's not about working software is more about breaking hardware. by overclocking you can brake hardware. can over/under clocking the audio clock brake hardware? if it is resample by what ever program it is still running in specs and there is nothing to panic about but if not it may brake something. |
|
|
|
|
|
#2489 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Care to cite your source? From MSDN literature, even shared mode doesn't have that. You need to resampling yourself. Are you saying this is wrong?
Yes all I'm saying is direct sound may simply ask the sound card to sample at a higher rate but that rate has to be within specs of course. Changing the sample rare is essentially changing the 'clock'. I certainly didn't mean over / under clocking the sound card. Edit: I need to mention that different audio renderer will do it differently, and I was talking about direct sound before the conversation went to wasapi. In the direct sound renderer, as far as I can find out is that if a sample rate is supported by the sound card, it'll use it. Otherwise it'll get transparently resampled. Either way, the rate tuner doesn't do resampling. Edit 2: reading your reply again I think you're confusing what I'm saying. You kept saying mixer. The issue here is whether it resamples, not whether the mixer is in use. Obviously when in shared mode it is. But why would it need the mixer in Exclusive mode? And no, the mixer being present doesn't mean you don't need to resample. They are completely orthogonal. Last edited by Zachs; 20th June 2015 at 14:45. |
|
|
|
|
|
#2490 | Link | ||
|
Registered User
Join Date: Oct 2012
Posts: 8,623
|
Quote:
so the soundcard doesn't need to resample at all so the soundcard doesn't get out of spec values. i don't see how this can't be the same with WASAPI. you can set the output that is used in share mode so every program is forced to output that format so it may has to down mix and resample before sending it to wasapi or wasapi is using a mixer which is more likely. but can wasapi exclusive just send out of spec sample rates to the soundcard driver/card that sounds dangerous. Quote:
so the only change you can make is adding a resampler yourself so you have more control over the quality. |
||
|
|
|
|
|
#2491 | Link | |
|
Registered User
Join Date: Oct 2012
Posts: 8,623
|
Quote:
|
|
|
|
|
|
|
#2493 | Link |
|
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
I'm not sure what effect changing the audio clock has. It could be as innocent as just changing the setting of the clock chip slightly, with no further processing becoming active. But then, at some point the audio data will have to run through a DAC, and the DAC's clock will usually be set by the receiver. The big question is if this DAC's clock will be chained to the source's audio clock or not. Probably not. But that's already a problem even without changing the audio rate. The DAC will have to handle mismatching clocks to some extent. It's possible that changing the audio clock could result in more "adjustments" being done by the DAC in the receiver. This is all extremely hard to know/judge for us normal humans. Could be a great solution, or not, depending on how all the devices in the chain handle it. In theory, one receiver could produce exactly the same audio quality. Another receiver might produce higher jitter or something. Really hard to say. Testing this with bitstreaming might be a good idea. If it works with bitstreaming (which I don't think is impossible) without any audio quality issues then chances are good it will also work well with PCM. For bitstreaming testing I would recommend to use AC3 because that has the longest frame duration, so bitstreaming issues would be most noticeable. Another test would be to put this to the extreme and test rather high rate change values (like a factor of 1.5x or even 2.0x). At some point either the audio pitch has to noticeably change (indicating that either resampling is done or the audio clock is really adjusted by the receiver), or noticeable audio artifacts must show up.
|
|
|
|
|
|
#2494 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
Yes like I said earlier, everything comes down to how your hardware and/or driver and/or audio renderer handle it. It's no different from MPDN's high bitdepth output, as most madvr users have only just recently found out.
Wasapi allows the audio endpoint to request specific rates from the audio card. But like the graphics card and display resolution, not every hardware works the same. Some may need resampling, some may not. But just as the 10bit output, you really need to test it yourself. To get consistent behaviour across all hardware, the only solution would be to always resample it in software, which I had planned to do for some time now. |
|
|
|
|
|
#2495 | Link |
|
Suptitle, MediaPlayer.NET
Join Date: Nov 2001
Posts: 1,721
|
p.s. I personally use this in my setup because I just can't get my nvidia card to get close enough to the refresh rate I want. So far I haven't noticed any difference at all with the audio. So subjectively speaking it works great for me. When I get some time, I'll have a look into the MPC audio renderer code to see exactly what it does. There's no way to find out what the direct sound renderer actually does though...
From visual protective standpoint, this is definitely way better than fluid motion as it basically gives you stutter free viewing experience and your display can run at its natively supported frequency with all the advanced FRC features it offers. If you don't notice any difference in audio, I'd say this is definitely the recommended way to play video. Last edited by Zachs; 21st June 2015 at 07:21. |
|
|
|
|
|
#2496 | Link |
|
Angel of Night
![]() Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,567
|
I've got to say, the insanely fast changes to the installer was surprising and gratifying. This is the most responsive development project I've ever come across, not only for this, but everything about it. Thanks, Zachs and Belphemur and Shiandow!
|
|
|
|
|
|
#2497 | Link |
|
Registered User
Join Date: Oct 2012
Posts: 8,623
|
i just wanted to test for audio differences.
but i run into my general audio issues again this time way worse than usually. the first thing that changed is that the fullness is not the problem it is now staying at stable 90%. but now i see the ref clock changing when i hear an audio issue and some times a frame is delayed at the same time. the refclk deviations is skyrocketing after that. i even saw numbers like 0.35 % after 60 sec playback. that's without rate tuner. but i got this issue with it too. of cause i don't have that issue with madVR. |
|
|
|
|
|
#2500 | Link |
|
Registered User
Join Date: Dec 2013
Posts: 753
|
@all. There's been a lot of development these last few days not just by me but by the other developers as well. In fact, I think the next update might be one of the biggest yet! Anyway, here are some of the changes I've made that you can expect in the next version of the MPDN extensions:
ScriptGroup now has a new dialog similar to the ScriptChain dialog. This avoids the need for two separate dialogs. These changes to the Script Group are unfortunately not compatible with the older config files, those might need to be reset. SuperRes has been improved (or changed, anyway). Most of the parameters have become obsolete, the only remaining parameters are "passes", "strength" and "softness". The new algorithm is more consistent when combined with different prescalers, so there's no longer a need to save the parameters separately for each prescaler (the old behaviour can be mimicked by making a script group with multiple copies of SuperRes). And since there's an increasing number of possible prescalers the list of prescalers can now be modified freely. The new algorithm is capable of creating incredibly sharp images without increasing ringing and aliasing. That said it's not capable of removing ringing and aliasing either so using a good prescaler is essential (but more on that later). SuperChromaRes has been improved similarly, with an additional "bilateral prescaler" option. Enabling this option makes SuperChromaRes use it's own chroma upscaling method which uses the luma to guide the chroma upscaling. Hylian's excellent Super-xBR algorithm has also been ported to MPDN. It's already shown great promise in the MadVR thread but used as a prescaler for SuperRes makes it possible to get images that are sharper than I've ever seen with remarkably low aliasing and ringing. And Super-xBR doesn't seem to have reached it's peak yet so I'm excited to see how much more it can be improved! The new SuperRes, SuperChromaRes and Super-xBR scripts are still experimental so feedback would be highly appreciated! |
|
|
|
![]() |
| Tags |
| direct3d, mpdn, nnedi3, opencl, reclock |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|