Commit 075c2ef9 authored by Markus Mueller-Trapet's avatar Markus Mueller-Trapet

bugfix for clipping detection with NI cards

parent a95efa1b
......@@ -92,7 +92,7 @@ if playback
peak_value = max(max(abs(data.timeData)));
if (peak_value > outputClipping) || (normalize_output)
ita_verbose_info('Oh Lord! Levels too high for playback. Normalizing...',0)
data = ita_normalize_dat(data);
data = data/peak_value*outputClipping;
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment