'Loaded audio file'


#1

Hi!

During startup of our app we load hundreds, if not thousands of impulse responses stored in wave files. They’re all tiny wave files, so loading them happens rather quickly, but we do see a lot of spam inside the console due to this. This flood of messages obfuscates potential warnings and/or log messages of interest we’re actually interested in. Would it be possible to remove this message, or to temporarily mute it as we’re loading these files?

Regards,
Marcel

[info] Loaded audio file: binaural/CIPIC/subject163/30azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/30azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/35azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/35azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/40azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/40azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/45azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/45azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/55azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/55azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/5azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/5azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/65azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/65azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/80azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/80azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg10azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg10azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg15azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg15azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg20azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg20azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg25azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg25azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg30azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg30azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg35azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg35azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg40azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg40azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg45azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg45azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg55azleft.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg55azright.wav
[info] Loaded audio file: binaural/CIPIC/subject163/neg5azleft.wav

#2

@stijnvanbeek can remove the debug print message for you…


#3

Perhaps move it so when calling the ‘low-level’ nap::audio::readAudioFile function it doesn’t log, but when loading it through the resource manager or something, do log.