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

marimba, vibes

   ar     marimba   kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivibfn, idec
   ar     vibes     kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivibfn, idec


DESCRIPTION

Audio output is a tone related to the striking of a wooden or metal block as found in a marimba or vibraphone.  The method is a physical model developed from Perry Cook, but re-coded for Csound.
 

INITIALIZATION

ihrd -- the hardness of the stick used in the strike.  A range of 0 to 1 is used.  0.5 is a suitable value.

ipos -- where the block is hit, in the range 0 to 1.

imp - a table of the strike impulses.  The file "marmstk1.wav" is a suitable function from measurements, and can be loaded with a GEN1  table.

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

idec - time before end of note when damping is introduced
 

PERFORMANCE

kamp - Amplitude of note.

kfreq - Frequency of note played.

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

kvamp - amplitude of the vibrato
 

EXAMPLE:

    a1    marimba     31129.60, 440, 0.5, 0.561, 2, 6.0, 0.05, 1, 0.1
    a2    vibes       31129.60, 440, 0.5, 0.561, 2, 4.0, 0.2, 1, 0.1a1     
          outs        a1, a2

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