sr = 44100
ksmps = 128
nchnls = 2
0dbfs = 1
; This file introduces the Live Event Panels of CsoundQt
; First Run this file!
; Then open the Live Event Controller window from the View Menu
; (If it's not currently at the front, you may need to hide it first and then show it)
; You can play the contents of the panels by clicking on the play buttons
; Alternatively, you can show the panels, to control events individually
; Right click there on the cells to see actions.
; Try the "Send events" action when standing over one of the event lines
instr 1 ;simple sine wave
ifreq = p4 ; in cps
iamp = p5 ; in relation to 0dbfs
iatt = p6 ; in seconds
idec = p7 ; in seconds
aenv linenr iamp, iatt, idec, 0.01
aout oscil aenv, ifreq, 1
outs aout, aout
endin
instr 2 ;saw wave
ifreq = p4 ; in cps
iamp = p5 ; in relation to 0dbfs
iatt = p6 ; in seconds
idec = p7 ; in seconds
aenv linenr iamp, iatt, idec, 0.01
aout vco2 1, ifreq
outs aout*aenv, aout*aenv
endin
f 1 0 4096 10 1
e 3600
517130535418true2302212131762500207{723c1401-6b94-4801-8d2c-3e08afd5745d}true0-3left
Helvetica
143000255255255border51_Play10536131829{8e38fdf7-2bf5-4ff2-9c18-d280d0bb4925}true0-3value1.00000000Run/falsefalse17850047{66aa869b-be3d-4a31-8c24-9c44edff9877}true0-3center
Helvetica
223000127190190border511727650078{aedbddec-77b7-4279-9427-89c3b74288c7}true0-3left
Helvetica
143000255255255border51
Version: 3
Render: Real
Ask: Yes
Functions: ioObject
Listing: Window
WindowBounds: 517 130 535 418
CurrentView: io
IOViewEdit: On
Options: -b128 -A -s -m167 -R
ioView nobackground {59110, 56797, 54741}
ioText {17, 62} {500, 207} label 0.000000 0.00100 "" left "Helvetica" 14 {0, 0, 0} {65280, 65280, 65280} nobackground noborder This file introduces the Live Event Panel of CsoundQt¬¬1. Run this file!¬2. Open the Live Event Controller window from the View Menu (If it's not currently at the front, you may need to hide it first and then show it)¬3. You can play the contents of the panels by clicking on the play buttons. Alternatively, you can show the panels, to control events individually. Right click there on the cells to see actions.¬4. Try the "Send events" action when standing over one of the event lines¬
ioButton {105, 361} {318, 29} value 1.000000 "_Play" "Run" "/"
ioText {17, 9} {500, 47} label 0.000000 0.00100 "" center "Helvetica" 22 {0, 0, 0} {32512, 48640, 48640} nobackground noborder Event Panels
ioText {15, 275} {500, 78} label 0.000000 0.00100 "" left "Helvetica" 14 {0, 0, 0} {65280, 65280, 65280} nobackground noborder Note that you can send individual events, setting independent tempos for each panel.¬You can also set a loop range for each panel, and loop each panel independently.
i 1 0 1 440 0.2 0.3 1
i 1 0 1 880 0.2 0.3 1
i 1 0 1 220 0.2 0.3 1
; You ;can ;label ;columns
i 1 0 1 220 0.2 0.3 1
i 1 1 1 220 0.2 0.3 1
i 1 2 1 220 0.2 0.3 1
; Have ;a ;look ;at the ;text ;view
i 1 0 1 440 0.2 0.3 1
i 1 0 1 880 0.2 0.3 1
i 1 0 1 220 0.2 0.3 1
i 2 0 1 220 0.2 0.3 1
i 2 1 1 440 0.2 0.3 1
i 2 2 1 880 0.2 0.3 1
i 2 0 5 440 0.2 0.3 1
;off
;You ;can use ;negative ;p1 ;to ;turn ;off ;notes