Package wiat :: Package instruments :: Module Saxophones
[hide private]
[frames] | no frames]

Module Saxophones

source code

Saxophones.py - Definition of saxophone instruments

It includes a Selmer Super Action Series 2 alto. Tonehole and dimensions measurements done by Gary Scavone and Tristan Matthews. Verification and some corrections to the measured data by Antoine Lefebvre

Copyright (c) 2008 Antoine Lefebvre All rights reserved.

Functions [hide private]
 
__C(d, t, p, d_pad, h_pad) source code
Variables [hide private]
  _L_ADAPTER = 0.0215
  _L_NECK = 0.1935
  _L_TUBE = 0.4535
  _L_ELBOW = 0.17
  _D_NECK_IN = 0.0125
  _D_NECK_OUT = 0.0227
  _D_BELL_OUT = 0.119
  _BELLDATA = [(0.0, 0.057), (0.06, 0.063), (0.14, 0.07), (0.16,...
  _L_MOUTHPIECE_EQUIV = 0.0709
  _Mouthpiece = [Cylinder(_D_NECK_IN, _L_MOUTHPIECE_EQUIV)]
  _Neck = [Cylinder(_D_NECK_IN, 0.0254), Cone(_D_NECK_IN, _D_NEC...
  _Body = [Cone(_D_NECK_OUT, 0.050, _L_TUBE)]
  _Elbow = [CurvedCone(0.050, 0.057, _L_ELBOW, 0.0423)]
  _Bell = CreateCylindersAndConesFromList(_BELLDATA)
  _Saxophone = _Neck+ _Body+ _Elbow+ _Bell
  offset = 0.172
  _ToneHoles = [ToneHole(* __C(0.00170, 0.0050, 0.0783, d_pad= 0...
  _Fingerings = {'A 1': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
  SelmerSerieII = Instrument('Selmer serie II', _Saxophone, Unfl...
  Selmer_wo_holes = Instrument('Selmer serie II w/o toneholes', ...
Variables Details [hide private]

_BELLDATA

Value:
[(0.0, 0.057),
 (0.06, 0.063),
 (0.14, 0.07),
 (0.16, 0.073),
 (0.18, 0.0765),
 (0.2, 0.093),
 (0.205, 0.119)]

_Neck

Value:
[Cylinder(_D_NECK_IN, 0.0254), Cone(_D_NECK_IN, _D_NECK_OUT, _L_NECK-0\
.0254-_L_ADAPTER), Cylinder(_D_NECK_OUT, _L_ADAPTER)]

_ToneHoles

Value:
[ToneHole(* __C(0.00170, 0.0050, 0.0783, d_pad= 0.003, h_pad= 0.002)),\
 ToneHole(* __C(0.01350, 0.0020, 0.0290+ offset, d_pad= 0.02, h_pad= 0\
.002)), ToneHole(* __C(0.01350, 0.0090, 0.0450+ offset, d_pad= 0.02, h\
_pad= 0.002)), ToneHole(* __C(0.00215, 0.0020, 0.0480+ offset, d_pad= \
0.003, h_pad= 0.002)), ToneHole(* __C(0.01330, 0.0020, 0.0580+ offset,\
 d_pad= 0.02, h_pad= 0.002)), ToneHole(* __C(0.01335, 0.0020, 0.0730+ \
offset, d_pad= 0.02, h_pad= 0.002)), ToneHole(* __C(0.01320, 0.0015, 0\
.0930+ offset, d_pad= 0.02, h_pad= 0.002)), ToneHole(* __C(0.00960, 0.\
...

_Fingerings

Value:
{'A 1': [0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
...

SelmerSerieII

Value:
Instrument('Selmer serie II', _Saxophone, UnflangedOpenEnd(_D_BELL_OUT\
), _ToneHoles, _Fingerings)

Selmer_wo_holes

Value:
Instrument('Selmer serie II w/o toneholes', _Saxophone, UnflangedOpenE\
nd(_D_BELL_OUT))