36 #ifndef _NSOUND_FLUTE_SLIDE_H_
37 #define _NSOUND_FLUTE_SLIDE_H_
77 "Nsound::FluteSlide by Nick Hilton\n\n"
79 "Based on physical models written in Csound by Hans Mikelson.\n"
80 "Originally based on Perry Cook's physical model.\n\n"
82 ";PERRY COOK'S SLIDE FLUTE\n"
92 "kenv1 linseg 0, .1, ipress, p3-.2, ipress, .1, 0\n"
93 "kenv2 linseg 0, .01, 1, p3-.02, 1, .01, 0\n"
95 "; THE VALUES MUST BE AROUND -1 AND 1 OR THE CUBIC WILL BLOW UP.\n"
97 "aflow1 = aflow1 * kenv1\n"
99 "; .0356 CAN BE USED TO ADJUST THE BREATH LEVEL.\n"
100 "asum1 = ibreath*aflow1 + kenv1\n"
101 "asum2 = asum1 + aflute1*.4\n"
103 "; EMBOUCHURE DELAY SHOULD BE 1/2 THE BORE DELAY\n"
105 "ax delay asum2, 1/ifqc/2 - 15/sr\n"
107 "apoly = ax - ax*ax*ax\n"
108 "asum3 = apoly + aflute1*.4\n"
110 "avalue tone asum3, 2000\n"
112 "; BORE THE BORE LENGTH DETERMINES PITCH. SHORTER IS HIGHER.\n"
113 "aflute1 delay avalue, 1/ifqc - 15/sr\n"
115 " out avalue*p4*kenv2\n"
std::string getInfo()
Nsound::FluteSlide information.
The Nsound Instrument baseclass. All Nsound instruments extend this class.
AudioStream play()
Plays a demo for this instrument.
FluteSlide(const float64 &sample_rate)
Creates a Bass Kick Drum.