% brversion 1.0
custominstrument=1;%this is 0 if you have a real instrument bore
FS=44100;%sample rate
temperature=20;%temperature in C
vpos=[3500,4000,4500];%position of valve in mm
vdl=[20,20,20];%default (shortest) tube length mm
vbl=[1224,594.6,1892];%bypass (longest) tube length mm (will add default length to either side of bypass tubes)
xmeg=30;x0eg=[80,200,1000,5000,695];Leg=10000;
rmeg=40;r0eg=[20,25,3;25,28,1;28,34,1;34,40,2;34,34,1];
rbeg=500;fbeg=1.9;
