vibes
Physical model related to the striking of a metal block as found in a vibraphone.
The method is a physical model developed from Perry Cook, but re-coded for Csound.
Syntax
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 GEN01 table. It is also available at ftp://ftp.cs.bath.ac.uk/pub/dream/documentation/sounds/modelling/.
ivfn -- shape of tremolo, 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 tremolo in Hertz. Suggested range is 0 to 12
kvamp -- amplitude of the tremolo
Examples
Here is an example of the vibes opcode. It uses the file vibes.csd, and marmstk1.wav.
A musical example featuring the vibes opcode: Vibes_Pena.csd, by luis Antunes Pena.
See Also
Credits
Author: John ffitch (after Perry Cook)
University of Bath, Codemist Ltd.
Bath, UK
New in Csound version 3.47