You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

722 lines
20KB

  1. <!-- TODO: generate some or all of this automatically from the C++ source -->
  2. <script type="text/javascript">
  3. RED.nodes.registerType('input_i2s',{
  4. category: 'input-function',
  5. color:"#E6E0F8",
  6. defaults: {
  7. name: {value:""},
  8. },
  9. inputs:0,
  10. outputs:2,
  11. icon: "arrow-in.png",
  12. label: function() {
  13. return this.name||"I2S";
  14. },
  15. labelStyle: function() {
  16. return this.name?"node_label_italic":"";
  17. }
  18. });
  19. </script>
  20. <script type="text/x-red" data-help-name="input_i2s">
  21. <p>Stereo audio input from the audio shield or other I2S device</p>
  22. <p><b>TODO</b> Add object documetation here</b>.</p>
  23. </script>
  24. <script type="text/x-red" data-template-name="input_i2s">
  25. <div class="form-row">
  26. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  27. <input type="text" id="node-input-name" placeholder="Name">
  28. </div>
  29. </script>
  30. <script type="text/javascript">
  31. RED.nodes.registerType('input_adc',{
  32. category: 'input-function',
  33. color:"#E6E0F8",
  34. defaults: {
  35. name: {value:""},
  36. },
  37. inputs:0,
  38. outputs:1,
  39. icon: "arrow-in.png",
  40. label: function() {
  41. return this.name||"ADC";
  42. },
  43. labelStyle: function() {
  44. return this.name?"node_label_italic":"";
  45. }
  46. });
  47. </script>
  48. <script type="text/x-red" data-help-name="input_adc">
  49. <p><b>TODO</b> Add object documetation here</b>.</p>
  50. </script>
  51. <script type="text/x-red" data-template-name="input_adc">
  52. <div class="form-row">
  53. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  54. <input type="text" id="node-input-name" placeholder="Name">
  55. </div>
  56. </script>
  57. <script type="text/javascript">
  58. RED.nodes.registerType('output_i2s',{
  59. category: 'output-function',
  60. color:"#E6E0F8",
  61. defaults: {
  62. name: {value:""},
  63. },
  64. inputs:2,
  65. outputs:0,
  66. icon: "arrow-in.png",
  67. label: function() {
  68. return this.name||"I2S";
  69. },
  70. labelStyle: function() {
  71. return this.name?"node_label_italic":"";
  72. }
  73. });
  74. </script>
  75. <script type="text/x-red" data-help-name="output_i2s">
  76. <p><b>TODO</b> Add object documetation here</b>.</p>
  77. </script>
  78. <script type="text/x-red" data-template-name="output_i2s">
  79. <div class="form-row">
  80. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  81. <input type="text" id="node-input-name" placeholder="Name">
  82. </div>
  83. </script>
  84. <script type="text/javascript">
  85. RED.nodes.registerType('output_dac',{
  86. category: 'output-function',
  87. color:"#E6E0F8",
  88. defaults: {
  89. name: {value:""},
  90. },
  91. inputs:1,
  92. outputs:0,
  93. icon: "arrow-in.png",
  94. label: function() {
  95. return this.name||"DAC";
  96. },
  97. labelStyle: function() {
  98. return this.name?"node_label_italic":"";
  99. }
  100. });
  101. </script>
  102. <script type="text/x-red" data-help-name="output_dac">
  103. <p><b>TODO</b> Add object documetation here</b>.</p>
  104. </script>
  105. <script type="text/x-red" data-template-name="output_dac">
  106. <div class="form-row">
  107. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  108. <input type="text" id="node-input-name" placeholder="Name">
  109. </div>
  110. </script>
  111. <script type="text/javascript">
  112. RED.nodes.registerType('output_pwm',{
  113. category: 'output-function',
  114. color:"#E6E0F8",
  115. defaults: {
  116. name: {value:""},
  117. },
  118. inputs:1,
  119. outputs:0,
  120. icon: "arrow-in.png",
  121. label: function() {
  122. return this.name||"PWM";
  123. },
  124. labelStyle: function() {
  125. return this.name?"node_label_italic":"";
  126. }
  127. });
  128. </script>
  129. <script type="text/x-red" data-help-name="output_pwm">
  130. <p><b>TODO</b> Add object documetation here</b>.</p>
  131. </script>
  132. <script type="text/x-red" data-template-name="output_pwm">
  133. <div class="form-row">
  134. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  135. <input type="text" id="node-input-name" placeholder="Name">
  136. </div>
  137. </script>
  138. <script type="text/javascript">
  139. RED.nodes.registerType('mixer4',{
  140. category: 'mixer-function',
  141. color:"#E6E0F8",
  142. defaults: {
  143. name: {value:""},
  144. },
  145. inputs:4,
  146. outputs:1,
  147. icon: "arrow-in.png",
  148. label: function() {
  149. return this.name||"Mixer";
  150. },
  151. labelStyle: function() {
  152. return this.name?"node_label_italic":"";
  153. }
  154. });
  155. </script>
  156. <script type="text/x-red" data-help-name="mixer4">
  157. <p><b>TODO</b> Add object documetation here</b>.</p>
  158. </script>
  159. <script type="text/x-red" data-template-name="mixer4">
  160. <div class="form-row">
  161. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  162. <input type="text" id="node-input-name" placeholder="Name">
  163. </div>
  164. </script>
  165. <script type="text/javascript">
  166. RED.nodes.registerType('play_memory',{
  167. category: 'play-function',
  168. color:"#E6E0F8",
  169. defaults: {
  170. name: {value:""},
  171. },
  172. inputs:0,
  173. outputs:1,
  174. icon: "arrow-in.png",
  175. label: function() {
  176. return this.name||"Memory";
  177. },
  178. labelStyle: function() {
  179. return this.name?"node_label_italic":"";
  180. }
  181. });
  182. </script>
  183. <script type="text/x-red" data-help-name="play_memory">
  184. <p><b>TODO</b> Add object documetation here</b>.</p>
  185. </script>
  186. <script type="text/x-red" data-template-name="play_memory">
  187. <div class="form-row">
  188. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  189. <input type="text" id="node-input-name" placeholder="Name">
  190. </div>
  191. </script>
  192. <script type="text/javascript">
  193. RED.nodes.registerType('play_sd_wav',{
  194. category: 'play-function',
  195. color:"#E6E0F8",
  196. defaults: {
  197. name: {value:""},
  198. },
  199. inputs:0,
  200. outputs:2,
  201. icon: "arrow-in.png",
  202. label: function() {
  203. return this.name||"SD .WAV File";
  204. },
  205. labelStyle: function() {
  206. return this.name?"node_label_italic":"";
  207. }
  208. });
  209. </script>
  210. <script type="text/x-red" data-help-name="play_sd_wav">
  211. <p><b>TODO</b> Add object documetation here</b>.</p>
  212. </script>
  213. <script type="text/x-red" data-template-name="play_sd_wav">
  214. <div class="form-row">
  215. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  216. <input type="text" id="node-input-name" placeholder="Name">
  217. </div>
  218. </script>
  219. <script type="text/javascript">
  220. RED.nodes.registerType('play_sd_raw',{
  221. category: 'play-function',
  222. color:"#E6E0F8",
  223. defaults: {
  224. name: {value:""},
  225. },
  226. inputs:0,
  227. outputs:1,
  228. icon: "arrow-in.png",
  229. label: function() {
  230. return this.name||"SD .RAW File";
  231. },
  232. labelStyle: function() {
  233. return this.name?"node_label_italic":"";
  234. }
  235. });
  236. </script>
  237. <script type="text/x-red" data-help-name="play_sd_raw">
  238. <p><b>TODO</b> Add object documetation here</b>.</p>
  239. </script>
  240. <script type="text/x-red" data-template-name="play_sd_raw">
  241. <div class="form-row">
  242. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  243. <input type="text" id="node-input-name" placeholder="Name">
  244. </div>
  245. </script>
  246. <script type="text/javascript">
  247. RED.nodes.registerType('play_queue',{
  248. category: 'play-function',
  249. color:"#E6E0F8",
  250. defaults: {
  251. name: {value:""},
  252. },
  253. inputs:0,
  254. outputs:1,
  255. icon: "arrow-in.png",
  256. label: function() {
  257. return this.name||"Queue";
  258. },
  259. labelStyle: function() {
  260. return this.name?"node_label_italic":"";
  261. }
  262. });
  263. </script>
  264. <script type="text/x-red" data-help-name="play_queue">
  265. <p><b>TODO</b> Add object documetation here</b>.</p>
  266. </script>
  267. <script type="text/x-red" data-template-name="play_queue">
  268. <div class="form-row">
  269. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  270. <input type="text" id="node-input-name" placeholder="Name">
  271. </div>
  272. </script>
  273. <script type="text/javascript">
  274. RED.nodes.registerType('synth_sine',{
  275. category: 'synth-function',
  276. color:"#E6E0F8",
  277. defaults: {
  278. name: {value:""},
  279. },
  280. inputs:0,
  281. outputs:1,
  282. icon: "arrow-in.png",
  283. label: function() {
  284. return this.name||"Sine Wave";
  285. },
  286. labelStyle: function() {
  287. return this.name?"node_label_italic":"";
  288. }
  289. });
  290. </script>
  291. <script type="text/x-red" data-help-name="synth_sine">
  292. <p><b>TODO</b> Add object documetation here</b>.</p>
  293. </script>
  294. <script type="text/x-red" data-template-name="synth_sine">
  295. <div class="form-row">
  296. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  297. <input type="text" id="node-input-name" placeholder="Name">
  298. </div>
  299. </script>
  300. <script type="text/javascript">
  301. RED.nodes.registerType('synth_waveform',{
  302. category: 'synth-function',
  303. color:"#E6E0F8",
  304. defaults: {
  305. name: {value:""},
  306. },
  307. inputs:0,
  308. outputs:1,
  309. icon: "arrow-in.png",
  310. label: function() {
  311. return this.name||"Waveform";
  312. },
  313. labelStyle: function() {
  314. return this.name?"node_label_italic":"";
  315. }
  316. });
  317. </script>
  318. <script type="text/x-red" data-help-name="synth_waveform">
  319. <p><b>TODO</b> Add object documetation here</b>.</p>
  320. </script>
  321. <script type="text/x-red" data-template-name="synth_waveform">
  322. <div class="form-row">
  323. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  324. <input type="text" id="node-input-name" placeholder="Name">
  325. </div>
  326. </script>
  327. <script type="text/javascript">
  328. RED.nodes.registerType('synth_tonesweep',{
  329. category: 'synth-function',
  330. color:"#E6E0F8",
  331. defaults: {
  332. name: {value:""},
  333. },
  334. inputs:0,
  335. outputs:1,
  336. icon: "arrow-in.png",
  337. label: function() {
  338. return this.name||"Tonesweep";
  339. },
  340. labelStyle: function() {
  341. return this.name?"node_label_italic":"";
  342. }
  343. });
  344. </script>
  345. <script type="text/x-red" data-help-name="synth_tonesweep">
  346. <p><b>TODO</b> Add object documetation here</b>.</p>
  347. </script>
  348. <script type="text/x-red" data-template-name="synth_tonesweep">
  349. <div class="form-row">
  350. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  351. <input type="text" id="node-input-name" placeholder="Name">
  352. </div>
  353. </script>
  354. <script type="text/javascript">
  355. RED.nodes.registerType('effect_fade',{
  356. category: 'effect-function',
  357. color:"#E6E0F8",
  358. defaults: {
  359. name: {value:""},
  360. },
  361. inputs:1,
  362. outputs:1,
  363. icon: "arrow-in.png",
  364. label: function() {
  365. return this.name||"Fade";
  366. },
  367. labelStyle: function() {
  368. return this.name?"node_label_italic":"";
  369. }
  370. });
  371. </script>
  372. <script type="text/x-red" data-help-name="effect_fade">
  373. <p><b>TODO</b> Add object documetation here</b>.</p>
  374. </script>
  375. <script type="text/x-red" data-template-name="effect_fade">
  376. <div class="form-row">
  377. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  378. <input type="text" id="node-input-name" placeholder="Name">
  379. </div>
  380. </script>
  381. <script type="text/javascript">
  382. RED.nodes.registerType('effect_chorus',{
  383. category: 'effect-function',
  384. color:"#E6E0F8",
  385. defaults: {
  386. name: {value:""},
  387. },
  388. inputs:2,
  389. outputs:2,
  390. icon: "arrow-in.png",
  391. label: function() {
  392. return this.name||"Chorus";
  393. },
  394. labelStyle: function() {
  395. return this.name?"node_label_italic":"";
  396. }
  397. });
  398. </script>
  399. <script type="text/x-red" data-help-name="effect_chorus">
  400. <p><b>TODO</b> Add object documetation here</b>.</p>
  401. </script>
  402. <script type="text/x-red" data-template-name="effect_chorus">
  403. <div class="form-row">
  404. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  405. <input type="text" id="node-input-name" placeholder="Name">
  406. </div>
  407. </script>
  408. <script type="text/javascript">
  409. RED.nodes.registerType('effect_flange',{
  410. category: 'effect-function',
  411. color:"#E6E0F8",
  412. defaults: {
  413. name: {value:""},
  414. },
  415. inputs:2,
  416. outputs:2,
  417. icon: "arrow-in.png",
  418. label: function() {
  419. return this.name||"Flange";
  420. },
  421. labelStyle: function() {
  422. return this.name?"node_label_italic":"";
  423. }
  424. });
  425. </script>
  426. <script type="text/x-red" data-help-name="effect_flange">
  427. <p><b>TODO</b> Add object documetation here</b>.</p>
  428. </script>
  429. <script type="text/x-red" data-template-name="effect_flange">
  430. <div class="form-row">
  431. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  432. <input type="text" id="node-input-name" placeholder="Name">
  433. </div>
  434. </script>
  435. <script type="text/javascript">
  436. RED.nodes.registerType('filter_biquad',{
  437. category: 'filter-function',
  438. color:"#E6E0F8",
  439. defaults: {
  440. name: {value:""},
  441. },
  442. inputs:1,
  443. outputs:1,
  444. icon: "arrow-in.png",
  445. label: function() {
  446. return this.name||"BiQuad";
  447. },
  448. labelStyle: function() {
  449. return this.name?"node_label_italic":"";
  450. }
  451. });
  452. </script>
  453. <script type="text/x-red" data-help-name="filter_biquad">
  454. <p><b>TODO</b> Add object documetation here</b>.</p>
  455. </script>
  456. <script type="text/x-red" data-template-name="filter_biquad">
  457. <div class="form-row">
  458. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  459. <input type="text" id="node-input-name" placeholder="Name">
  460. </div>
  461. </script>
  462. <script type="text/javascript">
  463. RED.nodes.registerType('filter_fir',{
  464. category: 'filter-function',
  465. color:"#E6E0F8",
  466. defaults: {
  467. name: {value:""},
  468. },
  469. inputs:1,
  470. outputs:1,
  471. icon: "arrow-in.png",
  472. label: function() {
  473. return this.name||"FIR";
  474. },
  475. labelStyle: function() {
  476. return this.name?"node_label_italic":"";
  477. }
  478. });
  479. </script>
  480. <script type="text/x-red" data-help-name="filter_fir">
  481. <p><b>TODO</b> Add object documetation here</b>.</p>
  482. </script>
  483. <script type="text/x-red" data-template-name="filter_fir">
  484. <div class="form-row">
  485. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  486. <input type="text" id="node-input-name" placeholder="Name">
  487. </div>
  488. </script>
  489. <script type="text/javascript">
  490. RED.nodes.registerType('analyze_peak',{
  491. category: 'analyze-function',
  492. color:"#E6E0F8",
  493. defaults: {
  494. name: {value:""},
  495. },
  496. inputs:1,
  497. outputs:0,
  498. icon: "arrow-in.png",
  499. label: function() {
  500. return this.name||"Peak";
  501. },
  502. labelStyle: function() {
  503. return this.name?"node_label_italic":"";
  504. }
  505. });
  506. </script>
  507. <script type="text/x-red" data-help-name="analyze_peak">
  508. <p><b>TODO</b> Add object documetation here</b>.</p>
  509. </script>
  510. <script type="text/x-red" data-template-name="analyze_peak">
  511. <div class="form-row">
  512. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  513. <input type="text" id="node-input-name" placeholder="Name">
  514. </div>
  515. </script>
  516. <script type="text/javascript">
  517. RED.nodes.registerType('analyze_fft256',{
  518. category: 'analyze-function',
  519. color:"#E6E0F8",
  520. defaults: {
  521. name: {value:""},
  522. },
  523. inputs:1,
  524. outputs:0,
  525. icon: "arrow-in.png",
  526. label: function() {
  527. return this.name||"FFT256";
  528. },
  529. labelStyle: function() {
  530. return this.name?"node_label_italic":"";
  531. }
  532. });
  533. </script>
  534. <script type="text/x-red" data-help-name="analyze_fft256">
  535. <p><b>TODO</b> Add object documetation here</b>.</p>
  536. </script>
  537. <script type="text/x-red" data-template-name="analyze_fft256">
  538. <div class="form-row">
  539. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  540. <input type="text" id="node-input-name" placeholder="Name">
  541. </div>
  542. </script>
  543. <script type="text/javascript">
  544. RED.nodes.registerType('analyze_fft1024',{
  545. category: 'analyze-function',
  546. color:"#E6E0F8",
  547. defaults: {
  548. name: {value:""},
  549. },
  550. inputs:1,
  551. outputs:0,
  552. icon: "arrow-in.png",
  553. label: function() {
  554. return this.name||"FFT1024";
  555. },
  556. labelStyle: function() {
  557. return this.name?"node_label_italic":"";
  558. }
  559. });
  560. </script>
  561. <script type="text/x-red" data-help-name="analyze_fft1024">
  562. <p><b>TODO</b> Add object documetation here</b>.</p>
  563. </script>
  564. <script type="text/x-red" data-template-name="analyze_fft1024">
  565. <div class="form-row">
  566. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  567. <input type="text" id="node-input-name" placeholder="Name">
  568. </div>
  569. </script>
  570. <script type="text/javascript">
  571. RED.nodes.registerType('analyze_print',{
  572. category: 'analyze-function',
  573. color:"#E6E0F8",
  574. defaults: {
  575. name: {value:""},
  576. },
  577. inputs:1,
  578. outputs:0,
  579. icon: "arrow-in.png",
  580. label: function() {
  581. return this.name||"Print";
  582. },
  583. labelStyle: function() {
  584. return this.name?"node_label_italic":"";
  585. }
  586. });
  587. </script>
  588. <script type="text/x-red" data-help-name="analyze_print">
  589. <p><b>TODO</b> Add object documetation here</b>.</p>
  590. </script>
  591. <script type="text/x-red" data-template-name="analyze_print">
  592. <div class="form-row">
  593. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  594. <input type="text" id="node-input-name" placeholder="Name">
  595. </div>
  596. </script>
  597. <script type="text/javascript">
  598. RED.nodes.registerType('control_sgtl5000',{
  599. category: 'control-function',
  600. color:"#E6E0F8",
  601. defaults: {
  602. name: {value:""},
  603. },
  604. inputs:0,
  605. outputs:0,
  606. icon: "arrow-in.png",
  607. label: function() {
  608. return this.name||"SGTL5000";
  609. },
  610. labelStyle: function() {
  611. return this.name?"node_label_italic":"";
  612. }
  613. });
  614. </script>
  615. <script type="text/x-red" data-help-name="control_sgtl5000">
  616. <p><b>TODO</b> Add object documetation here</b>.</p>
  617. </script>
  618. <script type="text/x-red" data-template-name="control_sgtl5000">
  619. <div class="form-row">
  620. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  621. <input type="text" id="node-input-name" placeholder="Name">
  622. </div>
  623. </script>
  624. <script type="text/javascript">
  625. RED.nodes.registerType('control_wm8731',{
  626. category: 'control-function',
  627. color:"#E6E0F8",
  628. defaults: {
  629. name: {value:""},
  630. },
  631. inputs:0,
  632. outputs:0,
  633. icon: "arrow-in.png",
  634. label: function() {
  635. return this.name||"WM8731";
  636. },
  637. labelStyle: function() {
  638. return this.name?"node_label_italic":"";
  639. }
  640. });
  641. </script>
  642. <script type="text/x-red" data-help-name="control_wm8731">
  643. <p><b>TODO</b> Add object documetation here</b>.</p>
  644. </script>
  645. <script type="text/x-red" data-template-name="control_wm8731">
  646. <div class="form-row">
  647. <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
  648. <input type="text" id="node-input-name" placeholder="Name">
  649. </div>
  650. </script>