function freq = noteunwrap(note)
% This function unwraps a note to its 2nd octave freq. content
%--------------------------------------------------------------------------
A = 110;
freq = A;
switch note
    case 'A'
        freq = A;
    case 'A#' 
        freq = A*2^(1/12);
    case 'B' 
        freq = A*2^(2/12);
    case 'C' 
        freq = A*2^(3/12);
    case 'C#' 
        freq = A*2^(4/12);
    case 'D' 
        freq = A*2^(5/12);
    case 'D#' 
        freq = A*2^(6/12);
    case 'E' 
        freq = A*2^(7/12);
    case 'F' 
        freq = A*2^(8/12);
    case 'F#' 
        freq = A*2^(9/12);
    case 'G' 
        freq = A*2^(10/12);
    case 'G#' 
        freq = A*2^(11/12);
end