| 1 |
/*Getting started.. 1.5 Getting Help |
| 2 |
|
| 3 |
General information about CsoundQt's buttons and windows, can be found in the 'Open Quick Reference Guide' located in the Help Menu. |
| 4 |
|
| 5 |
Help for most of the used Csound vocabulary is available, by marking the words with the cursor and selecting |
| 6 |
Show Opcode Entry from the Help Menu (or with shortcut: Shift+F1) |
| 7 |
|
| 8 |
A short definition about opcodes' inputs and outputs, can be found on the CsoundQt status bar at the bottom when the cursor is over an opcode. |
| 9 |
As an example, click on the opcode line below: |
| 10 |
|
| 11 |
kres line ia, idur, ib |
| 12 |
|
| 13 |
1. kres - is the output, in this case a k-rate signal |
| 14 |
2. line - is the opcode itself, if you need more information about what it's doing -> 'Shift F1' |
| 15 |
3. ia -sets the initial value, the line starts with |
| 16 |
4. idur - sets the duration value |
| 17 |
5. ib -sets the destination value |
| 18 |
|
| 19 |
Notice that line must use i-type variables (so you can't change its behavior inside a note!) |
| 20 |
|
| 21 |
Direct links to Manual chapters can be provided in the comments. For example, click on the word below and press Shift+F1: |
| 22 |
CommandUnifile |
| 23 |
PartOpcodesOverview |
| 24 |
|
| 25 |
Further Reading: |
| 26 |
In the help menu is a direkt link to the Csound Manual and also to it's second chapter 'Opcodes Overview'. |
| 27 |
On 'http://www.Csounds.com/tutorials' there are more tutorials, some are also available in different languages. |
| 28 |
*/ |
| 29 |
<CsoundSynthesizer> |
| 30 |
<CsOptions> |
| 31 |
</CsOptions> |
| 32 |
<CsInstruments> |
| 33 |
|
| 34 |
|
| 35 |
sr = 44100 ;doubleclick on sr and press 'Shift + F1' for help |
| 36 |
ksmps = 128 |
| 37 |
nchnls = 2 |
| 38 |
0dbfs = 1 |
| 39 |
|
| 40 |
instr 1 |
| 41 |
|
| 42 |
kFreq expon 1000, 10, 500 |
| 43 |
aOut oscili 0.2, kFreq, 1 |
| 44 |
outvalue "freqsweep", kFreq |
| 45 |
outs aOut, aOut |
| 46 |
endin |
| 47 |
|
| 48 |
|
| 49 |
</CsInstruments> |
| 50 |
<CsScore> |
| 51 |
f 1 0 1024 10 1 |
| 52 |
i 1 0 10 |
| 53 |
e |
| 54 |
</CsScore> |
| 55 |
</CsoundSynthesizer> |
| 56 |
; written by Alex Hofmann (Nov. 2009) - Incontri HMT-Hannover |
| 57 |
|
| 58 |
<bsbPanel> |
| 59 |
<label>Widgets</label> |
| 60 |
<objectName/> |
| 61 |
<x>1013</x> |
| 62 |
<y>279</y> |
| 63 |
<width>563</width> |
| 64 |
<height>397</height> |
| 65 |
<visible>true</visible> |
| 66 |
<uuid/> |
| 67 |
<bgcolor mode="background"> |
| 68 |
<r>160</r> |
| 69 |
<g>158</g> |
| 70 |
<b>162</b> |
| 71 |
</bgcolor> |
| 72 |
<bsbObject version="2" type="BSBLabel"> |
| 73 |
<objectName/> |
| 74 |
<x>21</x> |
| 75 |
<y>17</y> |
| 76 |
<width>241</width> |
| 77 |
<height>137</height> |
| 78 |
<uuid>{f643e4a3-2682-4978-afb1-0a55dfaa1063}</uuid> |
| 79 |
<visible>true</visible> |
| 80 |
<midichan>0</midichan> |
| 81 |
<midicc>-3</midicc> |
| 82 |
<label>This is a widget window. More information about widgets can be found in the menu: Examples-> Widgets</label> |
| 83 |
<alignment>left</alignment> |
| 84 |
<font>Lucida Grande</font> |
| 85 |
<fontsize>18</fontsize> |
| 86 |
<precision>3</precision> |
| 87 |
<color> |
| 88 |
<r>0</r> |
| 89 |
<g>0</g> |
| 90 |
<b>0</b> |
| 91 |
</color> |
| 92 |
<bgcolor mode="nobackground"> |
| 93 |
<r>255</r> |
| 94 |
<g>255</g> |
| 95 |
<b>255</b> |
| 96 |
</bgcolor> |
| 97 |
<bordermode>noborder</bordermode> |
| 98 |
<borderradius>1</borderradius> |
| 99 |
<borderwidth>1</borderwidth> |
| 100 |
</bsbObject> |
| 101 |
</bsbPanel> |
| 102 |
<bsbPresets> |
| 103 |
</bsbPresets> |
| 104 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="320" y="218" width="596" height="322" visible="true" loopStart="0" loopEnd="0"> </EventPanel> |