_csound_builtins.py 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680
  1. # -*- coding: utf-8 -*-
  2. """
  3. pygments.lexers._csound_builtins
  4. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
  6. :license: BSD, see LICENSE for details.
  7. """
  8. # Opcodes in Csound 6.13.0 using:
  9. # python3 -c "
  10. # import re
  11. # from subprocess import Popen, PIPE
  12. # output = Popen(['csound', '--list-opcodes0'], stderr=PIPE, text=True).communicate()[1]
  13. # opcodes = output[re.search(r'^\$', output, re.M).end() : re.search(r'^\d+ opcodes\$', output, re.M).start()].split()
  14. # output = Popen(['csound', '--list-opcodes2'], stderr=PIPE, text=True).communicate()[1]
  15. # all_opcodes = output[re.search(r'^\$', output, re.M).end() : re.search(r'^\d+ opcodes\$', output, re.M).start()].split()
  16. # deprecated_opcodes = [opcode for opcode in all_opcodes if opcode not in opcodes]
  17. # # Remove opcodes that csound.py treats as keywords.
  18. # keyword_opcodes = [
  19. # 'cggoto', # https://csound.com/docs/manual/cggoto.html
  20. # 'cigoto', # https://csound.com/docs/manual/cigoto.html
  21. # 'cingoto', # (undocumented)
  22. # 'ckgoto', # https://csound.com/docs/manual/ckgoto.html
  23. # 'cngoto', # https://csound.com/docs/manual/cngoto.html
  24. # 'cnkgoto', # (undocumented)
  25. # 'endin', # https://csound.com/docs/manual/endin.html
  26. # 'endop', # https://csound.com/docs/manual/endop.html
  27. # 'goto', # https://csound.com/docs/manual/goto.html
  28. # 'igoto', # https://csound.com/docs/manual/igoto.html
  29. # 'instr', # https://csound.com/docs/manual/instr.html
  30. # 'kgoto', # https://csound.com/docs/manual/kgoto.html
  31. # 'loop_ge', # https://csound.com/docs/manual/loop_ge.html
  32. # 'loop_gt', # https://csound.com/docs/manual/loop_gt.html
  33. # 'loop_le', # https://csound.com/docs/manual/loop_le.html
  34. # 'loop_lt', # https://csound.com/docs/manual/loop_lt.html
  35. # 'opcode', # https://csound.com/docs/manual/opcode.html
  36. # 'reinit', # https://csound.com/docs/manual/reinit.html
  37. # 'return', # https://csound.com/docs/manual/return.html
  38. # 'rireturn', # https://csound.com/docs/manual/rireturn.html
  39. # 'rigoto', # https://csound.com/docs/manual/rigoto.html
  40. # 'tigoto', # https://csound.com/docs/manual/tigoto.html
  41. # 'timout' # https://csound.com/docs/manual/timout.html
  42. # ]
  43. # opcodes = [opcode for opcode in opcodes if opcode not in keyword_opcodes]
  44. # newline = '\n'
  45. # print(f'''OPCODES = set(\'''
  46. # {newline.join(opcodes)}
  47. # \'''.split())
  48. #
  49. # DEPRECATED_OPCODES = set(\'''
  50. # {newline.join(deprecated_opcodes)}
  51. # \'''.split())
  52. # ''')
  53. # "
  54. OPCODES = set('''
  55. ATSadd
  56. ATSaddnz
  57. ATSbufread
  58. ATScross
  59. ATSinfo
  60. ATSinterpread
  61. ATSpartialtap
  62. ATSread
  63. ATSreadnz
  64. ATSsinnoi
  65. FLbox
  66. FLbutBank
  67. FLbutton
  68. FLcloseButton
  69. FLcolor
  70. FLcolor2
  71. FLcount
  72. FLexecButton
  73. FLgetsnap
  74. FLgroup
  75. FLgroupEnd
  76. FLgroup_end
  77. FLhide
  78. FLhvsBox
  79. FLhvsBoxSetValue
  80. FLjoy
  81. FLkeyIn
  82. FLknob
  83. FLlabel
  84. FLloadsnap
  85. FLmouse
  86. FLpack
  87. FLpackEnd
  88. FLpack_end
  89. FLpanel
  90. FLpanelEnd
  91. FLpanel_end
  92. FLprintk
  93. FLprintk2
  94. FLroller
  95. FLrun
  96. FLsavesnap
  97. FLscroll
  98. FLscrollEnd
  99. FLscroll_end
  100. FLsetAlign
  101. FLsetBox
  102. FLsetColor
  103. FLsetColor2
  104. FLsetFont
  105. FLsetPosition
  106. FLsetSize
  107. FLsetSnapGroup
  108. FLsetText
  109. FLsetTextColor
  110. FLsetTextSize
  111. FLsetTextType
  112. FLsetVal
  113. FLsetVal_i
  114. FLsetVali
  115. FLsetsnap
  116. FLshow
  117. FLslidBnk
  118. FLslidBnk2
  119. FLslidBnk2Set
  120. FLslidBnk2Setk
  121. FLslidBnkGetHandle
  122. FLslidBnkSet
  123. FLslidBnkSetk
  124. FLslider
  125. FLtabs
  126. FLtabsEnd
  127. FLtabs_end
  128. FLtext
  129. FLupdate
  130. FLvalue
  131. FLvkeybd
  132. FLvslidBnk
  133. FLvslidBnk2
  134. FLxyin
  135. JackoAudioIn
  136. JackoAudioInConnect
  137. JackoAudioOut
  138. JackoAudioOutConnect
  139. JackoFreewheel
  140. JackoInfo
  141. JackoInit
  142. JackoMidiInConnect
  143. JackoMidiOut
  144. JackoMidiOutConnect
  145. JackoNoteOut
  146. JackoOn
  147. JackoTransport
  148. K35_hpf
  149. K35_lpf
  150. MixerClear
  151. MixerGetLevel
  152. MixerReceive
  153. MixerSend
  154. MixerSetLevel
  155. MixerSetLevel_i
  156. OSCbundle
  157. OSCcount
  158. OSCinit
  159. OSCinitM
  160. OSClisten
  161. OSCraw
  162. OSCsend
  163. OSCsend_lo
  164. S
  165. STKBandedWG
  166. STKBeeThree
  167. STKBlowBotl
  168. STKBlowHole
  169. STKBowed
  170. STKBrass
  171. STKClarinet
  172. STKDrummer
  173. STKFMVoices
  174. STKFlute
  175. STKHevyMetl
  176. STKMandolin
  177. STKModalBar
  178. STKMoog
  179. STKPercFlut
  180. STKPlucked
  181. STKResonate
  182. STKRhodey
  183. STKSaxofony
  184. STKShakers
  185. STKSimple
  186. STKSitar
  187. STKStifKarp
  188. STKTubeBell
  189. STKVoicForm
  190. STKWhistle
  191. STKWurley
  192. a
  193. abs
  194. active
  195. adsr
  196. adsyn
  197. adsynt
  198. adsynt2
  199. aftouch
  200. alpass
  201. alwayson
  202. ampdb
  203. ampdbfs
  204. ampmidi
  205. ampmidicurve
  206. ampmidid
  207. areson
  208. aresonk
  209. atone
  210. atonek
  211. atonex
  212. babo
  213. balance
  214. balance2
  215. bamboo
  216. barmodel
  217. bbcutm
  218. bbcuts
  219. beadsynt
  220. beosc
  221. betarand
  222. bexprnd
  223. bformdec1
  224. bformenc1
  225. binit
  226. biquad
  227. biquada
  228. birnd
  229. bpf
  230. bpfcos
  231. bqrez
  232. butbp
  233. butbr
  234. buthp
  235. butlp
  236. butterbp
  237. butterbr
  238. butterhp
  239. butterlp
  240. button
  241. buzz
  242. c2r
  243. cabasa
  244. cauchy
  245. cauchyi
  246. cbrt
  247. ceil
  248. cell
  249. cent
  250. centroid
  251. ceps
  252. cepsinv
  253. chanctrl
  254. changed2
  255. chani
  256. chano
  257. chebyshevpoly
  258. checkbox
  259. chn_S
  260. chn_a
  261. chn_k
  262. chnclear
  263. chnexport
  264. chnget
  265. chngetks
  266. chnmix
  267. chnparams
  268. chnset
  269. chnsetks
  270. chuap
  271. clear
  272. clfilt
  273. clip
  274. clockoff
  275. clockon
  276. cmp
  277. cmplxprod
  278. comb
  279. combinv
  280. compilecsd
  281. compileorc
  282. compilestr
  283. compress
  284. compress2
  285. connect
  286. control
  287. convle
  288. convolve
  289. copya2ftab
  290. copyf2array
  291. cos
  292. cosh
  293. cosinv
  294. cosseg
  295. cossegb
  296. cossegr
  297. cps2pch
  298. cpsmidi
  299. cpsmidib
  300. cpsmidinn
  301. cpsoct
  302. cpspch
  303. cpstmid
  304. cpstun
  305. cpstuni
  306. cpsxpch
  307. cpumeter
  308. cpuprc
  309. cross2
  310. crossfm
  311. crossfmi
  312. crossfmpm
  313. crossfmpmi
  314. crosspm
  315. crosspmi
  316. crunch
  317. ctlchn
  318. ctrl14
  319. ctrl21
  320. ctrl7
  321. ctrlinit
  322. cuserrnd
  323. dam
  324. date
  325. dates
  326. db
  327. dbamp
  328. dbfsamp
  329. dcblock
  330. dcblock2
  331. dconv
  332. dct
  333. dctinv
  334. deinterleave
  335. delay
  336. delay1
  337. delayk
  338. delayr
  339. delayw
  340. deltap
  341. deltap3
  342. deltapi
  343. deltapn
  344. deltapx
  345. deltapxw
  346. denorm
  347. diff
  348. diode_ladder
  349. directory
  350. diskgrain
  351. diskin
  352. diskin2
  353. dispfft
  354. display
  355. distort
  356. distort1
  357. divz
  358. doppler
  359. dot
  360. downsamp
  361. dripwater
  362. dssiactivate
  363. dssiaudio
  364. dssictls
  365. dssiinit
  366. dssilist
  367. dumpk
  368. dumpk2
  369. dumpk3
  370. dumpk4
  371. duserrnd
  372. dust
  373. dust2
  374. envlpx
  375. envlpxr
  376. ephasor
  377. eqfil
  378. evalstr
  379. event
  380. event_i
  381. exciter
  382. exitnow
  383. exp
  384. expcurve
  385. expon
  386. exprand
  387. exprandi
  388. expseg
  389. expsega
  390. expsegb
  391. expsegba
  392. expsegr
  393. fareylen
  394. fareyleni
  395. faustaudio
  396. faustcompile
  397. faustctl
  398. faustdsp
  399. faustgen
  400. faustplay
  401. fft
  402. fftinv
  403. ficlose
  404. filebit
  405. filelen
  406. filenchnls
  407. filepeak
  408. filescal
  409. filesr
  410. filevalid
  411. fillarray
  412. filter2
  413. fin
  414. fini
  415. fink
  416. fiopen
  417. flanger
  418. flashtxt
  419. flooper
  420. flooper2
  421. floor
  422. fluidAllOut
  423. fluidCCi
  424. fluidCCk
  425. fluidControl
  426. fluidEngine
  427. fluidInfo
  428. fluidLoad
  429. fluidNote
  430. fluidOut
  431. fluidProgramSelect
  432. fluidSetInterpMethod
  433. fmanal
  434. fmax
  435. fmb3
  436. fmbell
  437. fmin
  438. fmmetal
  439. fmod
  440. fmpercfl
  441. fmrhode
  442. fmvoice
  443. fmwurlie
  444. fof
  445. fof2
  446. fofilter
  447. fog
  448. fold
  449. follow
  450. follow2
  451. foscil
  452. foscili
  453. fout
  454. fouti
  455. foutir
  456. foutk
  457. fprintks
  458. fprints
  459. frac
  460. fractalnoise
  461. framebuffer
  462. freeverb
  463. ftaudio
  464. ftchnls
  465. ftconv
  466. ftcps
  467. ftfree
  468. ftgen
  469. ftgenonce
  470. ftgentmp
  471. ftlen
  472. ftload
  473. ftloadk
  474. ftlptim
  475. ftmorf
  476. ftom
  477. ftprint
  478. ftresize
  479. ftresizei
  480. ftsamplebank
  481. ftsave
  482. ftsavek
  483. ftslice
  484. ftsr
  485. gain
  486. gainslider
  487. gauss
  488. gaussi
  489. gausstrig
  490. gbuzz
  491. genarray
  492. genarray_i
  493. gendy
  494. gendyc
  495. gendyx
  496. getcfg
  497. getcol
  498. getftargs
  499. getrow
  500. getrowlin
  501. getseed
  502. gogobel
  503. grain
  504. grain2
  505. grain3
  506. granule
  507. gtf
  508. guiro
  509. harmon
  510. harmon2
  511. harmon3
  512. harmon4
  513. hdf5read
  514. hdf5write
  515. hilbert
  516. hilbert2
  517. hrtfearly
  518. hrtfmove
  519. hrtfmove2
  520. hrtfreverb
  521. hrtfstat
  522. hsboscil
  523. hvs1
  524. hvs2
  525. hvs3
  526. hypot
  527. i
  528. ihold
  529. imagecreate
  530. imagefree
  531. imagegetpixel
  532. imageload
  533. imagesave
  534. imagesetpixel
  535. imagesize
  536. in
  537. in32
  538. inch
  539. inh
  540. init
  541. initc14
  542. initc21
  543. initc7
  544. inleta
  545. inletf
  546. inletk
  547. inletkid
  548. inletv
  549. ino
  550. inq
  551. inrg
  552. ins
  553. insglobal
  554. insremot
  555. int
  556. integ
  557. interleave
  558. interp
  559. invalue
  560. inx
  561. inz
  562. jacktransport
  563. jitter
  564. jitter2
  565. joystick
  566. jspline
  567. k
  568. la_i_add_mc
  569. la_i_add_mr
  570. la_i_add_vc
  571. la_i_add_vr
  572. la_i_assign_mc
  573. la_i_assign_mr
  574. la_i_assign_t
  575. la_i_assign_vc
  576. la_i_assign_vr
  577. la_i_conjugate_mc
  578. la_i_conjugate_mr
  579. la_i_conjugate_vc
  580. la_i_conjugate_vr
  581. la_i_distance_vc
  582. la_i_distance_vr
  583. la_i_divide_mc
  584. la_i_divide_mr
  585. la_i_divide_vc
  586. la_i_divide_vr
  587. la_i_dot_mc
  588. la_i_dot_mc_vc
  589. la_i_dot_mr
  590. la_i_dot_mr_vr
  591. la_i_dot_vc
  592. la_i_dot_vr
  593. la_i_get_mc
  594. la_i_get_mr
  595. la_i_get_vc
  596. la_i_get_vr
  597. la_i_invert_mc
  598. la_i_invert_mr
  599. la_i_lower_solve_mc
  600. la_i_lower_solve_mr
  601. la_i_lu_det_mc
  602. la_i_lu_det_mr
  603. la_i_lu_factor_mc
  604. la_i_lu_factor_mr
  605. la_i_lu_solve_mc
  606. la_i_lu_solve_mr
  607. la_i_mc_create
  608. la_i_mc_set
  609. la_i_mr_create
  610. la_i_mr_set
  611. la_i_multiply_mc
  612. la_i_multiply_mr
  613. la_i_multiply_vc
  614. la_i_multiply_vr
  615. la_i_norm1_mc
  616. la_i_norm1_mr
  617. la_i_norm1_vc
  618. la_i_norm1_vr
  619. la_i_norm_euclid_mc
  620. la_i_norm_euclid_mr
  621. la_i_norm_euclid_vc
  622. la_i_norm_euclid_vr
  623. la_i_norm_inf_mc
  624. la_i_norm_inf_mr
  625. la_i_norm_inf_vc
  626. la_i_norm_inf_vr
  627. la_i_norm_max_mc
  628. la_i_norm_max_mr
  629. la_i_print_mc
  630. la_i_print_mr
  631. la_i_print_vc
  632. la_i_print_vr
  633. la_i_qr_eigen_mc
  634. la_i_qr_eigen_mr
  635. la_i_qr_factor_mc
  636. la_i_qr_factor_mr
  637. la_i_qr_sym_eigen_mc
  638. la_i_qr_sym_eigen_mr
  639. la_i_random_mc
  640. la_i_random_mr
  641. la_i_random_vc
  642. la_i_random_vr
  643. la_i_size_mc
  644. la_i_size_mr
  645. la_i_size_vc
  646. la_i_size_vr
  647. la_i_subtract_mc
  648. la_i_subtract_mr
  649. la_i_subtract_vc
  650. la_i_subtract_vr
  651. la_i_t_assign
  652. la_i_trace_mc
  653. la_i_trace_mr
  654. la_i_transpose_mc
  655. la_i_transpose_mr
  656. la_i_upper_solve_mc
  657. la_i_upper_solve_mr
  658. la_i_vc_create
  659. la_i_vc_set
  660. la_i_vr_create
  661. la_i_vr_set
  662. la_k_a_assign
  663. la_k_add_mc
  664. la_k_add_mr
  665. la_k_add_vc
  666. la_k_add_vr
  667. la_k_assign_a
  668. la_k_assign_f
  669. la_k_assign_mc
  670. la_k_assign_mr
  671. la_k_assign_t
  672. la_k_assign_vc
  673. la_k_assign_vr
  674. la_k_conjugate_mc
  675. la_k_conjugate_mr
  676. la_k_conjugate_vc
  677. la_k_conjugate_vr
  678. la_k_current_f
  679. la_k_current_vr
  680. la_k_distance_vc
  681. la_k_distance_vr
  682. la_k_divide_mc
  683. la_k_divide_mr
  684. la_k_divide_vc
  685. la_k_divide_vr
  686. la_k_dot_mc
  687. la_k_dot_mc_vc
  688. la_k_dot_mr
  689. la_k_dot_mr_vr
  690. la_k_dot_vc
  691. la_k_dot_vr
  692. la_k_f_assign
  693. la_k_get_mc
  694. la_k_get_mr
  695. la_k_get_vc
  696. la_k_get_vr
  697. la_k_invert_mc
  698. la_k_invert_mr
  699. la_k_lower_solve_mc
  700. la_k_lower_solve_mr
  701. la_k_lu_det_mc
  702. la_k_lu_det_mr
  703. la_k_lu_factor_mc
  704. la_k_lu_factor_mr
  705. la_k_lu_solve_mc
  706. la_k_lu_solve_mr
  707. la_k_mc_set
  708. la_k_mr_set
  709. la_k_multiply_mc
  710. la_k_multiply_mr
  711. la_k_multiply_vc
  712. la_k_multiply_vr
  713. la_k_norm1_mc
  714. la_k_norm1_mr
  715. la_k_norm1_vc
  716. la_k_norm1_vr
  717. la_k_norm_euclid_mc
  718. la_k_norm_euclid_mr
  719. la_k_norm_euclid_vc
  720. la_k_norm_euclid_vr
  721. la_k_norm_inf_mc
  722. la_k_norm_inf_mr
  723. la_k_norm_inf_vc
  724. la_k_norm_inf_vr
  725. la_k_norm_max_mc
  726. la_k_norm_max_mr
  727. la_k_qr_eigen_mc
  728. la_k_qr_eigen_mr
  729. la_k_qr_factor_mc
  730. la_k_qr_factor_mr
  731. la_k_qr_sym_eigen_mc
  732. la_k_qr_sym_eigen_mr
  733. la_k_random_mc
  734. la_k_random_mr
  735. la_k_random_vc
  736. la_k_random_vr
  737. la_k_subtract_mc
  738. la_k_subtract_mr
  739. la_k_subtract_vc
  740. la_k_subtract_vr
  741. la_k_t_assign
  742. la_k_trace_mc
  743. la_k_trace_mr
  744. la_k_upper_solve_mc
  745. la_k_upper_solve_mr
  746. la_k_vc_set
  747. la_k_vr_set
  748. lenarray
  749. lfo
  750. limit
  751. limit1
  752. lincos
  753. line
  754. linen
  755. linenr
  756. lineto
  757. link_beat_force
  758. link_beat_get
  759. link_beat_request
  760. link_create
  761. link_enable
  762. link_is_enabled
  763. link_metro
  764. link_peers
  765. link_tempo_get
  766. link_tempo_set
  767. linlin
  768. linrand
  769. linseg
  770. linsegb
  771. linsegr
  772. liveconv
  773. locsend
  774. locsig
  775. log
  776. log10
  777. log2
  778. logbtwo
  779. logcurve
  780. loopseg
  781. loopsegp
  782. looptseg
  783. loopxseg
  784. lorenz
  785. loscil
  786. loscil3
  787. loscil3phs
  788. loscilphs
  789. loscilx
  790. lowpass2
  791. lowres
  792. lowresx
  793. lpf18
  794. lpform
  795. lpfreson
  796. lphasor
  797. lpinterp
  798. lposcil
  799. lposcil3
  800. lposcila
  801. lposcilsa
  802. lposcilsa2
  803. lpread
  804. lpreson
  805. lpshold
  806. lpsholdp
  807. lpslot
  808. lua_exec
  809. lua_iaopcall
  810. lua_iaopcall_off
  811. lua_ikopcall
  812. lua_ikopcall_off
  813. lua_iopcall
  814. lua_iopcall_off
  815. lua_opdef
  816. mac
  817. maca
  818. madsr
  819. mags
  820. mandel
  821. mandol
  822. maparray
  823. maparray_i
  824. marimba
  825. massign
  826. max
  827. max_k
  828. maxabs
  829. maxabsaccum
  830. maxaccum
  831. maxalloc
  832. maxarray
  833. mclock
  834. mdelay
  835. median
  836. mediank
  837. metro
  838. mfb
  839. midglobal
  840. midiarp
  841. midic14
  842. midic21
  843. midic7
  844. midichannelaftertouch
  845. midichn
  846. midicontrolchange
  847. midictrl
  848. mididefault
  849. midifilestatus
  850. midiin
  851. midinoteoff
  852. midinoteoncps
  853. midinoteonkey
  854. midinoteonoct
  855. midinoteonpch
  856. midion
  857. midion2
  858. midiout
  859. midiout_i
  860. midipgm
  861. midipitchbend
  862. midipolyaftertouch
  863. midiprogramchange
  864. miditempo
  865. midremot
  866. min
  867. minabs
  868. minabsaccum
  869. minaccum
  870. minarray
  871. mincer
  872. mirror
  873. mode
  874. modmatrix
  875. monitor
  876. moog
  877. moogladder
  878. moogladder2
  879. moogvcf
  880. moogvcf2
  881. moscil
  882. mp3bitrate
  883. mp3in
  884. mp3len
  885. mp3nchnls
  886. mp3scal
  887. mp3sr
  888. mpulse
  889. mrtmsg
  890. mtof
  891. mton
  892. multitap
  893. mute
  894. mvchpf
  895. mvclpf1
  896. mvclpf2
  897. mvclpf3
  898. mvclpf4
  899. mxadsr
  900. nchnls_hw
  901. nestedap
  902. nlalp
  903. nlfilt
  904. nlfilt2
  905. noise
  906. noteoff
  907. noteon
  908. noteondur
  909. noteondur2
  910. notnum
  911. nreverb
  912. nrpn
  913. nsamp
  914. nstance
  915. nstrnum
  916. nstrstr
  917. ntof
  918. ntom
  919. ntrpol
  920. nxtpow2
  921. octave
  922. octcps
  923. octmidi
  924. octmidib
  925. octmidinn
  926. octpch
  927. olabuffer
  928. oscbnk
  929. oscil
  930. oscil1
  931. oscil1i
  932. oscil3
  933. oscili
  934. oscilikt
  935. osciliktp
  936. oscilikts
  937. osciln
  938. oscils
  939. oscilx
  940. out
  941. out32
  942. outc
  943. outch
  944. outh
  945. outiat
  946. outic
  947. outic14
  948. outipat
  949. outipb
  950. outipc
  951. outkat
  952. outkc
  953. outkc14
  954. outkpat
  955. outkpb
  956. outkpc
  957. outleta
  958. outletf
  959. outletk
  960. outletkid
  961. outletv
  962. outo
  963. outq
  964. outq1
  965. outq2
  966. outq3
  967. outq4
  968. outrg
  969. outs
  970. outs1
  971. outs2
  972. outvalue
  973. outx
  974. outz
  975. p
  976. p5gconnect
  977. p5gdata
  978. pan
  979. pan2
  980. pareq
  981. part2txt
  982. partials
  983. partikkel
  984. partikkelget
  985. partikkelset
  986. partikkelsync
  987. passign
  988. paulstretch
  989. pcauchy
  990. pchbend
  991. pchmidi
  992. pchmidib
  993. pchmidinn
  994. pchoct
  995. pchtom
  996. pconvolve
  997. pcount
  998. pdclip
  999. pdhalf
  1000. pdhalfy
  1001. peak
  1002. pgmassign
  1003. pgmchn
  1004. phaser1
  1005. phaser2
  1006. phasor
  1007. phasorbnk
  1008. phs
  1009. pindex
  1010. pinker
  1011. pinkish
  1012. pitch
  1013. pitchac
  1014. pitchamdf
  1015. planet
  1016. platerev
  1017. plltrack
  1018. pluck
  1019. poisson
  1020. pol2rect
  1021. polyaft
  1022. polynomial
  1023. port
  1024. portk
  1025. poscil
  1026. poscil3
  1027. pow
  1028. powershape
  1029. powoftwo
  1030. pows
  1031. prealloc
  1032. prepiano
  1033. print
  1034. print_type
  1035. printarray
  1036. printf
  1037. printf_i
  1038. printk
  1039. printk2
  1040. printks
  1041. printks2
  1042. prints
  1043. product
  1044. pset
  1045. ptable
  1046. ptable3
  1047. ptablei
  1048. ptablew
  1049. ptrack
  1050. puts
  1051. pvadd
  1052. pvbufread
  1053. pvcross
  1054. pvinterp
  1055. pvoc
  1056. pvread
  1057. pvs2array
  1058. pvs2tab
  1059. pvsadsyn
  1060. pvsanal
  1061. pvsarp
  1062. pvsbandp
  1063. pvsbandr
  1064. pvsbin
  1065. pvsblur
  1066. pvsbuffer
  1067. pvsbufread
  1068. pvsbufread2
  1069. pvscale
  1070. pvscent
  1071. pvsceps
  1072. pvscross
  1073. pvsdemix
  1074. pvsdiskin
  1075. pvsdisp
  1076. pvsenvftw
  1077. pvsfilter
  1078. pvsfread
  1079. pvsfreeze
  1080. pvsfromarray
  1081. pvsftr
  1082. pvsftw
  1083. pvsfwrite
  1084. pvsgain
  1085. pvshift
  1086. pvsifd
  1087. pvsin
  1088. pvsinfo
  1089. pvsinit
  1090. pvslock
  1091. pvsmaska
  1092. pvsmix
  1093. pvsmooth
  1094. pvsmorph
  1095. pvsosc
  1096. pvsout
  1097. pvspitch
  1098. pvstanal
  1099. pvstencil
  1100. pvstrace
  1101. pvsvoc
  1102. pvswarp
  1103. pvsynth
  1104. pwd
  1105. pyassign
  1106. pyassigni
  1107. pyassignt
  1108. pycall
  1109. pycall1
  1110. pycall1i
  1111. pycall1t
  1112. pycall2
  1113. pycall2i
  1114. pycall2t
  1115. pycall3
  1116. pycall3i
  1117. pycall3t
  1118. pycall4
  1119. pycall4i
  1120. pycall4t
  1121. pycall5
  1122. pycall5i
  1123. pycall5t
  1124. pycall6
  1125. pycall6i
  1126. pycall6t
  1127. pycall7
  1128. pycall7i
  1129. pycall7t
  1130. pycall8
  1131. pycall8i
  1132. pycall8t
  1133. pycalli
  1134. pycalln
  1135. pycallni
  1136. pycallt
  1137. pyeval
  1138. pyevali
  1139. pyevalt
  1140. pyexec
  1141. pyexeci
  1142. pyexect
  1143. pyinit
  1144. pylassign
  1145. pylassigni
  1146. pylassignt
  1147. pylcall
  1148. pylcall1
  1149. pylcall1i
  1150. pylcall1t
  1151. pylcall2
  1152. pylcall2i
  1153. pylcall2t
  1154. pylcall3
  1155. pylcall3i
  1156. pylcall3t
  1157. pylcall4
  1158. pylcall4i
  1159. pylcall4t
  1160. pylcall5
  1161. pylcall5i
  1162. pylcall5t
  1163. pylcall6
  1164. pylcall6i
  1165. pylcall6t
  1166. pylcall7
  1167. pylcall7i
  1168. pylcall7t
  1169. pylcall8
  1170. pylcall8i
  1171. pylcall8t
  1172. pylcalli
  1173. pylcalln
  1174. pylcallni
  1175. pylcallt
  1176. pyleval
  1177. pylevali
  1178. pylevalt
  1179. pylexec
  1180. pylexeci
  1181. pylexect
  1182. pylrun
  1183. pylruni
  1184. pylrunt
  1185. pyrun
  1186. pyruni
  1187. pyrunt
  1188. qinf
  1189. qnan
  1190. r2c
  1191. rand
  1192. randh
  1193. randi
  1194. random
  1195. randomh
  1196. randomi
  1197. rbjeq
  1198. readclock
  1199. readf
  1200. readfi
  1201. readk
  1202. readk2
  1203. readk3
  1204. readk4
  1205. readks
  1206. readscore
  1207. readscratch
  1208. rect2pol
  1209. release
  1210. remoteport
  1211. remove
  1212. repluck
  1213. reshapearray
  1214. reson
  1215. resonk
  1216. resonr
  1217. resonx
  1218. resonxk
  1219. resony
  1220. resonz
  1221. resyn
  1222. reverb
  1223. reverb2
  1224. reverbsc
  1225. rewindscore
  1226. rezzy
  1227. rfft
  1228. rifft
  1229. rms
  1230. rnd
  1231. rnd31
  1232. round
  1233. rspline
  1234. rtclock
  1235. s16b14
  1236. s32b14
  1237. samphold
  1238. sandpaper
  1239. sc_lag
  1240. sc_lagud
  1241. sc_phasor
  1242. sc_trig
  1243. scale
  1244. scalearray
  1245. scanhammer
  1246. scans
  1247. scantable
  1248. scanu
  1249. schedkwhen
  1250. schedkwhennamed
  1251. schedule
  1252. schedwhen
  1253. scoreline
  1254. scoreline_i
  1255. seed
  1256. sekere
  1257. select
  1258. semitone
  1259. sense
  1260. sensekey
  1261. seqtime
  1262. seqtime2
  1263. serialBegin
  1264. serialEnd
  1265. serialFlush
  1266. serialPrint
  1267. serialRead
  1268. serialWrite
  1269. serialWrite_i
  1270. setcol
  1271. setctrl
  1272. setksmps
  1273. setrow
  1274. setscorepos
  1275. sfilist
  1276. sfinstr
  1277. sfinstr3
  1278. sfinstr3m
  1279. sfinstrm
  1280. sfload
  1281. sflooper
  1282. sfpassign
  1283. sfplay
  1284. sfplay3
  1285. sfplay3m
  1286. sfplaym
  1287. sfplist
  1288. sfpreset
  1289. shaker
  1290. shiftin
  1291. shiftout
  1292. signum
  1293. sin
  1294. sinh
  1295. sininv
  1296. sinsyn
  1297. sleighbells
  1298. slicearray
  1299. slicearray_i
  1300. slider16
  1301. slider16f
  1302. slider16table
  1303. slider16tablef
  1304. slider32
  1305. slider32f
  1306. slider32table
  1307. slider32tablef
  1308. slider64
  1309. slider64f
  1310. slider64table
  1311. slider64tablef
  1312. slider8
  1313. slider8f
  1314. slider8table
  1315. slider8tablef
  1316. sliderKawai
  1317. sndloop
  1318. sndwarp
  1319. sndwarpst
  1320. sockrecv
  1321. sockrecvs
  1322. socksend
  1323. socksends
  1324. sorta
  1325. sortd
  1326. soundin
  1327. space
  1328. spat3d
  1329. spat3di
  1330. spat3dt
  1331. spdist
  1332. splitrig
  1333. sprintf
  1334. sprintfk
  1335. spsend
  1336. sqrt
  1337. squinewave
  1338. statevar
  1339. stix
  1340. strcat
  1341. strcatk
  1342. strchar
  1343. strchark
  1344. strcmp
  1345. strcmpk
  1346. strcpy
  1347. strcpyk
  1348. strecv
  1349. streson
  1350. strfromurl
  1351. strget
  1352. strindex
  1353. strindexk
  1354. string2array
  1355. strlen
  1356. strlenk
  1357. strlower
  1358. strlowerk
  1359. strrindex
  1360. strrindexk
  1361. strset
  1362. strsub
  1363. strsubk
  1364. strtod
  1365. strtodk
  1366. strtol
  1367. strtolk
  1368. strupper
  1369. strupperk
  1370. stsend
  1371. subinstr
  1372. subinstrinit
  1373. sum
  1374. sumarray
  1375. svfilter
  1376. syncgrain
  1377. syncloop
  1378. syncphasor
  1379. system
  1380. system_i
  1381. tab
  1382. tab2array
  1383. tab2pvs
  1384. tab_i
  1385. tabifd
  1386. table
  1387. table3
  1388. table3kt
  1389. tablecopy
  1390. tablefilter
  1391. tablefilteri
  1392. tablegpw
  1393. tablei
  1394. tableicopy
  1395. tableigpw
  1396. tableikt
  1397. tableimix
  1398. tablekt
  1399. tablemix
  1400. tableng
  1401. tablera
  1402. tableseg
  1403. tableshuffle
  1404. tableshufflei
  1405. tablew
  1406. tablewa
  1407. tablewkt
  1408. tablexkt
  1409. tablexseg
  1410. tabmorph
  1411. tabmorpha
  1412. tabmorphak
  1413. tabmorphi
  1414. tabplay
  1415. tabrec
  1416. tabrowlin
  1417. tabsum
  1418. tabw
  1419. tabw_i
  1420. tambourine
  1421. tan
  1422. tanh
  1423. taninv
  1424. taninv2
  1425. tbvcf
  1426. tempest
  1427. tempo
  1428. temposcal
  1429. tempoval
  1430. timedseq
  1431. timeinstk
  1432. timeinsts
  1433. timek
  1434. times
  1435. tival
  1436. tlineto
  1437. tone
  1438. tonek
  1439. tonex
  1440. tradsyn
  1441. trandom
  1442. transeg
  1443. transegb
  1444. transegr
  1445. trcross
  1446. trfilter
  1447. trhighest
  1448. trigger
  1449. trigseq
  1450. trim
  1451. trim_i
  1452. trirand
  1453. trlowest
  1454. trmix
  1455. trscale
  1456. trshift
  1457. trsplit
  1458. turnoff
  1459. turnoff2
  1460. turnon
  1461. tvconv
  1462. unirand
  1463. unwrap
  1464. upsamp
  1465. urandom
  1466. urd
  1467. vactrol
  1468. vadd
  1469. vadd_i
  1470. vaddv
  1471. vaddv_i
  1472. vaget
  1473. valpass
  1474. vaset
  1475. vbap
  1476. vbapg
  1477. vbapgmove
  1478. vbaplsinit
  1479. vbapmove
  1480. vbapz
  1481. vbapzmove
  1482. vcella
  1483. vco
  1484. vco2
  1485. vco2ft
  1486. vco2ift
  1487. vco2init
  1488. vcomb
  1489. vcopy
  1490. vcopy_i
  1491. vdel_k
  1492. vdelay
  1493. vdelay3
  1494. vdelayk
  1495. vdelayx
  1496. vdelayxq
  1497. vdelayxs
  1498. vdelayxw
  1499. vdelayxwq
  1500. vdelayxws
  1501. vdivv
  1502. vdivv_i
  1503. vecdelay
  1504. veloc
  1505. vexp
  1506. vexp_i
  1507. vexpseg
  1508. vexpv
  1509. vexpv_i
  1510. vibes
  1511. vibr
  1512. vibrato
  1513. vincr
  1514. vlimit
  1515. vlinseg
  1516. vlowres
  1517. vmap
  1518. vmirror
  1519. vmult
  1520. vmult_i
  1521. vmultv
  1522. vmultv_i
  1523. voice
  1524. vosim
  1525. vphaseseg
  1526. vport
  1527. vpow
  1528. vpow_i
  1529. vpowv
  1530. vpowv_i
  1531. vpvoc
  1532. vrandh
  1533. vrandi
  1534. vsubv
  1535. vsubv_i
  1536. vtaba
  1537. vtabi
  1538. vtabk
  1539. vtable1k
  1540. vtablea
  1541. vtablei
  1542. vtablek
  1543. vtablewa
  1544. vtablewi
  1545. vtablewk
  1546. vtabwa
  1547. vtabwi
  1548. vtabwk
  1549. vwrap
  1550. waveset
  1551. websocket
  1552. weibull
  1553. wgbow
  1554. wgbowedbar
  1555. wgbrass
  1556. wgclar
  1557. wgflute
  1558. wgpluck
  1559. wgpluck2
  1560. wguide1
  1561. wguide2
  1562. wiiconnect
  1563. wiidata
  1564. wiirange
  1565. wiisend
  1566. window
  1567. wrap
  1568. writescratch
  1569. wterrain
  1570. xadsr
  1571. xin
  1572. xout
  1573. xscanmap
  1574. xscans
  1575. xscansmap
  1576. xscanu
  1577. xtratim
  1578. xyscale
  1579. zacl
  1580. zakinit
  1581. zamod
  1582. zar
  1583. zarg
  1584. zaw
  1585. zawm
  1586. zdf_1pole
  1587. zdf_1pole_mode
  1588. zdf_2pole
  1589. zdf_2pole_mode
  1590. zdf_ladder
  1591. zfilter2
  1592. zir
  1593. ziw
  1594. ziwm
  1595. zkcl
  1596. zkmod
  1597. zkr
  1598. zkw
  1599. zkwm
  1600. '''.split())
  1601. DEPRECATED_OPCODES = set('''
  1602. array
  1603. bformdec
  1604. bformenc
  1605. changed
  1606. copy2ftab
  1607. copy2ttab
  1608. hrtfer
  1609. ktableseg
  1610. lentab
  1611. maxtab
  1612. mintab
  1613. pop
  1614. pop_f
  1615. ptableiw
  1616. push
  1617. push_f
  1618. scalet
  1619. sndload
  1620. soundout
  1621. soundouts
  1622. specaddm
  1623. specdiff
  1624. specdisp
  1625. specfilt
  1626. spechist
  1627. specptrk
  1628. specscal
  1629. specsum
  1630. spectrum
  1631. stack
  1632. sumtab
  1633. tabgen
  1634. tableiw
  1635. tabmap
  1636. tabmap_i
  1637. tabslice
  1638. tb0
  1639. tb0_init
  1640. tb1
  1641. tb10
  1642. tb10_init
  1643. tb11
  1644. tb11_init
  1645. tb12
  1646. tb12_init
  1647. tb13
  1648. tb13_init
  1649. tb14
  1650. tb14_init
  1651. tb15
  1652. tb15_init
  1653. tb1_init
  1654. tb2
  1655. tb2_init
  1656. tb3
  1657. tb3_init
  1658. tb4
  1659. tb4_init
  1660. tb5
  1661. tb5_init
  1662. tb6
  1663. tb6_init
  1664. tb7
  1665. tb7_init
  1666. tb8
  1667. tb8_init
  1668. tb9
  1669. tb9_init
  1670. vbap16
  1671. vbap4
  1672. vbap4move
  1673. vbap8
  1674. vbap8move
  1675. xyin
  1676. '''.split())