OMChroma Reference

WSHP-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 = 500.0]
- freq (Minimum) current frequency [Hz]
[default = 220.0]
- atk Attack time of the amplitude envelope [sec]
[default = 0.085]
- dec Decay time/% of the total dur of the amp envelope [sec/%]
[default = 0.64]

Description:

;=============================================================================
; WSHP-1.ORC
; WAVESHAPING (FROM ACCCI, 40_02_1.ORC) / MONO
; AMPLITUDE ENVELOPE WITH LINEN
;=============================================================================

; Timbre: Clarinet-like
; Synthesis: Waveshaping
; Basic instrument with duration dependent envelope
; Source: Risset(1969)
; #150, Serial Excerpt with Clarinet-like Sounds by Nonlinearity
; 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
;-----------------------------------------------------------------------------
; p1 = instrument number
; p2 = action time [sec]
; p3 = duration [sec]
; p4 = max amp [linear, >0.0-1000.0 or dB, <= 0.0]
; p5 = freq [Hz]
; p6 = attack time of the amp envlp [sec]
; p7 = decay time of the amp envlp [sec]
;-----------------------------------------------------------------------------
; COMPULSORY GEN FUNCTIONS
; f1 sine tone
; f10 transfer function for the waveshaper
;_____________________________________________________________________________




see Csound Tables Conventions


Auto doc generation by OpenMusic 6.6 © 2010 IRCAM