Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Volume loss converting DSF to Wav with Convolution
08-05-2019, 09:05
Post: #1
Volume loss converting DSF to Wav with Convolution
Using Minimserver 0.8 update 128, Minimstreamer 0.7.12
DAC takes only PCM max 24/192

I am using stream.transcode dsf:wav24;176 to convert dsf (64) music to 24/176. From the documentation, I understand the Minimstreamer has a 2 step process:
- convert DSF to 32/358
- convert 32/358 to 24/176

Conversion to DSF works fine without convolution. However, when convolution is enabled, there is a large volume drop in the region of 20 dB !!!

The convolution impulse files for the different rates are all about the same volume.

Have I missed something? Or is there an issue here?
Find all posts by this user
Quote this message in a reply
08-05-2019, 17:08
Post: #2
RE: Volume loss converting DSF to Wav with Convolution
Which version of FFmpeg are you using? What is your exact setting of stream.options?
Find all posts by this user
Quote this message in a reply
09-05-2019, 04:42
Post: #3
RE: Volume loss converting DSF to Wav with Convolution
Info from ffmpeg -version

ffmpeg version 4.1.1-0york1~16.04 Copyright © 2000-2019 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
-------------

stream.options convOut= -i /media/music/pa/convolve/Filters1*.wav -lavfi afir
stream.transcode flac:wav,dsf:wav24;176

Convolution reduces volume by about 1 dB for flac files. For dsf files, volume drops by about 20 dB. Have convolution filters for all sample rates including 356.4 & 176.2 KHz
Find all posts by this user
Quote this message in a reply
11-05-2019, 10:18
Post: #4
RE: Volume loss converting DSF to Wav with Convolution
Try this instead:

convOut= -i /media/music/pa/convolve/Filters1*.wav -lavfi afir=gtype=gn
Find all posts by this user
Quote this message in a reply
11-05-2019, 13:19
Post: #5
RE: Volume loss converting DSF to Wav with Convolution
(11-05-2019 10:18)simoncn Wrote:  Try this instead:

convOut= -i /media/music/pa/convolve/Filters1*.wav -lavfi afir=gtype=gn
Thank you! Slight drop in volume but much better than previously.

Can't say I understand the new option, but it works!
Find all posts by this user
Quote this message in a reply
11-05-2019, 14:52
Post: #6
RE: Volume loss converting DSF to Wav with Convolution
Another alternative:

convOut= -i /media/music/pa/convolve/Filters1*.wav -lavfi afir=wet=10
Find all posts by this user
Quote this message in a reply
13-05-2019, 14:10
Post: #7
RE: Volume loss converting DSF to Wav with Convolution
Following up after rechecking convolution volume setting and measuring loudness of various music.
Using option -lavfi afir=gtype=gn fixed the volume drop when converting from DSD to wav.

Using option -lavfi afir=wet=10 does not work. It boosts all the volume of all formats, both flac and DSD. And DSD is very soft compared with flac.

Thank you Simon. I no longer have to convert all my DSD files to flac.
Find all posts by this user
Quote this message in a reply
13-05-2019, 14:25
Post: #8
RE: Volume loss converting DSF to Wav with Convolution
Thanks for this. I have updated the MinimStreamer user guide to recommend using afir=gtype=gn for volume adjustment.
Find all posts by this user
Quote this message in a reply
22-05-2019, 03:01 (This post was last modified: 22-05-2019 06:16 by Snoopy08.)
Post: #9
RE: Volume loss converting DSF to Wav with Convolution
(13-05-2019 14:10)Snoopy08 Wrote:  Thank you Simon. I no longer have to convert all my DSD files to flac.
Was premature with the above statement. While using option -lavfi afir=gtype=gn fixed the considerable volume drop when converting from DSD, there was still a volume drop which I could have lived with. But in critical listening, the converted 24/176.4 tracks had less body and considerably less bass. Sad

Now the BAD news. CD 16/44.1 was better than ffmpeg on-the-fly conversion! Confused

Same problem, whether convolution is enabled or not. Looks like I will have to convert all my DSD files after all.


If anyone wants to do your own testing, suggest using 2L's free test materials on
http://www.2l.no/hires/
Download (further down page) Hoff Ensemble: Blågutten: original CD 16/44.1, Stereo DSD 64, Stereo 24/96, and other versions as required. Blågutten has good bass as the beginning and the difference should be obvious...
Find all posts by this user
Quote this message in a reply
23-05-2019, 20:54
Post: #10
RE: Volume loss converting DSF to Wav with Convolution
How did you do on-the-fly transcoding for the DSD version of this test track? The DSD downloads are DFF, not DSF. Only DSF can be transcoded by MinimStreamer and FFmpeg.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)