Csound Csound-dev Csound-tekno Search About

FOF

Date1997-12-26 20:49
FromAraoz
SubjectFOF
When I get perf error: "FOF needs more overlaps" Csound is lock up,the
computer freeze and I must restart. Anyone know why?
I work with Csound 0.3.1b0 and and perf 3.47 under Mac OS 8


-- 
Ricardo NILLNI
nillni@mail3.imaginet.fr  
rnillni@usa.net



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14487;
          27 Dec 97 2:28 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa25284;
          27 Dec 97 2:28 GMT
Received: (qmail 15133 invoked from network); 27 Dec 1997 02:28:34 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 27 Dec 1997 02:28:34 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA15742); Sat, 27 Dec 1997 02:22:23 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Sat, 27 Dec 97 02:22:05 GMT
Received: from mtigwc04.worldnet.att.net [204.127.131.33] by hermes via ESMTP (CAA13455); Sat, 27 Dec 1997 02:21:58 GMT
Received: from LOCALNAME ([12.66.32.222]) by mtigwc04.worldnet.att.net
          (post.office MTA v2.0 0613 ) with SMTP id AAA6576;
          Sat, 27 Dec 1997 02:24:55 +0000
X-Sender: Sad.Planet@postoffice.worldnet.att.net
X-Mailer: Windows Eudora Light Version 1.5.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Araoz 
From: Roger King 
Subject: Re: FOF
Cc: csound@maths.ex.ac.uk
Date: Sat, 27 Dec 1997 02:24:55 +0000
Message-Id: <19971227022453.AAA6576@LOCALNAME>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

The "FOF needs more overlaps" error refers to the iolaps in the FOF line:

ar fof  xamp,xfund,xform,koct,kband,kris,kdur,kdec,IOLAPS,ifna,ifnb,itotdur

There is alot of data that has to have lots of temporary storage space.
If you're getting this error, try increasing the number of iolaps. Don't
be affraid to try numbers that seem rediculously large.  

At 08:49 PM 12/26/97 +0000, you (Ricardo NILLNI) wrote:
>When I get perf error: "FOF needs more overlaps" Csound is lock up,the
>computer freeze and I must restart. 

In the example .orc code below, the fof iolap value has been set at 57.
This .orc file was created algorithmically by a program I wrote that
generates .orc files.  The value "57" worked when I compiled, but may
not be enough for other's systems.  Try to compile the .orc and .sco
and see if 57 is a big enough value. The fun is in the journey...

;------------- cut paste compile edit compile listen ---
;recursively constructed quartet
sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

instr          1 

kamp1 line  p5, p3, 0
kamp2 line  p5*0.35,p3,0
kamp3 envlpx p5, 0.02, p3/2, 0.03,3,1,.01,-0.5

a1 pluck  kamp1, cpspch(p4), cpspch(p4)*.95,7,1
a2  fof kamp2,cpspch(p4),50,0,.4,.003,.02,.007,57,1,3,p3

;a3 loscil 1, cpspch(p4), 11, 440, 0

outs a1,a2

endin

instr          2 

kamp1 line  p5, p3, 0
kamp2 line  p5*0.35,p3,0
kamp3 envlpx p5, 0.02, p3/2, 0.03,3,1,.01,-0.5

a1 pluck  kamp1, cpspch(p4), cpspch(p4)*1.05,7,2,3
a2 oscil kamp2, cpspch(p4), 1

;a3 loscil 1, cpspch(p4), 11, 440, 0

outs a2,a1

endin

instr          3 

kamp1 line  p5, p3, 0
kamp2 line  p5*0.35,p3,0
kamp3 envlpx p5, 0.02, p3/2, 0.03,3,1,.01,-0.5

a1 pluck  kamp1, cpspch(p4), cpspch(p4)*.95,8,2,3
a2 oscil kamp2, cpspch(p4), 1

;a3 loscil 1, cpspch(p4), 11, 440, 0

outs a1,a2

endin

instr          4 

kamp1 line  p5, p3, 0
kamp2 line  p5*0.35,p3,0
kamp3 envlpx p5, 0.02, p3/2, 0.03,3,1,.01,-0.5

a1 pluck  kamp1, cpspch(p4), cpspch(p4)*1.05,1,2,3
a2 oscil kamp2, cpspch(p4), 1

