Post Reply 
 
Thread Rating:
  • 0 Votes - 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
Today, 03:01 (This post was last modified: Today 03:09 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

Tried a number of offline tools as well. Foobar2000 was slightly better than on-the-fly conversion. The best free converter was Tascam Hi-Res Editor but this was a manual process which required re-tagging all the generated wav files. The Tascam converted tracks came close to the originals. And before someone suggests Weiss Saracon, will be cheaper to re-purchase the music than purchasing the license.

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

Going forward, will rip the CD layer of the SACDs if I did not have them. May yet convert a few favorite DSDs to hi-res using Tascam and re-tag.


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
Post Reply 


Forum Jump:


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