function out = tone(bitnum)
% rmse = [];
x = 'gong.wav';
gonghits = [];
X=wavread('gong.wav');
X = 0.3*X/max(abs(X));
gonghits = [gonghits;X];
for iii=1:bitnum
   % x=cos((1:4096)*pi*64*f/(4096))+ cos((1:4096)*pi*64*f*ratB/(4096);
    gonghits = [gonghits;changingf(x,iii,1)];
end
wavwrite(gonghits,'gonghitsnowindow.wav');
% plot(1:bitnum,rmse)
% title('RMSE vs Bits (Windowed, Chord 3:7)')
% ylabel('RMSE')
% xlabel('Number of Bits Used')
Error using tone (line 8)
Not enough input arguments.