11.07.2014 Views

Flute acoustics: measurement, modelling and design - School of ...

Flute acoustics: measurement, modelling and design - School of ...

Flute acoustics: measurement, modelling and design - School of ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIX B. PROGRAM LISTINGS 314<br />

embouchure) to the outside radius <strong>of</strong> the embouchure hole<br />

branchZ: the impedance <strong>of</strong> the impedance branch (upstream or<br />

downstream section)<br />

Returns:<br />

the series resistance<br />

*/<br />

complex embouchureShuntConductance(double f, EmbouchureHole h,<br />

double entryratio);<br />

/*<br />

Returns the empirically-determined embouchure shunt conductance<br />

correction.<br />

Parameters:<br />

f: the frequency in Hz<br />

h: the EmbouchureHole<br />

entryratio: the ratio <strong>of</strong> the input side radius (impedance head or<br />

embouchure) to the outside radius <strong>of</strong> the embouchure hole<br />

branchZ: the impedance <strong>of</strong> the impedance branch (upstream or<br />

downstream section)<br />

Returns:<br />

the shunt conductance<br />

*/<br />

double matchingLengthCorrection(double a, double b);<br />

/*<br />

Returns the length correction corresponding to the 'matching volume'<br />

at the junction between a bore <strong>and</strong> a hole.<br />

Parameters:<br />

a: the bore radius at the hole<br />

b: the hole radius<br />

Returns:<br />

the matching length correction<br />

*/<br />

double innerRadiationLengthCorrection(double a, double b);<br />

/*<br />

Returns the length correction corresponding to inner radiation at<br />

the junction between a bore <strong>and</strong> a hole.<br />

Parameters:<br />

a: the bore radius at the hole<br />

b: the hole radius<br />

Returns:<br />

the inner radiation length correction<br />

*/<br />

double closedHoleSeriesLengthCorrection(double a, double b, double t);<br />

/*<br />

Returns the length correction corresponding to flow widening at the<br />

junction between a bore <strong>and</strong> a closed hole.<br />

Parameters:<br />

a: the bore radius at the hole<br />

b: the hole radius<br />

Returns:<br />

the series length correction<br />

*/<br />

double openHoleSeriesLengthCorrection(double a, double b);<br />

/*

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!