Post Reply 
Room correction with convolution per sample rate
01-12-2018, 23:46
Post: #19
RE: Room correction with convolution per sample rate
I see that one of your goals with MinimServer/Streamer is to catch configuration errors as early as possible.

In this case, when you see a stream.options of the form:
convOut=-i /mnt/disk1/share/MinimServer/convolution/Cor1S#samplerate#.wav -lavfi afir=gtype=gn

You can test if there are any files that match "Cor1S#samplerate#.wav" in the directory:
/mnt/disk1/share/MinimServer/convolution/

If none, then error.

Else, test one (or all) of the files matching the pattern "Cor1S#samplerate#.wav" at the above directory with dummy input files with the same sample rate. You will need dummy files for sample rates: 44.1 kHz, 48 kHz, 88 kHz, ...., 384 kHz. You might need "n" copies of these for "n" different bit-depths (you mentioned #samplebits# could be another pattern option).

If one (or any) of these tests fail, report an error.

It's always possible that the user has a file at sample rate "x", but there is no FIR filter for sample rate "x" in the specified directory. Not much you can do about this. It seems unreasonable to require convolution filters for all sample/bit rates (but that is the only solution if you allow wildcard patterns, and want to ensure there can be no errors).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Room correction with convolution per sample rate - digimuse - 01-12-2018 23:46

Forum Jump:


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