forked from csound/manual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opcodes.xml
2004 lines (2004 loc) · 297 KB
/
opcodes.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!-- Don't modify this file. It is generated automatically by opcodeparser.py
This file is distributed under the GNU Free Documentation Licence--><opcodes>
<category name="Orchestra Syntax:Header">
<opcode><desc>Sets the value of 0 decibels using full scale amplitude.</desc><synopsis><opcodename>0dbfs</opcodename> = iarg</synopsis>
</opcode>
<opcode><desc>Sets the base frequency for pitch A4.</desc><synopsis><opcodename>A4</opcodename> = iarg</synopsis></opcode>
<opcode><desc>Sets the control rate.</desc><synopsis><opcodename>kr</opcodename> = iarg</synopsis></opcode>
<opcode><desc>Sets the number of samples in a control period.</desc><synopsis><opcodename>ksmps</opcodename> = iarg</synopsis></opcode>
<opcode><desc>Sets the number of channels of audio output.</desc><synopsis><opcodename>nchnls</opcodename> = iarg</synopsis></opcode>
<opcode><desc>Sets the number of channels of audio input.</desc><synopsis><opcodename>nchnls_i</opcodename> = iarg</synopsis></opcode>
<opcode><desc>Sets the audio sampling rate.</desc><synopsis><opcodename>sr</opcodename> = iarg</synopsis></opcode>
</category>
<category name="Orchestra Syntax:Block Statements">
<opcode><desc>Ends the current instrument block.</desc><synopsis><opcodename>endin</opcodename></synopsis></opcode>
<opcode><desc>Marks the end of an user-defined opcode block.</desc><synopsis><opcodename>endop</opcodename></synopsis></opcode>
<opcode><desc>Starts an instrument block.</desc><synopsis><opcodename>instr</opcodename> i, j, ...</synopsis></opcode>
<opcode><desc>Defines the start of user-defined opcode block.</desc><synopsis><opcodename>opcode</opcodename> name, outtypes, intypes</synopsis></opcode>
</category>
<category name="Orchestra Syntax:Macros">
<opcode><desc>Defines a macro.</desc><synopsis><opcodename>#define</opcodename> NAME # replacement text #</synopsis>
<synopsis><opcodename>#define</opcodename> NAME(a' b' c') # replacement text #</synopsis>
</opcode>
<opcode><desc>Calls a defined macro.</desc><synopsis><opcodename>$NAME</opcodename></synopsis>
<para/></opcode>
<opcode><desc>Conditional reading of code.</desc><synopsis><opcodename>#ifdef</opcodename> NAME</synopsis><synopsis> ....</synopsis><synopsis><opcodename>#else</opcodename></synopsis><synopsis> ....</synopsis><synopsis><opcodename>#end</opcodename></synopsis>
</opcode>
<opcode><desc>Conditional reading of code.</desc><synopsis><opcodename>#ifndef</opcodename> NAME</synopsis><synopsis> ....</synopsis><synopsis><opcodename>#else</opcodename></synopsis><synopsis> ....</synopsis><synopsis><opcodename>#end</opcodename></synopsis>
</opcode>
<opcode><desc>Includes an external file for processing.</desc><synopsis><opcodename>#include</opcodename> "filename"</synopsis>
</opcode>
<opcode><desc>Un-defines a macro.</desc><synopsis><opcodename>#undef</opcodename> NAME</synopsis>
</opcode>
</category>
<category name="Signal Generators:Additive Synthesis/Resynthesis">
<opcode><desc>Output is an additive set of individually controlled sinusoids, using an oscillator bank.</desc><synopsis>ares <opcodename>adsyn</opcodename> kamod, kfmod, ksmod, ifilcod</synopsis></opcode>
<opcode><desc>Performs additive synthesis with an arbitrary number of partials, not necessarily harmonic.</desc><synopsis>ares <opcodename>adsynt</opcodename> kamp, kcps, iwfn, ifreqfn, iampfn, icnt [, iphs]</synopsis></opcode>
<opcode><desc>Performs additive synthesis with an arbitrary number of partials -not necessarily harmonic- with interpolation.</desc><synopsis>ar <opcodename>adsynt2</opcodename> kamp, kcps, iwfn, ifreqfn, iampfn, icnt [, iphs]</synopsis></opcode>
<opcode><desc>Band-Enhanced Oscillator-Bank</desc><synopsis>aout <opcodename>beadsynt</opcodename> kFreqs[], kAmps[], kBws[] \
[, inumosc, iflags, kfreq, kbw, ifn, iphs ]</synopsis><synopsis>aout <opcodename>beadsynt</opcodename> ifreqft, iampft, ibwft, inumosc \
[, iflags, kfreq, kbw, ifn, iphs ]</synopsis></opcode>
<opcode><desc>Band-Enhanced Oscillator</desc><synopsis>aout <opcodename>beosc</opcodename> xfreq, kbw [, ifn, iphs, inoisetype ]</synopsis></opcode>
<opcode><desc>An oscillator which takes tonality and brightness as arguments.</desc><synopsis>ares <opcodename>hsboscil</opcodename> kamp, ktone, kbrite, ibasfreq, iwfn, ioctfn \
[, ioctcnt] [, iphs]</synopsis></opcode>
</category>
<category name="Signal Generators:Basic Oscillators">
<opcode><desc>A low frequency oscillator of various shapes.</desc><synopsis>kres <opcodename>lfo</opcodename> kamp, kcps [, itype]</synopsis><synopsis>ares <opcodename>lfo</opcodename> kamp, kcps [, itype]</synopsis></opcode>
<opcode><desc>Mixes the output of any number of oscillators.</desc><synopsis>ares <opcodename>oscbnk</opcodename> kcps, kamd, kfmd, kpmd, iovrlap, iseed, kl1minf, kl1maxf, \
kl2minf, kl2maxf, ilfomode, keqminf, keqmaxf, keqminl, keqmaxl, \
keqminq, keqmaxq, ieqmode, kfn [, il1fn] [, il2fn] [, ieqffn] \
[, ieqlfn] [, ieqqfn] [, itabl] [, ioutfn]</synopsis></opcode>
<opcode><desc>A simple oscillator.</desc><synopsis>ares <opcodename>oscil</opcodename> xamp, xcps [, ifn, iphs]</synopsis><synopsis>kres <opcodename>oscil</opcodename> kamp, kcps [, ifn, iphs]</synopsis></opcode>
<opcode><desc>A simple oscillator with cubic interpolation.</desc><synopsis>ares <opcodename>oscil3</opcodename> xamp, xcps [, ifn, iphs]</synopsis><synopsis>kres <opcodename>oscil3</opcodename> kamp, kcps [, ifn, iphs]</synopsis></opcode>
<opcode><desc>A simple oscillator with linear interpolation.</desc><synopsis>ares <opcodename>oscili</opcodename> xamp, xcps[, ifn, iphs]</synopsis><synopsis>kres <opcodename>oscili</opcodename> kamp, kcps[, ifn, iphs]</synopsis></opcode>
<opcode><desc>A linearly interpolated oscillator that allows changing the table number at k-rate.</desc><synopsis>ares <opcodename>oscilikt</opcodename> xamp, xcps, kfn [, iphs] [, istor]</synopsis><synopsis>kres <opcodename>oscilikt</opcodename> kamp, kcps, kfn [, iphs] [, istor]</synopsis></opcode>
<opcode><desc>A linearly interpolated oscillator that allows allows phase modulation.</desc><synopsis>ares <opcodename>osciliktp</opcodename> kcps, kfn, kphs [, istor]</synopsis></opcode>
<opcode><desc>A linearly interpolated oscillator with sync status that allows changing the table number at k-rate.</desc><synopsis>ares <opcodename>oscilikts</opcodename> xamp, xcps, kfn, async, kphs [, istor]</synopsis></opcode>
<opcode><desc>Accesses table values at a user-defined frequency.</desc><synopsis>ares <opcodename>osciln</opcodename> kamp, ifrq, ifn, itimes</synopsis></opcode>
<opcode><desc>A simple, fast sine oscillator</desc><synopsis>ares <opcodename>oscils</opcodename> iamp, icps, iphs [, iflg]</synopsis></opcode>
<opcode><desc>High precision oscillator.</desc><synopsis>ares <opcodename>poscil</opcodename> aamp, acps [, ifn, iphs]</synopsis><synopsis>ares <opcodename>poscil</opcodename> aamp, kcps [, ifn, iphs]</synopsis><synopsis>ares <opcodename>poscil</opcodename> kamp, acps [, ifn, iphs]</synopsis><synopsis>ares <opcodename>poscil</opcodename> kamp, kcps [, ifn, iphs]</synopsis><synopsis>ires <opcodename>poscil</opcodename> kamp, kcps [, ifn, iphs]</synopsis><synopsis>kres <opcodename>poscil</opcodename> kamp, kcps [, ifn, iphs]</synopsis></opcode>
<opcode><desc>High precision oscillator with cubic interpolation.</desc><synopsis>ares <opcodename>poscil3</opcodename> aamp, acps [, ifn, iphs]</synopsis><synopsis>ares <opcodename>poscil3</opcodename> aamp, kcps [, ifn, iphs]</synopsis><synopsis>ares <opcodename>poscil3</opcodename> kamp, acps [, ifn, iphs]</synopsis><synopsis>ares <opcodename>poscil3</opcodename> kamp, kcps [, ifn, iphs]</synopsis><synopsis>ires <opcodename>poscil3</opcodename> kamp, kcps [, ifn, iphs]</synopsis><synopsis>kres <opcodename>poscil3</opcodename> kamp, kcps [, ifn, iphs]</synopsis></opcode>
<opcode><desc>Easier-to-use user-controllable vibrato.</desc><synopsis>kout <opcodename>vibr</opcodename> kAverageAmp, kAverageFreq, ifn</synopsis></opcode>
<opcode><desc>Generates a natural-sounding user-controllable vibrato.</desc><synopsis>kout <opcodename>vibrato</opcodename> kAverageAmp, kAverageFreq, kRandAmountAmp, kRandAmountFreq, kAmpMinRate, kAmpMaxRate, kcpsMinRate, kcpsMaxRate, ifn [, iphs</synopsis></opcode>
</category>
<category name="Signal Generators:Dynamic Spectrum Oscillators">
<opcode><desc>Output is a set of harmonically related sine partials.</desc><synopsis>ares <opcodename>buzz</opcodename> xamp, xcps, knh, ifn [, iphs]</synopsis></opcode>
<opcode><desc>Output is a set of harmonically related cosine partials.</desc><synopsis>ares <opcodename>gbuzz</opcodename> xamp, xcps, knh, klh, kmul, ifn [, iphs]</synopsis></opcode>
<opcode><desc>Generates a set of impulses.</desc><synopsis>ares <opcodename>mpulse</opcodename> kamp, kintvl [, ioffset]</synopsis></opcode>
<opcode><desc>A mostly bandlimited shape-shifting square-pulse-saw-sinewave oscillator with hardsync.</desc><synopsis>aout [, asyncout] <opcodename>squinewave</opcodename> acps, aClip, aSkew [, asyncin] [, iMinSweep] [, iphase]</synopsis></opcode>
<opcode><desc>Implementation of a band limited, analog modeled oscillator.</desc><synopsis>ares <opcodename>vco</opcodename> xamp, xcps, iwave, kpw [, ifn] [, imaxd] [, ileak] [, inyx] \
[, iphs] [, iskip]</synopsis></opcode>
<opcode><desc>Implementation of a band-limited oscillator using pre-calculated tables.</desc><synopsis>ares <opcodename>vco2</opcodename> kamp, kcps [, imode] [, kpw] [, kphs] [, inyx]</synopsis></opcode>
<opcode><desc>Returns a table number at k-time for a given oscillator frequency and wavform.</desc><synopsis>kfn <opcodename>vco2ft</opcodename> kcps, iwave [, inyx]</synopsis></opcode>
<opcode><desc>Returns a table number at i-time for a given oscillator frequency and wavform.</desc><synopsis>ifn <opcodename>vco2ift</opcodename> icps, iwave [, inyx]</synopsis></opcode>
<opcode><desc>Calculates tables for use by vco2 opcode.</desc><synopsis>ifn <opcodename>vco2init</opcodename> iwave [, ibasfn] [, ipmul] [, iminsiz] [, imaxsiz] [, isrcft]</synopsis></opcode>
</category>
<category name="Signal Generators:FM Synthesis">
<opcode><desc>Two mutually frequency and/or phase modulated oscillators.</desc><synopsis>a1, a2 <opcodename>crossfm</opcodename> xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2]</synopsis><synopsis>a1, a2 <opcodename>crossfmi</opcodename> xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2]</synopsis><synopsis>a1, a2 <opcodename>crosspm</opcodename> xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2]</synopsis><synopsis>a1, a2 <opcodename>crosspmi</opcodename> xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2]</synopsis><synopsis>a1, a2 <opcodename>crossfmpm</opcodename> xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2]</synopsis><synopsis>a1, a2 <opcodename>crossfmpmi</opcodename> xfrq1, xfrq2, xndx1, xndx2, kcps, ifn1, ifn2 [, iphs1] [, iphs2]</synopsis></opcode>
<opcode><desc>Uses FM synthesis to create a Hammond B3 organ sound.</desc><synopsis>ares <opcodename>fmb3</opcodename> kamp, kfreq, kc1, kc2, kvdepth, kvrate[, ifn1, ifn2, ifn3, \
ifn4, ivfn]</synopsis></opcode>
<opcode><desc>Uses FM synthesis to create a tublar bell sound.</desc><synopsis>ares <opcodename>fmbell</opcodename> kamp, kfreq, kc1, kc2, kvdepth, kvrate[, ifn1, ifn2, ifn3, \
ifn4, ivfn, isus]</synopsis></opcode>
<opcode><desc>Uses FM synthesis to create a</desc><synopsis>ares <opcodename>fmmetal</opcodename> kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, \
ifn4, ivfn</synopsis></opcode>
<opcode><desc>Uses FM synthesis to create a percussive flute sound.</desc><synopsis>ares <opcodename>fmpercfl</opcodename> kamp, kfreq, kc1, kc2, kvdepth, kvrate[, ifn1, ifn2, \
ifn3, ifn4, ivfn]</synopsis></opcode>
<opcode><desc>Uses FM synthesis to create a Fender Rhodes electric piano sound.</desc><synopsis>ares <opcodename>fmrhode</opcodename> kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, \
ifn3, ifn4, ivfn</synopsis></opcode>
<opcode><desc>FM Singing Voice Synthesis</desc><synopsis>ares <opcodename>fmvoice</opcodename> kamp, kfreq, kvowel, ktilt, kvibamt, kvibrate[, ifn1, \
ifn2, ifn3, ifn4, ivibfn]</synopsis></opcode>
<opcode><desc>Uses FM synthesis to create a Wurlitzer electric piano sound.</desc><synopsis>ares <opcodename>fmwurlie</opcodename> kamp, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, \
ifn4, ivfn</synopsis></opcode>
<opcode><desc>A basic frequency modulated oscillator.</desc><synopsis>ares <opcodename>foscil</opcodename> xamp, kcps, xcar, xmod, kndx, ifn [, iphs]</synopsis></opcode>
<opcode><desc>Basic frequency modulated oscillator with linear interpolation.</desc><synopsis>ares <opcodename>foscili</opcodename> xamp, kcps, xcar, xmod, kndx, ifn [, iphs]</synopsis></opcode>
</category>
<category name="Signal Generators:Granular Synthesis">
<opcode><desc>Synchronous granular synthesis, using a soundfile as source.</desc><synopsis>asig <opcodename>diskgrain</opcodename> Sfname, kamp, kfreq, kpitch, kgrsize, kprate, \
ifun, iolaps [,imaxgrsize , ioffset]</synopsis></opcode>
<opcode><desc>Produces sinusoid bursts useful for formant and granular synthesis.</desc><synopsis>ares <opcodename>fof</opcodename> xamp, xfund, xform, koct, kband, kris, kdur, kdec, iolaps, \
ifna, ifnb, itotdur [, iphs] [, ifmode] [, iskip]</synopsis></opcode>
<opcode><desc>Produces sinusoid bursts including k-rate incremental indexing with each successive burst.</desc><synopsis>ares <opcodename>fof2</opcodename> xamp, xfund, xform, koct, kband, kris, kdur, kdec, iolaps, \
ifna, ifnb, itotdur, kphs, kgliss [, iskip]</synopsis></opcode>
<opcode><desc>Audio output is a succession of grains derived from data in a stored function table</desc><synopsis>ares <opcodename>fog</opcodename> xamp, xdens, xtrans, aspd, koct, kband, kris, kdur, kdec, \
iolaps, ifna, ifnb, itotdur [, iphs] [, itmode] [, iskip]</synopsis></opcode>
<opcode><desc>Generates granular synthesis textures.</desc><synopsis>ares <opcodename>grain</opcodename> xamp, xpitch, xdens, kampoff, kpitchoff, kgdur, igfn, \
iwfn, imgdur [, igrnd]</synopsis></opcode>
<opcode><desc>Easy-to-use granular synthesis texture generator.</desc><synopsis>ares <opcodename>grain2</opcodename> kcps, kfmd, kgdur, iovrlp, kfn, iwfn [, irpow] \
[, iseed] [, imode]</synopsis></opcode>
<opcode><desc>Generate granular synthesis textures with more user control.</desc><synopsis>ares <opcodename>grain3</opcodename> kcps, kphs, kfmd, kpmd, kgdur, kdens, imaxovr, kfn, iwfn, \
kfrpow, kprpow [, iseed] [, imode]</synopsis></opcode>
<opcode><desc>A more complex granular synthesis texture generator.</desc><synopsis>ares <opcodename>granule</opcodename> xamp, ivoice, iratio, imode, ithd, ifn, ipshift, igskip, \
igskip_os, ilength, kgap, igap_os, kgsize, igsize_os, iatt, idec \
[, iseed] [, ipitch1] [, ipitch2] [, ipitch3] [, ipitch4] [, ifnenv]</synopsis></opcode>
<opcode><desc>Granular synthesizer with "per grain" control
over many of its parameters. Has a sync input to
sychronize its internal grain scheduler clock to an external
clock source.</desc><synopsis>a1 [, a2, a3, a4, a5, a6, a7, a8] <opcodename>partikkel</opcodename> agrainfreq, \
kdistribution, idisttab, async, kenv2amt, ienv2tab, ienv_attack, \
ienv_decay, ksustain_amount, ka_d_ratio, kduration, kamp, igainmasks, \
kwavfreq, ksweepshape, iwavfreqstarttab, iwavfreqendtab, awavfm, \
ifmamptab, kfmenv, icosine, ktraincps, knumpartials, kchroma, \
ichannelmasks, krandommask, kwaveform1, kwaveform2, kwaveform3, \
kwaveform4, iwaveamptab, asamplepos1, asamplepos2, asamplepos3, \
asamplepos4, kwavekey1, kwavekey2, kwavekey3, kwavekey4, imax_grains \
[, iopcode_id, ipanlaws]</synopsis></opcode>
<opcode><desc>Get mask index for a specific mask parameter of a running</desc><synopsis>kindex <opcodename>partikkelget</opcodename> kparameterindex, iopcode_id</synopsis></opcode>
<opcode><desc>Set mask index for a specific mask parameter of a running</desc><synopsis><opcodename>partikkelset</opcodename> kparameterindex, kmaskindex, iopcode_id</synopsis></opcode>
<opcode><desc>Outputs</desc><synopsis>async [,aphase] <opcodename>partikkelsync</opcodename> iopcode_id</synopsis></opcode>
<opcode><desc>Reads a mono sound sample from a table and applies time-stretching and/or pitch modification.</desc><synopsis>ares [, ac] <opcodename>sndwarp</opcodename> xamp, xtimewarp, xresample, ifn1, ibeg, iwsize, \
irandw, ioverlap, ifn2, itimemode</synopsis></opcode>
<opcode><desc>Reads a stereo sound sample from a table and applies time-stretching and/or pitch modification.</desc><synopsis>ar1, ar2 [,ac1] [, ac2] <opcodename>sndwarpst</opcodename> xamp, xtimewarp, xresample, ifn1, \
ibeg, iwsize, irandw, ioverlap, ifn2, itimemode</synopsis></opcode>
<opcode><desc>Synchronous granular synthesis.</desc><synopsis>asig <opcodename>syncgrain</opcodename> kamp, kfreq, kpitch, kgrsize, kprate, ifun1, \
ifun2, iolaps</synopsis></opcode>
<opcode><desc>Synchronous granular synthesis.</desc><synopsis>asig <opcodename>syncloop</opcodename> kamp, kfreq, kpitch, kgrsize, kprate, klstart, \
klend, ifun1, ifun2, iolaps[,istart, iskip]</synopsis></opcode>
<opcode><desc>Simple vocal simulation based on glottal pulses with formant characteristics.</desc><synopsis>ar <opcodename>vosim</opcodename> kamp, kFund, kForm, kDecay, kPulseCount, kPulseFactor, ifn [, iskip]</synopsis></opcode>
</category>
<category name="Signal Generators:Hyper Vectorial Synthesis">
<opcode><desc>Allows one-dimensional Hyper Vectorial Synthesis (HVS) controlled by externally-updated k-variables.</desc><synopsis><opcodename>hvs1</opcodename> kx, inumParms, inumPointsX, iOutTab, iPositionsTab, iSnapTab [, iConfigTab]</synopsis></opcode>
<opcode><desc>Allows two-dimensional Hyper Vectorial Synthesis (HVS) controlled by externally-updated k-variables.</desc><synopsis><opcodename>hvs2</opcodename> kx, ky, inumParms, inumPointsX, inumPointsY, iOutTab, iPositionsTab, iSnapTab [, iConfigTab]</synopsis></opcode>
<opcode><desc>Allows three-dimensional Hyper Vectorial Synthesis (HVS) controlled by externally-updated k-variables.</desc><synopsis><opcodename>hvs3</opcodename> kx, ky, kz, inumParms, inumPointsX, inumPointsY, inumPointsZ, iOutTab, iPositionsTab, iSnapTab [, iConfigTab]</synopsis></opcode>
</category>
<category name="Signal Generators:Linear and Exponential Generators">
<opcode><desc>Break point function with linear interpolation</desc><synopsis>ky <opcodename>bpf</opcodename> kx, kx1, ky1, kx2, ..., kxn, kyn</synopsis><synopsis>iy <opcodename>bpf</opcodename> ix, ix1, iy1, ix2, ..., ixn, iyn</synopsis><synopsis>kys[] <opcodename>bpf</opcodename> kxs[], kx1, ky1, kx2, ..., kxn, kyn</synopsis><synopsis>iys[] <opcodename>bpf</opcodename> ixs[], ix1, iy1, ix2, ..., ixn, iyn</synopsis></opcode>
<opcode><desc>Break point function with cosine (easy-in/easy-out) interpolation</desc><synopsis>ky <opcodename>bpfcos</opcodename> kx, kx1, ky1, kx2, ..., kxn, kyn</synopsis><synopsis>kys[] <opcodename>bpfcos</opcodename> kxs[], kx1, ky1, kx2, ..., kxn, kyn</synopsis></opcode>
<opcode><desc>Trace a series of line segments between specified points with
cosine interpolation.</desc><synopsis>ares <opcodename>cosseg</opcodename> ia, idur1, ib [, idur2] [, ic] [...]</synopsis><synopsis>kres <opcodename>cosseg</opcodename> ia, idur1, ib [, idur2] [, ic] [...]</synopsis></opcode>
<opcode><desc>Trace a series of line segments between specified absolute points with
cosine interpolation.</desc><synopsis>ares <opcodename>cossegb</opcodename> ia, itim1, ib [, itim2] [, ic] [...]</synopsis><synopsis>kres <opcodename>cossegb</opcodename> ia, itim1, ib [, itim2] [, ic] [...]</synopsis></opcode>
<opcode><desc>Trace a series of line segments between specified points with
cosine interpolation, including a release segment.</desc><synopsis>ares <opcodename>cossegr</opcodename> ia, idur1, ib [, idur2] [, ic] [...], irel, iz</synopsis><synopsis>kres <opcodename>cossegr</opcodename> ia, idur1, ib [, idur2] [, ic] [...], irel, iz</synopsis></opcode>
<opcode><desc>This opcode implements a formula for generating a normalised exponential curve in range 0 - 1. It is based on the Max / MSP work of Eric Singer (c) 1994.</desc><synopsis>kout <opcodename>expcurve</opcodename> kindex, ksteepness</synopsis></opcode>
<opcode><desc>Trace an exponential curve between specified points.</desc><synopsis>ares <opcodename>expon</opcodename> ia, idur, ib</synopsis><synopsis>kres <opcodename>expon</opcodename> ia, idur, ib</synopsis></opcode>
<opcode><desc>Trace a series of exponential segments between specified points.</desc><synopsis>ares <opcodename>expseg</opcodename> ia, idur1, ib [, idur2] [, ic] [...]</synopsis><synopsis>kres <opcodename>expseg</opcodename> ia, idur1, ib [, idur2] [, ic] [...]</synopsis></opcode>
<opcode><desc>An exponential segment generator operating at a-rate.</desc><synopsis>ares <opcodename>expsega</opcodename> ia, idur1, ib [, idur2] [, ic] [...]</synopsis></opcode>
<opcode><desc>Trace a series of exponential segments between specified
absolute points.</desc><synopsis>ares <opcodename>expsegb</opcodename> ia, itim1, ib [, itim2] [, ic] [...]</synopsis><synopsis>kres <opcodename>expsegb</opcodename> ia, itim1, ib [, itim2] [, ic] [...]</synopsis></opcode>
<opcode><desc>An exponential segment generator operating at a-rate with
absolute times.</desc><synopsis>ares <opcodename>expsegba</opcodename> ia, itim1, ib [, itim2] [, ic] [...]</synopsis></opcode>
<opcode><desc>Trace a series of exponential segments between specified points including a release segment.</desc><synopsis>ares <opcodename>expsegr</opcodename> ia, idur1, ib [, idur2] [, ic] [...], irel, iz</synopsis><synopsis>kres <opcodename>expsegr</opcodename> ia, idur1, ib [, idur2] [, ic] [...], irel, iz</synopsis></opcode>
<opcode><desc>An implementation of a logarithmic gain curve which is similar to the gainslider~ object from Cycling 74 Max / MSP.</desc><synopsis>kout <opcodename>gainslider</opcodename> kindex</synopsis></opcode>
<opcode><desc>Linear to cosine interpolation</desc><synopsis>ky <opcodename>lincos</opcodename> kx, ky0, ky1 [, kx0, kx1 ]</synopsis><synopsis>iy <opcodename>lincos</opcodename> ix, iy0, iy1 [, ix0, ix1 ]</synopsis></opcode>
<opcode><desc>Trace a straight line between specified points.</desc><synopsis>ares <opcodename>line</opcodename> ia, idur, ib</synopsis><synopsis>kres <opcodename>line</opcodename> ia, idur, ib</synopsis></opcode>
<opcode><desc>Linear to linear interpolation</desc><synopsis>ky <opcodename>linlin</opcodename> kx, ky0, ky1 [, kx0, kx1 ]</synopsis><synopsis>iy <opcodename>linlin</opcodename> ix, iy0, iy1 [, ix0, ix1 ]</synopsis><synopsis>kys[] <opcodename>linlin</opcodename> kxs[], ky0, ky1 [, kx0, kx1 ]</synopsis><synopsis>iys[] <opcodename>linlin</opcodename> ixs[], ky0, ky1, [ kx0, kx1 ]</synopsis><synopsis>kC[] <opcodename>linlin</opcodename> kx, kA[], kB[] [, kx0, kx1 ]</synopsis></opcode>
<opcode><desc>Trace a series of line segments between specified points.</desc><synopsis>ares <opcodename>linseg</opcodename> ia, idur1, ib [, idur2] [, ic] [...]</synopsis><synopsis>kres <opcodename>linseg</opcodename> ia, idur1, ib [, idur2] [, ic] [...]</synopsis></opcode>
<opcode><desc>Trace a series of line segments between specified absolute points.</desc><synopsis>ares <opcodename>linsegb</opcodename> ia, itim1, ib [, itim2] [, ic] [...]</synopsis><synopsis>kres <opcodename>linsegb</opcodename> ia, itim1, ib [, itim2] [, ic] [...]</synopsis></opcode>
<opcode><desc>Trace a series of line segments between specified points including a release segment.</desc><synopsis>ares <opcodename>linsegr</opcodename> ia, idur1, ib [, idur2] [, ic] [...], irel, iz</synopsis><synopsis>kres <opcodename>linsegr</opcodename> ia, idur1, ib [, idur2] [, ic] [...], irel, iz</synopsis></opcode>
<opcode><desc>This opcode implements a formula for generating a normalised logarithmic curve in range 0 - 1. It is based on the Max / MSP work of Eric Singer (c) 1994.</desc><synopsis>kout <opcodename>logcurve</opcodename> kindex, ksteepness</synopsis></opcode>
<opcode><desc>Generate control signal consisting of linear segments delimited by two or more specified points.</desc><synopsis>ksig <opcodename>loopseg</opcodename> kfreq, ktrig, iphase, kvalue0, ktime0 [, kvalue1] [, ktime1] \
[, kvalue2] [, ktime2][...]</synopsis></opcode>
<opcode><desc>Control signals based on linear segments.</desc><synopsis>ksig <opcodename>loopsegp</opcodename> kphase, kvalue0, kdur0, kvalue1 \
[, kdur1, ... , kdurN-1, kvalueN]</synopsis></opcode>
<opcode><desc>Generate control signal consisting of exponential or linear segments delimited by two or more specified points.</desc><synopsis>ksig <opcodename>looptseg</opcodename> kfreq, ktrig, iphase, kvalue0, ktype0, ktime0, [, kvalue1] [,ktype1] [, ktime1] \
[, kvalue2] [,ktype2] [, ktime2] [...] [, kvalueN] [,ktypeN] [, ktimeN]</synopsis></opcode>
<opcode><desc>Generate control signal consisting of exponential segments delimited by two or more specified points.</desc><synopsis>ksig <opcodename>loopxseg</opcodename> kfreq, ktrig, iphase, ktime0, kvalue0 [, ktime1] [, kvalue1] \
[, ktime2] [, kvalue2] [...]</synopsis></opcode>
<opcode><desc>Generate control signal consisting of held segments.</desc><synopsis>ksig <opcodename>lpshold</opcodename> kfreq, ktrig, iphase, ktime0, kvalue0 [, kvalue1] [, ktime1] [, kvalue2] [, ktime2] [...]</synopsis></opcode>
<opcode><desc>Control signals based on held segments.</desc><synopsis>ksig <opcodename>lpsholdp</opcodename> kphase, kvalue0, ktime0 [, kvalue1] [, ktime1] \
[, kvalue2] [, ktime2] [...]</synopsis></opcode>
<opcode><desc>Arbitrary signal scaling.</desc><synopsis>kscl <opcodename>scale</opcodename> kinput, kmax, kmin</synopsis></opcode>
<opcode><desc>Constructs a user-definable envelope.</desc><synopsis>ares <opcodename>transeg</opcodename> ia, idur, itype, ib [, idur2] [, itype] [, ic] ...</synopsis><synopsis>kres <opcodename>transeg</opcodename> ia, idur, itype, ib [, idur2] [, itype] [, ic] ...</synopsis></opcode>
<opcode><desc>Constructs a user-definable envelope in absolute time.</desc><synopsis>ares <opcodename>transegb</opcodename> ia, itim, itype, ib [, itim2] [, itype] [, ic] ...</synopsis><synopsis>kres <opcodename>transegb</opcodename> ia, itim, itype, ib [, itim2] [, itype] [, ic] ...</synopsis></opcode>
<opcode><desc>Constructs a user-definable envelope with extended release segment.</desc><synopsis>ares <opcodename>transegr</opcodename> ia, idur, itype, ib [, idur2] [, itype] [, ic] ...</synopsis><synopsis>kres <opcodename>transegr</opcodename> ia, idur, itype, ib [, idur2] [, itype] [, ic] ...</synopsis></opcode>
<opcode><desc>2D linear interpolation</desc><synopsis>kout <opcodename>xyscale</opcodename> kx, ky, k00, k10, k01, k11</synopsis></opcode>
</category>
<category name="Signal Generators:Envelope Generators">
<opcode><desc>Calculates the classical ADSR envelope using linear segments.</desc><synopsis>ares <opcodename>adsr</opcodename> iatt, idec, islev, irel [, idel]</synopsis><synopsis>kres <opcodename>adsr</opcodename> iatt, idec, islev, irel [, idel]</synopsis></opcode>
<opcode><desc>Applies an envelope consisting of 3 segments.</desc><synopsis>ares <opcodename>envlpx</opcodename> xamp, irise, idur, idec, ifn, iatss, iatdec [, ixmod]</synopsis><synopsis>kres <opcodename>envlpx</opcodename> kamp, irise, idur, idec, ifn, iatss, iatdec [, ixmod]</synopsis></opcode>
<opcode><desc>The</desc><synopsis>ares <opcodename>envlpxr</opcodename> xamp, irise, idec, ifn, iatss, iatdec [, ixmod] [,irind]</synopsis><synopsis>kres <opcodename>envlpxr</opcodename> kamp, irise, idec, ifn, iatss, iatdec [, ixmod] [,irind]</synopsis></opcode>
<opcode><desc>Applies a straight line rise and decay pattern to an input amp signal.</desc><synopsis>ares <opcodename>linen</opcodename> xamp, irise, idur, idec</synopsis><synopsis>kres <opcodename>linen</opcodename> kamp, irise, idur, idec</synopsis></opcode>
<opcode><desc>The</desc><synopsis>ares <opcodename>linenr</opcodename> xamp, irise, idec, iatdec</synopsis><synopsis>kres <opcodename>linenr</opcodename> kamp, irise, idec, iatdec</synopsis></opcode>
<opcode><desc>Calculates the classical ADSR envelope using the</desc><synopsis>ares <opcodename>madsr</opcodename> iatt, idec, islev, irel [, idel] [, ireltim]</synopsis><synopsis>kres <opcodename>madsr</opcodename> iatt, idec, islev, irel [, idel] [, ireltim]</synopsis></opcode>
<opcode><desc>Calculates the classical ADSR envelope using the</desc><synopsis>ares <opcodename>mxadsr</opcodename> iatt, idec, islev, irel [, idel] [, ireltim]</synopsis><synopsis>kres <opcodename>mxadsr</opcodename> iatt, idec, islev, irel [, idel] [, ireltim]</synopsis></opcode>
<opcode><desc>Calculates the classical ADSR envelope.</desc><synopsis>ares <opcodename>xadsr</opcodename> iatt, idec, islev, irel [, idel]</synopsis><synopsis>kres <opcodename>xadsr</opcodename> iatt, idec, islev, irel [, idel]</synopsis></opcode>
</category>
<category name="Signal Generators:Models and Emulations">
<opcode><desc>Semi-physical model of a bamboo sound.</desc><synopsis>ares <opcodename>bamboo</opcodename> kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] \
[, ifreq1] [, ifreq2]</synopsis></opcode>
<opcode><desc>Creates a tone similar to a struck metal bar.</desc><synopsis>ares <opcodename>barmodel</opcodename> kbcL, kbcR, iK, ib, kscan, iT30, ipos, ivel, iwid</synopsis></opcode>
<opcode><desc>Semi-physical model of a cabasa sound.</desc><synopsis>ares <opcodename>cabasa</opcodename> iamp, idettack [, inum] [, idamp] [, imaxshake]</synopsis></opcode>
<opcode><desc>Simulates Chua's oscillator, an LRC oscillator with an active resistor, proved capable of bifurcation and chaotic attractors, with k-rate control of circuit elements.</desc><synopsis>aI3, aV2, aV1 <opcodename>chuap</opcodename> kL, kR0, kC1, kG, kGa, kGb, kE, kC2, iI3, iV2, iV1, ktime_step</synopsis></opcode>
<opcode><desc>Semi-physical model of a crunch sound.</desc><synopsis>ares <opcodename>crunch</opcodename> iamp, idettack [, inum] [, idamp] [, imaxshake]</synopsis></opcode>
<opcode><desc>Semi-physical model of a water drop.</desc><synopsis>ares <opcodename>dripwater</opcodename> kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] \
[, ifreq1] [, ifreq2]</synopsis></opcode>
<opcode><desc>Dynamic stochastic approach to waveform synthesis conceived by Iannis Xenakis.</desc><synopsis>ares <opcodename>gendy</opcodename> kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \
kampscl, kdurscl [, initcps] [, knum]</synopsis><synopsis>kres <opcodename>gendy</opcodename> kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \
kampscl, kdurscl [, initcps] [, knum]</synopsis></opcode>
<opcode><desc>Dynamic stochastic approach to waveform synthesis using cubic interpolation.</desc><synopsis>ares <opcodename>gendyc</opcodename> kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \
kampscl, kdurscl [, initcps] [, knum]</synopsis><synopsis>kres <opcodename>gendyc</opcodename> kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \
kampscl, kdurscl [, initcps] [, knum]</synopsis></opcode>
<opcode><desc>Variation of the dynamic stochastic approach to waveform
synthesis conceived by Iannis Xenakis.</desc><synopsis>ares <opcodename>gendyx</opcodename> kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \
kampscl, kdurscl, kcurveup, kcurvedown [, initcps] [, knum]</synopsis><synopsis>kres <opcodename>gendyx</opcodename> kamp, kampdist, kdurdist, kadpar, kddpar, kminfreq, kmaxfreq, \
kampscl, kdurscl, kcurveup, kcurvedown [, initcps] [, knum]</synopsis></opcode>
<opcode><desc>Audio output is a tone related to the striking of a cow bell or similar.</desc><synopsis>ares <opcodename>gogobel</opcodename> kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivfn</synopsis></opcode>
<opcode><desc>Semi-physical model of a guiro sound.</desc><synopsis>ares <opcodename>guiro</opcodename> kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] [, ifreq1]</synopsis></opcode>
<opcode><desc>Implements the Lorenz system of equations.</desc><synopsis>ax, ay, az <opcodename>lorenz</opcodename> ksv, krv, kbv, kh, ix, iy, iz, iskip [, iskipinit]</synopsis></opcode>
<opcode><desc>Mandelbrot set</desc><synopsis>kiter, koutrig <opcodename>mandel</opcodename> ktrig, kx, ky, kmaxIter</synopsis></opcode>
<opcode><desc>An emulation of a mandolin.</desc><synopsis>ares <opcodename>mandol</opcodename> kamp, kfreq, kpluck, kdetune, kgain, ksize \
[, ifn] [, iminfreq]</synopsis></opcode>
<opcode><desc>Physical model related to the striking of a wooden block.</desc><synopsis>ares <opcodename>marimba</opcodename> kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivibfn, idec \
[, idoubles] [, itriples]</synopsis></opcode>
<opcode><desc>An emulation of a mini-Moog synthesizer.</desc><synopsis>ares <opcodename>moog</opcodename> kamp, kfreq, kfiltq, kfiltrate, kvibf, kvamp, iafn, iwfn, ivfn</synopsis></opcode>
<opcode><desc>Simulates a planet orbiting in a binary star system.</desc><synopsis>ax, ay, az <opcodename>planet</opcodename> kmass1, kmass2, ksep, ix, iy, iz, ivx, ivy, ivz, idelta \
[, ifriction] [, iskip]</synopsis></opcode>
<opcode><desc>Creates a tone similar to a piano string prepared in a Cageian fashion.</desc><synopsis>ares <opcodename>prepiano</opcodename> ifreq, iNS, iD, iK, \
iT30,iB, kbcl, kbcr, imass, ihvfreq, iinit, ipos, ivel, isfreq, \
isspread[, irattles, irubbers]</synopsis><synopsis>al,ar <opcodename>prepiano</opcodename> ifreq, iNS, iD, iK, \
iT30,iB, kbcl, kbcr, imass, ihvfreq, iinit, ipos, ivel, isfreq, \
isspread[, irattles, irubbers]</synopsis></opcode>
<opcode><desc>Semi-physical model of a sandpaper sound.</desc><synopsis>ares <opcodename>sandpaper</opcodename> iamp, idettack [, inum] [, idamp] [, imaxshake]</synopsis></opcode>
<opcode><desc>Semi-physical model of a sekere sound.</desc><synopsis>ares <opcodename>sekere</opcodename> iamp, idettack [, inum] [, idamp] [, imaxshake]</synopsis></opcode>
<opcode><desc>Sounds like the shaking of a maraca or similar gourd instrument.</desc><synopsis>ares <opcodename>shaker</opcodename> kamp, kfreq, kbeans, kdamp, ktimes [, idecay]</synopsis></opcode>
<opcode><desc>Semi-physical model of a sleighbell sound.</desc><synopsis>ares <opcodename>sleighbells</opcodename> kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] \
[, ifreq1] [, ifreq2]</synopsis></opcode>
<opcode><desc>Semi-physical model of a stick sound.</desc><synopsis>ares <opcodename>stix</opcodename> iamp, idettack [, inum] [, idamp] [, imaxshake]</synopsis></opcode>
<opcode><desc>Semi-physical model of a tambourine sound.</desc><synopsis>ares <opcodename>tambourine</opcodename> kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] \
[, ifreq1] [, ifreq2]</synopsis></opcode>
<opcode><desc>Physical model related to the striking of a metal block.</desc><synopsis>ares <opcodename>vibes</opcodename> kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivibfn, idec</synopsis></opcode>
<opcode><desc>An emulation of a human voice.</desc><synopsis>ares <opcodename>voice</opcodename> kamp, kfreq, kphoneme, kform, kvibf, kvamp, ifn, ivfn</synopsis></opcode>
</category>
<category name="Signal Generators:Phasors">
<opcode><desc>produces two outputs: a periodic phase signal and a periodic exponential decaying signal.</desc><synopsis>aexp,aph <opcodename>ephasor</opcodename> kfreq, kR</synopsis></opcode>
<opcode><desc>Produce a normalized moving phase value.</desc><synopsis>ares <opcodename>phasor</opcodename> xcps [, iphs]</synopsis><synopsis>kres <opcodename>phasor</opcodename> kcps [, iphs]</synopsis></opcode>
<opcode><desc>Produce an arbitrary number of normalized moving phase values.</desc><synopsis>ares <opcodename>phasorbnk</opcodename> xcps, kndx, icnt [, iphs]</synopsis><synopsis>kres <opcodename>phasorbnk</opcodename> kcps, kndx, icnt [, iphs]</synopsis></opcode>
<opcode><desc>A resettable linear ramp between two levels</desc><synopsis>aindex <opcodename>sc_phasor</opcodename> xtrig, xrate, kstart, kend [, kresetPos] </synopsis><synopsis>kindex <opcodename>sc_phasor</opcodename> xtrig, xrate, kstart, kend [, kresetPos] </synopsis></opcode>
<opcode><desc>Produces a normalized moving phase value with sync input and output.</desc><synopsis>aphase, asyncout <opcodename>syncphasor</opcodename> xcps, asyncin, [, iphs]</synopsis></opcode>
</category>
<category name="Signal Generators:Random (Noise) Generators">
<opcode><desc>Beta distribution random number generator (positive values only).</desc><synopsis>ares <opcodename>betarand</opcodename> krange, kalpha, kbeta</synopsis><synopsis>ires <opcodename>betarand</opcodename> krange, kalpha, kbeta</synopsis><synopsis>kres <opcodename>betarand</opcodename> krange, kalpha, kbeta</synopsis></opcode>
<opcode><desc>Exponential distribution random number generator.</desc><synopsis>ares <opcodename>bexprnd</opcodename> krange</synopsis><synopsis>ires <opcodename>bexprnd</opcodename> krange</synopsis><synopsis>kres <opcodename>bexprnd</opcodename> krange</synopsis></opcode>
<opcode><desc>Cauchy distribution random number generator.</desc><synopsis>ares <opcodename>cauchy</opcodename> kalpha</synopsis><synopsis>ires <opcodename>cauchy</opcodename> kalpha</synopsis><synopsis>kres <opcodename>cauchy</opcodename> kalpha</synopsis></opcode>
<opcode><desc>Cauchy distribution random number generator with
interpolation.</desc><synopsis>ares <opcodename>cauchyi</opcodename> klambda, xamp, xcps</synopsis><synopsis>ires <opcodename>cauchyi</opcodename> klambda, xamp, xcps</synopsis><synopsis>kres <opcodename>cauchyi</opcodename> klambda, xamp, xcps</synopsis></opcode>
<opcode><desc>Continuous USER-defined-distribution RaNDom generator.</desc><synopsis>aout <opcodename>cuserrnd</opcodename> kmin, kmax, ktableNum</synopsis><synopsis>iout <opcodename>cuserrnd</opcodename> imin, imax, itableNum</synopsis><synopsis>kout <opcodename>cuserrnd</opcodename> kmin, kmax, ktableNum</synopsis></opcode>
<opcode><desc>Discrete USER-defined-distribution RaNDom generator.</desc><synopsis>aout <opcodename>duserrnd</opcodename> ktableNum</synopsis><synopsis>iout <opcodename>duserrnd</opcodename> itableNum</synopsis><synopsis>kout <opcodename>duserrnd</opcodename> ktableNum</synopsis></opcode>
<opcode><desc>Random impulses.</desc><synopsis>ares <opcodename>dust</opcodename> kamp, kdensity</synopsis><synopsis>kres <opcodename>dust</opcodename> kamp, kdensity</synopsis></opcode>
<opcode><desc>Random impulses.</desc><synopsis>ares <opcodename>dust2</opcodename> kamp, kdensity</synopsis><synopsis>kres <opcodename>dust2</opcodename> kamp, kdensity</synopsis></opcode>
<opcode><desc>Exponential distribution random number generator (positive values only).</desc><synopsis>ares <opcodename>exprand</opcodename> klambda</synopsis><synopsis>ires <opcodename>exprand</opcodename> klambda</synopsis><synopsis>kres <opcodename>exprand</opcodename> klambda</synopsis></opcode>
<opcode><desc>Exponential distribution random number generator with
interpolation (positive values only).</desc><synopsis>ares <opcodename>exprandi</opcodename> klambda, xamp, xcps</synopsis><synopsis>ires <opcodename>exprandi</opcodename> klambda, xamp, xcps</synopsis><synopsis>kres <opcodename>exprandi</opcodename> klambda, xamp, xcps</synopsis></opcode>
<opcode><desc>A fractal noise generator.</desc><synopsis>ares <opcodename>fractalnoise</opcodename> kamp, kbeta</synopsis></opcode>
<opcode><desc>Gaussian distribution random number generator.</desc><synopsis>ares <opcodename>gauss</opcodename> krange</synopsis><synopsis>ires <opcodename>gauss</opcodename> krange</synopsis><synopsis>kres <opcodename>gauss</opcodename> krange</synopsis></opcode>
<opcode><desc>Gaussian distribution random number generator with
interpolation.</desc><synopsis>ares <opcodename>gaussi</opcodename> krange, xamp, xcps</synopsis><synopsis>ires <opcodename>gaussi</opcodename> krange, xamp, xcps</synopsis><synopsis>kres <opcodename>gaussi</opcodename> krange, xamp, xcps</synopsis></opcode>
<opcode><desc>Random impulses around a certain frequency.</desc><synopsis>ares <opcodename>gausstrig</opcodename> kamp, kcps, kdev [, imode] [, ifrst1]</synopsis><synopsis>kres <opcodename>gausstrig</opcodename> kamp, kcps, kdev [, imode] [, ifrst1]</synopsis></opcode>
<opcode><desc>Reads the global seed value.</desc><synopsis>ians<opcodename> getseed</opcodename></synopsis><synopsis>kans<opcodename> getseed</opcodename></synopsis></opcode>
<opcode><desc>Generates a segmented line whose segments are randomly generated.</desc><synopsis>kout <opcodename>jitter</opcodename> kamp, kcpsMin, kcpsMax</synopsis></opcode>
<opcode><desc>Generates a segmented line with user-controllable random segments.</desc><synopsis>kout <opcodename>jitter2</opcodename> ktotamp, kamp1, kcps1,
kamp2, kcps2, kamp3, kcps3[ , iopt]</synopsis></opcode>
<opcode><desc>A jitter-spline generator.</desc><synopsis>ares <opcodename>jspline</opcodename> xamp, kcpsMin, kcpsMax</synopsis><synopsis>kres <opcodename>jspline</opcodename> kamp, kcpsMin, kcpsMax</synopsis></opcode>
<opcode><desc>Linear distribution random number generator (positive values only).</desc><synopsis>ares <opcodename>linrand</opcodename> krange</synopsis><synopsis>ires <opcodename>linrand</opcodename> krange</synopsis><synopsis>kres <opcodename>linrand</opcodename> krange</synopsis></opcode>
<opcode><desc>A white noise generator with an IIR lowpass filter.</desc><synopsis>ares <opcodename>noise</opcodename> xamp, kbeta</synopsis></opcode>
<opcode><desc>Cauchy distribution random number generator (positive values only).</desc><synopsis>ares <opcodename>pcauchy</opcodename> kalpha</synopsis><synopsis>ires <opcodename>pcauchy</opcodename> kalpha</synopsis><synopsis>kres <opcodename>pcauchy</opcodename> kalpha</synopsis></opcode>
<opcode><desc>Generates pink noise.</desc><synopsis>ares <opcodename>pinker</opcodename></synopsis></opcode>
<opcode><desc>Generates approximate pink noise.</desc><synopsis>ares <opcodename>pinkish</opcodename> xin [, imethod] [, inumbands] [, iseed] [, iskip]</synopsis></opcode>
<opcode><desc>Poisson distribution random number generator (positive values only).</desc><synopsis>ares <opcodename>poisson</opcodename> klambda</synopsis><synopsis>ires <opcodename>poisson</opcodename> klambda</synopsis><synopsis>kres <opcodename>poisson</opcodename> klambda</synopsis></opcode>
<opcode><desc>Generates a controlled random number series.</desc><synopsis>ares <opcodename>rand</opcodename> xamp [, iseed] [, isel] [, ioffset]</synopsis><synopsis>kres <opcodename>rand</opcodename> xamp [, iseed] [, isel] [, ioffset]</synopsis></opcode>
<opcode><desc>Generates random numbers and holds them for a period of time.</desc><synopsis>ares <opcodename>randh</opcodename> xamp, xcps [, iseed] [, isize] [, ioffset]</synopsis><synopsis>kres <opcodename>randh</opcodename> kamp, kcps [, iseed] [, isize] [, ioffset]</synopsis></opcode>
<opcode><desc>Generates a controlled random number series with interpolation between each new number.</desc><synopsis>ares <opcodename>randi</opcodename> xamp, xcps [, iseed] [, isize] [, ioffset]</synopsis><synopsis>kres <opcodename>randi</opcodename> kamp, kcps [, iseed] [, isize] [, ioffset]</synopsis></opcode>
<opcode><desc>Generates a controlled pseudo-random number series between min and max values.</desc><synopsis>ares <opcodename>random</opcodename> kmin, kmax</synopsis><synopsis>ires <opcodename>random</opcodename> imin, imax</synopsis><synopsis>kres <opcodename>random</opcodename> kmin, kmax</synopsis></opcode>
<opcode><desc>Generates random numbers with a user-defined limit and holds them for a period of time.</desc><synopsis>ares <opcodename>randomh</opcodename> kmin, kmax, xcps [,imode] [,ifirstval]</synopsis><synopsis>kres <opcodename>randomh</opcodename> kmin, kmax, kcps [,imode] [,ifirstval]</synopsis></opcode>
<opcode><desc>Generates a user-controlled random number series with interpolation between each new number.</desc><synopsis>ares <opcodename>randomi</opcodename> kmin, kmax, xcps [,imode] [,ifirstval]</synopsis><synopsis>kres <opcodename>randomi</opcodename> kmin, kmax, kcps [,imode] [,ifirstval]</synopsis></opcode>
<opcode><desc>31-bit bipolar random opcodes with controllable distribution.</desc><synopsis>ax <opcodename>rnd31</opcodename> kscl, krpow [, iseed]</synopsis><synopsis>ix <opcodename>rnd31</opcodename> iscl, irpow [, iseed]</synopsis><synopsis>kx <opcodename>rnd31</opcodename> kscl, krpow [, iseed]</synopsis></opcode>
<opcode><desc>Generate random spline curves.</desc><synopsis>ares <opcodename>rspline</opcodename> xrangeMin, xrangeMax, kcpsMin, kcpsMax</synopsis><synopsis>kres <opcodename>rspline</opcodename> krangeMin, krangeMax, kcpsMin, kcpsMax</synopsis></opcode>
<opcode><desc>Sets the global seed value.</desc><synopsis><opcodename>seed</opcodename> ival</synopsis></opcode>
<opcode><desc>Generates a controlled pseudo-random number series between min and max values according to a trigger.</desc><synopsis>kout <opcodename>trandom</opcodename> ktrig, kmin, kmax</synopsis></opcode>
<opcode><desc>Triangular distribution random number generator</desc><synopsis>ares <opcodename>trirand</opcodename> krange</synopsis><synopsis>ires <opcodename>trirand</opcodename> krange</synopsis><synopsis>kres <opcodename>trirand</opcodename> krange</synopsis></opcode>
<opcode><desc>Uniform distribution random number generator (positive values only).</desc><synopsis>ares <opcodename>unirand</opcodename> krange</synopsis><synopsis>ires <opcodename>unirand</opcodename> krange</synopsis><synopsis>kres <opcodename>unirand</opcodename> krange</synopsis></opcode>
<opcode><desc>truly random opcodes with controllable range.</desc><synopsis>ax <opcodename>urandom</opcodename> [imin, imax]</synopsis><synopsis>ix <opcodename>urandom</opcodename> [imin, imax]</synopsis><synopsis>kx <opcodename>urandom</opcodename> [imin, imax]</synopsis></opcode>
<opcode><desc>A discrete user-defined-distribution random generator that can be used as a function.</desc><synopsis>aout = <opcodename>urd</opcodename>(ktableNum)</synopsis><synopsis>iout = <opcodename>urd</opcodename>(itableNum)</synopsis><synopsis>kout = <opcodename>urd</opcodename>(ktableNum)</synopsis></opcode>
<opcode><desc>Weibull distribution random number generator (positive values only).</desc><synopsis>ares <opcodename>weibull</opcodename> ksigma, ktau</synopsis><synopsis>ires <opcodename>weibull</opcodename> ksigma, ktau</synopsis><synopsis>kres <opcodename>weibull</opcodename> ksigma, ktau</synopsis></opcode>
</category>
<category name="Signal Generators:Sample Playback">
<opcode><desc>Generates breakbeat-style cut-ups of a mono audio stream.</desc><synopsis>a1 <opcodename>bbcutm</opcodename> asource, ibps, isubdiv, ibarlength, iphrasebars, inumrepeats \
[, istutterspeed] [, istutterchance] [, ienvchoice ]</synopsis></opcode>
<opcode><desc>Generates breakbeat-style cut-ups of a stereo audio stream.</desc><synopsis>a1,a2 <opcodename>bbcuts</opcodename> asource1, asource2, ibps, isubdiv, ibarlength, iphrasebars, \
inumrepeats [, istutterspeed] [, istutterchance] [, ienvchoice]</synopsis></opcode>
<opcode><desc>Function-table-based crossfading looper.</desc><synopsis>asig1[, asig2] <opcodename>flooper</opcodename> kamp, kpitch, istart, idur, ifad, ifn</synopsis></opcode>
<opcode><desc>Function-table-based crossfading looper.</desc><synopsis>asig1[,asig2] <opcodename>flooper2</opcodename> kamp, kpitch, kloopstart, kloopend, kcrossfade, ifn \
[, istart, imode, ifenv, iskip]</synopsis></opcode>
<opcode><desc>Collects all audio from all Fluidsynth engines in a performance</desc><synopsis>aleft, aright <opcodename>fluidAllOut</opcodename></synopsis></opcode>
<opcode><desc>Sends a MIDI controller data message to fluid.</desc><synopsis><opcodename>fluidCCi</opcodename> iEngineNumber, iChannelNumber, iControllerNumber, iValue</synopsis></opcode>
<opcode><desc>Sends a MIDI controller data message to fluid.</desc><synopsis><opcodename>fluidCCk</opcodename> iEngineNumber, iChannelNumber, iControllerNumber, kValue</synopsis></opcode>
<opcode><desc>Sends MIDI note on, note off, and other messages to a SoundFont preset.</desc><synopsis><opcodename>fluidControl</opcodename> ienginenum, kstatus, kchannel, kdata1, kdata2</synopsis></opcode>
<opcode><desc>Instantiates a fluidsynth engine.</desc><synopsis>ienginenum <opcodename>fluidEngine</opcodename> [iReverbEnabled] [, iChorusEnabled] [,iNumChannels] [, iPolyphony] </synopsis></opcode>
<opcode><desc>Retrieves program information from currently loaded soundfont.</desc><synopsis>SPrograms[] <opcodename>fluidInfo</opcodename> ienginenum</synopsis></opcode>
<opcode><desc>Loads a SoundFont into a fluidEngine, optionally listing SoundFont contents.</desc><synopsis>isfnum <opcodename>fluidLoad</opcodename> soundfont, ienginenum[, ilistpresets]</synopsis></opcode>
<opcode><desc>Plays a note on a channel in a fluidSynth engine.</desc><synopsis><opcodename>fluidNote</opcodename> ienginenum, ichannelnum, imidikey, imidivel</synopsis></opcode>
<opcode><desc>Outputs sound from a given fluidEngine</desc><synopsis>aleft, aright <opcodename>fluidOut</opcodename> ienginenum</synopsis></opcode>
<opcode><desc>Assigns a preset from a SoundFont to a channel on a fluidEngine.</desc><synopsis><opcodename>fluidProgramSelect</opcodename> ienginenum, ichannelnum, isfnum, ibanknum, ipresetnum</synopsis></opcode>
<opcode><desc>Set interpolation method for channel in Fluid Engine</desc><synopsis><opcodename>fluidSetInterpMethod</opcodename> ienginenum, ichannelnum, iInterpMethod</synopsis></opcode>
<opcode><desc>Read sampled sound from a table.</desc><synopsis>ar1 [,ar2] <opcodename>loscil</opcodename> xamp, kcps, ifn [, ibas] [, imod1] [, ibeg1] [, iend1] \
[, imod2] [, ibeg2] [, iend2]</synopsis><synopsis>aph, ar1 [,ar2] <opcodename>loscilphs</opcodename> xamp, kcps, ifn [, ibas] [, imod1] [, ibeg1] [, iend1] \
[, imod2] [, ibeg2] [, iend2]</synopsis></opcode>
<opcode><desc>Read sampled sound from a table using cubic interpolation. A version that outputs the exact
table position (phase) corresponding to the output sample is
provided as an alternative opcode.</desc><synopsis>ar1 [,ar2] <opcodename>loscil3</opcodename> xamp, kcps, ifn [, ibas] [, imod1] [, ibeg1] [, iend1] \
[, imod2] [, ibeg2] [, iend2]</synopsis><synopsis>aph, ar1 [,ar2] <opcodename>loscil3phs</opcodename> xamp, kcps, ifn [, ibas] [, imod1] [, ibeg1] [, iend1] \
[, imod2] [, ibeg2] [, iend2]</synopsis></opcode>
<opcode><desc>Read multi-channel sampled sound from a table.</desc><synopsis>ar1 [, ar2, ar3, ar4, ar5, ar6, ar7, ar8, ar9, ar10, ar11, ar12, ar13, ar14, \
ar15, ar16] <opcodename>loscilx</opcodename> xamp, kcps, ifn \
[, iwsize, ibas, istrt, imod, ibeg, iend]</synopsis></opcode>
<opcode><desc>Generates a table index for sample playback</desc><synopsis>ares <opcodename>lphasor</opcodename> xtrns [, ilps] [, ilpe] [, imode] [, istrt] [, istor]</synopsis></opcode>
<opcode><desc>Read sampled sound from a table with looping and high precision.</desc><synopsis>ares <opcodename>lposcil</opcodename> kamp, kfreqratio, kloop, kend, ifn [, iphs]</synopsis></opcode>
<opcode><desc>Read sampled sound from a table with high precision and cubic interpolation.</desc><synopsis>ares <opcodename>lposcil3</opcodename> kamp, kfreqratio, kloop, kend, ifn [, iphs]</synopsis></opcode>
<opcode><desc>Read sampled sound from a table with looping and high precision.</desc><synopsis>ar <opcodename>lposcila</opcodename> aamp, kfreqratio, kloop, kend, ift [,iphs] </synopsis></opcode>
<opcode><desc>Read stereo sampled sound from a table with looping and high precision.</desc><synopsis>ar1, ar2 <opcodename>lposcilsa</opcodename> aamp, kfreqratio, kloop, kend, ift [,iphs] </synopsis></opcode>
<opcode><desc>Read stereo sampled sound from a table with looping and high precision.</desc><synopsis>ar1, ar2 <opcodename>lposcilsa2</opcodename> aamp, kfreqratio, kloop, kend, ift [,iphs] </synopsis></opcode>
<opcode><desc>Prints a list of all instruments of a previously loaded SoundFont2 (SF2) file.</desc><synopsis><opcodename>sfilist</opcodename> ifilhandle</synopsis></opcode>
<opcode><desc>Plays a SoundFont2 (SF2) sample instrument, generating a stereo sound.</desc><synopsis>ar1, ar2 <opcodename>sfinstr</opcodename> ivel, inotenum, xamp, xfreq, instrnum, ifilhandle \
[, iflag] [, ioffset]</synopsis></opcode>
<opcode><desc>Plays a SoundFont2 (SF2) sample instrument, generating a stereo sound with cubic interpolation.</desc><synopsis>ar1, ar2 <opcodename>sfinstr3</opcodename> ivel, inotenum, xamp, xfreq, instrnum, ifilhandle \
[, iflag] [, ioffset]</synopsis></opcode>
<opcode><desc>Plays a SoundFont2 (SF2) sample instrument, generating a mono sound with cubic interpolation.</desc><synopsis>ares <opcodename>sfinstr3m</opcodename> ivel, inotenum, xamp, xfreq, instrnum, ifilhandle \
[, iflag] [, ioffset]</synopsis></opcode>
<opcode><desc>Plays a SoundFont2 (SF2) sample instrument, generating a mono sound.</desc><synopsis>ares <opcodename>sfinstrm</opcodename> ivel, inotenum, xamp, xfreq, instrnum, ifilhandle \
[, iflag] [, ioffset]</synopsis></opcode>
<opcode><desc>Loads an entire SoundFont2 (SF2) sample file into memory.</desc><synopsis>ir <opcodename>sfload</opcodename> "filename"</synopsis></opcode>
<opcode><desc>Plays a SoundFont2 (SF2) sample preset, generating a stereo sound, with user-defined
time-varying crossfade looping.</desc><synopsis>ar1, ar2 <opcodename>sflooper</opcodename> ivel, inotenum, kamp, kpitch, ipreindex, kloopstart, kloopend, kcrossfade \
[, istart, imode, ifenv, iskip] </synopsis></opcode>
<opcode><desc>Assigns all presets of a SoundFont2 (SF2) sample file to a sequence of progressive index numbers.</desc><synopsis><opcodename>sfpassign</opcodename> istartindex, ifilhandle[, imsgs]</synopsis></opcode>
<opcode><desc>Plays a SoundFont2 (SF2) sample preset, generating a stereo sound.</desc><synopsis>ar1, ar2 <opcodename>sfplay</opcodename> ivel, inotenum, xamp, xfreq, ipreindex [, iflag] [, ioffset] [, ienv]</synopsis></opcode>
<opcode><desc>Plays a SoundFont2 (SF2) sample preset, generating a stereo sound with cubic interpolation.</desc><synopsis>ar1, ar2 <opcodename>sfplay3</opcodename> ivel, inotenum, xamp, xfreq, ipreindex [, iflag] [, ioffset] [, ienv]</synopsis></opcode>
<opcode><desc>Plays a SoundFont2 (SF2) sample preset, generating a mono sound with cubic interpolation.</desc><synopsis>ares <opcodename>sfplay3m</opcodename> ivel, inotenum, xamp, xfreq, ipreindex [, iflag] [, ioffset] [, ienv]</synopsis></opcode>
<opcode><desc>Plays a SoundFont2 (SF2) sample preset, generating a mono sound.</desc><synopsis>ares <opcodename>sfplaym</opcodename> ivel, inotenum, xamp, xfreq, ipreindex [, iflag] [, ioffset] [, ienv]</synopsis></opcode>
<opcode><desc>Prints a list of all presets of a SoundFont2 (SF2) sample file.</desc><synopsis><opcodename>sfplist</opcodename> ifilhandle</synopsis></opcode>
<opcode><desc>Assigns an existing preset of a SoundFont2 (SF2) sample file to an index number.</desc><synopsis>ir <opcodename>sfpreset</opcodename> iprog, ibank, ifilhandle, ipreindex</synopsis></opcode>
<opcode><desc>A sound looper with pitch control.</desc><synopsis>asig, krec <opcodename>sndloop</opcodename> ain, kpitch, ktrig, idur, ifad</synopsis></opcode>
<opcode><desc>A simple time stretch by repeating cycles.</desc><synopsis>ares <opcodename>waveset</opcodename> ain, krep [, ilen]</synopsis></opcode>
</category>
<category name="Signal Generators:Scanned Synthesis">
<opcode><desc>Copies from one table to another with a gain control.</desc><synopsis><opcodename>scanhammer</opcodename> isrc, idst, ipos, imult</synopsis></opcode>
<opcode><desc>Generate audio output using scanned synthesis.</desc><synopsis>ares <opcodename>scans</opcodename> kamp, kfreq, ifn, id [, iorder]</synopsis></opcode>
<opcode><desc>A simpler scanned synthesis implementation.</desc><synopsis>aout <opcodename>scantable</opcodename> kamp, kpch, ipos, imass, istiff, idamp, ivel</synopsis></opcode>
<opcode><desc>Compute the waveform and the wavetable for use in scanned synthesis.</desc><synopsis><opcodename>scanu</opcodename> init, irate, ifnvel, ifnmass, ifnstif, ifncentr, ifndamp, kmass, \
kstif, kcentr, kdamp, ileft, iright, kpos, kstrngth, ain, idisp, id</synopsis></opcode>
<opcode><desc>Allows the position and velocity of a node in a scanned process to be read.</desc><synopsis>kpos, kvel <opcodename>xscanmap</opcodename> iscan, kamp, kvamp [, iwhich]</synopsis></opcode>
<opcode><desc>Fast scanned synthesis waveform and the wavetable generator.</desc><synopsis>ares <opcodename>xscans</opcodename> kamp, kfreq, ifntraj, id [, iorder]</synopsis></opcode>
<opcode><desc>Allows the position and velocity of a node in a scanned process to be read.</desc><synopsis><opcodename>xscansmap</opcodename> kpos, kvel, iscan, kamp, kvamp [, iwhich]</synopsis></opcode>
<opcode><desc>Compute the waveform and the wavetable for use in scanned synthesis.</desc><synopsis><opcodename>xscanu</opcodename> init, irate, ifnvel, ifnmass, ifnstif, ifncentr, ifndamp, kmass, \
kstif, kcentr, kdamp, ileft, iright, kpos, kstrngth, ain, idisp, id</synopsis></opcode>
</category>
<category name="Signal Generators:STK Opcodes">
<opcode><desc>STKBandedWG uses banded waveguide techniques to model a variety of sounds.</desc><synopsis>asignal <opcodename>STKBandedWG</opcodename> ifrequency, iamplitude, [kpress, kv1[, kmot, kv2[, klfo, kv3[, klfodepth, kv4[, kvel, kv5[, kstrk, kv6[, kinstr, kv7]]]]]]]</synopsis></opcode>
<opcode><desc>STK Hammond-oid organ-like FM synthesis instrument.</desc><synopsis>asignal <opcodename>STKBeeThree</opcodename> ifrequency, iamplitude, [kop4, kv1[, kop3, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKBlowBotl uses a helmholtz resonator (biquad filter) with a polynomial jet excitation.</desc><synopsis>asignal <opcodename>STKBlowBotl</opcodename> ifrequency, iamplitude, [knoise, kv1[, klfo, kv2[, klfodepth, kv3[, kvol, kv4]]]]</synopsis></opcode>
<opcode><desc>STK clarinet physical model with one register hole and one tonehole.</desc><synopsis>asignal <opcodename>STKBlowHole</opcodename> ifrequency, iamplitude, [kreed, kv1[, knoise, kv2[, khole, kv3[, kreg, kv4[, kbreath, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKBowed is a bowed string instrument.</desc><synopsis>asignal <opcodename>STKBowed</opcodename> ifrequency, iamplitude, [kpress, kv1[, kpos, kv2[, klfo, kv3[, klfodepth, kv4[, kvol, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKBrass is a simple brass instrument.</desc><synopsis>asignal <opcodename>STKBrass</opcodename> ifrequency, iamplitude, [klip, kv1[, kslide, kv2[, klfo, kv3[, klfodepth, kv4[, kvol, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKClarinet uses a simple clarinet physical model.</desc><synopsis>asignal <opcodename>STKClarinet</opcodename> ifrequency, iamplitude, [kstiff, kv1[, knoise, kv2[, klfo, kv3[, klfodepth, kv4[, kbreath, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKDrummer is a drum sampling synthesizer.</desc><synopsis>asignal <opcodename>STKDrummer</opcodename> ifrequency, iamplitude</synopsis></opcode>
<opcode><desc>STKFMVoices is a singing FM synthesis instrument.</desc><synopsis>asignal <opcodename>STKFMVoices</opcodename> ifrequency, iamplitude, [kvowel, kv1[, kspec, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKFlute uses a simple flute physical model.</desc><synopsis>asignal <opcodename>STKFlute</opcodename> ifrequency, iamplitude, [kjet, kv1[, knoise, kv2[, klfo, kv3[, klfodepth, kv4[, kbreath, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKHevyMetl produces metal sounds.</desc><synopsis>asignal <opcodename>STKHevyMetl</opcodename> ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKMandolin produces mamdolin-like sounds.</desc><synopsis>asignal <opcodename>STKMandolin</opcodename> ifrequency, iamplitude, [kbody, kv1[, kpos, kv2[, ksus, kv3[, kdetune, kv4[, kmic, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKModalBar is a resonant bar instrument.</desc><synopsis>asignal <opcodename>STKModalBar</opcodename> ifrequency, iamplitude, [khard, kv1[, kpos, kv2[, klfo, kv3[, klfodepth, kv4[, kmix, kv5[, kvol, kv6[, kinstr, kv7]]]]]]]</synopsis></opcode>
<opcode><desc>STKMoog produces moog-like swept filter sounds.</desc><synopsis>asignal <opcodename>STKMoog</opcodename> ifrequency, iamplitude, [kq, kv1[, krate, kv2[, klfo, kv3[, klfodepth, kv4[, kvol, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKPercFlut is a percussive flute FM synthesis instrument.</desc><synopsis>asignal <opcodename>STKPercFlut</opcodename> ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKPlucked uses a plucked string physical model.</desc><synopsis>asignal <opcodename>STKPlucked</opcodename> ifrequency, iamplitude</synopsis></opcode>
<opcode><desc>STKResonate is a noise driven formant filter.</desc><synopsis>asignal <opcodename>STKResonate</opcodename> ifrequency, iamplitude, [kfreq, kv1[, kpole, kv2[, knotch, kv3[, kzero, kv4[, kenv, kv5]]]]]</synopsis></opcode>
<opcode><desc>STK Fender Rhodes-like electric piano FM synthesis instrument.</desc><synopsis>asignal <opcodename>STKRhodey</opcodename> ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKSaxofony is a faux conical bore reed instrument.</desc><synopsis>asignal <opcodename>STKSaxofony</opcodename> ifrequency, iamplitude, [kstiff, kv1[, kapert, kv2[, kblow, kv3[, knoise, kv4[, klfo, kv5[, klfodepth, kv6[, kbreath, kv7]]]]]]]</synopsis></opcode>
<opcode><desc>STKShakers is an instrument that simulates environmental sounds or collisions of multiple independent sound producing objects.</desc><synopsis>asignal <opcodename>STKShakers</opcodename> ifrequency, iamplitude, [kenerg, kv1[, kdecay, kv2[, kshake, kv3[, knum, kv4[, kres, kv5[, kinstr, kv6]]]]]]</synopsis></opcode>
<opcode><desc>STKSimple is a wavetable/noise instrument.</desc><synopsis>asignal <opcodename>STKSimple</opcodename> ifrequency, iamplitude, [kpos, kv1[, kcross, kv2[, kenv, kv3[, kgain, kv4]]]]</synopsis></opcode>
<opcode><desc>STKSitar uses a plucked string physical model.</desc><synopsis>asignal <opcodename>STKSitar</opcodename> ifrequency, iamplitude</synopsis></opcode>
<opcode><desc>STKStifKarp is a plucked stiff string instrument.</desc><synopsis>asignal <opcodename>STKStifKarp</opcodename> ifrequency, iamplitude, [kpos, kv1[, ksus, kv2[, kstretch, kv3]]]</synopsis></opcode>
<opcode><desc>STKTubeBell is a tubular bell (orchestral chime) FM synthesis instrument.</desc><synopsis>asignal <opcodename>STKTubeBell</opcodename> ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKVoicForm is a four formant synthesis instrument.</desc><synopsis>asignal <opcodename>STKVoicForm</opcodename> ifrequency, iamplitude, [kmix, kv1[, ksel, kv2[, klfo, kv3[, klfodepth, kv4[, kloud, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKWhistle produces whistle sounds.</desc><synopsis>asignal <opcodename>STKWhistle</opcodename> ifrequency, iamplitude, [kmod, kv1[, knoise, kv2[, kfipfreq, kv3[, kfipgain, kv4[, kvol, kv5]]]]]</synopsis></opcode>
<opcode><desc>STKWurley simulates a Wurlitzer electric piano FM synthesis instrument.</desc><synopsis>asignal <opcodename>STKWurley</opcodename> ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]]</synopsis></opcode>
</category>
<category name="Signal Generators:Table Access">
<opcode><desc>Accesses table values by incremental sampling.</desc><synopsis>kres <opcodename>oscil1</opcodename> idel, kamp, idur [, ifn]</synopsis></opcode>
<opcode><desc>Accesses table values by incremental sampling with linear interpolation.</desc><synopsis>kres <opcodename>oscil1i</opcodename> idel, kamp, idur [, ifn]</synopsis></opcode>
<opcode><desc>Accesses table values by direct indexing.</desc><synopsis>ares <opcodename>ptable</opcodename> andx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>ires <opcodename>ptable</opcodename> indx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>kres <opcodename>ptable</opcodename> kndx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis></opcode>
<opcode><desc>Accesses table values by direct indexing with cubic interpolation.</desc><synopsis>ares <opcodename>ptable3</opcodename> andx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>ires <opcodename>ptable3</opcodename> indx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>kres <opcodename>ptable3</opcodename> kndx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis></opcode>
<opcode><desc>Accesses table values by direct indexing with linear interpolation.</desc><synopsis>ares <opcodename>ptablei</opcodename> andx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>ires <opcodename>ptablei</opcodename> indx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>kres <opcodename>ptablei</opcodename> kndx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis></opcode>
<opcode><desc>Fast table opcodes.</desc><synopsis>ir <opcodename>tab_i</opcodename> indx, ifn[, ixmode]</synopsis><synopsis>kr <opcodename>tab</opcodename> kndx, ifn[, ixmode]</synopsis><synopsis>ar <opcodename>tab</opcodename> xndx, ifn[, ixmode]</synopsis><synopsis><opcodename>tabw_i</opcodename> isig, indx, ifn [,ixmode]</synopsis><synopsis><opcodename>tabw</opcodename> ksig, kndx, ifn [,ixmode]</synopsis><synopsis><opcodename>tabw</opcodename> asig, andx, ifn [,ixmode]</synopsis></opcode>
<opcode><desc>Accesses table values by direct indexing.</desc><synopsis>ares <opcodename>table</opcodename> andx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>ires <opcodename>table</opcodename> indx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>kres <opcodename>table</opcodename> kndx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis></opcode>
<opcode><desc>Accesses table values by direct indexing with cubic interpolation.</desc><synopsis>ares <opcodename>table3</opcodename> andx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>ires <opcodename>table3</opcodename> indx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>kres <opcodename>table3</opcodename> kndx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis></opcode>
<opcode><desc>Accesses table values by direct indexing with linear interpolation.</desc><synopsis>ares <opcodename>tablei</opcodename> andx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>ires <opcodename>tablei</opcodename> indx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis><synopsis>kres <opcodename>tablei</opcodename> kndx, ifn [, ixmode] [, ixoff] [, iwrap]</synopsis></opcode>
</category>
<category name="Signal Generators:Wave Terrain Synthesis">
<opcode><desc>A simple wave-terrain synthesis opcode.</desc><synopsis>aout <opcodename>wterrain</opcodename> kamp, kpch, k_xcenter, k_ycenter, k_xradius, k_yradius, \
itabx, itaby</synopsis></opcode>
</category>
<category name="Signal Generators:Waveguide Physical Modeling">
<opcode><desc>Produces a naturally decaying plucked string or drum sound.</desc><synopsis>ares <opcodename>pluck</opcodename> kamp, kcps, icps, ifn, imeth [, iparm1] [, iparm2]</synopsis></opcode>
<opcode><desc>Physical model of the plucked string.</desc><synopsis>ares <opcodename>repluck</opcodename> iplk, kamp, icps, kpick, krefl, axcite</synopsis></opcode>
<opcode><desc>A string resonator with variable fundamental frequency.</desc><synopsis>ares <opcodename>streson</opcodename> asig, kfr, kfdbgain</synopsis></opcode>
<opcode><desc>Creates a tone similar to a bowed string.</desc><synopsis>ares <opcodename>wgbow</opcodename> kamp, kfreq, kpres, krat, kvibf, kvamp \
[, ifn] [, iminfreq]</synopsis></opcode>
<opcode><desc>A physical model of a bowed bar.</desc><synopsis>ares <opcodename>wgbowedbar</opcodename> kamp, kfreq, kpos, kbowpres, kgain [, iconst] [, itvel] \
[, ibowpos] [, ilow]</synopsis></opcode>
<opcode><desc>Creates a tone related to a brass instrument.</desc><synopsis>ares <opcodename>wgbrass</opcodename> kamp, kfreq, ktens, iatt, kvibf, kvamp \
[, ifn] [, iminfreq]</synopsis></opcode>
<opcode><desc>Creates a tone similar to a clarinet.</desc><synopsis>ares <opcodename>wgclar</opcodename> kamp, kfreq, kstiff, \
iatt, idetk, kngain, kvibf, kvamp [, ifn] [, iminfreq]</synopsis></opcode>
<opcode><desc>Creates a tone similar to a flute.</desc><synopsis>ares <opcodename>wgflute</opcodename> kamp, kfreq, kjet, iatt,
idetk, kngain, kvibf, kvamp [, ifn] [, iminfreq] [, ijetrf] [, iendrf]</synopsis></opcode>
<opcode><desc>A high fidelity simulation of a plucked string.</desc><synopsis>ares <opcodename>wgpluck</opcodename> icps, iamp, kpick, iplk, idamp, ifilt, axcite</synopsis></opcode>
<opcode><desc>Physical model of the plucked string.</desc><synopsis>ares <opcodename>wgpluck2</opcodename> iplk, kamp, icps, kpick, krefl</synopsis></opcode>
</category>
<category name="Signal I/O:File I/O">
<opcode><desc>Periodically writes an orchestra control-signal value to an external file.</desc><synopsis><opcodename>dumpk</opcodename> ksig, ifilname, iformat, iprd</synopsis></opcode>
<opcode><desc>Periodically writes two orchestra control-signal values to an external file.</desc><synopsis><opcodename>dumpk2</opcodename> ksig1, ksig2, ifilname, iformat, iprd</synopsis></opcode>
<opcode><desc>Periodically writes three orchestra control-signal values to an external file.</desc><synopsis><opcodename>dumpk3</opcodename> ksig1, ksig2, ksig3, ifilname, iformat, iprd</synopsis></opcode>
<opcode><desc>Periodically writes four orchestra control-signal values to an external file.</desc><synopsis><opcodename>dumpk4</opcodename> ksig1, ksig2, ksig3, ksig4, ifilname, iformat, iprd</synopsis></opcode>
<opcode><desc>Closes a previously opened file.</desc><synopsis><opcodename>ficlose</opcodename> ihandle</synopsis><synopsis><opcodename>ficlose</opcodename> Sfilename</synopsis></opcode>
<opcode><desc>Read signals from a file at a-rate.</desc><synopsis><opcodename>fin</opcodename> ifilename, iskipframes, iformat, ain1 [, ain2] [, ain3] [,...]</synopsis><synopsis><opcodename>fin</opcodename> ifilename, iskipframes, iformat, arr[]</synopsis></opcode>
<opcode><desc>Read signals from a file at i-rate.</desc><synopsis><opcodename>fini</opcodename> ifilename, iskipframes, iformat, in1 [, in2] [, in3] [, ...]</synopsis></opcode>
<opcode><desc>Read signals from a file at k-rate.</desc><synopsis><opcodename>fink</opcodename> ifilename, iskipframes, iformat, kin1 [, kin2] [, kin3] [,...]</synopsis></opcode>
<opcode><desc>Opens a file in a specific mode.</desc><synopsis>ihandle <opcodename>fiopen</opcodename> ifilename, imode</synopsis></opcode>
<opcode><desc>Outputs a-rate signals to an arbitrary number of channels.</desc><synopsis><opcodename>fout</opcodename> ifilename, iformat, aout1 [, aout2, aout3,...,aoutN]</synopsis><synopsis><opcodename>fout</opcodename> ifilename, iformat, array[]</synopsis></opcode>
<opcode><desc>Outputs i-rate signals of an arbitrary number of channels to a specified file.</desc><synopsis><opcodename>fouti</opcodename> ihandle, iformat, iflag, iout1 [, iout2, iout3,....,ioutN]</synopsis></opcode>
<opcode><desc>Outputs i-rate signals from an arbitrary number of channels to a specified file.</desc><synopsis><opcodename>foutir</opcodename> ihandle, iformat, iflag, iout1 [, iout2, iout3,....,ioutN]</synopsis></opcode>
<opcode><desc>Outputs k-rate signals of an arbitrary number of channels to a specified file, in raw (headerless) format.</desc><synopsis><opcodename>foutk</opcodename> ifilename, iformat, kout1 [, kout2, kout3,....,koutN]</synopsis></opcode>
<opcode><desc>Similar to printks but prints to a file.</desc><synopsis><opcodename>fprintks</opcodename> "filename", "string", [, kval1] [, kval2] [...]</synopsis></opcode>
<opcode><desc>Similar to prints but prints to a file.</desc><synopsis><opcodename>fprints</opcodename> "filename", "string" [, ival1] [, ival2] [...]</synopsis></opcode>
<opcode><desc>Read signals and arrays from an hdf5 file.</desc><synopsis>xout1[, xout2, xout3, ..., xoutN] <opcodename>hdf5read</opcodename> ifilename, ivariablename1[, ivariablename2, ivariablename3, ..., ivariablenameN]</synopsis></opcode>
<opcode><desc>Write signals and arrays to an hdf5 file.</desc><synopsis><opcodename>hdf5write</opcodename> ifilename, xout1[, xout2, xout3, ..., xoutN]</synopsis></opcode>
<opcode><desc>Read a line of text from an external file.</desc><synopsis>Sres, kline <opcodename>readf</opcodename> ifilname</synopsis></opcode>
<opcode><desc>Read a line of text from an external file.</desc><synopsis>Sres, iline <opcodename>readfi</opcodename> ifilname</synopsis></opcode>
<opcode><desc>Periodically reads an orchestra control-signal value from an external file.</desc><synopsis>kres <opcodename>readk</opcodename> ifilname, iformat, iprd</synopsis></opcode>
<opcode><desc>Periodically reads two orchestra control-signal values from an external file.</desc><synopsis>kr1, kr2 <opcodename>readk2</opcodename> ifilname, iformat, iprd</synopsis></opcode>
<opcode><desc>Periodically reads three orchestra control-signal values from an external file.</desc><synopsis>kr1, kr2, kr3 <opcodename>readk3</opcodename> ifilname, iformat, iprd</synopsis></opcode>
<opcode><desc>Periodically reads four orchestra control-signal values from an external file.</desc><synopsis>kr1, kr2, kr3, kr4 <opcodename>readk4</opcodename> ifilname, iformat, iprd</synopsis></opcode>
<opcode><desc>Read and write signals and arrays using a websocket connection.</desc><synopsis>xout1[, xout2, xout3, ..., xoutN] <opcodename>websocket</opcodename> iport, xin</synopsis></opcode>
</category>
<category name="Signal I/O:Signal Input">
<opcode><desc>Reads audio data from an external device or stream and can alter its pitch.</desc><synopsis>ar1 [, ar2 [, ar3 [, ... arN]]] <opcodename>diskin</opcodename> ifilcod[, kpitch[, iskiptim \
[, iwraparound[, iformat[, iskipinit]]]]]</synopsis><synopsis>ar1[] <opcodename>diskin</opcodename> ifilcod[, kpitch[, iskiptim \
[, iwraparound[, iformat[, iskipinit]]]]]</synopsis></opcode>
<opcode><desc>Reads audio data from a file, and can alter its pitch using one of several
available interpolation types, as well as convert the sample rate to match
the orchestra sr setting.</desc><synopsis>a1[, a2[, ... aN]] <opcodename>diskin2</opcodename> ifilcod[, kpitch[, iskiptim \
[, iwrap[, iformat[, iwsize[, ibufsize[, iskipinit]]]]]]]</synopsis><synopsis>ar1[] <opcodename>diskin2</opcodename> ifilcod[, kpitch[, iskiptim \
[, iwrap[, iformat[, iwsize[, ibufsize[, iskipinit]]]]]]]</synopsis></opcode>
<opcode><desc>Reads mono audio data from an external device or stream.</desc><synopsis>ar1 <opcodename>in</opcodename></synopsis><synopsis>aarray <opcodename>in</opcodename></synopsis></opcode>
<opcode><desc>Reads a 32-channel audio signal from an external device or stream.</desc><synopsis>ar1, ar2, ar3, ar4, ar5, ar6, ar7, ar8, ar9, ar10, ar11, ar12, ar13, ar14, \
ar15, ar16, ar17, ar18, ar19, ar20, ar21, ar22, ar23, ar24, ar25, ar26, \
ar27, ar28, ar29, ar30, ar31, ar32 <opcodename>in32</opcodename></synopsis></opcode>
<opcode><desc>Reads from numbered channels in an external audio signal or stream.</desc><synopsis>ain1[, ...] <opcodename>inch</opcodename> kchan1[,...]</synopsis></opcode>
<opcode><desc>Reads six-channel audio data from an external device or stream.</desc><synopsis>ar1, ar2, ar3, ar4, ar5, ar6 <opcodename>inh</opcodename></synopsis></opcode>
<opcode><desc>Reads eight-channel audio data from an external device or stream.</desc><synopsis>ar1, ar2, ar3, ar4, ar5, ar6, ar7, ar8 <opcodename>ino</opcodename></synopsis></opcode>
<opcode><desc>Reads quad audio data from an external device or stream.</desc><synopsis>ar1, ar2, ar3, a4 <opcodename>inq</opcodename></synopsis></opcode>
<opcode><desc>Allow input from a range of adjacent audio channels from the audio input device</desc><synopsis><opcodename>inrg</opcodename> kstart, ain1 [,ain2, ain3, ..., ainN]</synopsis></opcode>
<opcode><desc>Reads stereo audio data from an external device or stream.</desc><synopsis>ar1, ar2 <opcodename>ins</opcodename></synopsis></opcode>
<opcode><desc>Reads a k-rate signal from a user-defined channel.</desc><synopsis>ivalue <opcodename>invalue</opcodename> "channel name"</synopsis><synopsis>kvalue <opcodename>invalue</opcodename> "channel name"</synopsis><synopsis>Sname <opcodename>invalue</opcodename> "channel name"</synopsis></opcode>
<opcode><desc>Reads a 16-channel audio signal from an external device or stream.</desc><synopsis>ar1, ar2, ar3, ar4, ar5, ar6, ar7, ar8, ar9, ar10, ar11, ar12, \
ar13, ar14, ar15, ar16 <opcodename>inx</opcodename></synopsis></opcode>
<opcode><desc>Reads multi-channel audio samples into a ZAK array from an external device or stream.</desc><synopsis><opcodename>inz</opcodename> ksig1</synopsis></opcode>
<opcode><desc>Reads mono or stereo audio data from an external MP3 file.</desc><synopsis>ar1, ar2 <opcodename>mp3in</opcodename> ifilcod[, iskptim, iformat, iskipinit, ibufsize]</synopsis><synopsis>ar1 <opcodename>mp3in</opcodename> ifilcod[, iskptim, iformat, iskipinit, ibufsize]</synopsis></opcode>
<opcode><desc>Reads audio data from an external device or stream.</desc><synopsis>ar1[, ar2[, ar3[, ... a24]]] <opcodename>soundin</opcodename> ifilcod [, iskptim] [, iformat] \
[, iskipinit] [, ibufsize]</synopsis></opcode>
</category>
<category name="Signal I/O:Signal Output">
<opcode><desc>A MIDI delay opcode.</desc><synopsis><opcodename>mdelay</opcodename> kstatus, kchan, kd1, kd2, kdelay</synopsis></opcode>
<opcode><desc>Returns the audio spout frame.</desc><synopsis>aout1 [,aout2 ... aoutX] <opcodename>monitor</opcodename></synopsis><synopsis>aarra <opcodename>monitor</opcodename></synopsis></opcode>
<opcode><desc>Writes audio data to an external device or stream.</desc><synopsis><opcodename>out</opcodename> asig1[, asig2,....]</synopsis><synopsis><opcodename>out</opcodename> aarray</synopsis></opcode>
<opcode><desc>Writes 32-channel audio data to an external device or stream.</desc><synopsis><opcodename>out32</opcodename> asig1, asig2, asig3, asig4, asig5, asig6, asig7, asig8, asig10, \
asig11, asig12, asig13, asig14, asig15, asig16, asig17, asig18, \
asig19, asig20, asig21, asig22, asig23, asig24, asig25, asig26, \
asig27, asig28, asig29, asig30, asig31, asig32</synopsis></opcode>
<opcode><desc>Writes audio data with an arbitrary number of channels to an external device or stream.</desc><synopsis><opcodename>outc</opcodename> asig1 [, asig2] [...]</synopsis></opcode>
<opcode><desc>Writes multi-channel audio data, with user-controllable channels, to an external device or stream.</desc><synopsis><opcodename>outch</opcodename> kchan1, asig1 [, kchan2] [, asig2] [...]</synopsis></opcode>
<opcode><desc>Writes 6-channel audio data to an external device or stream.</desc><synopsis><opcodename>outh</opcodename> asig1, asig2, asig3, asig4, asig5, asig6</synopsis></opcode>
<opcode><desc>Writes 8-channel audio data to an external device or stream.</desc><synopsis><opcodename>outo</opcodename> asig1, asig2, asig3, asig4, asig5, asig6, asig7, asig8</synopsis></opcode>
<opcode><desc>Writes 4-channel audio data to an external device or stream.</desc><synopsis><opcodename>outq</opcodename> asig1, asig2, asig3, asig4</synopsis></opcode>
<opcode><desc>Writes samples to quad channel 1 of an external device or stream.</desc><synopsis><opcodename>outq1</opcodename> asig</synopsis></opcode>
<opcode><desc>Writes samples to quad channel 2 of an external device or stream.</desc><synopsis><opcodename>outq2</opcodename> asig</synopsis></opcode>
<opcode><desc>Writes samples to quad channel 3 of an external device or stream.</desc><synopsis><opcodename>outq3</opcodename> asig</synopsis></opcode>
<opcode><desc>Writes samples to quad channel 4 of an external device or stream.</desc><synopsis><opcodename>outq4</opcodename> asig</synopsis></opcode>
<opcode><desc>Allow output to a range of adjacent audio channels on the audio output device</desc><synopsis><opcodename>outrg</opcodename> kstart, aout1 [,aout2, aout3, ..., aoutN]</synopsis></opcode>
<opcode><desc>Writes stereo audio data to an external device or stream.</desc><synopsis><opcodename>outs</opcodename> asig1, asig2</synopsis></opcode>
<opcode><desc>Writes samples to stereo channel 1 of an external device or stream.</desc><synopsis><opcodename>outs1</opcodename> asig</synopsis></opcode>
<opcode><desc>Writes samples to stereo channel 2 of an external device or stream.</desc><synopsis><opcodename>outs2</opcodename> asig</synopsis></opcode>
<opcode><desc>Sends an i-rate or k-rate signal or string to a user-defined channel.</desc><synopsis><opcodename>outvalue</opcodename> "channel name", ivalue</synopsis><synopsis><opcodename>outvalue</opcodename> "channel name", kvalue</synopsis><synopsis><opcodename>outvalue</opcodename> "channel name", "string"</synopsis></opcode>
<opcode><desc>Writes 16-channel audio data to an external device or stream.</desc><synopsis><opcodename>outx</opcodename> asig1, asig2, asig3, asig4, asig5, asig6, asig7, asig8, \
asig9, asig10, asig11, asig12, asig13, asig14, asig15, asig16</synopsis></opcode>
<opcode><desc>Writes multi-channel audio data from a ZAK array to an external device or stream.</desc><synopsis><opcodename>outz</opcodename> ksig1</synopsis></opcode>
<opcode><desc>Deprecated. Writes audio output to a disk file.</desc><synopsis><opcodename>soundout</opcodename> asig1, ifilcod [, iformat]</synopsis></opcode>
<opcode><desc>Deprecated. Writes audio output to a disk file.</desc><synopsis><opcodename>soundouts</opcodename> asigl, asigr, ifilcod [, iformat]</synopsis></opcode>
</category>
<category name="Signal I/O:Software Bus">
<opcode><desc>Reads data from the software bus</desc><synopsis>kval <opcodename>chani</opcodename> kchan</synopsis><synopsis>aval <opcodename>chani</opcodename> kchan</synopsis></opcode>
<opcode><desc>Send data to the outwards software bus</desc><synopsis><opcodename>chano</opcodename> kval, kchan</synopsis><synopsis><opcodename>chano</opcodename> aval, kchan</synopsis></opcode>
<opcode><desc>Declare a channel of the named software bus.</desc><synopsis> <opcodename>chn_k</opcodename> Sname, imode[, itype, idflt, imin, ima, ix, iy, iwidth, iheight, Sattributes]</synopsis><synopsis> <opcodename>chn_a</opcodename> Sname, imode</synopsis><synopsis> <opcodename>chn_S</opcodename> Sname, imode</synopsis></opcode>
<opcode><desc>Clears a number of audio output channel of the named software bus.</desc><synopsis><opcodename>chnclear</opcodename> Sname1[, Sname2,...]</synopsis></opcode>
<opcode><desc>Export a global variable as a channel of the bus.</desc><synopsis>gival <opcodename>chnexport</opcodename> Sname, imode[, itype, idflt, imin, imax]</synopsis><synopsis>gkval <opcodename>chnexport</opcodename> Sname, imode[, itype, idflt, imin, imax]</synopsis><synopsis>gaval <opcodename>chnexport</opcodename> Sname, imode</synopsis><synopsis>gSval <opcodename>chnexport</opcodename> Sname, imode</synopsis></opcode>
<opcode><desc>Reads data from the software bus.</desc><synopsis>ival <opcodename>chnget</opcodename> Sname</synopsis><synopsis>kval <opcodename>chnget</opcodename> Sname</synopsis><synopsis>aval <opcodename>chnget</opcodename> Sname</synopsis><synopsis>Sval <opcodename>chnget</opcodename> Sname</synopsis><synopsis>Sval <opcodename>chngetks</opcodename> Sname</synopsis></opcode>
<opcode><desc>Writes audio data to the named software bus, mixing to the previous
output.</desc><synopsis><opcodename>chnmix</opcodename> aval, Sname</synopsis></opcode>
<opcode><desc>Query parameters of a channel.</desc><synopsis>itype, imode, ictltype, idflt, imin, imax <opcodename>chnparams</opcodename> Sname</synopsis></opcode>
<opcode><desc>Writes data to the named software bus.</desc><synopsis><opcodename>chnset</opcodename> ival, Sname</synopsis><synopsis><opcodename>chnset</opcodename> kval, Sname</synopsis><synopsis><opcodename>chnset</opcodename> aval, Sname</synopsis><synopsis><opcodename>chnset</opcodename> Sval, Sname</synopsis><synopsis><opcodename>chnsetks</opcodename> Sval, Sname</synopsis></opcode>
<opcode><desc>Sets the local ksmps value in an instrument or user-defined opcode block</desc><synopsis><opcodename>setksmps</opcodename> iksmps</synopsis></opcode>
<opcode><desc>Passes variables to a user-defined opcode block,</desc><synopsis>xinarg1 [, xinarg2] ... [xinargN] <opcodename>xin</opcodename></synopsis></opcode>
<opcode><desc>Retrieves variables from a user-defined opcode block,</desc><synopsis><opcodename>xout</opcodename> xoutarg1 [, xoutarg2] ... [, xoutargN]</synopsis></opcode>
</category>
<category name="Signal I/O:Printing and Display">
<opcode><desc>Displays the Fourier Transform of an audio or control signal.</desc><synopsis><opcodename>dispfft</opcodename> xsig, iprd, iwsiz [, iwtyp] [, idbout] [, iwtflg] [,imin] [,imax]</synopsis></opcode>
<opcode><desc>Displays the audio or control signals as an amplitude vs. time graph.</desc><synopsis><opcodename>display</opcodename> xsig, iprd [, inprds] [, iwtflg]</synopsis></opcode>
<opcode><desc>Allows text to be displayed from instruments like sliders</desc><synopsis><opcodename>flashtxt</opcodename> iwhich, String</synopsis></opcode>
<opcode><desc>Displays the values init (i-rate) variables.</desc><synopsis><opcodename>print</opcodename> iarg [, iarg1] [, iarg2] [...]</synopsis></opcode>
<opcode><desc>printf-style formatted output</desc><synopsis><opcodename>printf_i</opcodename> Sfmt, itrig, [iarg1[, iarg2[, ... ]]]</synopsis><synopsis><opcodename>printf</opcodename> Sfmt, ktrig, [xarg1[, xarg2[, ... ]]]</synopsis></opcode>
<opcode><desc>Prints one k-rate value at specified intervals.</desc><synopsis><opcodename>printk</opcodename> itime, kval [, ispace] [, inamed]</synopsis></opcode>
<opcode><desc>Prints a new value every time a control variable changes.</desc><synopsis><opcodename>printk2</opcodename> kvar [, inumspaces] [, inamed]</synopsis></opcode>
<opcode><desc>Prints at k-rate using a printf() style syntax.</desc><synopsis><opcodename>printks</opcodename> "string", itime [, xval1] [, xval2] [...]</synopsis></opcode>
<opcode><desc>Prints a new value every time a control variable changes using a
printf() style syntax.</desc><synopsis><opcodename>printks2</opcodename> "string", kval</synopsis></opcode>
<opcode><desc>Prints at init-time using a printf() style syntax.</desc><synopsis><opcodename>prints</opcodename> "string" [, xval1] [, xval2] [...]</synopsis></opcode>
</category>
<category name="Signal I/O:Soundfile Queries">
<opcode><desc>Returns the number of bits in each sample in a sound file.</desc><synopsis>ir <opcodename>filebit</opcodename> ifilcod [, iallowraw]</synopsis></opcode>
<opcode><desc>Returns the length of a sound file.</desc><synopsis>ir <opcodename>filelen</opcodename> ifilcod, [iallowraw]</synopsis></opcode>
<opcode><desc>Returns the number of channels in a sound file.</desc><synopsis>ir <opcodename>filenchnls</opcodename> ifilcod [, iallowraw]</synopsis></opcode>
<opcode><desc>Returns the peak absolute value of a sound file.</desc><synopsis>ir <opcodename>filepeak</opcodename> ifilcod [, ichnl]</synopsis></opcode>
<opcode><desc>Returns the sample rate of a sound file.</desc><synopsis>ir <opcodename>filesr</opcodename> ifilcod [, iallowraw]</synopsis></opcode>
<opcode><desc>Checks that a file can be read.</desc><synopsis>ir <opcodename>filevalid</opcodename> ifilcod</synopsis></opcode>
<opcode><desc>Returns the length of an MP3 sound file.</desc><synopsis>ir <opcodename>mp3len</opcodename> ifilcod</synopsis></opcode>
</category>
<category name="Signal Modifiers:Amplitude Modifiers">
<opcode><desc>Adjust one audio signal according to the values of another.</desc><synopsis>ares <opcodename>balance</opcodename> asig, acomp [, ihp] [, iskip]</synopsis></opcode>
<opcode><desc>Adjust one audio signal according to the values of another.</desc><synopsis>ares <opcodename>balance2</opcodename> asig, acomp [, ihp] [, iskip]</synopsis></opcode>
<opcode><desc>Clips a signal to a predefined limit.</desc><synopsis>ares <opcodename>clip</opcodename> asig, imeth, ilimit [, iarg]</synopsis></opcode>
<opcode><desc>Compress, limit, expand, duck or gate an audio signal.</desc><synopsis>ar <opcodename>compress</opcodename> aasig, acsig, kthresh, kloknee, khiknee, kratio, katt, krel, ilook</synopsis></opcode>
<opcode><desc>Compress, limit, expand, duck or gate an audio signal.</desc><synopsis>ar <opcodename>compress2</opcodename> aasig, acsig, kthresh, kloknee, khiknee, kratio, katt, krel, ilook</synopsis></opcode>
<opcode><desc>A dynamic compressor/expander.</desc><synopsis>ares <opcodename>dam</opcodename> asig, kthreshold, icomp1, icomp2, irtime, iftime</synopsis></opcode>
<opcode><desc>Adjusts the amplitude audio signal according to a root-mean-square value.</desc><synopsis>ares <opcodename>gain</opcodename> asig, krms [, ihp] [, iskip]</synopsis></opcode>
</category>
<category name="Signal Modifiers:Convolution and Morphing">
<opcode><desc>Convolves a signal and an impulse response.</desc><synopsis>ar1 [, ar2] [, ar3] [, ar4] <opcodename>convolve</opcodename> ain, ifilcod [, ichannel]</synopsis></opcode>
<opcode><desc>Cross synthesis using FFT's.</desc><synopsis>ares <opcodename>cross2</opcodename> ain1, ain2, isize, ioverlap, iwin, kbias</synopsis></opcode>
<opcode><desc>A direct convolution opcode.</desc><synopsis>ares <opcodename>dconv</opcodename> asig, isize, ifn</synopsis></opcode>
<opcode><desc>Low latency multichannel convolution, using a function table as impulse
response source.</desc><synopsis>a1[, a2[, a3[, ... a8]]] <opcodename>ftconv</opcodename> ain, ift, iplen[, iskipsamples \
[, iirlen[, iskipinit]]]</synopsis></opcode>
<opcode><desc>Morphs between multiple ftables as specified in a list.</desc><synopsis><opcodename>ftmorf</opcodename> kftndx, iftfn, iresfn</synopsis></opcode>
<opcode><desc>Partitioned convolution with dynamically reloadable impulse response</desc><synopsis>ares <opcodename>liveconv</opcodename> ain, ift, iplen, kupdate, kclear</synopsis></opcode>
<opcode><desc>Convolution based on a uniformly partitioned overlap-save algorithm</desc><synopsis>ar1 [, ar2] [, ar3] [, ar4] <opcodename>pconvolve</opcodename> ain, ifilcod [, ipartitionsize, ichannel]</synopsis></opcode>
<opcode><desc>A time-varying convolution (FIR filter) opcode.</desc><synopsis>ares <opcodename>tvconv</opcodename> asig1, asig2, xfreez1,
xfreez2, iparts, ifils</synopsis></opcode>
</category>
<category name="Signal Modifiers:Delay">
<opcode><desc>Delays an input signal by some time interval.</desc><synopsis>ares <opcodename>delay</opcodename> asig, idlt [, iskip]</synopsis></opcode>
<opcode><desc>Delays an input signal by one sample.</desc><synopsis>ares <opcodename>delay1</opcodename> asig [, iskip]</synopsis></opcode>
<opcode><desc>Delays an input signal by some time interval.</desc><synopsis>kr <opcodename>delayk </opcodename> ksig, idel[, imode]</synopsis><synopsis>kr <opcodename>vdel_k </opcodename> ksig, kdel, imdel[, imode]</synopsis></opcode>
<opcode><desc>Reads from an automatically established digital delay line.</desc><synopsis>ares <opcodename>delayr</opcodename> idlt [, iskip]</synopsis></opcode>
<opcode><desc>Writes the audio signal to a digital delay line.</desc><synopsis><opcodename>delayw</opcodename> asig</synopsis></opcode>
<opcode><desc>Taps a delay line at variable offset times.</desc><synopsis>ares <opcodename>deltap</opcodename> kdlt</synopsis></opcode>
<opcode><desc>Taps a delay line at variable offset times, uses cubic interpolation.</desc><synopsis>ares <opcodename>deltap3</opcodename> xdlt</synopsis></opcode>
<opcode><desc>Taps a delay line at variable offset times, uses interpolation.</desc><synopsis>ares <opcodename>deltapi</opcodename> xdlt</synopsis></opcode>
<opcode><desc>Taps a delay line at variable offset times.</desc><synopsis>ares <opcodename>deltapn</opcodename> xnumsamps</synopsis></opcode>
<opcode><desc>Read from or write to a delay line with interpolation.</desc><synopsis>aout <opcodename>deltapx</opcodename> adel, iwsize</synopsis></opcode>
<opcode><desc>Mixes the input signal to a delay line.</desc><synopsis><opcodename>deltapxw</opcodename> ain, adel, iwsize</synopsis></opcode>
<opcode><desc>Multitap delay line implementation.</desc><synopsis>ares <opcodename>multitap</opcodename> asig [, itime1, igain1] [, itime2, igain2] [...]</synopsis></opcode>
<opcode><desc>Short description. Single line for opcode listing.</desc><synopsis>outarg1, outarg2 <opcodename>newopcodename</opcodename> inarg1, inarg2</synopsis></opcode>
<opcode><desc>An interpolating variable time delay.</desc><synopsis>ares <opcodename>vdelay</opcodename> asig, adel, imaxdel [, iskip]</synopsis></opcode>
<opcode><desc>A variable time delay with cubic interpolation.</desc><synopsis>ares <opcodename>vdelay3</opcodename> asig, adel, imaxdel [, iskip]</synopsis></opcode>
<opcode><desc>A variable delay opcode with high quality interpolation.</desc><synopsis>aout <opcodename>vdelayx</opcodename> ain, adl, imd, iws [, ist]</synopsis></opcode>
<opcode><desc>A 4-channel variable delay opcode with high quality interpolation.</desc><synopsis>aout1, aout2, aout3, aout4 <opcodename>vdelayxq</opcodename> ain1, ain2, ain3, ain4, adl, imd, iws [, ist]</synopsis></opcode>
<opcode><desc>A stereo variable delay opcode with high quality interpolation.</desc><synopsis>aout1, aout2 <opcodename>vdelayxs</opcodename> ain1, ain2, adl, imd, iws [, ist]</synopsis></opcode>
<opcode><desc>Variable delay opcodes with high quality interpolation.</desc><synopsis>aout <opcodename>vdelayxw</opcodename> ain, adl, imd, iws [, ist]</synopsis></opcode>
<opcode><desc>Variable delay opcodes with high quality interpolation.</desc><synopsis>aout1, aout2, aout3, aout4 <opcodename>vdelayxwq</opcodename> ain1, ain2, ain3, ain4, adl, \
imd, iws [, ist]</synopsis></opcode>
<opcode><desc>Variable delay opcodes with high quality interpolation.</desc><synopsis>aout1, aout2 <opcodename>vdelayxws</opcodename> ain1, ain2, adl, imd, iws [, ist]</synopsis></opcode>
</category>
<category name="Signal Modifiers:Panning and Spatialization">
<opcode><desc>Deprecated. Decodes an ambisonic B format signal.</desc><synopsis>ao1, ao2 <opcodename>bformdec</opcodename> isetup, aw, ax, ay, az [, ar, as, at, au, av \
[, abk, al, am, an, ao, ap, aq]]</synopsis><synopsis>ao1, ao2, ao3, ao4 <opcodename>bformdec</opcodename> isetup, aw, ax, ay, az [, ar, as, at, \
au, av [, abk, al, am, an, ao, ap, aq]]</synopsis><synopsis>ao1, ao2, ao3, ao4, ao5 <opcodename>bformdec</opcodename> isetup, aw, ax, ay, az [, ar, as, \
at, au, av [, abk, al, am, an, ao, ap, aq]]</synopsis><synopsis>ao1, ao2, ao3, ao4, ao5, ao6, ao7, ao8 <opcodename>bformdec</opcodename> isetup, aw, ax, ay, az \
[, ar, as, at, au, av [, abk, al, am, an, ao, ap, aq]]]</synopsis></opcode>
<opcode><desc>Decodes an ambisonic B format signal</desc><synopsis>ao1, ao2 <opcodename>bformdec1</opcodename> isetup, aw, ax, ay, az [, ar, as, at, au, av \
[, abk, al, am, an, ao, ap, aq]]</synopsis><synopsis>ao1, ao2, ao3, ao4 <opcodename>bformdec1</opcodename> isetup, aw, ax, ay, az [, ar, as, at, \
au, av [, abk, al, am, an, ao, ap, aq]]</synopsis><synopsis>ao1, ao2, ao3, ao4, ao5 <opcodename>bformdec1</opcodename> isetup, aw, ax, ay, az [, ar, as, \
at, au, av [, abk, al, am, an, ao, ap, aq]]</synopsis><synopsis>ao1, ao2, ao3, ao4, ao5, ao6, ao7, ao8 <opcodename>bformdec1</opcodename> isetup, aw, ax, ay, az \
[, ar, as, at, au, av [, abk, al, am, an, ao, ap,
aq]]]</synopsis><synopsis>aout[] <opcodename>bformdec1</opcodename> isetup, abform[]</synopsis></opcode>
<opcode><desc>Deprecated. Codes a signal into the ambisonic B format.</desc><synopsis>aw, ax, ay, az <opcodename>bformenc</opcodename> asig, kalpha, kbeta, kord0, kord1</synopsis><synopsis>aw, ax, ay, az, ar, as, at, au, av <opcodename>bformenc</opcodename> asig, kalpha, kbeta, \
kord0, kord1 , kord2</synopsis><synopsis>aw, ax, ay, az, ar, as, at, au, av, ak, al, am, an, ao, ap, aq <opcodename>bformenc</opcodename> \
asig, kalpha, kbeta, kord0, kord1, kord2, kord3</synopsis></opcode>
<opcode><desc>Codes a signal into the ambisonic B format.</desc><synopsis>aw, ax, ay, az <opcodename>bformenc1</opcodename> asig, kalpha, kbeta</synopsis><synopsis>aw, ax, ay, az, ar, as, at, au, av <opcodename>bformenc1</opcodename> asig, kalpha, kbeta</synopsis><synopsis>aw, ax, ay, az, ar, as, at, au, av, ak, al, am, an, ao, ap, aq <opcodename>bformenc1</opcodename> \
asig, kalpha, kbeta</synopsis><synopsis>aarray[] <opcodename>bformenc1</opcodename> asig, kalpha, kbeta</synopsis></opcode>
<opcode><desc>Generates 3D binaural audio with high-fidelity early reflections in a parametric room using a Phase Truncation algorithm.</desc><synopsis>aleft, aright, irt60low, irt60high, imfp <opcodename>hrtfearly</opcodename> asrc, ksrcx, ksrcy, ksrcz, klstnrx, klstnry, klstnrz, \
ifilel, ifiler, idefroom [,ifade, isr, iorder, ithreed, kheadrot, iroomx, iroomy, iroomz, iwallhigh, \
iwalllow, iwallgain1, iwallgain2, iwallgain3, ifloorhigh, ifloorlow, ifloorgain1, ifloorgain2, \
ifloorgain3, iceilinghigh, iceilinglow, iceilinggain1, iceilinggain2, iceilinggain3]</synopsis></opcode>
<opcode><desc>Creates 3D audio for two speakers.</desc><synopsis>aleft, aright <opcodename>hrtfer</opcodename> asig, kaz, kelev, <quote>HRTFcompact</quote></synopsis></opcode>
<opcode><desc>Generates dynamic 3d binaural audio for headphones using magnitude interpolation and phase truncation.</desc><synopsis>aleft, aright <opcodename>hrtfmove</opcodename> asrc, kAz, kElev, ifilel, ifiler [, imode, ifade, isr]</synopsis></opcode>
<opcode><desc>Generates dynamic 3d binaural audio for headphones using a Woodworth based spherical head model
with improved low frequency phase accuracy.</desc><synopsis>aleft, aright <opcodename>hrtfmove2</opcodename> asrc, kAz, kElev, ifilel, ifiler [,ioverlap, iradius, isr]</synopsis></opcode>
<opcode><desc>A binaural, dynamic FDN based diffuse-field reverberator. The opcode works independently as an efficient, flexible reverberator.</desc><synopsis>aleft, aright, idel <opcodename>hrtfreverb</opcodename> asrc, ilowrt60, ihighrt60, ifilel, ifiler [,isr, imfp, iorder]</synopsis></opcode>
<opcode><desc>Generates static 3d binaural audio for headphones using a
Woodworth based spherical head model with improved low frequency
phase accuracy.</desc><synopsis>
aleft, aright <opcodename>hrtfstat</opcodename> asrc, iAz, iElev, ifilel, ifiler [,iradius, isr]
</synopsis></opcode>
<opcode><desc>Distributes the audio signals of a previous</desc><synopsis>a1, a2 <opcodename>locsend</opcodename></synopsis><synopsis>a1, a2, a3, a4 <opcodename>locsend</opcodename></synopsis></opcode>
<opcode><desc>Takes an input signal and distributes between 2 or 4 channels.</desc><synopsis>a1, a2 <opcodename>locsig</opcodename> asig, kdegree, kdistance, kreverbsend</synopsis><synopsis>a1, a2, a3, a4 <opcodename>locsig</opcodename> asig, kdegree, kdistance, kreverbsend</synopsis></opcode>
<opcode><desc>Distribute an audio signal amongst four channels.</desc><synopsis>a1, a2, a3, a4 <opcodename>pan</opcodename> asig, kx, ky, ifn [, imode] [, ioffset]</synopsis></opcode>
<opcode><desc>Distribute an audio signal across two channels.</desc><synopsis>a1, a2 <opcodename>pan2</opcodename> asig, xp [, imode]</synopsis></opcode>
<opcode><desc>Distributes an input signal among 4 channels using cartesian coordinates.</desc><synopsis>a1, a2, a3, a4 <opcodename>space</opcodename> asig, ifn, ktime, kreverbsend, kx, ky</synopsis></opcode>
<opcode><desc>Positions the input sound in a 3D space and allows moving the sound at k-rate.</desc><synopsis>aW, aX, aY, aZ <opcodename>spat3d</opcodename> ain, kX, kY, kZ, idist, ift, imode, imdel, iovr [, istor]</synopsis></opcode>
<opcode><desc>Positions the input sound in a 3D space with the sound source position set at i-time.</desc><synopsis>aW, aX, aY, aZ <opcodename>spat3di</opcodename> ain, iX, iY, iZ, idist, ift, imode [, istor]</synopsis></opcode>
<opcode><desc>Can be used to render an impulse response for a 3D space at i-time.</desc><synopsis><opcodename>spat3dt</opcodename> ioutft, iX, iY, iZ, idist, ift, imode, irlen [, iftnocl]</synopsis></opcode>
<opcode><desc>Calculates distance values from xy coordinates.</desc><synopsis>k1 <opcodename>spdist</opcodename> ifn, ktime, kx, ky</synopsis></opcode>
<opcode><desc>Generates output signals based on a previously defined</desc><synopsis>a1, a2, a3, a4 <opcodename>spsend</opcodename></synopsis></opcode>
<opcode><desc>Distributes an audio signal among many channels.</desc><synopsis>ar1[, ar2...] <opcodename>vbap</opcodename> asig, kazim [,
kelev] [, kspread] [, ilayout]</synopsis><synopsis>array[] <opcodename>vbap</opcodename> asig, kazim [,
kelev] [, kspread] [, ilayout]</synopsis></opcode>
<opcode><desc>Distributes an audio signal among 16 channels.</desc><synopsis>ar1, ..., ar16 <opcodename>vbap16</opcodename> asig, kazim [, kelev] [, kspread]</synopsis></opcode>
<opcode><desc>Distribute an audio signal among 16 channels with moving virtual sources.</desc><synopsis>ar1, ..., ar16 <opcodename>vbap16move</opcodename> asig, idur, ispread, ifldnum, ifld1 \
[, ifld2] [...]</synopsis></opcode>
<opcode><desc>Distributes an audio signal among 4 channels.</desc><synopsis>ar1, ar2, ar3, ar4 <opcodename>vbap4</opcodename> asig, kazim [, kelev] [, kspread]</synopsis></opcode>
<opcode><desc>Distributes an audio signal among 4 channels with moving virtual sources.</desc><synopsis>ar1, ar2, ar3, ar4 <opcodename>vbap4move</opcodename> asig, idur, ispread, ifldnum, ifld1 \
[, ifld2] [...]</synopsis></opcode>
<opcode><desc>Distributes an audio signal among 8 channels.</desc><synopsis>ar1, ..., ar8 <opcodename>vbap8</opcodename> asig, kazim [, kelev] [, kspread]</synopsis></opcode>
<opcode><desc>Distributes an audio signal among 8 channels with moving virtual sources.</desc><synopsis>ar1, ..., ar8 <opcodename>vbap8move</opcodename> asig, idur, ispread, ifldnum, ifld1 \
[, ifld2] [...]</synopsis></opcode>
<opcode><desc>Calculates the gains for a sound location between multiple channels.</desc><synopsis>k1[, k2...] <opcodename>vbapg</opcodename> kazim [,kelev] [, kspread] [, ilayout]</synopsis><synopsis>karray[] <opcodename>vbapg</opcodename> kazim [,kelev] [, kspread] [, ilayout]</synopsis></opcode>
<opcode><desc>Calculates the gains for a sound location between multiple
channels with moving virtual sources.</desc><synopsis>kr1[, kr2...] <opcodename>vbapgmove</opcodename> idur, ispread, ifldnum, ifld1 \
[, ifld2] [...]</synopsis><synopsis>karray[] <opcodename>vbapgmove</opcodename> idur, ispread, ifldnum, ifld1 \
[, ifld2] [...]</synopsis></opcode>
<opcode><desc>Configures VBAP output according to loudspeaker parameters.</desc><synopsis><opcodename>vbaplsinit</opcodename> idim, ilsnum [, idir1] [, idir2] [...] [, idir32]</synopsis><synopsis><opcodename>vbaplsinit</opcodename> idim, ilsnum, ilsarray</synopsis></opcode>
<opcode><desc>Distributes an audio signal among many channels with moving virtual sources.</desc><synopsis>ar1[, ar2...] <opcodename>vbapmove</opcodename> asig, idur, ispread, ifldnum, ifld1 \
[, ifld2] [...]</synopsis><synopsis>aarray[] <opcodename>vbapmove</opcodename> asig, idur, ispread, ifldnum, ifld1 \
[, ifld2] [...]</synopsis></opcode>
<opcode><desc>Writes a multi-channel audio signal to a ZAK array.</desc><synopsis><opcodename>vbapz</opcodename> inumchnls, istartndx, asig, kazim [, kelev] [, kspread]</synopsis></opcode>
<opcode><desc>Writes a multi-channel audio signal to a ZAK array with moving virtual sources.</desc><synopsis><opcodename>vbapzmove</opcodename> inumchnls, istartndx, asig, idur, ispread, ifldnum, ifld1, \
ifld2, [...]</synopsis></opcode>
</category>
<category name="Signal Modifiers:Reverberation">
<opcode><desc>Reverberates an input signal with a flat frequency response.</desc><synopsis>ares <opcodename>alpass</opcodename> asig, xrvt, ilpt [, iskip] [, insmps]</synopsis></opcode>
<opcode><desc>A physical model reverberator.</desc><synopsis>a1, a2 <opcodename>babo</opcodename> asig, ksrcx, ksrcy, ksrcz, irx, iry, irz [, idiff] [, ifno]</synopsis></opcode>
<opcode><desc>Reverberates an input signal with a</desc><synopsis>ares <opcodename>comb</opcodename> asig, krvt, ilpt [, iskip] [, insmps]</synopsis></opcode>
<opcode><desc>Reverberates an input signal with a</desc><synopsis>ares <opcodename>combinv</opcodename> asig, krvt, ilpt [, iskip] [, insmps]</synopsis></opcode>
<opcode><desc>Opcode version of Jezar's Freeverb</desc><synopsis>aoutL, aoutR <opcodename>freeverb</opcodename> ainL, ainR, kRoomSize, kHFDamp[, iSRate[, iSkip]] </synopsis></opcode>
<opcode><desc>Three different nested all-pass filters.</desc><synopsis>ares <opcodename>nestedap</opcodename> asig, imode, imaxdel, idel1, igain1 [, idel2] [, igain2] \
[, idel3] [, igain3] [, istor]</synopsis></opcode>
<opcode><desc>A reverberator consisting of 6 parallel comb-lowpass filters.</desc><synopsis>ares <opcodename>nreverb</opcodename> asig, ktime, khdif [, iskip] [,inumCombs] [, ifnCombs] \
[, inumAlpas] [, ifnAlpas]</synopsis></opcode>
<opcode><desc>Models the reverberation of a metal plate.</desc><synopsis>a1[, a2, ...] <opcodename>platerev</opcodename> itabexcite. itabouts, kbndry, iaspect, istiff, idecay, iloss, aexcite1[, aexcite2, ...]</synopsis></opcode>
<opcode><desc>Reverberates an input signal with a</desc><synopsis>ares <opcodename>reverb</opcodename> asig, krvt [, iskip]</synopsis></opcode>
<opcode><desc>Same as the nreverb opcode.</desc><synopsis>ares <opcodename>reverb2</opcodename> asig, ktime, khdif [, iskip] [,inumCombs] \
[, ifnCombs] [, inumAlpas] [, ifnAlpas]</synopsis></opcode>
<opcode><desc>8 delay line stereo FDN reverb, based on work by Sean Costello</desc><synopsis>aoutL, aoutR <opcodename>reverbsc</opcodename> ainL, ainR, kfblvl, kfco[, israte[, ipitchm[, iskip]]] </synopsis></opcode>
<opcode><desc>Variably reverberates an input signal with a flat frequency response.</desc><synopsis>ares <opcodename>valpass</opcodename> asig, krvt, xlpt, imaxlpt [, iskip] [, insmps]</synopsis></opcode>
<opcode><desc>Variably reverberates an input signal with a</desc><synopsis>ares <opcodename>vcomb</opcodename> asig, krvt, xlpt, imaxlpt [, iskip] [, insmps]</synopsis></opcode>
</category>
<category name="Signal Modifiers:Sample Level Operators">
<opcode><desc>Mixes low level noise to a list of a-rate signals</desc><synopsis><opcodename>denorm</opcodename> a1[, a2[, a3[, ... ]]]</synopsis></opcode>
<opcode><desc>Modify a signal by differentiation.</desc><synopsis>ares <opcodename>diff</opcodename> asig [, iskip]</synopsis><synopsis>kres <opcodename>diff</opcodename> ksig [, iskip]</synopsis></opcode>
<opcode><desc>Modify a signal by down-sampling.</desc><synopsis>kres <opcodename>downsamp</opcodename> asig [, iwlen]</synopsis></opcode>
<opcode><desc>Adds artificial foldover to an audio signal.</desc><synopsis>ares <opcodename>fold</opcodename> asig, kincr</synopsis></opcode>
<opcode><desc>Modify a signal by integration.</desc><synopsis>ares <opcodename>integ</opcodename> asig [, iskip]</synopsis><synopsis>kres <opcodename>integ</opcodename> ksig [, iskip]</synopsis></opcode>
<opcode><desc>Converts a control signal to an audio signal using linear interpolation.</desc><synopsis>ares <opcodename>interp</opcodename> ksig [, iskip] [, imode]
[, ivalue]</synopsis></opcode>
<opcode><desc>Calculates the weighted mean value of two input signals.</desc><synopsis>ares <opcodename>ntrpol</opcodename> asig1, asig2, kpoint [, imin] [, imax]</synopsis><synopsis>ires <opcodename>ntrpol</opcodename> isig1, isig2, ipoint [, imin] [, imax]</synopsis><synopsis>kres <opcodename>ntrpol</opcodename> ksig1, ksig2, kpoint [, imin] [, imax]</synopsis></opcode>
<opcode><desc>Converts a k-rate parameter to an a-rate value with interpolation.</desc><synopsis><opcodename>a</opcodename>(x) (control-rate args only)</synopsis></opcode>
<opcode><desc>Returns an init-type equivalent of a k-rate argument, or directly returns an i-rate argument.</desc><synopsis><opcodename>i</opcodename>(x) (control-rate or init-rate arg)</synopsis><synopsis><opcodename>i</opcodename>(karray,index1, ...) (k-array with indices)</synopsis></opcode>
<opcode><desc>Converts a i-rate parameter to an k-rate value.
Or converts an a-rate value to a k-rate value by down-sampling.</desc><synopsis><opcodename>k</opcodename>(x) (i-rate args only)</synopsis><synopsis><opcodename>k</opcodename>(x) (a-rate args only)</synopsis></opcode>
<opcode><desc>Returns an S-type equivalent of an init-time or k-rate argument.</desc><synopsis><opcodename>S</opcodename>(x) (control-rate or init-rate arg)</synopsis></opcode>
<opcode><desc>Performs a sample-and-hold operation on its input.</desc><synopsis>ares <opcodename>samphold</opcodename> asig, agate [, ival] [, ivstor]</synopsis><synopsis>kres <opcodename>samphold</opcodename> ksig, kgate [, ival] [, ivstor]</synopsis></opcode>
<opcode><desc>Modify a signal by up-sampling.</desc><synopsis>ares <opcodename>upsamp</opcodename> ksig</synopsis></opcode>
<opcode><desc>Access values of the current buffer of an a-rate variable by indexing.</desc><synopsis>kval <opcodename>vaget</opcodename> kndx, avar</synopsis></opcode>
<opcode><desc>Write value of into the current buffer of an a-rate variable by index.</desc><synopsis><opcodename>vaset</opcodename> kval, kndx, avar</synopsis></opcode>
</category>
<category name="Signal Modifiers:Signal Limiters">
<opcode><desc>Sets the lower and upper limits of the value it processes.</desc><synopsis>ares <opcodename>limit</opcodename> asig, klow, khigh</synopsis><synopsis>ires <opcodename>limit</opcodename> isig, ilow, ihigh</synopsis><synopsis>kres <opcodename>limit</opcodename> ksig, klow, khigh</synopsis><synopsis>ires[] <opcodename>limit</opcodename> isig[], ilow, ihigh</synopsis><synopsis>kres[] <opcodename>limit</opcodename> ksig[], klow, khigh</synopsis></opcode>
<opcode><desc>Reflects the signal that exceeds the low and high thresholds.</desc><synopsis>ares <opcodename>mirror</opcodename> asig, klow, khigh</synopsis><synopsis>ires <opcodename>mirror</opcodename> isig, ilow, ihigh</synopsis><synopsis>kres <opcodename>mirror</opcodename> ksig, klow, khigh</synopsis></opcode>
<opcode><desc>Wraps-around the signal that exceeds the low and high thresholds.</desc><synopsis>ares <opcodename>wrap</opcodename> asig, klow, khigh</synopsis><synopsis>ires <opcodename>wrap</opcodename> isig, ilow, ihigh</synopsis><synopsis>kres <opcodename>wrap</opcodename> ksig, klow, khigh</synopsis></opcode>
</category>
<category name="Signal Modifiers:Special Effects">
<opcode><desc>Distort an audio signal via waveshaping and optional clipping.</desc><synopsis>ar <opcodename>distort</opcodename> asig, kdist, ifn[, ihp, istor]</synopsis></opcode>
<opcode><desc>Modified hyperbolic tangent distortion.</desc><synopsis>ares <opcodename>distort1</opcodename> asig, kpregain, kpostgain, kshape1, kshape2[, imode]</synopsis></opcode>
<opcode><desc>A user controlled flanger.</desc><synopsis>ares <opcodename>flanger</opcodename> asig, adel, kfeedback [, imaxd]</synopsis></opcode>
<opcode><desc>Analyze an audio input and generate harmonizing voices in synchrony.</desc><synopsis>ares <opcodename>harmon</opcodename> asig, kestfrq, kmaxvar, kgenfreq1, kgenfreq2, imode, \
iminfrq, iprd</synopsis></opcode>
<opcode><desc>Analyze an audio input and generate harmonizing voices in
synchrony with formants preserved.</desc><synopsis>ares <opcodename>harmon2</opcodename> asig, koct, kfrq1, kfrq2, icpsmode, ilowest[, ipolarity]</synopsis><synopsis>ares <opcodename>harmon3</opcodename> asig, koct, kfrq1, \
kfrq2, kfrq3, icpsmode, ilowest[, ipolarity]</synopsis><synopsis>ares <opcodename>harmon4</opcodename> asig, koct, kfrq1, \
kfrq2, kfrq3, kfrq4, icpsmode, ilowest[, ipolarity]</synopsis></opcode>
<opcode><desc>First-order allpass filters arranged in a series.</desc><synopsis>ares <opcodename>phaser1</opcodename> asig, kfreq, kord, kfeedback [, iskip]</synopsis></opcode>
<opcode><desc>Second-order allpass filters arranged in a series.</desc><synopsis>ares <opcodename>phaser2</opcodename> asig, kfreq, kq, kord, kmode, ksep, kfeedback</synopsis></opcode>
</category>
<category name="Signal Modifiers:Standard Filters">
<opcode><desc>A hi-pass filter whose transfer functions are the complements of the</desc><synopsis>ares <opcodename>atone</opcodename> asig, khp [, iskip]</synopsis></opcode>
<opcode><desc>Emulates a stack of filters using the atone opcode.</desc><synopsis>ares <opcodename>atonex</opcodename> asig, khp [, inumlayer] [, iskip]</synopsis><synopsis>ares <opcodename>atonex</opcodename> asig, ahp [, inumlayer] [, iskip]</synopsis></opcode>
<opcode><desc>A sweepable general purpose biquadratic digital filter.</desc><synopsis>ares <opcodename>biquad</opcodename> asig, kb0, kb1, kb2, ka0, ka1, ka2 [, iskip]</synopsis></opcode>
<opcode><desc>A sweepable general purpose biquadratic digital filter with a-rate parameters.</desc><synopsis>ares <opcodename>biquada</opcodename> asig, ab0, ab1, ab2, aa0, aa1, aa2 [, iskip]</synopsis></opcode>
<opcode><desc>Same as the butterbp opcode.</desc><synopsis>ares <opcodename>butbp</opcodename> asig, kfreq, kband [, iskip]</synopsis></opcode>
<opcode><desc>Same as the butterbr opcode.</desc><synopsis>ares <opcodename>butbr</opcodename> asig, kfreq, kband [, iskip]</synopsis></opcode>
<opcode><desc>Same as the butterhp opcode.</desc><synopsis>ares <opcodename>buthp</opcodename> asig, kfreq [, iskip]</synopsis><synopsis>ares <opcodename>buthp</opcodename> asig, afreq [, iskip]</synopsis></opcode>
<opcode><desc>Same as the butterlp opcode.</desc><synopsis>ares <opcodename>butlp</opcodename> asig, kfreq [, iskip]</synopsis><synopsis>ares <opcodename>butlp</opcodename> asig, afreq [, iskip]</synopsis></opcode>
<opcode><desc>A band-pass Butterworth filter.</desc><synopsis>ares <opcodename>butterbp</opcodename> asig, xfreq, xband [, iskip]</synopsis></opcode>
<opcode><desc>A band-reject Butterworth filter.</desc><synopsis>ares <opcodename>butterbr</opcodename> asig, xfreq, xband [, iskip]</synopsis></opcode>
<opcode><desc>A high-pass Butterworth filter.</desc><synopsis>ares <opcodename>butterhp</opcodename> asig, kfreq [, iskip]</synopsis><synopsis>ares <opcodename>butterhp</opcodename> asig, afreq [, iskip]</synopsis></opcode>
<opcode><desc>A low-pass Butterworth filter.</desc><synopsis>ares <opcodename>butterlp</opcodename> asig, kfreq [, iskip]</synopsis><synopsis>ares <opcodename>butterlp</opcodename> asig, afreq [, iskip]</synopsis></opcode>
<opcode><desc>Implements low-pass and high-pass filters of different styles.</desc><synopsis>ares <opcodename>clfilt</opcodename> asig, kfreq, itype, inpol [, ikind] [, ipbr] [, isba] [, iskip]</synopsis></opcode>
<opcode><desc>Zero-delay feedback implementation of 4 pole diode ladder filter.</desc><synopsis>asig <opcodename>diode_ladder</opcodename> ain, xcf, xk [, inlp, isaturation, istor]</synopsis></opcode>
<opcode><desc>A fast and robust method for approximating sound propagation, achieving convincing Doppler shifts without having to solve equations.</desc><synopsis>ashifted <opcodename>doppler</opcodename> asource, ksourceposition, kmicposition [, isoundspeed, ifiltercutoff]</synopsis></opcode>
<opcode><desc>Zero-delay feedback implementation of Korg35 resonant high-pass filter.</desc><synopsis>asig <opcodename>K35_hpf</opcodename> ain, xcf, xQ [, inlp, isaturation, istor]</synopsis></opcode>
<opcode><desc>Zero-delay feedback implementation of Korg35 resonant low-pass filter.</desc><synopsis>asig <opcodename>K35_lpf</opcodename> ain, xcf, xQ [, inlp, isaturation, istor]</synopsis></opcode>
<opcode><desc>A median filter, a variant FIR lowpass filter.</desc><synopsis>ares <opcodename>median</opcodename> asig, ksize, imaxsize [, iskip]</synopsis></opcode>
<opcode><desc>A median filter, a variant FIR lowpass filter.</desc><synopsis>kres <opcodename>mediank</opcodename> kin, ksize, imaxsize [, iskip]</synopsis></opcode>
<opcode><desc>A filter that simulates a mass-spring-damper system</desc><synopsis>aout <opcodename>mode</opcodename> ain, xfreq, xQ [, iskip]</synopsis></opcode>
<opcode><desc>A first-order recursive low-pass filter with variable frequency response.</desc><synopsis>ares <opcodename>tone</opcodename> asig, khp [, iskip]</synopsis></opcode>
<opcode><desc>Emulates a stack of filters using the tone opcode.</desc><synopsis>ares <opcodename>tonex</opcodename> asig, khp [, inumlayer] [, iskip]</synopsis><synopsis>ares <opcodename>tonex</opcodename> asig, ahp [, inumlayer] [, iskip]</synopsis></opcode>
<opcode><desc>Zero-delay feedback implementation of 1 pole filter.</desc><synopsis>asig <opcodename>zdf_1pole</opcodename> ain, xcf [, kmode, istor]</synopsis></opcode>
<opcode><desc>Zero-delay feedback implementation of 1 pole filter with multimode output.</desc><synopsis>alp, ahp <opcodename>zdf_1pole_mode</opcodename> ain, xcf [, istor]</synopsis></opcode>
<opcode><desc>Zero-delay feedback implementation of 2 pole filter.</desc><synopsis>asig <opcodename>zdf_2pole</opcodename> ain, xcf, xQ [, kmode, istor]</synopsis></opcode>
<opcode><desc>Zero-delay feedback implementation of 2 pole filter with multimode output.</desc><synopsis>alp, abp, ahp <opcodename>zdf_2pole_mode</opcodename> ain, xcf, Q [, istor]</synopsis></opcode>
<opcode><desc>Zero-delay feedback implementation of 4 pole ladder filter.</desc><synopsis>asig <opcodename>zdf_ladder</opcodename> ain, xcf, xQ [, istor]</synopsis></opcode>
</category>
<category name="Signal Modifiers:Standard Filters:Resonant">
<opcode><desc>A notch filter whose transfer functions are the complements of
the reson opcode.</desc><synopsis>ares <opcodename>areson</opcodename> asig, kcf, kbw [, iscl] [, iskip]</synopsis><synopsis>ares <opcodename>areson</opcodename> asig, acf, kbw [, iscl] [, iskip]</synopsis><synopsis>ares <opcodename>areson</opcodename> asig, kcf, abw [, iscl] [, iskip]</synopsis><synopsis>ares <opcodename>areson</opcodename> asig, acf, abw [, iscl] [, iskip]</synopsis></opcode>
<opcode><desc>A second-order multi-mode filter.</desc><synopsis>ares <opcodename>bqrez</opcodename> asig, xfco, xres [, imode] [, iskip]</synopsis></opcode>
<opcode><desc>A resonant lowpass filter.</desc><synopsis>ares <opcodename>lowpass2</opcodename> asig, kcf, kq [, iskip]</synopsis></opcode>
<opcode><desc>Another resonant lowpass filter.</desc><synopsis>ares <opcodename>lowres</opcodename> asig, xcutoff, xresonance [, iskip]</synopsis></opcode>
<opcode><desc>Simulates layers of serially connected resonant lowpass filters.</desc><synopsis>ares <opcodename>lowresx</opcodename> asig, xcutoff, xresonance [, inumlayer] [, iskip]</synopsis></opcode>
<opcode><desc>A 3-pole sweepable resonant lowpass filter.</desc><synopsis>ares <opcodename>lpf18</opcodename> asig, xfco, xres, xdist [, iskip]</synopsis></opcode>
<opcode><desc>Moog ladder lowpass filter.</desc><synopsis>asig <opcodename>moogladder</opcodename> ain, kcf, kres[, istor]</synopsis><synopsis>asig <opcodename>moogladder</opcodename> ain, acf, kres[, istor]</synopsis><synopsis>asig <opcodename>moogladder</opcodename> ain, kcf, ares[, istor]</synopsis><synopsis>asig <opcodename>moogladder</opcodename> ain, acf, ares[, istor]</synopsis></opcode>
<opcode><desc>Moog ladder lowpass filter.</desc><synopsis>asig <opcodename>moogladder2</opcodename> ain, kcf, kres[, istor]</synopsis><synopsis>asig <opcodename>moogladder2</opcodename> ain, acf, kres[, istor]</synopsis><synopsis>asig <opcodename>moogladder2</opcodename> ain, kcf, ares[, istor]</synopsis><synopsis>asig <opcodename>moogladder2</opcodename> ain, acf, ares[, istor]</synopsis></opcode>
<opcode><desc>A digital emulation of the Moog diode ladder filter configuration.</desc><synopsis>ares <opcodename>moogvcf</opcodename> asig, xfco, xres [,iscale, iskip]</synopsis></opcode>
<opcode><desc>A digital emulation of the Moog diode ladder filter configuration.</desc><synopsis>ares <opcodename>moogvcf2</opcodename> asig, xfco, xres [,iscale, iskip]</synopsis></opcode>
<opcode><desc>Moog voltage-controlled highpass filter emulation.</desc><synopsis>asig <opcodename>mvchpf</opcodename> ain, xcf[, istor]</synopsis></opcode>
<opcode><desc>Moog voltage-controlled lowpass filter emulation.</desc><synopsis>asig <opcodename>mvclpf1</opcodename> ain, xcf, xres[,istor]</synopsis></opcode>
<opcode><desc>Moog voltage-controlled lowpass filter emulation.</desc><synopsis>asig <opcodename>mvclpf2</opcodename> ain, xcf, xres[, istor]</synopsis></opcode>
<opcode><desc>Moog voltage-controlled lowpass filter emulation.</desc><synopsis>asig <opcodename>mvclpf3</opcodename> ain, xcf, xres[, istor]</synopsis></opcode>
<opcode><desc>Moog voltage-controlled lowpass filter emulation.</desc><synopsis>asig1,asig2,asig3,asig4 <opcodename>mvclpf4</opcodename> ain, xcf, xres[, istor]</synopsis></opcode>
<opcode><desc>A second-order resonant filter.</desc><synopsis>ares <opcodename>reson</opcodename> asig, xcf, xbw [, iscl] [, iskip]</synopsis></opcode>
<opcode><desc>A bandpass filter with variable frequency response.</desc><synopsis>ares <opcodename>resonr</opcodename> asig, xcf, xbw [, iscl] [, iskip]</synopsis></opcode>
<opcode><desc>Emulates a stack of filters using the reson opcode.</desc><synopsis>ares <opcodename>resonx</opcodename> asig, xcf, xbw [, inumlayer] [, iscl] [, iskip]</synopsis></opcode>
<opcode><desc>A bank of second-order bandpass filters, connected in parallel.</desc><synopsis>ares <opcodename>resony</opcodename> asig, kbf, kbw, inum, ksep [, isepmode] [, iscl] [, iskip]</synopsis></opcode>
<opcode><desc>A bandpass filter with variable frequency response.</desc><synopsis>ares <opcodename>resonz</opcodename> asig, xcf, xbw [, iscl] [, iskip]</synopsis></opcode>
<opcode><desc>A resonant low-pass filter.</desc><synopsis>ares <opcodename>rezzy</opcodename> asig, xfco, xres [, imode, iskip]</synopsis></opcode>
<opcode><desc>State-variable filter.</desc><synopsis>ahp,alp,abp,abr <opcodename>statevar</opcodename> ain, xcf, xq [, iosamps, istor]</synopsis></opcode>
<opcode><desc>A resonant second order filter, with simultaneous lowpass, highpass and bandpass outputs.</desc><synopsis>alow, ahigh, aband <opcodename>svfilter</opcodename> asig, kcf, kq [, iscl] [, iskip]</synopsis></opcode>
<opcode><desc>Models some of the filter characteristics of a Roland TB303 voltage-controlled filter.</desc><synopsis>ares <opcodename>tbvcf</opcodename> asig, xfco, xres, kdist, kasym [, iskip]</synopsis></opcode>
<opcode><desc>A bank of filters in which the cutoff frequency can be separated under user control.</desc><synopsis>ares <opcodename>vlowres</opcodename> asig, kfco, kres, iord, ksep</synopsis></opcode>
</category>
<category name="Signal Modifiers:Standard Filters:Control">
<opcode><desc>A notch filter whose transfer functions are the complements of the reson opcode.</desc><synopsis>kres <opcodename>aresonk</opcodename> ksig, kcf, kbw [, iscl] [, iskip]</synopsis></opcode>
<opcode><desc>A hi-pass filter whose transfer functions are the complements of the</desc><synopsis>kres <opcodename>atonek</opcodename> ksig, khp [, iskip]</synopsis></opcode>
<opcode><desc>Generate glissandos starting from a control signal.</desc><synopsis>kres <opcodename>lineto</opcodename> ksig, ktime</synopsis></opcode>
<opcode><desc>Applies portamento to a step-valued control signal.</desc><synopsis>kres <opcodename>port</opcodename> ksig, ihtim [, isig]</synopsis></opcode>
<opcode><desc>Applies portamento to a step-valued control signal.</desc><synopsis>kres <opcodename>portk</opcodename> ksig, khtim [, isig]</synopsis></opcode>
<opcode><desc>A second-order resonant filter.</desc><synopsis>kres <opcodename>resonk</opcodename> ksig, kcf, kbw [, iscl] [, iskip]</synopsis></opcode>
<opcode><desc>Control signal resonant filter stack.</desc><synopsis>kres <opcodename>resonxk</opcodename> ksig, kcf, kbw[, inumlayer, iscl, istor]</synopsis></opcode>
<opcode><desc>Exponential Lag</desc><synopsis>aout <opcodename>sc_lag</opcodename> ain, klagtime [, initialvalue=0]</synopsis><synopsis>kout <opcodename>sc_lag</opcodename> kin, klagtime [, initialvalue=0]</synopsis></opcode>
<opcode><desc>Exponential Lag</desc><synopsis>aout <opcodename>sc_lagud</opcodename> ain, klagup, klagdown</synopsis><synopsis>kout <opcodename>sc_lagud</opcodename> kin, klagup, klagdown</synopsis></opcode>
<opcode><desc>Timed trigger</desc><synopsis>aout <opcodename>sc_trig</opcodename> ain, kdur</synopsis><synopsis>kout <opcodename>sc_trig</opcodename> kin, kdur</synopsis></opcode>
<opcode><desc>Generate glissandos starting from a control signal.</desc><synopsis>kres <opcodename>tlineto</opcodename> ksig, ktime, ktrig</synopsis></opcode>
<opcode><desc>A first-order recursive low-pass filter with variable frequency response.</desc><synopsis>kres <opcodename>tonek</opcodename> ksig, khp [, iskip]</synopsis></opcode>
</category>
<category name="Signal Modifiers:Specialized Filters">
<opcode><desc>A DC blocking filter.</desc><synopsis>ares <opcodename>dcblock</opcodename> ain [, igain]</synopsis></opcode>
<opcode><desc>A DC blocking filter.</desc><synopsis>ares <opcodename>dcblock2</opcodename> ain [, iorder] [, iskip]</synopsis></opcode>
<opcode><desc>Equalizer filter</desc><synopsis>asig <opcodename>eqfil</opcodename> ain, kcf, kbw, kgain[, istor]</synopsis></opcode>
<opcode><desc>A non-linear filter system to excite the signal.</desc><synopsis>ares <opcodename>exciter</opcodename> asig, kfreq, kceil, kharmonics, kblend</synopsis></opcode>
<opcode><desc>Performs filtering using a transposed form-II digital filter lattice with no time-varying control.</desc><synopsis>ares <opcodename>filter2</opcodename> asig, iM, iN, ib0, ib1, ..., ibM, ia1, ia2, ..., iaN</synopsis><synopsis>kres <opcodename>filter2</opcodename> ksig, iM, iN, ib0, ib1, ..., ibM, ia1, ia2, ..., iaN</synopsis></opcode>
<opcode><desc>AM/FM analysis from quadrature signal.</desc><synopsis>am, af <opcodename>fmanal</opcodename> are, aim</synopsis></opcode>
<opcode><desc>Formant filter.</desc><synopsis>asig <opcodename>fofilter</opcodename> ain, xcf, xris, xdec[, istor]</synopsis></opcode>
<opcode><desc>A Hilbert transformer.</desc><synopsis>ar1, ar2 <opcodename>hilbert</opcodename> asig</synopsis></opcode>
<opcode><desc>A Hilbert rransformer.</desc><synopsis>ar1, ar2 <opcodename>hilbert2</opcodename> asig, ifftsize, ihopsize</synopsis></opcode>
<opcode><desc>A filter with a non-linear effect.</desc><synopsis>ares <opcodename>nlfilt</opcodename> ain, ka, kb, kd, kC, kL</synopsis></opcode>
<opcode><desc>A filter with a non-linear effect and blowup protection.</desc><synopsis>ares <opcodename>nlfilt2</opcodename> ain, ka, kb, kd, kC, kL</synopsis></opcode>
<opcode><desc>Implementation of Zoelzer's parametric equalizer filters.</desc><synopsis>ares <opcodename>pareq</opcodename> asig, kc, kv, kq [, imode] [, iskip]</synopsis></opcode>
<opcode><desc>Parametric equalizer and filter opcode with 7 filter types, based
on algorithm by Robert Bristow-Johnson.</desc><synopsis>ar <opcodename>rbjeq</opcodename> asig, kfco, klvl, kQ, kS[, imode]</synopsis></opcode>
<opcode><desc>Performs filtering using a transposed form-II digital filter lattice with radial pole-shearing and angular pole-warping.</desc><synopsis>ares <opcodename>zfilter2</opcodename> asig, kdamp, kfreq, iM, iN, ib0, ib1, ..., ibM, \
ia1,ia2, ..., iaN</synopsis></opcode>
</category>
<category name="Signal Modifiers:Waveguides">
<opcode><desc>A simple waveguide model consisting of one delay-line and one first-order lowpass filter.</desc><synopsis>ares <opcodename>wguide1</opcodename> asig, xfreq, kcutoff, kfeedback</synopsis></opcode>
<opcode><desc>A model of beaten plate consisting of two parallel delay-lines and two first-order lowpass filters.</desc><synopsis>ares <opcodename>wguide2</opcodename> asig, xfreq1, xfreq2, kcutoff1, kcutoff2, \
kfeedback1, kfeedback2</synopsis></opcode>
</category>
<category name="Signal Modifiers:Waveshaping">
<opcode><desc>Efficiently evaluates the sum of Chebyshev polynomials of arbitrary order.</desc><synopsis>aout <opcodename>chebyshevpoly</opcodename> ain, k0 [, k1 [, k2 [...]]]</synopsis></opcode>
<opcode><desc>Performs linear clipping on an audio signal or a phasor.</desc><synopsis>aout <opcodename>pdclip</opcodename> ain, kWidth, kCenter [, ibipolar [, ifullscale]]</synopsis></opcode>
<opcode><desc>Distorts a phasor for reading the two halves of a table at different rates.</desc><synopsis>aout <opcodename>pdhalf</opcodename> ain, kShapeAmount [, ibipolar [, ifullscale]]</synopsis></opcode>
<opcode><desc>Distorts a phasor for reading two unequal portions of a table in equal periods.</desc><synopsis>aout <opcodename>pdhalfy</opcodename> ain, kShapeAmount [, ibipolar [, ifullscale]]</synopsis></opcode>
<opcode><desc>Waveshapes a signal by raising it to a variable exponent.</desc><synopsis>aout <opcodename>powershape</opcodename> ain, kShapeAmount [, ifullscale]</synopsis></opcode>
</category>
<category name="Signal Modifiers:Comparators and Accumulators">
<opcode><desc>Compares audio signals or arrays</desc><synopsis>aout <opcodename>cmp</opcodename> a1, S_operator, a2</synopsis><synopsis>aout <opcodename>cmp</opcodename> a1, S_operator, kx</synopsis><synopsis>kOut[] <opcodename>cmp</opcodename> kA, S_operator, kB</synopsis><synopsis>kOut[] <opcodename>cmp</opcodename> k1, S_operator1, kIn[], S_operator2, k2</synopsis></opcode>
<opcode><desc>Produces a signal that is the maximum of any number of input signals.</desc><synopsis>amax <opcodename>max</opcodename> ain1, ain2 [, ain3] [, ain4] [...]</synopsis><synopsis>kmax <opcodename>max</opcodename> kin1, kin2 [, kin3] [, kin4] [...]</synopsis><synopsis>imax <opcodename>max</opcodename> iin1, iin2 [, iin3] [, iin4] [...]</synopsis></opcode>
<opcode><desc>Local maximum (or minimum) value of an incoming asig signal</desc><synopsis>knumkout <opcodename>max_k</opcodename> asig, ktrig, itype</synopsis></opcode>
<opcode><desc>Produces a signal that is the maximum of the absolute values of any number of input signals.</desc><synopsis>amax <opcodename>maxabs</opcodename> ain1, ain2 [, ain3] [, ain4] [...]</synopsis><synopsis>kmax <opcodename>maxabs</opcodename> kin1, kin2 [, kin3] [, kin4] [...]</synopsis></opcode>
<opcode><desc>Accumulates the maximum of the absolute values of audio signals.</desc><synopsis><opcodename>maxabsaccum</opcodename> aAccumulator, aInput</synopsis></opcode>
<opcode><desc>Accumulates the maximum value of audio signals.</desc><synopsis><opcodename>maxaccum</opcodename> aAccumulator, aInput</synopsis></opcode>
<opcode><desc>Produces a signal that is the minimum of any number of input signals.</desc><synopsis>amin <opcodename>min</opcodename> ain1, ain2 [, ain3] [, ain4] [...]</synopsis><synopsis>kmin <opcodename>min</opcodename> kin1, kin2 [, kin3] [, kin4] [...]</synopsis><synopsis>imin <opcodename>min</opcodename> iin1, iin2 [, iin3] [, iin4] [...]</synopsis></opcode>
<opcode><desc>Produces a signal that is the minimum of the absolute values of any number of input signals.</desc><synopsis>amin <opcodename>minabs</opcodename> ain1, ain2 [, ain3] [, ain4] [...]</synopsis><synopsis>kmin <opcodename>minabs</opcodename> kin1, kin2 [, kin3] [, kin4] [...]</synopsis></opcode>
<opcode><desc>Accumulates the minimum of the absolute values of audio signals.</desc><synopsis><opcodename>minabsaccum</opcodename> aAccumulator, aInput</synopsis></opcode>
<opcode><desc>Accumulates the minimum value of audio signals.</desc><synopsis><opcodename>minaccum</opcodename> aAccumulator, aInput</synopsis></opcode>
</category>
<category name="Instrument Control:Clock Control">
<opcode><desc>Stops one of a number of internal clocks.</desc><synopsis><opcodename>clockoff</opcodename> inum</synopsis></opcode>
<opcode><desc>Starts one of a number of internal clocks.</desc><synopsis><opcodename>clockon</opcodename> inum</synopsis></opcode>
</category>
<category name="Instrument Control:Conditional Values">
<opcode><desc>Compares two values for equality.</desc><synopsis>(a <opcodename>==</opcodename> b <opcodename>?</opcodename> v1 <opcodename>:</opcodename> v2)</synopsis></opcode>
<opcode><desc>Determines if one value is greater than or equal to another.</desc><synopsis>(a <opcodename>>=</opcodename> b <opcodename>?</opcodename> v1 <opcodename>:</opcodename> v2)</synopsis></opcode>
<opcode><desc>Determines if one value is greater than another.</desc><synopsis>(a <opcodename>></opcodename> b <opcodename>?</opcodename> v1 <opcodename>:</opcodename> v2)</synopsis></opcode>
<opcode><desc>Determines if one value is less than or equal to another.</desc><synopsis>(a <opcodename><=</opcodename> b <opcodename>?</opcodename> v1 <opcodename>:</opcodename> v2)</synopsis></opcode>
<opcode><desc>Determines if one value is less than another.</desc><synopsis>(a <opcodename><</opcodename> b <opcodename>?</opcodename> v1 <opcodename>:</opcodename> v2)</synopsis></opcode>
<opcode><desc>Determines if one value is not equal to another.</desc><synopsis>(a <opcodename>!=</opcodename> b <opcodename>?</opcodename> v1 <opcodename>:</opcodename> v2)</synopsis></opcode>
</category>
<category name="Instrument Control:Compilation">
<opcode><desc>compiles a new orchestra from an ASCII file</desc><synopsis>ires <opcodename>compilecsd</opcodename> Sfilename</synopsis></opcode>
<opcode><desc>compiles a new orchestra from an ASCII file</desc><synopsis>ires <opcodename>compileorc</opcodename> Sfilename</synopsis></opcode>
<opcode><desc>compiles a new orchestra passed in as an ASCII string</desc><synopsis>ires <opcodename>compilestr</opcodename> Sorch</synopsis></opcode>
<opcode><desc>Evalstrs evaluates a string containing Csound code, returning a value.</desc><synopsis>ires <opcodename>evalstr</opcodename> Scode </synopsis><synopsis>kres <opcodename>evalstr</opcodename> Scode, ktrig </synopsis></opcode>
<opcode><desc>Returns a value from an instrument.</desc><synopsis><opcodename>return</opcodename> ival </synopsis></opcode>
</category>
<category name="Instrument Control:Duration Control">
<opcode><desc>Creates a held note.</desc><synopsis><opcodename>ihold</opcodename></synopsis></opcode>
<opcode><desc>Enables an instrument to turn itself off or to turn an instance of another instrument off.</desc><synopsis><opcodename>turnoff</opcodename></synopsis><synopsis><opcodename>turnoff</opcodename> inst</synopsis><synopsis><opcodename>turnoff</opcodename> knst</synopsis></opcode>
<opcode><desc>Turn off instance(s) of other instruments at performance time.</desc><synopsis><opcodename>turnoff2</opcodename> kinsno, kmode, krelease
</synopsis></opcode>
<opcode><desc>Activate an instrument for an indefinite time.</desc><synopsis><opcodename>turnon</opcodename> insnum [, itime]</synopsis></opcode>
</category>
<category name="Instrument Control:Invocation">
<opcode><desc>Generates a score event from an instrument.</desc><synopsis><opcodename>event</opcodename> "scorechar", kinsnum, kdelay, kdur, [, kp4] [, kp5] [, ...]</synopsis><synopsis><opcodename>event</opcodename> "scorechar", "insname", kdelay, kdur, [, kp4] [, kp5] [, ...]</synopsis></opcode>
<opcode><desc>Generates a score event from an instrument.</desc><synopsis><opcodename>event_i</opcodename> "scorechar", iinsnum, idelay, idur, [, ip4] [, ip5] [, ...]</synopsis><synopsis><opcodename>event_i</opcodename> "scorechar", "insname", idelay, idur, [, ip4] [, ip5] [, ...]</synopsis></opcode>
<opcode><desc>Mutes/unmutes new instances of a given instrument.</desc><synopsis><opcodename>mute</opcodename> insnum [, iswitch]</synopsis><synopsis><opcodename>mute</opcodename> "insname" [, iswitch]</synopsis></opcode>
<opcode><desc>Schedules a new instrument instance, storing the instance handle in a variable.</desc><synopsis>iHandle <opcodename>nstance</opcodename> insnum, iwhen, idur [, ip4] [, ip5] [...]</synopsis><synopsis>iHandle <opcodename>nstance</opcodename> "insname", iwhen, idur [, ip4] [, ip5] [...]</synopsis></opcode>
<opcode><desc>Read, preprocess and schedule a score from an input string.</desc><synopsis><opcodename>readscore</opcodename> Sin </synopsis></opcode>
<opcode><desc>Removes the definition of an instrument.</desc><synopsis><opcodename>remove</opcodename> insnum</synopsis></opcode>
<opcode><desc>Adds a new score event generated by a k-rate trigger.</desc><synopsis><opcodename>schedkwhen</opcodename> ktrigger, kmintim, kmaxnum, kinsnum, kwhen, kdur \
[, ip4] [, ip5] [...]</synopsis><synopsis><opcodename>schedkwhen</opcodename> ktrigger, kmintim, kmaxnum, "insname", kwhen, kdur \
[, ip4] [, ip5] [...]</synopsis></opcode>
<opcode><desc>Similar to schedkwhen but uses a named instrument at init-time.</desc><synopsis><opcodename>schedkwhennamed</opcodename> ktrigger, kmintim, kmaxnum, "name", kwhen, kdur \
[, ip4] [, ip5] [...]</synopsis></opcode>
<opcode><desc>Adds a new score event.</desc><synopsis><opcodename>schedule</opcodename> insnum, iwhen, idur [, ip4] [, ip5] [...]</synopsis><synopsis><opcodename>schedule</opcodename> "insname", iwhen, idur [, ip4] [, ip5] [...]</synopsis></opcode>
<opcode><desc>Adds a new score event.</desc><synopsis><opcodename>schedwhen</opcodename> ktrigger, kinsnum, kwhen, kdur [, ip4] [, ip5] [...]</synopsis><synopsis><opcodename>schedwhen</opcodename> ktrigger, "insname", kwhen, kdur [, ip4] [, ip5] [...]</synopsis></opcode>
<opcode><desc>Issues one or more score line events from an instrument.</desc><synopsis><opcodename>scoreline</opcodename> Sin, ktrig</synopsis></opcode>
<opcode><desc>Issues one or more score line events from an instrument at i-time.</desc><synopsis><opcodename>scoreline_i</opcodename> Sin</synopsis></opcode>
</category>
<category name="Instrument Control:Program Flow Control">
<opcode><desc>Conditionally transfer control on every pass.</desc><synopsis><opcodename>cggoto</opcodename> condition, label</synopsis></opcode>
<opcode><desc>Conditionally transfer control during the i-time pass.</desc><synopsis><opcodename>cigoto</opcodename> condition, label</synopsis></opcode>
<opcode><desc>Conditionally transfer control during the p-time passes.</desc><synopsis><opcodename>ckgoto</opcodename> condition, label</synopsis></opcode>
<opcode><desc>Transfers control on every pass when a condition is not true.</desc><synopsis><opcodename>cngoto</opcodename> condition, label</synopsis></opcode>
<opcode><desc>Executes a block of code when an "if...then" condition is false.</desc><synopsis><opcodename>else</opcodename></synopsis></opcode>
<opcode><desc>Defines another "if...then" condition when a "if...then" condition is false.</desc><synopsis><opcodename>elseif</opcodename> xa R xb <opcodename>then</opcodename></synopsis></opcode>
<opcode><desc>Closes a block of code that begins with an "if...then" statement.</desc><synopsis><opcodename>endif</opcodename></synopsis></opcode>
<opcode><desc>Transfer control on every pass.</desc><synopsis><opcodename>goto</opcodename> label</synopsis></opcode>
<opcode><desc>Branches conditionally at initialization or during performance time.</desc><synopsis><opcodename>if</opcodename> ia R ib <opcodename>igoto</opcodename> label</synopsis><synopsis><opcodename>if</opcodename> ka R kb <opcodename>kgoto</opcodename> label</synopsis><synopsis><opcodename>if</opcodename> xa R xb <opcodename>goto</opcodename> label</synopsis><synopsis><opcodename>if</opcodename> xa R xb <opcodename>then</opcodename></synopsis></opcode>
<opcode><desc>Transfer control during the i-time pass.</desc><synopsis><opcodename>igoto</opcodename> label</synopsis></opcode>
<opcode><desc>Transfer control during the performance-time passes.</desc><synopsis><opcodename>kgoto</opcodename> label</synopsis></opcode>
<opcode><desc>Looping constructions.</desc><synopsis><opcodename>loop_ge</opcodename> indx, idecr, imin, label</synopsis><synopsis><opcodename>loop_ge</opcodename> kndx, kdecr, kmin, label</synopsis></opcode>
<opcode><desc>Looping constructions.</desc><synopsis><opcodename>loop_gt</opcodename> indx, idecr, imin, label</synopsis><synopsis><opcodename>loop_gt</opcodename> kndx, kdecr, kmin, label</synopsis></opcode>
<opcode><desc>Looping constructions.</desc><synopsis><opcodename>loop_le</opcodename> indx, incr, imax, label</synopsis><synopsis><opcodename>loop_le</opcodename> kndx, kncr, kmax, label</synopsis></opcode>
<opcode><desc>Looping constructions.</desc><synopsis><opcodename>loop_lt</opcodename> indx, incr, imax, label</synopsis><synopsis><opcodename>loop_lt</opcodename> kndx, kncr, kmax, label</synopsis></opcode>
<opcode><desc>Transfer control at i-time when a new note is being tied onto a previously held note</desc><synopsis><opcodename>tigoto</opcodename> label</synopsis></opcode>
<opcode><desc>Conditional branch during p-time depending on elapsed note time.</desc><synopsis><opcodename>timout</opcodename> istrt, idur, label</synopsis></opcode>
<opcode><desc>A syntactic looping construction.</desc><synopsis><opcodename>until</opcodename> condition <opcodename>do</opcodename>
... <opcodename>od</opcodename></synopsis></opcode>
<opcode><desc>A syntactic looping construction.</desc><synopsis><opcodename>while</opcodename> condition <opcodename>do</opcodename>
... <opcodename>od</opcodename></synopsis></opcode>
</category>
<category name="Instrument Control:Realtime Performance Control">
<opcode><desc>Returns the number of active instances of an instrument.</desc><synopsis>ir <opcodename>active</opcodename> insnum [,iopt [,inorel]]</synopsis><synopsis>ir <opcodename>active</opcodename> Sinsname [,iopt [,inorel]]</synopsis><synopsis>kres <opcodename>active</opcodename> kinsnum [,iopt [,inorel]]</synopsis></opcode>
<opcode><desc>Reports the usage of cpu either total or per core.</desc><synopsis>ktot[,kcpu1, kcpu2,...]<opcodename>cpumeter</opcodename> ifreq</synopsis></opcode>
<opcode><desc>Control allocation of cpu resources on a per-instrument basis, to optimize realtime output.</desc><synopsis><opcodename>cpuprc</opcodename> insnum, ipercent</synopsis><synopsis><opcodename>cpuprc</opcodename> Sinsname, ipercent</synopsis></opcode>
<opcode><desc>Exit Csound as fast as possible, with no cleaning up.</desc><synopsis><opcodename>exitnow</opcodename> [ivalue]</synopsis></opcode>
<opcode><desc>Start/stop jack_transport and can optionally relocate the playback head.</desc><synopsis><opcodename>jacktransport</opcodename> icommand [, ilocation]</synopsis></opcode>
<opcode><desc>Limits the number of allocations of an instrument.</desc><synopsis><opcodename>maxalloc</opcodename> insnum, icount</synopsis><synopsis><opcodename>maxalloc</opcodename> Sinsname, icount</synopsis></opcode>
<opcode><desc>Creates space for instruments but does not run them.</desc><synopsis><opcodename>prealloc</opcodename> insnum, icount</synopsis><synopsis><opcodename>prealloc</opcodename> "insname", icount</synopsis></opcode>
</category>
<category name="Instrument Control:Initialization and Reinitialization">
<opcode><desc>Performs a simple assignment.</desc><synopsis>ares <opcodename>=</opcodename> xarg</synopsis><synopsis>ires <opcodename>=</opcodename> iarg</synopsis><synopsis>kres <opcodename>=</opcodename> karg</synopsis><synopsis>ires, ... <opcodename>=</opcodename> iarg, ...</synopsis><synopsis>kres, ... <opcodename>=</opcodename> karg, ...</synopsis><synopsis>table [ kval] <opcodename>=</opcodename> karg</synopsis></opcode>
<opcode><desc>Puts the value of the i-time expression into a k-, a-rate or t- variable.</desc><synopsis>ares <opcodename>init</opcodename> iarg</synopsis><synopsis>ires <opcodename>init</opcodename> iarg</synopsis><synopsis>kres <opcodename>init</opcodename> iarg</synopsis><synopsis>ares, ... <opcodename>init</opcodename> iarg, ...</synopsis><synopsis>ires, ... <opcodename>init</opcodename> iarg, ...</synopsis><synopsis>kres, ... <opcodename>init</opcodename> iarg, ...</synopsis><synopsis>tab <opcodename>init</opcodename> isize[, ival]</synopsis></opcode>
<opcode><desc>Returns the number of a named instrument.</desc><synopsis>insno <opcodename>nstrnum</opcodename> "name"</synopsis></opcode>
<opcode><desc>Show the value in a given p-field.</desc><synopsis><opcodename>p</opcodename>(x) </synopsis></opcode>
<opcode><desc>Assigns a range of p-fields to ivariables.</desc><synopsis> ivar1, ... <opcodename>passign</opcodename> [istart][, iend</synopsis><synopsis> iarray <opcodename>passign</opcodename> [istart][, iend</synopsis><synopsis> karray <opcodename>passign</opcodename> [istart][, iend</synopsis></opcode>
<opcode><desc>Performs add and assignment.</desc><synopsis>ares <opcodename>+=</opcodename> xarg</synopsis><synopsis>ires <opcodename>+=</opcodename> iarg</synopsis><synopsis>kres <opcodename>+=</opcodename> karg</synopsis><synopsis>table [ kval] <opcodename>+=</opcodename> karg</synopsis></opcode>
<opcode><desc>Defines and initializes numeric arrays at orchestra load time.</desc><synopsis><opcodename>pset</opcodename> icon1 [, icon2] [...]</synopsis></opcode>
<opcode><desc>Suspends a performance while a special initialization pass is executed.</desc><synopsis><opcodename>reinit</opcodename> label</synopsis></opcode>
<opcode><desc>Transfers control during a reinit pass.</desc><synopsis><opcodename>rigoto</opcodename> label</synopsis></opcode>
<opcode><desc>Terminates a reinit pass.</desc><synopsis><opcodename>rireturn</opcodename></synopsis></opcode>
<opcode><desc>Puts the value of the instrument's internal</desc><synopsis>ir <opcodename>tival</opcodename></synopsis></opcode>
</category>
<category name="Instrument Control:Sensing and Control">
<opcode><desc>Sense on-screen controls.</desc><synopsis>kres <opcodename>button</opcodename> knum</synopsis></opcode>
<opcode><desc>k-rate signal change detector.</desc><synopsis>ktrig <opcodename>changed</opcodename> kvar1 [, kvar2,..., kvarN]</synopsis></opcode>
<opcode><desc>k-rate signal change detector.</desc><synopsis>ktrig <opcodename>changed2</opcodename> kvar1 [, kvar2,..., kvarN]</synopsis><synopsis>ktrig <opcodename>changed2</opcodename> karr[]</synopsis><synopsis>ktrig <opcodename>changed2</opcodename> aarr[]</synopsis></opcode>
<opcode><desc>Sense on-screen controls.</desc><synopsis>kres <opcodename>checkbox</opcodename> knum</synopsis></opcode>
<opcode><desc>Configurable slider controls for realtime user input.</desc><synopsis>kres <opcodename>control</opcodename> knum</synopsis></opcode>
<opcode><desc>Envelope follower unit generator.</desc><synopsis>ares <opcodename>follow</opcodename> asig, idt</synopsis></opcode>
<opcode><desc>Another controllable envelope extractor.</desc><synopsis>ares <opcodename>follow2</opcodename> asig, katt, krel</synopsis></opcode>
<opcode><desc>Return Csound settings.</desc><synopsis>Svalue <opcodename>getcfg</opcodename> iopt</synopsis></opcode>
<opcode><desc>Reads data from a joystick controller.</desc><synopsis>kres <opcodename>joystick</opcodename> kdevice ktab</synopsis></opcode>
<opcode><desc>Trigger Metronome</desc><synopsis>ktrig <opcodename>metro</opcodename> kfreq [, initphase]</synopsis></opcode>
<opcode><desc>Returns the playback status of MIDI file input.</desc><synopsis>ksig <opcodename>midifilestatus</opcodename></synopsis></opcode>
<opcode><desc>Returns the current tempo at k-rate, of either the MIDI file (if available) or the score</desc><synopsis>ksig <opcodename>miditempo</opcodename></synopsis></opcode>
<opcode><desc>Reads data from a P5 Glove controller.</desc><synopsis><opcodename>p5gconnect</opcodename></synopsis></opcode>
<opcode><desc>Reads data fields from an external P5 Glove.</desc><synopsis>kres <opcodename>p5gdata</opcodename> kcontrol</synopsis></opcode>
<opcode><desc>Returns the number of pfields belonging to a note event.</desc><synopsis>icount <opcodename>pcount</opcodename></synopsis></opcode>
<opcode><desc>Maintains the output equal to the highest absolute value received.</desc><synopsis>kres <opcodename>peak</opcodename> asig</synopsis><synopsis>kres <opcodename>peak</opcodename> ksig</synopsis></opcode>
<opcode><desc>Returns the value of a specified pfield.</desc><synopsis>ivalue <opcodename>pindex</opcodename> ipfieldIndex</synopsis></opcode>
<opcode><desc>Tracks the pitch of a signal.</desc><synopsis>koct, kamp <opcodename>pitch</opcodename> asig, iupdte, ilo, ihi, idbthresh [, ifrqs] [, iconf] \
[, istrt] [, iocts] [, iq] [, inptls] [, irolloff] [, iskip]</synopsis></opcode>
<opcode><desc>Follows the pitch of a signal based on the AMDF method.</desc><synopsis>kcps, krms <opcodename>pitchamdf</opcodename> asig, imincps, imaxcps [, icps] [, imedi] \
[, idowns] [, iexcps] [, irmsmedi]</synopsis></opcode>
<opcode><desc>Tracks the pitch of a signal.</desc><synopsis>acps, alock <opcodename>plltrack</opcodename> asig, kd [, kloopf, kloopq, klf, khf, kthresh]</synopsis></opcode>
<opcode><desc>Tracks the pitch of a signal.</desc><synopsis>kcps, kamp <opcodename>ptrack</opcodename> asig, ihopsize[,ipeaks]</synopsis></opcode>
<opcode><desc>returns a value stored in the instance of an instrument.</desc><synopsis>ival <opcodename>readscratch</opcodename>[index]</synopsis></opcode>
<opcode><desc>Rewinds the playback position of the current score performance.</desc><synopsis> <opcodename>rewindscore</opcodename></synopsis></opcode>
<opcode><desc>Determines the root-mean-square amplitude of an audio signal.</desc><synopsis>kres <opcodename>rms</opcodename> asig [, ihp] [, iskip]</synopsis></opcode>
<opcode><desc>Returns the ASCII code of a key that has been pressed.</desc><synopsis>kres[, kkeydown] <opcodename>sensekey</opcodename></synopsis></opcode>
<opcode><desc>Generates a trigger signal according to the values stored in a table.</desc><synopsis>ktrig_out <opcodename>seqtime</opcodename> ktime_unit, kstart, kloop, kinitndx, kfn_times</synopsis></opcode>
<opcode><desc>Generates a trigger signal according to the values stored in a table.</desc><synopsis>ktrig_out <opcodename>seqtime2</opcodename> ktrig_in, ktime_unit, kstart, kloop, kinitndx, kfn_times</synopsis></opcode>
<opcode><desc>Configurable slider controls for realtime user input.</desc><synopsis><opcodename>setctrl</opcodename> inum, ival, itype</synopsis></opcode>
<opcode><desc>Sets the playback position of the current score performance to a given position.</desc><synopsis> <opcodename>setscorepos</opcodename> ipos</synopsis></opcode>
<opcode><desc>Split a trigger signal</desc><synopsis><opcodename>splitrig</opcodename> ktrig, kndx, imaxtics, ifn, kout1 [,kout2,...,koutN]</synopsis></opcode>
<opcode><desc>Estimate the tempo of beat patterns in a control signal.</desc><synopsis>ktemp <opcodename>tempest</opcodename> kin, iprd, imindur, imemdur, ihp, ithresh, ihtim, ixfdbak, \
istartempo, ifn [, idisprd] [, itweek]</synopsis></opcode>
<opcode><desc>Apply tempo control to an uninterpreted score.</desc><synopsis><opcodename>tempo</opcodename> ktempo, istartempo</synopsis></opcode>
<opcode><desc>Reads the current value of the tempo.</desc><synopsis>kres <opcodename>tempoval</opcodename></synopsis></opcode>
<opcode><desc>Time Variant Sequencer</desc><synopsis>ktrig <opcodename>timedseq</opcodename> ktimpnt, ifn, kp1 [,kp2, kp3, ...,kpN]</synopsis></opcode>
<opcode><desc>Informs when a krate signal crosses a threshold.</desc><synopsis>kout <opcodename>trigger</opcodename> ksig, kthreshold, kmode</synopsis></opcode>
<opcode><desc>Accepts a trigger signal as input and outputs a group of values.</desc><synopsis><opcodename>trigseq</opcodename> ktrig_in, kstart, kloop, kinitndx, kfn_values, kout1 [, kout2] [...]</synopsis></opcode>
<opcode><desc>Envelope follower unit generator.</desc><synopsis>ares <opcodename>vactrol</opcodename> asig [iup, idown]</synopsis></opcode>
<opcode><desc>Reads data from a number of external Nintendo Wiimote controllers.</desc><synopsis>ires <opcodename>wiiconnect</opcodename> [itimeout, imaxnum]</synopsis></opcode>
<opcode><desc>Reads data fields from a number of external Nintendo Wiimote controllers.</desc><synopsis>kres <opcodename>wiidata</opcodename> kcontrol[, knum]</synopsis></opcode>
<opcode><desc>Sets scaling and range limits for certain Wiimote fields.</desc><synopsis> <opcodename>wiirange</opcodename> icontrol, iminimum, imaximum[, inum]</synopsis></opcode>
<opcode><desc>Sends data to one of a number of external Nintendo Wiimote controllers.</desc><synopsis>kres <opcodename>wiisend</opcodename> kcontrol, kvalue[, knum]</synopsis></opcode>
<opcode><desc>writes a value into the scratchpad of the instance of an instrument.</desc><synopsis><opcodename>writescratch</opcodename>ival[, index]</synopsis></opcode>
<opcode><desc>Sense the cursor position in an output window</desc><synopsis>kx, ky <opcodename>xyin</opcodename> iprd, ixmin, ixmax, iymin, iymax [, ixinit] [, iyinit]</synopsis></opcode>
</category>
<category name="Instrument Control:Stacks">
<opcode><desc>Pops values from the global stack. Deprecated.</desc><synopsis>xval1, [xval2, ... , xval31] <opcodename>pop</opcodename></synopsis><synopsis>ival1, [ival2, ... , ival31] <opcodename>pop</opcodename></synopsis></opcode>
<opcode><desc>Pops an f-sig frame from the global stack. Deprecated.</desc><synopsis>fsig <opcodename>pop_f</opcodename></synopsis></opcode>
<opcode><desc>Pushes a value into the global stack. Deprecated.</desc><synopsis><opcodename>push</opcodename> xval1, [xval2, ... , xval31]</synopsis><synopsis><opcodename>push</opcodename> ival1, [ival2, ... , ival31]</synopsis></opcode>
<opcode><desc>Pushes an f-sig frame into the global stack. Deprecated.</desc><synopsis><opcodename>push_f</opcodename> fsig</synopsis></opcode>
<opcode><desc>Initializes the stack. Deprecated.</desc><synopsis><opcodename>stack</opcodename> iStackSize</synopsis></opcode>
</category>
<category name="Instrument Control:Subinstrument Control">
<opcode><desc>Creates and runs a numbered instrument instance.</desc><synopsis>a1, [...] [, a8] <opcodename>subinstr</opcodename> instrnum [, p4] [, p5] [...]</synopsis><synopsis>a1, [...] [, a8] <opcodename>subinstr</opcodename> "insname" [, p4] [, p5] [...]</synopsis></opcode>
<opcode><desc>Creates and runs a numbered instrument instance at init-time.</desc><synopsis><opcodename>subinstrinit</opcodename> instrnum [, p4] [, p5] [...]</synopsis><synopsis><opcodename>subinstrinit</opcodename> "insname" [, p4] [, p5] [...]</synopsis></opcode>
</category>
<category name="Instrument Control:Time Reading">
<opcode><desc>Returns the number seconds since a base date.</desc><synopsis>ir[, inano] <opcodename>date</opcodename></synopsis><synopsis>kr[, knano] <opcodename>date</opcodename></synopsis></opcode>
<opcode><desc>Returns as a string the date and time specified.</desc><synopsis>Sir <opcodename>dates</opcodename> [ itime]</synopsis></opcode>
<opcode><desc>Reads the value of an internal clock.</desc><synopsis>ir <opcodename>readclock</opcodename> inum</synopsis></opcode>
<opcode><desc>Read the real time clock from the operating system.</desc><synopsis>ires <opcodename>rtclock</opcodename></synopsis><synopsis>kres <opcodename>rtclock</opcodename></synopsis></opcode>
<opcode><desc>Read absolute time in k-rate cycles.</desc><synopsis>kres <opcodename>timeinstk</opcodename></synopsis></opcode>
<opcode><desc>Read absolute time in seconds.</desc><synopsis>kres <opcodename>timeinsts</opcodename></synopsis></opcode>
<opcode><desc>Read absolute time in k-rate cycles.</desc><synopsis>ires <opcodename>timek</opcodename></synopsis><synopsis>kres <opcodename>timek</opcodename></synopsis></opcode>
<opcode><desc>Read absolute time in seconds.</desc><synopsis>ires <opcodename>times</opcodename></synopsis><synopsis>kres <opcodename>times</opcodename></synopsis></opcode>
</category>
<category name="Jacko Opcodes">
<opcode><desc>Receives an audio signal from a Jack port.</desc><synopsis>asignal <opcodename>JackoAudioIn </opcodename>ScsoundPortName</synopsis></opcode>
<opcode><desc>Creates an audio connection from a Jack port to Csound.</desc><synopsis><opcodename>JackoAudioInConnect </opcodename>SexternalPortName, ScsoundPortName</synopsis></opcode>
<opcode><desc>Sends an audio signal to a Jack port.</desc><synopsis><opcodename>JackoAudioOut </opcodename> ScsoundPortName, asignal</synopsis></opcode>
<opcode><desc>Creates an audio connection from Csound to a Jack port.</desc><synopsis><opcodename>JackoAudioOutConnect </opcodename>ScsoundPortName, SexternalPortName</synopsis></opcode>
<opcode><desc>Turns Jack's freewheeling mode on or off.</desc><synopsis><opcodename>JackoFreewheel </opcodename>[ienabled]</synopsis></opcode>
<opcode><desc>Prints information about the Jack system.</desc><synopsis><opcodename>JackoInfo </opcodename></synopsis></opcode>
<opcode><desc>Initializes Csound as a Jack client.</desc><synopsis><opcodename>JackoInit </opcodename>ServerName, SclientName</synopsis></opcode>
<opcode><desc>Creates a MIDI connection from a Jack port to Csound.</desc><synopsis><opcodename>JackoMidiInConnect </opcodename>SexternalPortName, ScsoundPortName</synopsis></opcode>
<opcode><desc>Sends a MIDI channel message to a Jack port.</desc><synopsis><opcodename>JackoMidiOut </opcodename> ScsoundPortName, kstatus, kchannel, kdata1[, kdata2]</synopsis></opcode>
<opcode><desc>Creates a MIDI connection from Csound to a Jack port.</desc><synopsis><opcodename>JackoMidiOutConnect </opcodename>ScsoundPortName, SexternalPortName</synopsis></opcode>
<opcode><desc>Sends a MIDI channel message to a Jack port.</desc><synopsis><opcodename>JackoNoteOut </opcodename> ScsoundPortName, kstatus, kchannel, kdata1[, kdata2]</synopsis></opcode>
<opcode><desc>Enables or disables all Jack ports.</desc><synopsis><opcodename>JackoOn </opcodename>[iactive] </synopsis></opcode>
<opcode><desc>Control the Jack transport.</desc><synopsis><opcodename>JackoTransport </opcodename> kcommand, [kposition]</synopsis></opcode>
</category>
<category name="Lua Opcodes">
<opcode><desc>Executes an arbitrary block of Lua code from the Csound orchestra.</desc><synopsis><opcodename>lua_exec</opcodename> Sluacode</synopsis></opcode>
<opcode><desc>Calls a Lua opcode at i-rate only. Any number of output and/or
input arguments may be passed. All arguments must be passed on