Matlab 7.1 -

% Play the sound (MATLAB 7.1 compatible) sound(audio_signal, fs);

% Initialize empty audio signal audio_signal = []; matlab 7.1

% Add short silence between notes (optional) silence = zeros(1, round(0.02 * fs)); % Play the sound (MATLAB 7