wgbrassSignal Generators:Waveguide Physical Modelingwgbrasswgbrass
Creates a tone related to a brass instrument.
Description
Audio output is a tone related to a brass instrument, using a physical model developed from &nameperry;, but re-coded for Csound.
Syntaxares wgbrass kamp, kfreq, ktens, iatt, kvibf, kvamp \
[, ifn] [, iminfreq]Initializationiatt -- time taken to reach full pressure
ifn -- optional table of shape of vibrato,
defaults to a sine table.
iminfreq -- lowest frequency at which the instrument will play. If it is omitted it is taken to be the same as the initial kfreq. If iminfreq is negative, initialization will be skipped.
Performance
A note is played on a brass-like instrument, with the arguments as below.
kamp -- Amplitude of note.
kfreq -- Frequency of note played.
ktens -- lip tension of the player. Suggested value is about 0.4
kvibf -- frequency of vibrato in Hertz. Suggested range is 0 to 12
kvamp -- amplitude of the vibrato
NOTE
This is rather poor, and at present uncontrolled. Needs revision, and possibly more parameters.
Examples
Here is an example of the wgbrass opcode. It uses the file wgbrass.csd.
Example of the wgbrass opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoWaveguide Physical ModelingCreditsAuthor: &namejohn; (after &nameperry;)University of Bath, Codemist Ltd.Bath, UKNew in Csound version 3.47ifn optional in 6.06