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.

APPENDIX B. PROGRAM LISTINGS 215<br />

double playabilityLevel(Minimum m) {<br />

/* implement M5' model tree */<br />

Minimum mcomp = getCompletedMinimum(m);<br />

double LM, LM1, LM2;<br />

LM1 =<br />

- 0.0028 * mcomp->Z<br />

+ 0.0090 * mcomp->numharm<br />

+ 0.0023 * mcomp->meanharmZ<br />

+ 0.0002 * mcomp->L_min_df<br />

+ 0.0040 * mcomp->L_min_dZ<br />

- 0.0005 * mcomp->L_max_df<br />

+ 0.0033 * mcomp->L_max_dZ<br />

+ 0.0002 * mcomp->R_max_df<br />

+ 2.7930;<br />

LM2 =<br />

- 0.0012 * mcomp->Z<br />

+ 0.0975 * mcomp->numharm<br />

+ 0.0210 * mcomp->meanharmZ<br />

+ 0.0011 * mcomp->L_min_df<br />

+ 0.0346 * mcomp->L_min_dZ<br />

- 0.0045 * mcomp->L_max_df<br />

+ 0.0421 * mcomp->L_max_dZ<br />

+ 0.0017 * mcomp->R_max_df<br />

- 1.8692;<br />

if(mcomp->Z

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

Saved successfully!

Ooh no, something went wrong!