SF2: bsefextract produces -inf
- From: Tim Janik <timj gnu org>
- To: Stefan Westerfeld <stefan space twc de>
- Cc: beast gnome org
- Subject: SF2: bsefextract produces -inf
- Date: Thu, 9 Mar 2017 16:01:00 +0100
Hi Stefan,
with current wip/soundfont, I'm getting -inf on some audio tests.
Here's a test case for -inf results from bsefextract:
http://testbit.eu/~timj/.tmp/sum-diff-test.wav
(temporary URL, will be removed at some point in the future)
tools/bsefextract sum-diff-test.wav --cut-zeros --channel 0 --avg-spectrum \
--spectrum --avg-energy
gives:
avg_energy = -inf;
Since 'master' works fine here, I suspect that the SF2 branch change *some*
timing aspects of the engine or engine initialization, which probably affects
the number of zeros initially generated by bsetool render2wav. E.g. fluidsynth
bootup, or the introduction of a master lock which I'm still not quite fond of...
After looking at a couple runs, I can say that the amount of non-zero samples in
the sum-diff-test.wav file varies a *lot* between runs. I've picked an example
from 'make check' for you that has astonishingly *few* samples.
--
Yours sincerely,
Tim Janik
https://testbit.eu/timj/
Free software author.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]