1 / 7

Introduction to Csound

Introduction to Csound. What is Csound?. a programming language for sound generation uses software synthesis to compile user-defined orchestras and scores to produce music allows users to program whatever synthesis method or tuning they like

alonzoj
Download Presentation

Introduction to Csound

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Csound

  2. What is Csound? • a programming language for sound generation • uses software synthesis to compile user-defined orchestras and scores to produce music • allows users to program whatever synthesis method or tuning they like • challenges users to harness its power to produce music • no built-in instruments • only the basic building blocks, just like the C programming language

  3. The Csound Orchestra • contains the instrument designs • naming convention: the .orc file contains Csound orchestra • begins with four header statements, most commonly the following: sr = 22050 kr = 2205 ksmps = 10 nchnls = 1

  4. The Header Statements sr = 22050 kr = 2205 ksmps = 10 nchnls = 1 • first header line sets sampling rate • number of digital samples for each second of sound • 44100 Hertz — high quality sampling rate of CDs • 22050 Hertz — medium quality sampling rate • 8192 Hertz — low quality telephone sampling rate

  5. iamp 0 iattack isustain idecay The Header Statements sr = 22050 kr = 2205 ksmps = 10 nchnls = 1 • second header line sets control rate for more slowly varying functions such as amplitude envelopes

  6. The Header Statements sr = 22050 kr = 2205 ksmps = 10 nchnls = 1 • third header line sets number of samples for one control period • control period = sampling rate/control rate • number of digital samples for each second of sound • specifying it makes it easier to remember this requirement

  7. The Header Statements sr = 22050 kr = 2205 ksmps = 10 nchnls = 1 • last header line sets number of audio channels • 1 — mono soundfiles • 2 — stereo soundfiles

More Related