Csound Csound-dev Csound-tekno Search About

Re: table and phasor

Date1999-07-22 17:56
FromMichael Rhoades
SubjectRe: table and phasor
Hi Dan,

   First of all, I really enjoyed your composition at the Csound workshop,
keep up the great work!

When I looked at your .orc the first thought that came to my mind was, have
you played with the decay on your kenv?? It's pretty short. I wonder if you
could get the decay to start just before the sample is finished sounding if
that would eliminate the click.
At any rate, it's great to be able to associate a face with the name, and,
good luck.

Michael Rhoades

http://www.innerlightpub.com/rhoadsmith
----- Original Message -----
From: Daniel Nass 
To: Matt J. Ingalls 
Cc: 
Sent: Wednesday, July 21, 1999 10:40 PM
Subject: Re: table and phasor


> Thanks for you reply, Matt.  Unfortunately, I'm still a little
thick-headed.
>
> I am making sure the table size is greater than that of the file  (there
> are 106752 samples in the file, so my table size should be 131072,
right?).
>  The only way I seem to be able to avoid this problem is to add silence so
> that the length of the file is EXACTLY 131072 samples in the file, even if
> the last 25000 or so are only silence.  It also seems that it puts the
huge
> clip at the exact point the original soundfile ends.
>
> Let me try to explain better.  My original file that I'm calling in with
> GEN01 is 106752 samples long.  The resultant file, after using table and
> GEN 01 to call in the file is 131072 samples long with a huge SNAP at
> 106752.  This happens with just about any sample I try and use, unless the
> sample's length is close to a power of 2.  Sorry if this doesn't make
sense
> but let me know if you have any other advice.
>
> Thanks again,
>
> Dan
>
>
> P.S.  Here is the orc and sco that I'm using:
>
> ;ORCHESTRA
> sr=44100
> kr=4410
> ksmps=10
> nchnls=1
>
> instr 1
> kenv linen 20000, .01, p3, .01
> aph phasor 1/p3
> a1 table aph, 1, 1
> a1 = a1    *   kenv
> out a1
>
> endin
>
>
>
> ;SCORE
> f1 0 131072    1 5 0 4 1
>
> i1 0 2.972
>
> *************************************************************
>
> Daniel Nass http://cctr.umkc.edu/~dnass/
>
> "Wherever we are, what we hear is mostly noise.
> When we ignore it, it disturbs us. When we listen
> to it, we find it fascinating."
>
>                                             John Cage (1961)
>
> *************************************************************
>