MBLOWHOLE

the "BlowHole" physical model (in package insts.stk)


MBLOWHOLE is simple clarinet/reed physical model instrument very similar in sound and action to the earlier CLAR instrument. The addition of a 'tonehole' and 'register vent' to the model give it a bit more flexibility. See also the MCLAR instrument.

It was originally adapted from Perry Cook and Gary Scavone's STK, the Synthesis ToolKit for doing amazing physical model stuff.

Here's what Perry and Gary say about "BlowHole":




p-fields:
/* MBLOWHOLE - the "BlowHole" physical model instrument in
        Perry Cook/Gary Scavone's "stk" (synthesis tookkit).

   p0 = output start time
   p1 = duration
   p2 = amplitude multiplier
   p3 = frequency (Hz)
   p4 = noise gain (0.0-1.0)
   p5 = max pressure (0.0-1.0)
   p6 = reed stiffness (0.0-1.0)
   p7 = Tonehole state (1 == "open"; 0 == "closed")
   p8 = Register vent state (1 == "open"; 0 == "closed")
   p9 = percent of signal to left output channel [optional, default is .5]

   Assumes function table 1 is breathPressure (amplitude) curve for the note.
   Or you can just call setline. If no setline or function table 1, uses
   flat curve.
*/
Sample scorefile:
rtsetparams(44100, 2)
load("MBLOWHOLE")

makegen(1, 24, 1000, 0,1, 2,0)
MBLOWHOLE(0, 3.5, 20000.0, 414.0, 0.2, 0.7, 0.5, 1, 1)
MBLOWHOLE(4, 3.5, 20000.0, 414.0, 0.2, 0.7, 0.5, 0, 1)