File: pycall3.orc

package info (click to toggle)
csound-plugins 1.0.2~dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,960 kB
  • sloc: cpp: 16,586; ansic: 7,522; python: 458; sh: 94; makefile: 25
file content (57 lines) | stat: -rw-r--r-- 1,542 bytes parent folder | download | duplicates (10)
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
sr=44100
kr=4410
ksmps=10
nchnls=1

pyinit

pyruni  {{
def f0(a, b, c, d, e, f, g, h):
    pass

def f1(a, b, c, d, e, f, g, h):
    return a

def f2(a, b, c, d, e, f, g, h):
    return a, b

def f3(a, b, c, d, e, f, g, h):
    return a, b, c

def f4(a, b, c, d, e, f, g, h):
    return a, b, c, d

def f5(a, b, c, d, e, f, g, h):
    return a, b, c, d, e

def f6(a, b, c, d, e, f, g, h):
    return a, b, c, d, e, f

def f7(a, b, c, d, e, f, g, h):
    return a, b, c, d, e, f, g

def f8(a, b, c, d, e, f, g, h):
    return a, b, c, d, e, f, g, h
}}

instr 1

                                 pycall  "f0", 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8
  k1                             pycall1 "f1", 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8
  k1, k2                         pycall2 "f2", 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8
  k1, k2, k3                     pycall3 "f3", 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8
  k1, k2, k3, k4                 pycall4 "f4", 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8
  k1, k2, k3, k4, k5             pycall5 "f5", 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8
  k1, k2, k3, k4, k5, k6         pycall6 "f6", 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8
  k1, k2, k3, k4, k5, k6, k7     pycall7 "f7", 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8
  k1, k2, k3, k4, k5, k6, k7, k8 pycall8 "f8", 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8

        printk  0.01, k1
        printk  0.01, k2
        printk  0.01, k3
        printk  0.01, k4
        printk  0.01, k5
        printk  0.01, k6
        printk  0.01, k7
        printk  0.01, k8
endin