Here are some examples of the curves generated for different values of type:
Tables generated by GEN16 for different values of type.
Note
If type > 0, there is a slowly rising (concave) or slowly decaying (convex) curve, while if itype < 0, the curve is fast rising (convex) or fast decaying (concave). See also transeg.
<CsoundSynthesizer><CsOptions>; Select audio/midi flags here according to platform; Audio out Audio in-odac -iadc ;;;RT audio I/O; For Non-realtime ouput leave only the line below:; -o gen16.wav -W ;;; for file output any platform</CsOptions><CsInstruments>sr=44100ksmps=128nchnls=1instr1kcpsinit1/p3kndxphasorkcpsifn=p4ixmode=1kvaltablekndx,ifn,ixmodeibasefreq=440kfreq=kval*ibasefreqa1oscil20000,ibasefreq+kfreq,1outa1endin</CsInstruments><CsScore>f1016384101f201024161102410f301024161102420f4010241611024100f5010241611024-10f6010241611024-20f7010241611024-100i1022i1+.3i1+.4i1+.5i1+.6i1+.7e</CsScore></CsoundSynthesizer>
Credits
Author: John ffitch
University of Bath, Codemist. Ltd.
Bath, UK
October, 2000