impulses2
Contents
finger snap
% first finger snap acquired using sound recorder % finger_snap3_raw.wav, then truncated and output % as finger_snap3.wav % The powered microphone was the input device [yr fr] = wavread('finger_snap2.wav'); sound(yr,fr); t = (1:length(yr))/fr; plot(t,yr); xlabel('time (seconds)');
% next finger snap used wavrecord function [yr fr] = wavread('finger_snap3.wav'); sound(yr,fr); t = (1:length(yr))/fr; plot(t,yr); xlabel('time (seconds)');
% expand plot
[ymax n] = max(yr);
tmin = n/fr - 0.01;
tmax = tmin + 0.05;
idx = find(t>tmin & t<tmax);
plot(t(idx)-tmin,yr(idx));
wood bell
play example 1
[yr fr] = wavread('wood_bell2.wav'); sound(yr,fr); t = (1:length(yr))/fr; plot(t,yr); xlabel('time (seconds)');
drum
[yr fr] = wavread('drum2.wav'); sound(yr,fr); t = (1:length(yr))/fr; plot(t,yr); xlabel('time (seconds)');
hand clap
Play example 1
[yr fr] = wavread('hand_clap2.wav'); sound(yr,fr); t = (1:length(yr))/fr; plot(t,yr); xlabel('time (seconds)');
triangle
[yr fr] = wavread('triangle2.wav'); sound(yr,fr); t = (1:length(yr))/fr; plot(t,yr); xlabel('time (seconds)');
cymbal
Play example 1
[yr fr] = wavread('cymbal2.wav'); sound(yr,fr); t = (1:length(yr))/fr; plot(t,yr); xlabel('time (seconds)');