13  Tables

Open Window → Editors → Tables to enter project-wide Csound function table statements. Blue saves this text with the project and puts it at the start of <CsScore>, ahead of Global Score text and notes generated from the timeline.

For example, this statement creates a sine-wave table numbered 1:

f1 0 4096 10 1

An instrument can then refer to table 1 in its Csound code. Give each manually numbered table a number that does not conflict with another table in the project. When choosing numbers for tables generated by instruments and SoundObjects, Blue reserves numeric f numbers from this editor and numeric ftgen numbers it finds in Global Orchestra text. It cannot infer numbers supplied indirectly through variables or macros. It does not reserve table numbers written in Global Score or instrument score text, so those can conflict with automatically generated tables. Check the generated CSD when you define tables in those locations. The Tables editor stores score text directly; it does not place a SoundObject on the timeline or change the Score’s visible duration.

Use Project → Generate CSD to Screen to confirm the table statement and the instrument that reads it. See Orchestra for instrument editing and Global Orchestra and Global Score for other project-wide Csound text.