File: coterm.alg

package info (click to toggle)
nyquist 3.24%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 58,156 kB
  • sloc: ansic: 74,757; lisp: 18,169; java: 10,942; cpp: 6,688; sh: 175; xml: 58; makefile: 40; python: 15
file content (12 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
(COTERM-ALG
  (NAME "coterm")
  (ARGUMENTS ("sound_type" "s1") ("sound_type" "s2"))
  (SAMPLE-RATE (MAX s1))
  (START (MAX s1 s2))
  (INNER-LOOP "{ /* ignore s2 */ output = s1;}")
  (LINEAR s1)
  (TERMINATE (MIN s1 s2))
  (LOGICAL-STOP (MIN s1 s2))
  (INTERNAL-SCALING s2)
)