OMChroma Reference
SMPL-3 |
![]() | ||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
Description: ;============================================================================= ; SMPL-3.ORC ; SAMPLER STORING A SOUND FILE INTO A DEFERRED TABLE [GEN01] / MONO ; READING SAMPLES FROM THE TABLE / NOT NORMALIZED ; AMPLITUDE ENVELOPE WITH POSCIL3 + COSINE IN-OUT ; THIS SAMPLER WILL START THE FILE AGAIN, IF IT REACHES THE END OF THE TABLE ; SO BEWARE OF LONG NOTES OR HIGH TRANSPOSITION FACTORS ;============================================================================= ; Timbre: Reading from a sound file, with transposition ; Synthesis: Sampler ; Coded: ms 3/09 ; 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 ; Default SR = 96000, recommended precision: 24 bits ;----------------------------------------------------------------------------- ; p1 = instrument number ; p2 = action time [sec] ; p3 = duration [sec] ; p4 = max amplitude [linear, >0.0-1000.0 or dB, <= 0.0] ; p5 = transposition factor [1=same freq as the file] ; p6 = sound file [GEN01] ; p7 = starting point in file [sec] ; p8 = amp envelope [GEN] ; p9 = duration of the local attack/decay time [sec] ;----------------------------------------------------------------------------- ; COMPULSORY GEN FUNCTIONS : ; f19 sigmoid rise/decay ;_____________________________________________________________________________ | |||||||||||||||||||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||||||||||||||||||
see Csound Tables Conventions | |||||||||||||||||||||||||||||||||||||||||||
|