Commit 228312c1 authored by Mueller-Trapet's avatar Mueller-Trapet

make sure we have even samples

parent fc88f6f6
...@@ -15,6 +15,8 @@ function varargout = ita_demosound(varargin) ...@@ -15,6 +15,8 @@ function varargout = ita_demosound(varargin)
% Created: 16-Aug-2011 % Created: 16-Aug-2011
result = ita_resample(ita_read('itademosong.ita'),ita_preferences('samplingRate')); result = ita_resample(ita_read('itademosong.ita'),ita_preferences('samplingRate'));
% make even samples
result.nSamples = floor(result.nSamples/2)*2;
%% Find output parameters %% Find output parameters
varargout(1) = {result}; varargout(1) = {result};
......
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