crunchSignal Generators:Models and Emulationscrunchcrunch
Semi-physical model of a crunch sound.
Descriptioncrunch is a semi-physical model of a crunch 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.
Syntaxares crunch iamp, idettack [, inum] [, idamp] [, imaxshake]Initializationiamp -- 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 7.
idamp (optional) -- the damping factor, as part of this equation:
damping_amount = 0.998 + (idamp * 0.002)
The default damping_amount is 0.99806 which means that the default value of idamp is 0.03. 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 crunch opcode. It uses the file crunch.csd.
Example of the crunch opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See AlsoModels and EmulationsCreditsAuthor: &nameperry;, part of the PhOLIES (Physically-Oriented Library of Imitated Environmental Sounds)Adapted by &namejohn;University of Bath, Codemist Ltd.Bath, UKNew in Csound version 4.07Added notes by &namerasmus; on May 2002.