This is a possible transformation of the signal graph into Csound code:
instr Sine aSig oscils 0.2, 400, 0 out aSig endin
The oscillator is represented by the opcode oscils and gets its input arguments on the right-hand side. These are amplitude (0.2), frequency (400) and phase (0). It produces an audio signal called aSig at the left side, which is in turn the input of the second opcode out. The first and last lines encase these connections inside an instrument called Sine. That's it.
No comments:
Post a Comment