OMChroma Reference

FOG-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]
- f0 (Minimum) fundamental frequency [Hz]
Density of the grain
[default = 100.0]
- freq (Minimum) current frequency [Hz]
Transposition factor (1=same as original)
[default = 1.0]
- bw (Minimum) bandwith [Hz or % of centre freq]
[default = 0.0]
- afil Audio file [name, with possible path, sound, string, pathname or GEN01]
[default = 31.0]
- spd (Minimum) speed (rate at which successive grains progress through the stored function table) [mlt, 1=same as original]
[default = 1.0]
- aenv Amplitude Envelope [GEN]
[default = Instance: GEN07]
- win (Minimum) excitation (rise/tex) time of the local attack (FOF/grain) [sec]
[default = 0.01]
- wdur (Minimum) total duration of the FOF/grain [sec]
[default = 0.1]
- wout (Minimum) decay time of the local decay (FOF/grain) [sec]
[default = 0.05]
- oct (Minimum) octaviation factor of the fof [flt >=0.0]
[default = 0.0]

Description:

;=============================================================================
; FOG-1.ORC
; GRANULAR SYNTHESIS (NEW INSTRUMENT) / MONO
; AMPLITUDE ENVELOPE WITH POSCIL
;=============================================================================

; Timbre: Granular synthesis with fog module, voice-like tones
; Synthesis: FOG (Forme d'Onde Granulaire)
; POSCIL envelopes
; Coded: ms 9/02, 2/09

; NB:
; this instrument works AT BEST with samples whose length is a power of 2
; those which are shorter than the immediately superior power of 2 accepted
; by the GEN01, will produce silence when looking up the unsued portion of the table

; NB1: 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
;-----------------------------------------------------------------------------
; p1 = instrument number
; p2 = action time [sec]
; p3 = duration [sec]
; p4 = maximum amp [linear, >0.0-1000.0 or dB, <= 0.0]
; p5 = density of the grains [Hz]
; p6 = transposition factor [1=original]
; p7 = bandwidth -> exponential decay [Hz]
; p8 = audio file [GEN01]
; p9 = speed of the starting pointer in the file [1=same as original]
; p10 = amplitude envelope [GEN]
; p11 = rise time of the grain envelope [sec]
; p12 = overall duration of the grain [sec]
; p13 = decay time of the grain envelope [sec]
; p14 = octaviation index [>= 0.0]
;-----------------------------------------------------------------------------
; COMPULSORY GEN FUNCTIONS
; f31 audio file
; f19 sigmoid rise/decay shape
;_____________________________________________________________________________




see Csound Tables Conventions


Auto doc generation by OpenMusic 6.6 © 2010 IRCAM