cabasa
Prev | Orchestra Opcodes and Operators | Next

## cabasa

cabasa — Semi-physical model of a cabasa sound.

## Description

cabasa is a semi-physical model of a cabasa sound. It is one of the PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic Event Modeling) is an algorithmic approach for simulating collisions of multiple independent sound producing objects.

## Syntax

    ares cabasa iamp, idettack [, inum] [, idamp] [, imaxshake]

## Initialization

iamp -- Amplitude of output. Note: As these instruments are stochastic, this is only a approximation.

idettack -- period of time over which all sound is stopped

inum (optional) -- The number of beads, teeth, bells, timbrels, etc. If zero, the default value is 512.

idamp (optional) -- the damping factor, as part of this equation:

damping_amount = 0.998 + (idamp * 0.002)

The default damping_amount is 0.997 which means that the default value of idamp is -0.5. The maximum damping_amount is 1.0 (no damping). This means the maximum value for idamp is 1.0.

The recommended range for idamp is usually below 75% of the maximum value.

imaxshake (optional) -- amount of energy to add back into the system. The value should be in range 0 to 1.

## Examples

Here is an example of the cabasa opcode. It uses the files cabasa.orc and cabasa.sco.

Example 55. Example of the cabasa opcode.

    /* cabasa.orc */
    ;orchestra ---------------

      sr =           44100
      kr =            4410
      ksmps =              10
      nchnls =               1

              instr 01                  ;an example of a cabasa
    a1      cabasa p4, 0.01
              out a1
              endin
    /* cabasa.orc */

    /* cabasa.sco */
    ;score -------------------

       i1 0 1 26000
       e
    /* cabasa.sco */

## See Also

crunch, sandpaper, sekere, stix

## Credits

Author: Perry Cook, part of the PhISEM (Physically Informed Stochastic Event Modeling)
Adapted by John ffitch
University of Bath, Codemist Ltd.
Bath, UK

New in Csound version 4.07

Added notes by Rasmus Ekman on May 2002.

Prev | Up | Next
buzz | Home | cauchy