Csound Csound-dev Csound-tekno Search About

[Csnd] Csound book examples and samples out of range - bad build/install?

Date2008-01-05 22:16
FromGareth Edwards
Subject[Csnd] Csound book examples and samples out of range - bad build/install?
Hi all,

I'm a Csound newbie diligently working through the Csound book and other 
tutorial resources available and I have a question about a specific example.

I ran example 117.orc/117.sco from Chapter 1, p28 through csound 5.07, 
win32 build with double samples and found a) 109471 samples out of range 
and b) the expected bad noise to go with it.

With a bit of experimentation I found that multiplying the final output 
by 0.07 removes the samples out of range (and that multiplying by 0.08 
does not).

I assume (and this may be a bad assumption) that once upon a version, 
this example ran without clipping so either I've got a bad install or 
something has changed in the opcodes that implement this example since 
the example was created - I'm really just trying to rule out the former. 
Although, if it's the latter, almost 23dB of scaling seems like a pretty 
big shift in operating point to me.

(Since this is my first posting to this list, let me express my 
appreciation to the community for what is obviously a fantastically 
powerful piece of software and also my congratulations on the revamp of 
the website - I'm considering starting a "newbie" blog with the new 
capabilities to help push me along the path to enlightenment....)

Cheers
Gareth