Use Non-Frames Version Previous Page Next Page
Signal Generators: Waveguide Physical Modeling

wgbow

  ar      wgbow      kamp, kfreq, kpres, krat, kvibf, kvamp, ifn[, iminfreq]

Description

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

Initialization

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. If iminfreq is negative, initialization will be skipped.

Performance


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

kamp - Amplitude of note.

kfreq - Frequency of note played.

kpres - a parameter controlling the pressure of the bow on the string. Values should be about 3. The useful range is approximately 1 to 5.

krat - the position of the bow along the string. Usual playing is about 0.127236. The suggested range is 0.025 to 0.23.

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

kvamp - amplitude of the vibrato

Example

  kv     linseg      0, 0.5, 0, 1, 1, p3-0.5, 1
  a1     wgbow       31129.60, 440, 3.0, 0.127236, 6.12723, kv*0.01, 1
         out         a1

Author

John ffitch (after Perry Cook)
University of Bath, Codemist Ltd.
Bath, UK
New in Csound version 3.47


Use Non-Frames Version Previous Page Next Page
Signal Generators: Waveguide Physical Modeling