| Nathan Day wrote:
>
> FTERROR, ftable 10: illegal table length
> f 10 0.0052480.00 1.00 "Sound.aif" ...
Well, the problem is just what the warning says. 52480 is an illegal
table length. Tables must be a power of two. The output is just
missing a space between arguments, which might be confusing.
Use table length 32768 or 65536.
BTW, if you manage to pick up Csound 3.53 or later, you can also
use ftsr() to read the sample rate from the ftable:
ibasfrq = ftsr(insnd) / ftlen(insnd)
Good luck,
re
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09486;
16 Sep 99 14:30 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11Rbc2-0003Li-00
for jpff@maths.bath.ac.uk; Thu, 16 Sep 1999 14:30:10 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (OAA16630); Thu, 16 Sep 1999 14:27:32 +0100 (BST)
From: jeschwartz@forrester.com
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 16 Sep 1999 14:27:19 +0100
Received: from mail.Forrester.com [199.171.44.11] by hermes via SMTP (OAA15772); Thu, 16 Sep 1999 14:27:18 +0100 (BST)
Received: by mail.forrester.com(Lotus SMTP MTA v4.6.4 (830.2 3-23-1999)) id 852567EE.0048F980 ; Thu, 16 Sep 1999 09:17:04 -0400
X-Lotus-FromDomain: FORRESTER RESEARCH
To: csound@maths.ex.ac.uk
Message-ID: <852567EE.0048F905.00@mail.forrester.com>
Date: Thu, 16 Sep 1999 09:29:28 -0400
Subject: Hello from a new subscriber
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
As suggested by the welcome email, I'm briefly introducing myself as a new
subscriber.
I'm an (extremely) novice Csound user, but I have been deeply interested in
synthetic and computer music for over 20 years, since I first composed
electronic and concrete music in college in the late 70's (on a Grey Meanie Arp
2600 - which I still own). I've also worked with MIDI quite a lot. Careerwise,
I've been working in the fields of computer graphics and animation for the last
15 years, and now am what you'd call a technology analyst, working in Cambridge
MA.
So far my experience with Csound has been mostly on the PC, but as we recently
bought an iMac at home I will also be using the PowerPC version.
I was curious - does anyone on the list have experience running Csound on one of
the new Athlon (AMD-K7) processors? The floating-point on these processors is
pretty impressive, compared to the PIII.
Looking forward to learning lots through the list.
- Jeremy Schwartz.
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09656;
16 Sep 99 15:36 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11Rceb-0003OF-00
for jpff@maths.bath.ac.uk; Thu, 16 Sep 1999 15:36:53 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA16489); Thu, 16 Sep 1999 15:33:46 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 16 Sep 1999 15:33:34 +0100
Received: from root@pluto.senet.com.au [203.11.90.2] by hermes via ESMTP (PAA16234); Thu, 16 Sep 1999 15:33:30 +0100 (BST)
Received: from [203.56.237.143] (c3-p14.senet.com.au [203.56.237.143])
by pluto.senet.com.au (8.9.3/8.9.1) with ESMTP id AAA15020
for ; Fri, 17 Sep 1999 00:02:55 +0930
Message-Id: <199909161432.AAA15020@pluto.senet.com.au>
X-Mailer: Microsoft Outlook Express Macintosh Edition - 4.5 (0410)
Date: Thu, 16 Sep 1999 23:26:34 +0930
Subject: Re: when 52450 becomes 0.0052480.00
From: Nathan Day
To: Csound Mailing list
Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Ok I worked out you have have to hav len of 2^n, unless for losic
> I tried this (below)straight out of the csound manual, just change
> "Sound.wav" and the length to "Sound.aif" and 52480, and it doesn't work, I
> get this error
>
> FTERROR, ftable 10: illegal table length
> f 10 0.0052480.00 1.00 "Sound.aif" ...
>
> I've tried different text editors, I'm using PPC version 'perf' 3.56 on an
> iMac. I was originally tring it with my own .orc and .sco was getting the
> same errors.
>
>
> ;;;;;;;;;;;;;;; graintest.orc
> instr 1
> insnd = 10
> ibasfrq = 32000 / ftlen(insnd) ; Use original sample rate of insnd file
> kamp expseg 8000, p3/2, 8000, p3/2, 16000
> kpitch line ibasfrq, p3, ibasfrq * .8
> kdens line 600, p3, 200
> kaoff line 0, p3, 5000
> kpoff line 0, p3, ibasfrq * .5
> kgdur line .4, p3, .1
> imaxgdur = .5
> ar grain kamp, kpitch, kdens, kaoff, kpoff, kgdur, insnd, 5, imaxgdur, 0.0
> out ar
> endin
> ;;;;;;;;;;;;;;; graintest.sco
> f5 0 512 20 2 ; Hanning window
> f10 0 52480 1 "Sound.aif" 0 0 0
> i1 0 10
> e
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa09840;
16 Sep 99 16:59 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11Rdw6-0003QO-00
for jpff@maths.bath.ac.uk; Thu, 16 Sep 1999 16:59:02 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (QAA08362); Thu, 16 Sep 1999 16:56:09 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 16 Sep 1999 16:55:56 +0100
Received: from front4.grolier.fr [194.158.96.54] by hermes via ESMTP (QAA06414); Thu, 16 Sep 1999 16:55:55 +0100 (BST)
Received: from club-internet.fr (ppp-106-118.villette.club-internet.fr [194.158.106.118])
by front4.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id RAA03271
for ; Thu, 16 Sep 1999 17:55:47 +0200 (MET DST)
Message-ID: <37E1134A.4928B5A8@club-internet.fr>
Date: Thu, 16 Sep 1999 17:57:01 +0200
From: JM&M DARREMONT
Reply-To: jmdbrady@club-internet.fr
X-Mailer: Mozilla 4.06 (Macintosh; I; PPC)
MIME-Version: 1.0
To: liste CSound
Subject: Re: Rezzy {was:Re: oscil1i problem}
References: <001401befff6$b13daf00$0f9a170c@default>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by exeter.ac.uk id QAA06414
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi,
Here is the working .orc using moogvcf.
It's been changed a bit however from the rezzy version wich used buzz as =
a
sound generator. Here I used vco.
Well, I said that I used the same parameters than with rezzy but of cours=
e as
you pointed out I scaled resonance 1-100 for rezzy and 0-1 for moogvcf.
Actually moogvcf works fine here for my purpose.
By the way, what is the difference musically between rezzy and moogvcf?
Thanks.
Hans Mikelson a =E9crit:
>=20
> Hi,
>=20
> JM&M DARREMONT wrote:
>=20
> >I tried moogvcf instead of rezzy and it works fine with the exact same
> >parameters. And it gives what I wanted.
> >I think rezzy is bugged.
>=20
> I think rezzy does not like having a zero cut-off frequency. Try:
>=20
> f2 0 1025 7 0.0100 102 ...
>=20
> When I tried moogvcf I had to leave the input signal normalized to 1 to=
get
> it to work. Also resonance/Q should be between 0-1 for moogvcf and bet=
ween
> 1 and about 100 for rezzy. You might run into trouble if you try to pu=
sh
> the moogvcf Q value much above 1 or 2.
>=20
> Maybe you could post your working moogvcf code so I could check it out.
>=20
> Bye,
> Hans Mikelson
; Moog.orc
sr=3D44100
kr=3D44100
ksmps=3D1
nchnls=3D1
instr 1
idur=3Dp3
iamp=3Dp4
ifqc=3Dp5
ifco=3Difqc+p6
irez=3Dp7
ienvmod=3Dp8
imodep=3Difco-(p6*ienvmod)
kpw=3Dp9 ;between 0-1
iwave =3D 3 ; Selected wave form 1=3DSaw, 2=3DSquare/PWM, 3=3DTri/Saw-Ram=
p-Mod
isine =3D 1
imaxd =3D 1/ifqc*2 ; Allows pitch bend down of two octaves
;kpw1 oscil .25, ifqc/200, 1
;kpw =3D kpw1 + .5
asig vco 0.8, ifqc, iwave, kpw, isine, imaxd
kfco oscil1i 0, 1,idur,2=20
kfco2 wrap kfco, imodep, ifco
kenv oscil1i 0, iamp, idur,3
kdclick linseg 0, .002, 1, idur-.004, 1, .002, 0
;moogvcf
;;irez =96 amount of resonance(0 to 1).
apulse1 buzz 1,ifqc, sr/2/ifqc, 1 ; Avoid aliasing
=20
; asaw integ apulse1
; axn =3D asaw-.5
ayn moogvcf asig, kfco2, irez
out ayn*kdclick*kenv
endin
;Moog.sco
f1 0 65536 10 1 =20
f2 0 1024 7 0.9740 102 1.0000 51 0.9796 5=
2 =20
0.8366 154 0.4930 153 0.3621 154 0.1764 51
0.1439 52 0.1216 153 0.0631 154 0.0000 =20
f3 0 1024 7 0.0000 51 1.0000 51 0.9803 5=
2 =20
0.8422 154 0.5103 153 0.3839 154 0.2045 51
0.1731 52 0.1516 153 0.0951 154 0.0341 =20
;p1 p2 p3 p4 p5 p6 p7 p8 p9 =20
i1 0.0000 0.1980 20000 41 195.4700 0.9935 0.6111 0=
.1554
=20
i1 0.1990 0.1980 20000 41 4966.7700 0.5293 0.1554 0=
.9437
=20
i1 0.3980 0.1980 20000 41 2650.5100 0.8449 0.9437 0=
.3695
=20
i1 0.5970 0.1980 20000 41 4222.0500 0.6910 0.3695 0=
.8596
=20
i1 0.7960 0.1980 20000 41 3453.8700 0.7627 0.8596 0=
.2839
=20
i1 0.9950 0.1980 20000 41 3817.4400 0.6415 0.2839 0=
.9264
=20
i1 1.1940 0.1980 20000 41 3205.6300 0.2999 0.9264 0=
.6196
=20
i1 1.3930 0.1980 20000 41 1501.1700 0.1499 0.6196 0=
.7773
=20
i1 1.5920 0.1980 20000 41 752.5400 0.0026 0.7773 0=
.4973
=20
i1 1.7910 0.1980 20000 41 15.6400 1.0000 0.4973 0.1079 =20
i1 1.9900 0.1980 20000 41 5000.0000 0.4902 0.1079 0=
.9753
=20
i1 2.1890 0.1980 20000 41 2451.1300 0.8592 0.9753 0=
.5540
=20
i1 2.3880 0.1980 20000 41 4296.3300 0.6806 0.5540 0=
.8038
=20
i1 2.5870 0.1980 20000 41 3403.0500 0.7692 0.8038 0=
.4608
=20
i1 2.7860 0.1980 20000 41 3844.8000 0.6415 0.4608 0=
.2132
=20
e
--=20
Jean-Michel DARREMONT
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10553;
16 Sep 99 22:57 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11RjWW-0003Xk-00
for jpff@maths.bath.ac.uk; Thu, 16 Sep 1999 22:57:00 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (WAA05153); Thu, 16 Sep 1999 22:54:03 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 16 Sep 1999 22:53:51 +0100
Received: from dns2.seanet.com [199.181.164.2] by hermes via ESMTP (WAA02444); Thu, 16 Sep 1999 22:53:50 +0100 (BST)
Received: from seanet.com (cy16.dialup.seanet.com [207.12.136.16]) by mx.seanet.com (8.9.3/Seanet-8.7.3) with ESMTP id OAA27179; Thu, 16 Sep 1999 14:53:36 -0700 (PDT)
Message-ID: <37E16883.9D3D1FDF@seanet.com>
Date: Thu, 16 Sep 1999 15:00:35 -0700
From: Sean Costello
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: Richard Dobson
CC: Csound List
Subject: Re: Better link //Re: Have you guys checked out this site?
References: <37E08C09.F6BB02B@earthlink.net> <37E0C24A.21780E69@hem.passagen.se> <37E16193.553401E2@cableinet.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Richard Dobson wrote:
> There is also the admonition:
>
> "
> It is a free software. However, You can not make a SAMPLE CD, or SAMPLE
> CD-ROM with this compiled sound. It is prohibited. You have to discuss
> to sound designer who makes a original Csound orchestra file such as Dr.
> Richard Boulanger and me.
>
> "
>
> I have not come across this particular restriction with Csound before. A
> Sample CD is not something I have any interest in making, but I can
> imagine there are plenty that might want to do such a thing.
I think that this is referring to compiling specific orchestras - i.e. you are
not allowed to download Dr. Richard Boulanger's .orc and .sco files, compile
these, and put the resulting sound on a sample CD. I doubt that they are trying
to keep you from putting your own work on a sample CD.
Of course, I could be wrong...
Sean Costello
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa10655;
17 Sep 99 0:15 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11Rkkv-0003bf-00
for jpff@maths.bath.ac.uk; Fri, 17 Sep 1999 00:15:57 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (AAA08460); Fri, 17 Sep 1999 00:09:41 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 17 Sep 1999 00:09:31 +0100
Received: from howl.werewolf.net [12.23.152.10] by hermes via ESMTP (AAA08979); Fri, 17 Sep 1999 00:09:29 +0100 (BST)
Received: from default (dial38.werewolf.net [12.23.153.38])
by howl.werewolf.net (8.9.0/8.9.0) with SMTP id SAA06710
for ; Thu, 16 Sep 1999 18:02:27 -0500 (CDT)
Message-ID: <001a01bf0099$8fb0fb00$2699170c@default>
From: Hans Mikelson
To: liste CSound
Subject: Re: Rezzy {was:Re: oscil1i problem}
Date: Thu, 16 Sep 1999 18:16:51 -0500
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>By the way, what is the difference musically between rezzy and moogvcf?
Rezzy is two-pole and moogvcf is four-pole, rezzy has a little coarser
character and moogvcf has a smoother self oscillation, moogvcf has a built
in band limited limiter (a cubic) which causes the filter to blow up if the
signal is not between -1 and 1 in amplitude, rezzy was played with
empirically until it tended not to blow up any more, rezzy has a high pass
mode. I usually try both of them and see which one sounds better.
Bye,
Hans Mikelson
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11524;
17 Sep 99 11:07 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11Ruvp-0003tI-00
for jpff@maths.bath.ac.uk; Fri, 17 Sep 1999 11:07:54 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (KAA13687); Fri, 17 Sep 1999 10:58:49 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 17 Sep 1999 10:58:36 +0100
Received: from saba.wwa.com [198.49.174.36] by hermes via ESMTP (KAA12491); Fri, 17 Sep 1999 10:58:35 +0100 (BST)
Received: from [157.238.67.23] (157-238-67-023.il.verio.net [157.238.67.23])
by saba.wwa.com (8.9.0/8.9.0) with SMTP id EAA26399
for ; Fri, 17 Sep 1999 04:58:33 -0500 (CDT)
Message-Id: <199909170958.EAA26399@saba.wwa.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 17 Sep 1999 05:04:25 -0600
To: csound
From: "17.hzV.tRL.478"
Subject: Re: lowpass
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
>Could someone answer me this?
probabil!
>Will this alter the quality of a 44100 sound (asig0..):
>
>asig1 butterlp asig0, 22050 ?
da + da - nu!
>Thanks!
unde este strada k.
afara ploua. c=EEt costa 1 ceasca de cafea.
partidul communist roman. da da da.
d!ktz!onar german-roman.
>Have a nice day, Orc-ers!
la revedere +?
>Radu Grigorovici
elena lodi
|=7F|
|abs| - krvava gruda-plodna zemlja
|=7F|
punKtproTokol[4'7c m9ndfukc.macht.fre! < http://m9ndfukc.com
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11613;
17 Sep 99 12:14 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11Rvxn-0003ug-00
for jpff@maths.bath.ac.uk; Fri, 17 Sep 1999 12:13:59 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (MAA11565); Fri, 17 Sep 1999 12:06:27 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 17 Sep 1999 12:06:14 +0100
Received: from mail1.gmx.net [194.221.183.61] by hermes via SMTP (MAA06891); Fri, 17 Sep 1999 12:06:12 +0100 (BST)
Received: (qmail 28327 invoked by uid 0); 17 Sep 1999 11:02:54 -0000
Received: from md4690970.utfors.se (HELO ?212.105.9.112?) (212.105.9.112)
by mail1.gmx.net with SMTP; 17 Sep 1999 11:02:54 -0000
X-Sender: 1852843@pop.gmx.net
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 16 Sep 1999 16:51:28 +0100
To: Csound list
From: Lars Luthman
Subject: Global variables in conditional statements
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I think I have found a bug... I'm using the PPC 3.56 version.
I have a global k-rate variable that should have different values depending
on the value of another global k-rate variable. I tried using ( ? : ), but
got two strange error messages:
error: input arg '' used before defined, line 21:
gkSpeed = (gkIsChanging == 0 ? kSldToNorm : gkSpeed)
error: input arg '' of type ? not allowed, line 21:
gkSpeed = (gkIsChanging == 0 ? kSldToNorm : gkSpeed)
I tried using an if ... goto statement, but I got the same errors. Then I
copied the value of the global variable into a "normal" k-rate variable.
And now it worked!
Doesn't any global variables work in conditional statements? Maybe it's not
a bug, but I didn't find anything about it in the manual.
Here is the code if you want to see it:
This one doesn't work...
instr 1
iNorm = p4
iSlide init 5/kr
; Slide to normal speed if gkIsChanging != 1
kSldToNorm = (abs(gkSpeed-iNorm) < iSlide ? iNorm :
gkSpeed-iSlide*(gkSpeed-iNorm)/abs(gkSpeed-iNorm))
gkSpeed = (gkIsChanging == 0 ? kSldToNorm : gkSpeed)
; Get the data from the file...
aOut diskin "vivaldi.aiff", gkSpeed, 0, 1, 4
; ...and reset gkIsChanging
gkIsChanging = 0
out aOut
endin
...but this one does.
instr 1
iNorm = p4
iSlide init 5/kr
kIsChanging = gkIsChanging
; Slide to normal speed if gkIsChanging != 1
kSldToNorm = (abs(gkSpeed-iNorm) < iSlide ? iNorm :
gkSpeed-iSlide*(gkSpeed-iNorm)/abs(gkSpeed-iNorm))
gkSpeed = (kIsChanging == 0 ? kSldToNorm : gkSpeed)
; Get the data from the file...
aOut diskin "vivaldi.aiff", gkSpeed, 0, 1, 4
; ...and reset gkIsChanging
gkIsChanging = 0
out aOut
endin
--ll
|