Question about C Sound....

- ask away
Post Reply
will kinsella
mnml newbie
mnml newbie
Posts: 85
Joined: Wed Jun 21, 2006 2:45 pm
Location: Dublin, Ireland
Contact:

Question about C Sound....

Post by will kinsella »

Hi guys

Does anyone here know anything about C Sound? I have an exam on Thursday and this is one of the questions. Any ideas? Im only starting out. Any



Q1. Identify 3 syntax errors from the following Csound code:
// Orchestra File
sr = 44100
kr = 440
ksmps = 100
nchnls = 2
instr 2
asig oscili p4, p6, 1
asig2 ocsili 10000, 880, 1
asig3 = asig1+ asig2
outs asig3, asig3

endin
// Score File
f1 0 1024 10 1
i1 0 5 5000 440
e ________
will kinsella
mnml newbie
mnml newbie
Posts: 85
Joined: Wed Jun 21, 2006 2:45 pm
Location: Dublin, Ireland
Contact:

Re: Question about C Sound....

Post by will kinsella »

will kinsella wrote:Hi guys

Does anyone here know anything about C Sound? I have an exam on Thursday and this is one of the questions. Any ideas? Im only starting out. Any



Q1. Identify 3 syntax errors from the following Csound code:
// Orchestra File
sr = 44100
kr = 440
ksmps = 100
nchnls = 2
instr 2
asig oscili p4, p6, 1
asig2 ocsili 10000, 880, 1
asig3 = asig1+ asig2
outs asig3, asig3

endin
// Score File
f1 0 1024 10 1
i1 0 5 5000 440
e ________


OK here is what I think the problem is:

1. sr/ksmps = kr however kr is listed as 440. It should be 441

2. We have the definition of instrument 2 (instr 2) and instrument one (i1) is playing in the score file

3. The definition outlines a 6th instrument parameter (p6) but in the definition there aren't 6 parameters, only i1, 0, 5, 5000, 440


So hopefully this is right :)

Have a nice weekend
Roqqert
mnml mmbr
mnml mmbr
Posts: 403
Joined: Mon Nov 26, 2007 11:26 pm

Post by Roqqert »

lol keep thinkin about that C thingie!!!

i gonna make some music.. bye !
Jack Rock
mnml newbie
mnml newbie
Posts: 56
Joined: Wed Oct 25, 2006 10:09 pm
Location: Århus, Denmark
Contact:

Post by Jack Rock »

OMG!
Do you also have C64-exams?
http://www.myspace.com/djjackrock
http://www.jackrock.dk
http://soundcloud.com/jack-rock
---
Out now:
Cleymore - "Reel Dance EP (inc. Jack Rock rmx)" - Sui Generiz 09
Jack Rock - "Rendez Vous EP" - Archipel 065
Jack Rock - "Filter Games" - ArtiFarti 007
will kinsella
mnml newbie
mnml newbie
Posts: 85
Joined: Wed Jun 21, 2006 2:45 pm
Location: Dublin, Ireland
Contact:

Post by will kinsella »

lol! Id love to give that a shot!! I still have my C-64 somewhere :)
Post Reply