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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

318 APPENDIX B. PROGRAM LISTINGS<br />

/*<br />

Calculates the transfer matrix relating the acoustic parameters on<br />

each side <strong>of</strong> the hole.<br />

Parameters:<br />

f: the frequency.<br />

h: the hole.<br />

Returns:<br />

The transfer matrix for the hole.<br />

*/<br />

complex holeInputImpedance(double f, Hole hole);<br />

/*<br />

Calculates the input impedance <strong>of</strong> a Hole.<br />

Parameters:<br />

f: the frequency.<br />

h: the hole.<br />

Returns:<br />

The input impedance <strong>of</strong> the hole.<br />

*/<br />

complex closedFingerHoleLoadZ(double f, Hole hole);<br />

/*<br />

Calculates the load impedance <strong>of</strong> a closed finger hole.<br />

Parameters:<br />

f: the frequency.<br />

h: the hole.<br />

Returns:<br />

The load impedance impedance <strong>of</strong> the hole.<br />

*/<br />

complex closedKeyedHoleLoadZ(double f, Hole hole);<br />

/*<br />

Calculates the load impedance <strong>of</strong> a closed keyed hole.<br />

Parameters:<br />

f: the frequency.<br />

h: the hole.<br />

Returns:<br />

The load impedance impedance <strong>of</strong> the hole.<br />

*/<br />

complex openFingerHoleLoadZ(double f, Hole hole);<br />

/*<br />

Calculates the load (radiation) impedance <strong>of</strong> an open finger hole.<br />

Parameters:<br />

f: the frequency.<br />

h: the hole.<br />

Returns:<br />

The load (radiation) impedance impedance <strong>of</strong> the hole.<br />

*/<br />

complex openKeyedHoleLoadZ(double f, Hole hole);<br />

/*<br />

Calculates the load (radiation) impedance <strong>of</strong> an open keyed hole.<br />

Parameters:<br />

f: the frequency.<br />

h: the hole.<br />

Returns:<br />

The load (radiation) impedance impedance <strong>of</strong> the hole.

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

Saved successfully!

Ooh no, something went wrong!