QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next 

wgflute

   ar   wgflute    kamp, kfreq, kjet, iatt, idetk, kngain, kvibf, kvamp, \
                   ifn[, iminfreq]

DESCRIPTION

 Audio output is a tone similar to a flute, using a physical model  developed from Perry Cook, but re-coded for Csound.
 

INITIALIZATION

iatt - time in seconds to reach full blowing pressure.  0.1 seems to correspond to reasonable playing.

idetk - time in seconds taken to stop blowing.  0.1 is a smooth ending

ifn - table of shape of vibrato, usually a sine table, created by a function

iminfreq - lowest frequency at which the instrument will play.  If  it is omitted it is taken to be the same as the initial kfreq.
 
 

PERFORMANCE

 
A note is played on a flute-like instrument, with the arguments as below.

kamp - Amplitude of note.

kfreq - Frequency of note played.  While it can be varied in performance,  I have not tried it.

kjet - a parameter controlling the air jet.  Values should be positive, and about 0.3.  The useful range is approximately 0.08 to 0.56.
 

kngain - amplitude of the noise component, about 0 to 0.5

kvibf - frequency of vibrato in Hertz. Suggested range is 0 to 12

kvamp - amplitude of the vibrato
 

EXAMPLE:

        a1  wgflute 31129.60, 440, 0.32, 0.1, 0.1, 0.15, 5.925, 0.05, 1
            out         a1

AUTHOR:

John ffitch
University of Bath, Codemist Ltd.
Bath, UK
1997
 

QUICK-REF - CsoundManual - Top of this section - Previous - Contents - Index - Next 
HTML Csound Manual - © Jean Piché & Peter J. Nix, 1994-97