-W -o out.wav
Content-Type: text/plain; charset=ISO-8859-1
It was the function table that was missing. Both 15000 and 44100 work
On Fri, Mar 23, 2012 at 10:52 PM, Julien Claassen wrote:
> Hi Rustom!
I asked here after no answer there. Is there another list?
Content-Type: text/html; charset=ISO-8859-1
Thanks JulienIt was the function table that was missing.=A0 Both 15000 =
and 44100 workOn Fri, Mar 23, 2012 at 10=
:52 PM, Julien Claassen <firstname.lastname@example.org> wrote:
=A0First your iamp at 44100 is rather high. Try 15000 or anything up to 32=
768. Or investigate the 0dbfs header statement for giving volume in DB.
=A0How did you call csound? With that file, youshould do:
csound -W -o out.wav test.csd (or whatever you call your file). Better stil=
l, put something like this in the CsOptions block:
-W -o out.wav
=A0This will generate an out.wav fie.
=A0The essential thing, which is still missing, is the ftable, to hold the=
sinewav, that the oscil opcode (a simple oscillator) will output. It doesn=
't hold its own waveform, but read it from a function table. So in the =
CsScore section start with:
f1 0 32768 10 1 ; ftable 1, don't know the second, but it's almost =
always 0 :-), the third is the number of entries, the quality or resolution=
of your waveform (32768 points to form a single sinewave, 10 is the number=
of the function generator, which in this case is a sine generator and 1 is=
its first parameter. Says: Create the first harmonic, or whatever. You can=
look those up in the csound manual as well. Probably search for gen01 to s=
ee, where the list starts. GEN 9, 10 and 19 are the ones for sinewaves, if =
I'm not mistaken. But this one is the easiest.
=A0If that doesn't help, we can see about it off-list, since then it m=
ight get really specific to your subject. :-) You're welcome to send me=
CSD-files or if you really get interested in csound as a tool, which is go=
od for teaching all sorts of music related stuff, you might subscribe to th=
e csound user's list.
Well I f=
irst subscribed=A0 to the list at csounds.=A0 My question is herehttp://www.csounds.com/forum/2=
I asked here after no answer there.=A0 Is there another list?=
=A0 =A0 =A0 =A0 =A0Julien
Thanks again JulienRusi