<CsoundSynthesizer>

<CsOptions>
  -d -o dac
</CsOptions>

<CsInstruments>
sr     = 192000
ksmps  = 1000
nchnls = 2
0dbfs  = 1

          instr 1
idur      =         p3
iamp      =         p4
kenv      linen     iamp, 0.05, idur, 0.2
kcpsc     invalue   "cpscoarse"
kcpsf     invalue   "cpsfine"
kcps      =         kcpsc + kcpsf
          outvalue  "cps", kcps
kfrq1c    invalue   "frq1coarse"
kfrq1f    invalue   "frq1fine"
kfrq1     =         kfrq1c + kfrq1f
          outvalue  "frq1", kfrq1
kfrq2c    invalue   "frq2coarse"
kfrq2f    invalue   "frq2fine"
kfrq2     =         kfrq2c + kfrq2f
          outvalue  "frq2", kfrq2
kndx1c    invalue   "ndx1coarse"
kndx1f    invalue   "ndx1fine"
kndx1     =         kndx1c + kndx1f
          outvalue  "ndx1", kndx1
kndx2c    invalue   "ndx2coarse"
kndx2f    invalue   "ndx2fine"
kndx2     =         kndx2c + kndx2f
          outvalue  "ndx2", kndx2
a1, a2    crossfm   kfrq1, kfrq2, kndx1, kndx2, kcps, 1, 1
          outs      a1*kenv, a2*kenv
          endin
</CsInstruments>

<CsScore>
;sine wave
f 1 0 16384 10 1
;pseudo square wave
f 2 0 16384 10 1000 0 333.333 0 200 0 142.857 0 111.111 0 90.909 \
               0 76.923 0 66.667 0 58.824 0 52.632 0
;pseudo triangle wave
f 3 0 16384 10 1000 0 111.111 0 40 0 20.408 0 12.346 0 8.264 0 \
               5.917 0 4.444 0 3.46 0 2.77 0
;pseudo sawtooth wave
f 4 0 16384 10 1000 500 333.333 250 200 166.667 142.857 125 111.111 \
               100 90.909 83.333 76.923 71.429 66.667 62.5 58.824 \
               55.556 52.632 50

i 1 0 3600 0.9
e
</CsScore>
</CsoundSynthesizer>
<MacOptions>
Version: 3
Render: Real
Ask: Yes
Functions: ioObject
Listing: Window
WindowBounds: 736 82 887 797
CurrentView: io
IOViewEdit: On
Options:
</MacOptions>
<MacGUI>
ioView background {54998, 54227, 53456}
ioGraph {10, 50} {350, 350} lissajou 1.000000 1.000000 
ioText {90, 10} {180, 32} label 0.000000 0.00100 "" center "DejaVu Sans" 16 {0, 0, 0} {43520, 43520, 65280} background border Phase portrait
ioText {395, 120} {45, 28} label 0.000000 0.00100 "" left "DejaVu Sans" 12 {0, 0, 0} {43520, 43520, 65280} background border frq1
ioText {450, 120} {80, 28} editnum 1565.000000 1.000000 "frq1coarse" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 1565.000000
ioText {540, 120} {80, 28} scroll 0.804000 0.001000 "frq1fine" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 65280} background border 0.804
ioText {630, 120} {80, 28} display 1565.804000 0.00100 "frq1" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 32512} background border 1565.8040
ioText {730, 120} {80, 28} editnum 0.804000 0.001000 "frq1fine" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 0.804000
ioText {395, 160} {45, 28} label 0.000000 0.00100 "" left "DejaVu Sans" 12 {0, 0, 0} {43520, 43520, 65280} background border frq2
ioText {450, 160} {80, 28} editnum 846.000000 1.000000 "frq2coarse" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 846.000000
ioText {540, 160} {80, 28} scroll 0.294000 0.001000 "frq2fine" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 65280} background border 0.294
ioText {630, 160} {80, 28} display 846.294000 0.00100 "frq2" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 32512} background border 846.2940
ioText {730, 160} {80, 28} editnum 0.294000 0.001000 "frq2fine" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 0.294000
ioText {395, 200} {45, 28} label 0.000000 0.00100 "" left "DejaVu Sans" 12 {0, 0, 0} {43520, 43520, 65280} background border ndx1
ioText {450, 200} {80, 28} editnum 2.000000 1.000000 "ndx1coarse" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 2.000000
ioText {540, 200} {80, 28} scroll 0.347000 0.001000 "ndx1fine" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 65280} background border 0.347
ioText {630, 200} {80, 28} display 2.347000 0.00100 "ndx1" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 32512} background border 2.3470
ioText {730, 200} {80, 28} editnum 0.347000 0.001000 "ndx1fine" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 0.347000
ioText {395, 240} {45, 28} label 0.000000 0.00100 "" left "DejaVu Sans" 12 {0, 0, 0} {43520, 43520, 65280} background border ndx2
ioText {450, 240} {80, 28} editnum 4.000000 1.000000 "ndx2coarse" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 4.000000
ioText {540, 240} {80, 28} scroll 0.833000 0.001000 "ndx2fine" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 65280} background border 0.833
ioText {630, 240} {80, 28} display 4.833000 0.00100 "ndx2" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 32512} background border 4.8330
ioText {730, 240} {80, 28} editnum 0.833000 0.001000 "ndx2fine" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 0.833000
ioText {395, 300} {45, 28} label 0.000000 0.00100 "" left "DejaVu Sans" 12 {0, 0, 0} {43520, 43520, 65280} background border cps
ioText {450, 300} {80, 28} editnum 1.000000 1.000000 "cpscoarse" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 1.000000
ioText {540, 300} {80, 28} scroll -0.000000 0.001000 "cpsfine" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 65280} background border -0.000
ioText {630, 300} {80, 28} display 1.000000 0.00100 "cps" left "DejaVu Sans" 12 {0, 0, 0} {65280, 65280, 32512} background border 1.0000
ioText {730, 300} {80, 28} editnum 0.000000 0.001000 "cpsfine" left "Lucida Grande" 8 {0, 0, 0} {65280, 65280, 65280} nobackground noborder 0.000000
</MacGUI>


