itabx, itaby -- The two tables that define the terrain.
Performance
The output is the result of drawing an ellipse with axes k_xradius and k_yradius centered at (k_xcenter, k_ycenter), and traversing it at frequency kpch.
Examples
Here is an example of the wterrain opcode. It uses the file wterrain.csd.
<CsoundSynthesizer><CsOptions>; Select audio/midi flags here according to platform; Audio out No messages-odac -d ;;;RT audio out; For Non-realtime ouput leave only the line below:; -o wterrain.wav -W ;;; for file output any platform</CsOptions><CsInstruments>sr=44100ksmps=32nchnls=20dbfs=1instr1kdclklinseg0,0.01,1,p3-0.02,1,0.01,0kcxline0.1,p3,1.9krxlinseg0.1,p3/2,0.5,p3/2,0.1kpchlinecpspch(p4),p3,p5*cpspch(p4)a1wterrain.5,kpch,kcx,kcx,-krx,krx,p6,p7a1dcblocka1outsa1*kdclk,a1*kdclkendin</CsInstruments><CsScore>f10819210100.3300.200.1400.11f204096101i1047.00111i1446.07112i1886.00122e</CsScore></CsoundSynthesizer>