%Doug Van Nort   MUMT 611 Final Project
%
%This script maps all of our observation sequence into the stored codebook


%***Violin Coding
OVL = zeros(42,100);

for i=1:42;
OVL(i,:) = code_obs_map(ftVL((i-1)*100+1:i*100,:),codebook,73);
end


OVR = zeros(42,100);

for i=1:42;
OVR(i,:) = code_obs_map(ftVR((i-1)*100+1:i*100,:),codebook,73);
end

%*****Flute coding

OFL = zeros(37,100);

for i=1:37;
OFL(i,:) = code_obs_map(ftFL((i-1)*100+1:i*100,:),codebook,73);
end


OFR = zeros(37,100);

for i=1:37;
OFR(i,:) = code_obs_map(ftFR((i-1)*100+1:i*100,:),codebook,73);
end
  %*****trumpet coding
  
  OTL = zeros(34,100);

for i=1:34;
OTL(i,:) = code_obs_map(ftTL((i-1)*100+1:i*100,:),codebook,75);
end


OTR = zeros(34,100);

for i=1:34;
OTR(i,:) = code_obs_map(ftTR((i-1)*100+1:i*100,:),codebook,75);
end