%%Doug Van Nort  MUMT 611  Final Project: Timbre Recognition via HMM's
%
%Script to load audio data, extract feature vectors (via scripit extract_features), and then clear
%workspace to save memory
%


%*********** FLUTE data *************
F1 = wavread('flute1.1.wav');    
    F1L = F1(:,1);
    F1R = F1(:,2);

F3 = wavread('flute1.3.wav');
    F3L = F3(:,1);
    F3R = F3(:,2);
F6 = wavread('flute1.6.wav');
    F6L = F6(:,1);
    F6R = F6(:,2);
F7 = wavread('flute1.7.wav');
    F7L = F7(:,1);
    F7R = F7(:,2);
F8 = wavread('flute1.8.wav');
    F8L = F8(:,1);
    F8R = F8(:,2);
F9 = wavread('flute1.9.wav');
    F9L = F9(:,1);
    F9R = F9(:,2);

F10 = wavread('flute1.10.wav');
    F10L = F10(:,1);
    F10R = F10(:,2);
F11 = wavread('flute1.11.wav');
    F11L = F11(:,1);
    F11R = F11(:,2);
F12 = wavread('flute1.12.wav');
    F12L = F12(:,1);
    F12R = F12(:,2);
F14 = wavread('flute1.14.wav');
    F14L = F14(:,1);
    F14R = F14(:,2);

F15 = wavread('flute1.15.wav');
    F15L = F15(:,1);
    F15R = F15(:,2);
F16 = wavread('flute1.16.wav');
    F16L = F16(:,1);
    F16R = F16(:,2);
F18 = wavread('flute1.18.wav');
    F18L = F18(:,1);
    F18R = F18(:,2);
F19 = wavread('flute1.19.wav');
    F19L = F19(:,1);
    F19R = F19(:,2);

F21 = wavread('flute1.21.wav');
    F21L = F21(:,1);
    F21R = F21(:,2);
F23 = wavread('flute1.23.wav');
    F23L = F23(:,1);
    F23R = F23(:,2);

F24 = wavread('flute1.24.wav');
    F24L = F24(:,1);
    F24R = F24(:,2);
F25 = wavread('flute1.25.wav');
    F25L = F25(:,1);
    F25R = F25(:,2);
F26 = wavread('flute1.26.wav');
    F26L = F26(:,1);
    F26R = F26(:,2);
F28 = wavread('flute1.28.wav');
    F28L = F28(:,1);
    F28R = F28(:,2);
F29 = wavread('flute1.29.wav');
    F29L = F29(:,1);
    F29R = F29(:,2);

F30 = wavread('flute1.30.wav');
    F30L = F30(:,1);
    F30R = F30(:,2);
F31 = wavread('flute1.31.wav');
    F31L = F31(:,1);
    F31R = F31(:,2);
F33 = wavread('flute1.33.wav');
    F33L = F33(:,1);
    F33R = F33(:,2);


F34 = wavread('flute1.34.wav');
    F34L = F34(:,1);
    F34R = F34(:,2);
F35 = wavread('flute1.35.wav');
    F35L = F35(:,1);
    F35R = F35(:,2);
F36 = wavread('flute1.36.wav');
    F36L = F36(:,1);
    F36R = F36(:,2);
%******flute test data******
F2 = wavread('flute1.2.wav');
    F2L = F2(:,1);
    F2R = F2(:,2);
F4 = wavread('flute1.4.wav');
    F4L = F4(:,1);
    F4R = F4(:,2);
F5 = wavread('flute1.5.wav');
    F5L = F5(:,1);
    F5R = F5(:,2);
F13 = wavread('flute1.13.wav');
    F13L = F13(:,1);
    F13R = F13(:,2);
F17 = wavread('flute1.17.wav');
    F17L = F17(:,1);
    F17R = F17(:,2);
F20 = wavread('flute1.20.wav');
    F20L = F20(:,1);
    F20R = F20(:,2);

F22 = wavread('flute1.22.wav');
    F22L = F22(:,1);
    F22R = F22(:,2);
F27 = wavread('flute1.27.wav');
    F27L = F27(:,1);
    F27R = F27(:,2);
F32 = wavread('flute1.32.wav');
    F32L = F32(:,1);
    F32R = F32(:,2);
F37 = wavread('flute1.37.wav');
    F37L = F37(:,1);
    F37R = F37(:,2);
%%%*******************

flute_feats;    %Script to extract features from audio

clear F1;       %then we clear the audio samples from memory
clear F1L;
clear F1R;
clear F2;
clear F2L;
clear F2R;
clear F3;
clear F3L;
clear F3R;
clear F4;
clear F4L;
clear F4R;
clear F5;
clear F5L;
clear F5R;
clear F6;
clear F6L;
clear F6R;
clear F7;
clear F7L;
clear F7R;
clear F8;
clear F8L;
clear F8R;
clear F9;
clear F9L;
clear F9R;
clear F10;
clear F10L;
clear F10R;
clear F11;
clear F11L;
clear F11R;
clear F12;
clear F12L;
clear F12R;
clear F13;
clear F13L;
clear F13R;
clear F14;
clear F14L;
clear F14R;
clear F15;
clear F15L;
clear F15R;
clear F16;
clear F16L;
clear F16R;
clear F17;
clear F17L;
clear F17R;
clear F18;
clear F18L;
clear F18R;
clear F19;
clear F19L;
clear F19R;
clear F20;
clear F20L;
clear F20R;
clear F21;
clear F21L;
clear F21R;
clear F22;
clear F22L;
clear F22R;
clear F23;
clear F23L;
clear F23R;
clear F24;
clear F24L;
clear F24R;
clear F25;
clear F25L;
clear F25R;
clear F26;
clear F26L;
clear F26R;

clear F27;
clear F27L;
clear F27R;
clear F28;
clear F28L;
clear F28R;
clear F29;
clear F29L;
clear F29R;
clear F30;
clear F31L;
clear F31R;
clear F32;
clear F32L;
clear F32R;
clear F33;
clear F33L;
clear F33R;
clear F34;
clear F34L;
clear F34R;
clear F35;
clear F35L;
clear F35R;
clear F36;
clear F36L;
clear F36R;
clear F37;
clear F37L;
clear F37R;

