OMChroma Reference

SNARE-1

CLASS SLOTS:
- self Synthesis event [default = NIL]
- numcols Number of components [int] [default = 1]
- action-time Event offset [s] [default = 0]
- user-fun A lambda function applied to each component [default = NIL]

ARRAY SLOTS (KEYWORDS):
- e-dels Entry Delays [sec] [default = 0]
- durs Durations [sec] [default = 1]
- amp Maximum Amplitude [lin, >0.0-1000.0 or dB <= 0.0]
[default = 200.0]
- freq (Minimum) current frequency [Hz]
[default = 20.0]
- inha Amplitude of the pseudo-inharmonic tone [lin, >0.0-1000.0 or dB <= 0.0]
[default = 75.0]
- jta Amplitude of the jitter/random source [%]
[default = 250.0]
- jtf (Centre) frequency of the jitter [%/Hz]
[default = 4000.0]
- bw (Minimum) bandwith [Hz or % of centre freq]
[default = 1500.0]

Description:

;=============================================================================
; SNARE-1.ORC
; SIMPLE SIMULATION OF A SNARE DRUM (FROM ACCCI, 03_01_1.ORC) / MONO
;=============================================================================

; Timbre: Drum and snare drum
; Synthesis: Additive different units
; Units: noise / inharm / fundamental
; Source: #400, Drum and Snare-drum like Sounds, Risset (1969)
; Coded: jpg 8/93, modified ms 9/02, 8/08

; NB: NEW STRUCTURE FOR THE AMPLITUDES FROM AUGUST 2008!
; Positive value > 0.0 : linear amplitude (>0.0-1000.0)
; 0.0 or negative value : amplitude in dB (0 = maximum value)

; The apparently arbitrary amplitude range (0-1000, rather than 0-1)
; avoids printing small values with exponential notation
; Replaced oscili with poscil (precise oscillator), ms 8/08
; Default SR = 96000, recommended precision: 24 bits

; NB1: this instrument works better with short durations
;-----------------------------------------------------------------------------
; p1 = instrument number
; p2 = action time [sec]
; p3 = duration [sec]
; p4 = maximum amp [linear, >0.0-1000.0 or dB, <= 0.0]
; p5 = fundamental freq [Hz]
; p6 = amp of pseudo inharmonic tone [linear, 0.0 -> 1000.0]
; p7 = amp of the noise [linear, >0.0-1000.0 or dB, <= 0.0]
; p8 = centre freq for the noise band [Hz]
; p9 = noise's 1/2 bandwidth [Hz]
;-----------------------------------------------------------------------------
; COMPULSORY GEN FUNCTIONS :
; f11 noise-modulated sine wave
; f12 sine wave with only one high partial (10th)
; f13 pseudo-inharmonic spectrum made of high partials
; f21 slowly descending exponential envelope
; f22 rapidly descending exponential envelope
;_____________________________________________________________________________




see Csound Tables Conventions


Auto doc generation by OpenMusic 6.6 © 2010 IRCAM