;a3 loscil 1, cpspch(p4), 11, 440, 0

outs a2,a1

endin

; .sco file code for testing the quartet
;------- algorithmic furniture music ---------------
; Sine Wave
f1 0 512 10 10 6 3 5 3 5 4 3 1 2 1
; Ramp
f2 0 513  7 0 512 0 
; Exponential Rise Shape
f3 0 513  5 .001 512 1
; Quarter Sine in 8192 Locations + Guard Point
f4 0 8193  9 0.25 1 0 
; Quarter Cosine Wave
f5 0 8193  9 0.25 1 90 
; Triangle Wave
f6 0 512  10 1 0 .111 0 .04 0 .02 0 .012
; Sawtooth Wave
f7 0 512  10 1 .5  .3  .25 .2  .167 .14 .125 .111
; Square Wave
f8 0 512  10 1  0  .3  0  .2  0  .14  0  .111
; Narrow Pulse Wave
f9 0 512  10 1  1  1  1  .7  .5  .3  .1 
; Exponential Rise and Decay
f10 0 513  5 .1   32   1   480   .01 
; loscil    
;f11  0  0  -1  c:\csound\a.wav  0  4  0
t  0          35
   
i1 1.5    1.5    6  0 
i1 0.5    1.5    6  8000 
i1 0.75   1.25   6  8000 
i1  3     6      5  9000 
i1  1.67  2.33   5  8000 
i1   3.67 1.33   5  8000 
i1  4.94  1.06   5  8000 
i1  5.5   1.5    6  9000 
i1  5   3     6     8000 
i1  6   3     5     8000 
i1  8   2     5     8000 
i1  7   4     5     9000 
i1 10   2     6     8000 
i2 2.33 2.33  7.11  8000         

i2 6    1.06  7.04  8000         

i2 1    1     7.07  8000         

i2 1.67 1.33  7.02  9000         

i2 2.25 1.75  7.11  8000         

i2 2.67 2.33  6.1   8000         

i2 3.67 2.33  6.07  8000         

i2 5.25 1.75  7.05  9000         

i2 5    3     7.06  8000         

i2 3    6     6.09  8000         

i2 6    4     7.1   8000         

i2 5    6     7.1   9000         

i3 8    8     7.02  8000         

i3 0.75 1.75  8     8000         

i3 0.75 1.25  7.04  8000         

i3 1    4     8.04  9000         

i3 1    3     7.11  8000         

i3 3.94 1.06  8     8000         

i3 4.67 1.33  7.02  8000         

i3 5.67 1.33  7.04  9000         

i3 0    8     8.07  8000         

i3 7.5  1.5   7     8000         

i3 8.88 1.12  7.11  8000         

i3 8    3     8.05  9000         

i4 1.33 1.33  8.1   8000         

i4 6    1.06  8.07  8000         

i4 6    8     8     8000         

i4 1.25 1.75  9.02  9000         

i4 2.75 1.25  8.1   8000         

i4 3    8     9.09  8000         

i4 4    2     9     8000         

i4 4    3     9.11  9000         

i4 5.67 2.33  9.06  8000         

i4 6    3     9.06  8000         

i4 4    6     9.07  8000         

i4 8.67 2.33  9     9000         

i4 9    3     9.11  8000         









Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14689;
          27 Dec 97 4:53 GMT
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa02333;
          27 Dec 97 4:53 GMT
Received: (qmail 1809 invoked from network); 26 Dec 1997 19:53:08 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 26 Dec 1997 19:53:08 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA19153); Fri, 26 Dec 1997 19:45:33 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Fri, 26 Dec 97 19:45:15 GMT
Received: from [193.121.99.70] by hermes via ESMTP (TAA21618); Fri, 26 Dec 1997 19:45:02 GMT
Received: from nobody ([193.74.7.175]) by hurricane.netgate.be
          (post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAB316
          for ; Fri, 26 Dec 1997 20:51:47 +0100
From: David Schuyeteneer 
To: csound mailing list 
Subject: realtime in DOS
Date: Fri, 26 Dec 1997 20:48:01 +0100
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <19971226195143449.AAB316@nobody>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

sorry, but when I execute csound with -o devaudio,
just NOTHING happens...how can I run csound in realtime ???


david.