Csound Csound-dev Csound-tekno Search About

[Csnd] question concerning buzz

Date2014-06-02 20:47
FromStefan Thomas
Subject[Csnd] question concerning buzz
Dear community,
there's something with buzz that I don't understand:
I've read in the manual:
knh -- total number of harmonics requested. New in Csound version 3.57, knh defaults to one. If knh is negative, the absolute value is used.
I don't understand the meaning of "the absolute value".
In the following example I can't hear any difference between a positive or negative value for p6.
instr 1   
    ipitch            =     p4
    iamp            =      p5
    inumpartials    =     p6
    asig     buzz iamp,ipitch,inumpartials,gisine
    outs    asig,asig
endin




Date2014-06-02 20:54
Frommskala@ansuz.sooke.bc.ca
SubjectRe: [Csnd] question concerning buzz
On Mon, 2 Jun 2014, Stefan Thomas wrote:
> knh -- total number of harmonics requested. New in Csound version 3.57, knh
> defaults to one. If knh is negative, the absolute value is used.
> I don't understand the meaning of "the absolute value".
> In the following example I can't hear any difference between a positive or
> negative value for p6.

The absolute value of a negative number is the corresponding positive
number.  For instance, the absolute value of -5 is 5.  So if you don't
hear a difference between -5 and 5, that's to be expected.

-- 
Matthew Skala
mskala@ansuz.sooke.bc.ca                 People before principles.
http://ansuz.sooke.bc.ca/