30.07.2015 Views

Synthesis of Sinusoidal Signals - Music Synthesis

Synthesis of Sinusoidal Signals - Music Synthesis

Synthesis of Sinusoidal Signals - Music Synthesis

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

scale.durations = 0.25 * ones(1,length(scale.keys));fs = 11025; %-- or 8000 Hzxx = zeros(1, sum(scale.durations)*fs+length(scale.keys) );n1 = 1;for kk = 1:length(scale.keys)keynum = scale.keys(kk);tone =n2 = n1 + length(tone) - 1;xx(n1:n2) = xx(n1:n2) + tone;n1 = n2 + 1;endsoundsc( xx, fs )%

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!