OMChroma Reference

RAN-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 = -6.0]
- freq (Minimum) current frequency [Hz]
[default = 440.0]
- jtf (Centre) frequency of the jitter [%/Hz]
[default = 50.0]
- atk Attack time of the amplitude envelope [sec]
[default = 0.2]
- dec Decay time/% of the total dur of the amp envelope [sec/%]
[default = 0.3]

Description:

;=============================================================================
; RAN-1.ORC
; RANDOM NUMBER GENERATION MODULATING THE AMPLITUDE OF AN OSCILLATOR
; (FROM ACCCI, 10_02_2.ORC) / MONO
; AMPLITUDE ENVELOPE WITH LINEN, CONTROL OF AUDIO FUN FROM THE SCORE
;=============================================================================

; Timbre: Noise spectra, with control of bandwidth and center freq
; Synthesis: Random Number Generation
; RANDI(02)
; LINEN envelope on RANDI ring modulates an oscillator (2)
; Source: Dodge(1985), p.92
; Coded: jpg 8/92. 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

; NB 1: this instrument works better with short notes.
;-----------------------------------------------------------------------------
; p1 = instrument number
; p2 = action time [sec]
; p3 = duration [sec]
; p4 = maximum amp [linear, >0.0-1000.0 or dB, <= 0.0]
; p5 = freq [Hz]
; p6 = freq of the noise module [Hz]
; p7 = attack time of the amp envlp [sec]
; p8 = decay time of the amp envlp [sec]
;-----------------------------------------------------------------------------
; COMPULSORY GEN FUNCTIONS
; f1 sine tone
;_____________________________________________________________________________




see Csound Tables Conventions


Auto doc generation by OpenMusic 6.6 © 2010 IRCAM