title: Converting .wav files to an array in MATLAB
body: <p>I am interested in creating an artificial neural network to create a simple guitar tuner and I am in the process of training the ANN in MATLAB. I am currently using <code>[y, Fs, nbits] = wavread('file.wav')</code> to capture the sound and then call <code>X = fft(y,256)</code> to generate an array. I want to generate the array so that I can use it as the input for the ANN. I would like to know if there is a better way to do this conversion since I am not getting the desired result.</p>