% makeA440.m   Make a wav file with 3 second of A440
% P.Conrad for CISC106 

sampleRate = 44100;
bitsPerSample = 16;
volume = 0.9;  % volume should be a number between [0,1) (< 1)

samples = volume * sineWavVector(sampleRate,440,4);

wavwrite(samples,sampleRate,bitsPerSample,'a440_forNeil.wav');

