Csound Csound-dev Csound-tekno Search About

[Cs-dev] pvscale opcode

Date2007-09-24 19:37
Fromroot
Subject[Cs-dev] pvscale opcode
I am having problems with getting it to do anything.  Can anyone
explain the error in


sr     = 44100
ksmps  = 10
nchnls = 1

instr 4
       km      oscil    1.1, 10, 1
       asig    oscili   16000, 440, 1
       fsig    pvsanal  asig,1024,256,1024,1
       fs      pvscale  fsig, km
       aclean  pvsynth  fs
               out      aclean
endin


f1 0 4096 10 1
i4 0 3
e



I expected a cosine wave with varying frequency but I get a warbling
sound hardly related.  Over parameters have given noise bursts and
other warbling stuff.
==John ffitch

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-09-24 21:28
FromRichard Dobson
SubjectRe: [Cs-dev] pvscale opcode
The other gotcha is that to make a +-1 octave vibrato, say, the control 
value has to range quasi-symmetrically between 0.5 and 2, with 1 the 
midpoint. So some arithmetic required.

Richard Dobson


root wrote:
> I am having problems with getting it to do anything.  Can anyone
> explain the error in
> 
> 
> sr     = 44100
> ksmps  = 10
> nchnls = 1
> 
> instr 4
>        km      oscil    1.1, 10, 1
>        asig    oscili   16000, 440, 1
>        fsig    pvsanal  asig,1024,256,1024,1
>        fs      pvscale  fsig, km
>        aclean  pvsynth  fs
>                out      aclean
> endin
> 
> 
> f1 0 4096 10 1
> i4 0 3
> e
> 
> 
> 
> I expected a cosine wave with varying frequency but I get a warbling
> sound hardly related.  Over parameters have given noise bursts and
> other warbling stuff.
> ==John ffitch
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net