%Single valve
maxout=1.95;%max normalised value of instrument output
T=8;%Length of score s, if this is less than a time parameter in score values it is changed to longest time value

%score parameters take time value pairs, if final time entry is less than
%length of score it is assumed to remain constant from that time
%Lip area, mass, damping, equilibrium separation, width
Sr=[0,1.46e-5];
mu=[0,5.37e-5];
sigma=[0,5];
H=[0,0.00029];
w=[0,0.01];
%lip frequency as time(s) frequency(Hz) pairs [t,f]
lip_frequency=[0,200;
    4,200;
    4.5,150];%
%mouth pressure pressure as time(s) pressure(Pa) pairs [t,p]
pressure=[0,0;
    1e-4,1e4;
    3,1e4;
    4,5e4;
    7.9,5e4;
    8,0];
%vibrato amplitude and frequency
vibamp=[0,0;
    1,0;
    1.1,0.1;
    4.7,0.1;
    4.8,0;
    4.89,0;
    4.9,0.1];%fraction of normal frequency
vibfreq=[0,2;
    4.6,2;
    4.9,4];%frequency of vibrato
tremamp=[0,0];%fraction of normal mouth pressure
tremfreq=[0,0];%frequecny of tremolo
noiseamp=[0,0.005];%fraction of normal mouth pressure
%default tube openings(0-1) 1st column time, 2nd-1st valve, 3rd-2nd valve etc
valveopening=[0,1;
    4.4,1;
    4.9,0.4];
valvevibamp=[0,0.2;
    4.8,0.2;
    4.9,0;
    5.5,0;
    6,0.3];%valve vibrato amplitude
valvevibfreq=[0,3;
    5.9,3;
    6,5];%valve vibrato frequency