sr = 44100
ksmps = 128
nchnls = 2
0dbfs = 1
instr 1 ; Equal temperament
; p4 in pitch class
xtratim 0.3
aenv linenr 0.4, 0.01, 0.3, 0.01
aout oscili aenv, cpspch(p4), 1
outs aout*p5, aout*(1-p5)
endin
instr 2 ; Just intonation
; p4 in interval fraction
xtratim 0.3
aenv linenr 0.4, 0.01, 0.3, 0.01
aout oscili aenv, p4 * cpspch(8.00), 1
outs aout*p5, aout*(1-p5)
endin
f 1 0 1024 10 1
; Equal tempered
i 1 0 3 8.00 0
i . 0 . 9.00 1
i . + . 8.00 0
i . ^+0 . 8.07 1
i . + . 8.00 0
i . ^+0 . 8.04 1
i . + . 8.00 0
i . ^+0 . 8.10 1
i . + . 8.00 0
i . ^+0 . 8.04 1
i . ^+0 . 8.07 0
i . ^+0 . 8.10 1
i . + . 8.00 1
i . ^+0 . 8.04 1
i . ^+0 . 8.07 0
i . ^+0 . 8.10 0
s
; Now with just intonation
i 2 0 3 [1/1] 0
i . 0 . [2/1] 1
i . + . [1/1] 0
i . ^+0 . [3/2] 1
i . + . [1/1] 0
i . ^+0 . [5/4] 1
i . + . [1/1] 0
i . ^+0 . [7/4] 1
i . + . [1/1] 0
i . ^+0 . [5/4] 1
i . ^+0 . [3/2] 0
i . ^+0 . [7/4] 1
i . + . [1/1] 1
i . ^+0 . [5/4] 1
i . ^+0 . [3/2] 0
i . ^+0 . [7/4] 0
e
656
80
620
359
true
62
162
69
9
8
290
299
{efed7bdd-1a9e-49ef-9f95-15ddcc36e9ee}
true
0
-3
-255.00000000
lissajou
2.00000000
2.00000000
1.00000000
1.00000000
0.00000000
310
10
277
255
{bda8811b-e831-48b2-969a-5b571eb11896}
true
0
-3
center
top
TeX Gyre Heros
14
3
0
0
0
255
255
255
true
1
1
_Play
310
273
278
33
{52bc96cf-049f-41b8-9103-1186aaea8fdd}
true
0
-3
value
1.00000000
Run
/
false
false
10