Csound Csound-dev Csound-tekno Search About

Re: loscil/Csound Book/

Date1999-06-21 10:05
FromJim Smitherman
SubjectRe: loscil/Csound Book/
At the very least, the text of the chapter needs editing to include the
correct information.  The example as printed was, simply put, incorrect.
There is nothing more disheartening than to carefully follow an instruction
in such a complex study as csound, then have it not work, and this
immediately at the start!  I realize mistakes creep into texts, this one
needs fixing, I think.

Also, I would suggest, after having just worked through the second set of
etudes, that more discussion of the Function tables would be in order, since
in the etude2 examples, there are none given of F statements; only new instr
designs that relate to using p fields to control the sound, rather than
setting basic parameters in the orc.  It seemed reasonable to go back and
use the function tables from the first set (though, not all of them
certainly), but this still was educated guesswork, and took some doing.
Perhaps now I understand function tables the better for having gone through
it all again in the manual, but still it seems a lack in the text itself not
to relate the new designs to the old f tables, at least in some passing way.
Having worked through all the original tutorials some years ago, and as an
obsessive compiler of other peoples files, I'm not a total virgin and this
helped; yet how is one to understand who has never done any kind of csound
work . . . as this initial chapter should assume would be the case?

still, I look forward to the book itself.

----- Original Message -----
From: Richard Dobson 
To: Csound list 
Sent: Sunday, June 20, 1999 6:24 PM
Subject: Re: loscil/Csound Book/


> I feel compelled to say, reading this, that I think the specification of
> the opcode is a little flawed, in that it requires the user to know, or
> take the trouble to find out, if a base frequency is contained in the
> header. Possibly a majority of files don't carry this information. Given
> the solution suggested, can't the opcode be revised to take the already
> used kcps argument as the default, unless overridden?
>
> Richard Dobson
>
> rasmus ekman wrote:
> >
> > Jim Smitherman wrote:
> > >
> > > I'm having trouble with Dr Boulangers' instr 106
> >
> > 
> > > a1 loscil 10000, 440, 4
> > 
> >
> > > I generated a 3 second 44.1 mono wav file at A 440 using Cool Edit,
> > > in the compilation, I get the error:
> > > INIT ERROR in instr 106: no legal base frequency
> >
> > Excerpts from LOSCIL entry of Csound manual:
> > ar1 [,ar2]      loscil  xamp, kcps, ifn[, ibas] [,imod1,ibeg1,iend1] [,
imod2,ibeg2,iend2]
> >
> > ibas (optional) - base frequency in cps of the recorded sound.
> > This optionally overrides the frequency given in the AIFF file,
> > but is required if the file did not contain one.
> > The default value is 0 (no override).
> >
> > End excerpt.
> >
> > So, an extra argument like this:
> >
> >     a1 loscil 10000, 440, 4, 440
> >
> > should make it work.
> >
>
>
> --
> Test your DAW with my Soundcard Attrition Page!
> http://wkweb5.cableinet.co.uk/rwd (LU: 19th May 1999)
> CDP: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm (LU: 14th June 1999)