4 First project
This short project makes a sine tone from one instrument and one score event. Install Csound 7 before the final render. You can do the editing and inspect the generated CSD without starting Csound.
4.1 Create and save the project
- Choose File → New Project. The new project has an empty Orchestra and a Score with a Track layer that can hold SoundObjects or audio clips.
- Choose File → Save as…, choose a location, and save the
.bluefile. Save again as you work with File → Save.
4.2 Add an instrument
Open the Orchestra panel. If it is hidden, choose it from Window → Editors.
Click + Add → Generic Instrument. In the new row, set Instr ID to
1if it has another value. The ID connects the instrument to score events. You can also give it a name such asSine tone.Select the row. On the Instrument tab, replace the editor contents with:
aTone oscili p4, p5 outs aTone, aToneBlue supplies the
instrandendinlines when it generates the CSD. Herep4is amplitude andp5is frequency. See Orchestra for the other instrument types and editor tabs.
4.3 Add a score event
In the Score panel, right-click near the start of the Track layer and choose Add SoundObject → GenericScore.
Double-click the new object to open its editor. Replace its score text with:
i1 0 4 0.15 440i1uses instrument ID1; the following values give the event’s start, duration, amplitude, and frequency. The start and duration are relative to this SoundObject on the timeline. The new object is four beats long, matching the event’s duration. See GenericScore for more event examples and SoundObjects for how moving or resizing the object changes its generated score.
4.4 Inspect and render
- Choose Project → Generate CSD to Screen. Look for
instr 1and the score event. Its absolute start in the CSD includes the position where you placed the GenericScore on the Track. If the instrument ID and the event’sinumber differ, make them match before rendering. - Save the project, then choose File → Render to Disk. The render dialog reports progress and the output file. Listen to the result after it finishes. You can also choose Project → Render/Stop Project or press F9 for realtime playback.
If Csound cannot start, check its installation and the Realtime Render or Disk Render sections of Settings. Rendering explains the other render and CSD commands.
To explore a larger prepared project, choose File → Open Example Project….