Csound Csound-dev Csound-tekno Search About

Re: [Csnd] diskin volume

Date1999-11-16 10:38
FromRichard Bowers
SubjectRe: [Csnd] diskin volume
There is no control over volume within the opcode. You need to multiply the
output by some value(s) to control this.

eg.:

instr    n
aleft, aright    diskin    "file", etc etc. ; access the sound file
kvol    lineseg    0, .1, p3-.2, 1, .1, 0 ; produce an envelope
outs    aleft*kvol, aright*kvol    ; and apply to output
endin

Hope that helps. Remember that the value could be anything from a constant
like 0.5 (halving the output) to a k- or a--rate variable.

Cheers,
Richard.


>I was wondering if anyone could tell me how volume can be manipulated in
>the context of the "diskin" function.

> Mark




--