Csound Csound-dev Csound-tekno Search About

natural granular fadein?

Date1997-11-11 20:16
Frompete moss
Subjectnatural granular fadein?
hey guys (and any gals i dont know)

recently i used this instrument in a composition.  i needed a rather
long tibetan monk drone.  so i ripped 65536 samples of a monk off of one
of my beastie boys cds.  i have three questions: 1) why did i get this
warning?
--------------------
ftable 1:
audio sr = 44100, monaural
WARNING: GEN01: aiff file truncated by ftable size
 audio samps 65536 exceeds ftsize 65536
non-deferred ftable 1 needs size 65536
--------------------
afaik, 65536=65536, at least on this planet.  why does it say that the
ftable size is exceeded?

2) if i dont concern myself with the various envelopes that i put in,
and just use the grain opcode, then a sort of natural fadein effect
occcurs.  it is not of my doing.  why is it there?  i have no inherent
random variation of the amp.  i cant figure out why the sound seems to
fade in up to amp on the initial attack.

3)also, the value .69 in the grain fields is the base frequency of the
sound.  i chose .69 because it sounded best, but if i change the value
to 1 it sounds significantly higher.  a value of say 2000 gives a very
high squeaky sound.  what does the freq value pertain to in the case of
a sampled sound with its own freq?


f1 0 65536 1 "newmonk.wav" 0 0 1
i2     20     279   .005  3750  9375

instr 2  ;monk drone
   idec = p4
   kden linseg 2, 29.96, 15, 230.16, 15, 19.88, 2
   kamp line   p5, p3, p6
   kenv linen  kamp, idec*p3, p3, idec*p3
   a1   grain  kenv, .69, kden, 0, 0,1, 1, 2, 1
   k2   linseg 1, p3/5, 0, p3/5, 1, p3/5, 0, p3/5, 1, p3/5, 0
        outs   a1*sqrt(k2), a1*sqrt(1-k2)
endin


thanks all
pete




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa07386;
          12 Nov 97 10:55 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa00313;
          12 Nov 97 10:55 GMT
Received: (qmail 2084 invoked from network); 12 Nov 1997 10:55:03 -0000
Received: from hermes.ex.ac.uk (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 12 Nov 1997 10:55:03 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (KAA17324); Wed, 12 Nov 1997 10:42:22 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Wed, 12 Nov 97 10:41:21 GMT
Received: from bbs.doruk.com.tr [195.174.34.127] by hermes via SMTP (KAA21177); Wed, 12 Nov 1997 10:41:02 GMT
From: omni 
To: csound@maths.ex.ac.uk
Subject: FIR comb filter
Date: Wed, 12 Nov 97 12:06:30
Comment: Turkce karekter filtresinden gecirildi.
Content-Type: text/plain; charset="us-ascii"
Message-Id:  <9711121223.aa10370@bbs.doruk.com.tr>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hello everybody,


Could someone tell me why this simple comb filter instrument does crash during

compiling it?

Thanks,

Sinan Boekesoy

;comb.orc
sr = 44100
kr  = 4410
ksmps= 10
nchnls = 1

instr 1

ksig   linseg    .01,p3/2,004,p3/2,.01

a1 randi 16000,15000
ar delayr.1
delayw a1
a2 deltap ksig
a3 = a1 + a2
out a3
endin

;comb.sco
i1 0 10
e*