Commit 74e8a509 authored by Markus Mueller-Trapet's avatar Markus Mueller-Trapet

bugfix for excitation signal with multiple channels

parent 204e2c0f
...@@ -399,7 +399,7 @@ classdef itaMSPlaybackRecord < itaMSRecord ...@@ -399,7 +399,7 @@ classdef itaMSPlaybackRecord < itaMSRecord
ita_verbose_info('Leaving outputamplification unchanged',0); ita_verbose_info('Leaving outputamplification unchanged',0);
else else
outSens = omc.sensitivity('loudspeaker'); outSens = omc.sensitivity('loudspeaker');
this.outputamplification = 20*log10(abs(double(value/(this.raw_excitation.rms*outSens)))); this.outputamplification = 20*log10(abs(double(value/(max(this.raw_excitation.rms)*outSens))));
end end
end end
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment