tambourine is a semi-physical model of a tambourine 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.
ares tambourine kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] [, ifreq1] [, ifreq2]
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 32.
idamp (optional) -- the damping factor, as part of this equation:
damping_amount = 0.9985 + (idamp * 0.002)
The default damping_amount is 0.9985 which means that the default value of idamp is 0. The maximum damping_amount is 1.0 (no damping). This means the maximum value for idamp is 0.75.
The recommended range for idamp is usually below 75% of the maximum value.
imaxshake (optional, default=0) -- amount of energy to add back into the system. The value should be in range 0 to 1.
ifreq (optional) -- the main resonant frequency. The default value is 2300.
ifreq1 (optional) -- the first resonant frequency. The default value is 5600.
ifreq2 (optional) -- the second resonant frequency. The default value is 8100.
kamp -- Amplitude of output. Note: As these instruments are stochastic, this is only an approximation.
Here is an example of the tambourine opcode. It uses the files tambourine.orc and tambourine.sco.
Example 370. Example of the tambourine opcode.
/* tambourine.orc */ sr = 22050 kr = 2205 ksmps = 10 nchnls = 1 ; Instrument #1: An example of a tambourine. instr 01 a1 tambourine 15000, 0.01 out a1 endin /* tambourine.orc */
/* tambourine.sco */ i 1 0 1 e /* tambourine.sco */