% autoalign test
% generate files to test autoalign.m 

[fragment,fs] = audioread('../../AUDIO/SR1/pro.wav', [10*96000, 20*96000]); % from 0:10 to 0:20

% files with increasing leading zeros - end result should be all same file
N = 5; 
spacing = 45678; % samples

for i = 1:N
    audiowrite(['autoaligntest' num2str(i) '.wav'], ...         % file name
        [zeros(i*spacing, size(fragment, 2)); fragment], ...    % audio
        fs, 'BitsPerSample', 24);                               % format
end