File: pyeval.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 (15 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
sr=44100
kr=4410
ksmps=10
nchnls=1

        pyinit

        pyruni  "from random import random"

instr 1

                pyrun   "a = random()"
        k1      pyeval  "a"
                printk  0.1, k1
endin