Contents

Introduction

Chapter 1
The World of Csound

About This Book

What Is Csound?

Why Use Csound?

What You’ll Need

Resources

The Canonical Csound Reference Manual

The Csound Website

The Online Manual

Mailing List

Code Examples

The Csound Journal

Online UDO Library

Books for Further Study

You

Alternatives

Chapter 2
Downloading and Installing

Compiling Csound Yourself

Doubles versus Floats

Running the Installer

Windows

Macintosh

Linux

Installing CsoundQt

Setting Up Your System

System Test in CsoundQt

System Test in the Terminal

Chapter 3
QuickStart Projects

Sequencing Project

Launch CsoundQt and Create a New Project

Create an Instrument and a Score

Add an Amplitude Envelope

Input Pitches from the Score

Make a Richer Tone Color

Add a Timbre Envelope

Summing Up What We’ve Done So Far

Add Rhythms, Chords, and Dynamics to the Score

Control the Instrument Panning from the Score

Process the Sound through a Reverb

Sound Design Project

Load a Sound File into a Table

Create an Instrument and a Score

Change the Playback Speed

Add Ring Modulation

Modulate the Playback Speed

Add a Delay

A Basic Vocoder

Chapter 4
The Structure and Syntax of a .csd File

The Command Line

Tags in the .csd File

The Orchestra Header

Other Items in the Header

Adding Comments to Your Code

Spacing and Parentheses

Macros

Chapter 5
Using the CsoundQt Interface

The Toolbar and Menus

Menus

The Main Window

The Editor

The Inspector

The Output Console

The Manual Pane

The Configuration Box

The Run Tab

The General Tab

The Widgets Tab

The Editor Tab

The Environment Tab

The External Programs Tab

The Template Tab

Widgets

Designing a Widgets Panel

Live Events

Editing Live Events

Playback and Looping of Live Events

Chapter 6
Building Your Own Instruments and Effects

instr and endin

i- versus k- versus a-

The init Opcode

Converting from a- to k-

S- and Other Variable Prefixes

Global Variables

Mathematical Operations

Using Parentheses

Other Useful Mathematical Operations

p-fields and p-values

Logic and Flow Control

Testing Values

Using if/goto

Using if/then/else

The Ternary Operator

Looping Opcodes

Print Statements

print

printf

printk

printk2

printks

prints

sprintf

Chapter 7
Thirty Opcodes You Must Know

What Is an Opcode?

How to Read Prototypes in the Manual

Signal Generators

A Basic Oscillator

Other Oscillators

Noise Generators

FM Synthesis

Granular Synthesis

Sample Playback

Physical Models

Envelope Generators

LFOs

Filters

Resonant Lowpass Filters

State-Variable Filters

Basic Tone-Shaping

Global Signal Routing

The zak Opcodes

The Mixer Opcodes

Pitch Converters

cpsmidi

String Manipulation Opcodes

The Important GEN Routines

The f-Statement

The ftgen Opcode Family

Sinusoids with GEN 09, 10, and 11

Building Tables out of Segments

Reading Audio Files

Your Own Data

Table Operations

Reading from Tables

Writing to Tables

Dynamics Control and Panning

balance

compress

pan and pan2

Audio Output

out and outs

fout

Effects

Reverb

Delay

Distortion

Instrument Control

Analysis and Resynthesis

User-Defined Opcodes

Creating Score Events during Performance

schedule and schedwhen

scoreline

event

Chapter 8
Writing a Csound Score

Score Statements

The i-statement

The t-statement

The f-statement

Warping the Score with b- and v-

The a- and x-statements

The s- and e-statements

Score Entry Shortcuts

Carry Symbols

Score Macros

Computing Values in p-fields

Using a Spreadsheet

Looping Score Sections

The r-statement

The { and } Statements

The Sorting Hat

Legato Instruments

Chapter 9
Front Ends

blue

Downloading and Installing blue

Overview

The Score

WinXound

Cecilia 4.2

Chapter 10
Using Csound with MIDI, OSC, Pd, Python, and Live Audio

MIDI

Setting Up a MIDI System

Receiving MIDI Input

Performance Considerations

Keeping Csound Running

A Monophonic Legato MIDI Instrument

Csound and VST

OSC

Sending and Receiving Longer Messages

Data Buffering

Connecting Two Computers Using OSC

Real-Time Audio Processing

Using Csound with Pd

Using Python within Csound

The Python Opcodes

Extending Csound Using Scripting Languages

Csound in Ableton Live

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.97.187