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


Forum Jump:


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