| Hi!
I'm not expert of c++ language but I'm interesting to
learn it to use CSCORE utility. So now I have a C
compiler (Borland c++ 3.1) and I'm looking at the
examples included in the csound help.
For example this:
#include
main()
{
struct event *e,**f; /* declarations. see
pp.8-9 in the */
struct evlist *a,*b; /* C language
programming manual */
int n;
a = lget(); /* read score into event
list "a" */
b = lsepf(a); /* separate f statements
*/
lput(b); /* write f statements out
to score */
lrelev(b); /* and release the spaces
used */
e = defev("t 0 120"); /* define event for tempo
statement */
putev(e); /* write tempo statement
to score */
lput(a); /* write the notes */
putstr("s"); /* section end */
putev(e); /* write tempo statement
again */
b = lcopyev(a); /* make a copy of the
notes in "a" */
n = lcount(b); /* and count the number
copied */
f = &a->e[1];
while (n--) /* iterate the following
line n times: */
(*f++)->p[5] *= .5; /* transpose pitch down
one octave */
a = lcat(b,a); /* now add these notes to
original pitches */
lput(a);
putstr("e");
}
So when I try to compile it I receive these errors
message:
-Error..\INCLUDE\TEST.TXT 1:Unable to open include
file 'CSOUND/CSCORE.H'
-Fatal..\INCLUDE\TEST.TXT 2:Unable to create output
file C:\bc31\c\test.obj
I also put cscore.h in the include folder, as it was
advice but of course there must be other problems...
Before I was using microsoft quick basic for my score,
but I would like to learn about c++. I have to studied
it, of course, but can someone help me for the
begginig and explain me what is the problem in that
example?
Thanks!
Greetings!
Roberto
=====
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28413;
9 Oct 99 16:25 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11ZxPG-0002T8-00
for jpff@maths.bath.ac.uk; Sat, 9 Oct 1999 15:23:30 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (QAA237243); Sat, 9 Oct 1999 16:22:19 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Oct 1999 16:22:02 +0100
Received: from cpimssmtpu02.email.msn.com [207.46.181.18] by hermes via ESMTP (QAA239365); Sat, 9 Oct 1999 16:22:00 +0100 (BST)
Received: from ezhuuvqo - 63.26.131.68 by email.msn.com with Microsoft SMTPSVC;
Sat, 9 Oct 1999 08:21:34 -0700
Message-ID: <001901bf127c$b3f84460$44831a3f@ezhuuvqo>
From: Liduino Oliveira
To: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: 8193
Date: Sat, 9 Oct 1999 10:35:37 -0700
Organization: Microsoft Corporation
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
The bell instrument in the Amsterdan Catalogue is not the same on Dodge's
book (Risset). Looking the orc and sco files below I cannot understand why
the size of f2 MUST BE 8193. If this value has the same size of the sample
table the result is a multitude of bells. I also did not find anything, in
the csound manual, about oscil1 that could justify this value.
orc (basic algorithm).
kenv1 oscil1 0, iamp1, idur1, if2
asig1 oscil kenv1, ifreq1, if1.
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28424;
9 Oct 99 16:32 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11ZyTj-0004d9-00
for jpff@maths.bath.ac.uk; Sat, 9 Oct 1999 16:32:11 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (QAA238214); Sat, 9 Oct 1999 16:28:46 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Oct 1999 16:28:33 +0100
Received: from cpimssmtpu02.email.msn.com [207.46.181.18] by hermes via ESMTP (QAA234843); Sat, 9 Oct 1999 16:28:32 +0100 (BST)
Received: from ezhuuvqo - 63.26.131.68 by email.msn.com with Microsoft SMTPSVC;
Sat, 9 Oct 1999 08:28:05 -0700
Message-ID: <003301bf127d$9d3b89c0$44831a3f@ezhuuvqo>
From: Liduino Oliveira
To: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: 8193
Date: Sat, 9 Oct 1999 10:42:09 -0700
Organization: Microsoft Corporation
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
The bell instrument in the Amsterdan Catalogue is not the same on Dodge's
book (Risset). Looking the orc and sco file below I cannot understand why
the size of f2 MUST BE 8193. If this value has the same size of the sample
table the result is a multitude of bells. I also did not find anything, in
the csound manual, about oscil1 that could justify this value.
orc (basic algorithm).
kenv1 oscil1 0, iamp1, idur1, if2
asig1 oscil kenv1, ifreq1, if1.
sco
f1 0 8192 1 ;sine wave
f2 0 8193 5 1 8192 .01
Thanks
Liduino
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28524;
9 Oct 99 17:31 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11ZyQV-0002Tn-00
for jpff@maths.bath.ac.uk; Sat, 9 Oct 1999 16:28:51 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (RAA230732); Sat, 9 Oct 1999 17:27:03 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Oct 1999 17:26:52 +0100
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (RAA243240); Sat, 9 Oct 1999 17:26:50 +0100 (BST)
Received: from agora.stm.it (rm1-975.tiscalinet.it [212.123.81.87]) by agora.stm.it (8.9.2/8.8.5) with ESMTP id SAA12952; Sat, 9 Oct 1999 18:26:41 +0200 (ITADST)
Message-ID: <37FF6EDC.59D83FE6@agora.stm.it>
Date: Sat, 09 Oct 1999 18:35:40 +0200
From: Gabriel Maldonado
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: roberto zanata
CC: csound@maths.ex.ac.uk
Subject: Re: Help for cscore!
References: <19991009152419.14216.rocketmail@web601.yahoomail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Probably you have to replace the with
"csound/cscore.h"
--
Gabriel Maldonado
http://web.tiscalinet.it/G-Maldonado
roberto zanata wrote:
>
> Hi!
> I'm not expert of c++ language but I'm interesting to
> learn it to use CSCORE utility. So now I have a C
> compiler (Borland c++ 3.1) and I'm looking at the
> examples included in the csound help.
> For example this:
> #include
> main()
> {
> struct event *e,**f; /* declarations. see
> pp.8-9 in the */
> struct evlist *a,*b; /* C language
> programming manual */
> int n;
>
> a = lget(); /* read score into event
> list "a" */
> b = lsepf(a); /* separate f statements
> */
> lput(b); /* write f statements out
> to score */
> lrelev(b); /* and release the spaces
> used */
> e = defev("t 0 120"); /* define event for tempo
> statement */
> putev(e); /* write tempo statement
> to score */
> lput(a); /* write the notes */
>
> putstr("s"); /* section end */
> putev(e); /* write tempo statement
> again */
> b = lcopyev(a); /* make a copy of the
> notes in "a" */
> n = lcount(b); /* and count the number
> copied */
> f = &a->e[1];
> while (n--) /* iterate the following
> line n times: */
> (*f++)->p[5] *= .5; /* transpose pitch down
> one octave */
> a = lcat(b,a); /* now add these notes to
> original pitches */
> lput(a);
> putstr("e");
>
> }
>
> So when I try to compile it I receive these errors
> message:
>
> -Error..\INCLUDE\TEST.TXT 1:Unable to open include
> file 'CSOUND/CSCORE.H'
> -Fatal..\INCLUDE\TEST.TXT 2:Unable to create output
> file C:\bc31\c\test.obj
>
> I also put cscore.h in the include folder, as it was
> advice but of course there must be other problems...
> Before I was using microsoft quick basic for my score,
> but I would like to learn about c++. I have to studied
> it, of course, but can someone help me for the
> begginig and explain me what is the problem in that
> example?
>
> Thanks!
>
> Greetings!
>
> Roberto
>
> =====
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28934;
9 Oct 99 21: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 11a2t8-0004ez-00
for jpff@maths.bath.ac.uk; Sat, 9 Oct 1999 21:14:42 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (VAA169578); Sat, 9 Oct 1999 21:08:56 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Oct 1999 21:08:45 +0100
Received: from web1105.mail.yahoo.com [128.11.23.125] by hermes via SMTP (VAA247640); Sat, 9 Oct 1999 21:08:44 +0100 (BST)
Message-ID: <19991009201634.6698.rocketmail@web1105.mail.yahoo.com>
Received: from [161.53.2.112] by web1105.mail.yahoo.com; Sat, 09 Oct 1999 13:16:34 PDT
Date: Sat, 9 Oct 1999 13:16:34 -0700 (PDT)
From: roberto zanata
Subject: Re: Help for cscore! I will try!
To: csound@maths.ex.ac.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I will try to do it! Thanks! I want just to tell you
that I'm avilable to collaborate to the your
interesting prjoect!
See you soon for VMCI!
Roberto
--- Gabriel Maldonado
wrote:
> Probably you have to replace the
> with
> "csound/cscore.h"
> --
> Gabriel Maldonado
>
> http://web.tiscalinet.it/G-Maldonado
>
>
>
> roberto zanata wrote:
> >
> > Hi!
> > I'm not expert of c++ language but I'm interesting
> to
> > learn it to use CSCORE utility. So now I have a C
> > compiler (Borland c++ 3.1) and I'm looking at the
> > examples included in the csound help.
> > For example this:
> > #include
> > main()
> > {
> > struct event *e,**f; /* declarations.
> see
> > pp.8-9 in the */
> > struct evlist *a,*b; /* C language
> > programming manual */
> > int n;
> >
> > a = lget(); /* read score into
> event
> > list "a" */
> > b = lsepf(a); /* separate f
> statements
> > */
> > lput(b); /* write f statements
> out
> > to score */
> > lrelev(b); /* and release the
> spaces
> > used */
> > e = defev("t 0 120"); /* define event for
> tempo
> > statement */
> > putev(e); /* write tempo
> statement
> > to score */
> > lput(a); /* write the notes */
> >
> > putstr("s"); /* section end */
> > putev(e); /* write tempo
> statement
> > again */
> > b = lcopyev(a); /* make a copy of the
> > notes in "a" */
> > n = lcount(b); /* and count the
> number
> > copied */
> > f = &a->e[1];
> > while (n--) /* iterate the
> following
> > line n times: */
> > (*f++)->p[5] *= .5; /* transpose pitch
> down
> > one octave */
> > a = lcat(b,a); /* now add these
> notes to
> > original pitches */
> > lput(a);
> > putstr("e");
> >
> > }
> >
> > So when I try to compile it I receive these errors
> > message:
> >
> > -Error..\INCLUDE\TEST.TXT 1:Unable to open include
> > file 'CSOUND/CSCORE.H'
> > -Fatal..\INCLUDE\TEST.TXT 2:Unable to create
> output
> > file C:\bc31\c\test.obj
> >
> > I also put cscore.h in the include folder, as it
> was
> > advice but of course there must be other
> problems...
> > Before I was using microsoft quick basic for my
> score,
> > but I would like to learn about c++. I have to
> studied
> > it, of course, but can someone help me for the
> > begginig and explain me what is the problem in
> that
> > example?
> >
> > Thanks!
> >
> > Greetings!
> >
> > Roberto
> >
> > =====
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Bid and sell for free at http://auctions.yahoo.com
>
=====
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29061;
9 Oct 99 22:36 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11a3Bi-0002XG-00
for jpff@maths.bath.ac.uk; Sat, 9 Oct 1999 21:33:54 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (WAA241007); Sat, 9 Oct 1999 22:33:27 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Oct 1999 22:33:16 +0100
Received: from ella.mills.edu [144.91.3.20] by hermes via SMTP (WAA256429); Sat, 9 Oct 1999 22:33:16 +0100 (BST)
Received: (qmail 963978 invoked by uid 1964); 9 Oct 1999 14:33:09 -0700
Date: Sat, 9 Oct 1999 14:33:09 -0700 (PDT)
From: "Matt J. Ingalls"
To: Sheldon
cc: "csound@maths.ex.ac.uk"
Subject: Re: back to 3D sound - holophonic
In-Reply-To: <37FEE571.70E4149A@ibm.net>
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> record holograms of sound. he achieved a three dimensional sound that
> maintained its spaciousness regardless of positions of speakers, number
> of speakers, or position of listener relative to the speaker(s). when I
i have a hard time believign that there exists a system where position of
listener("sweet-spot") and # of speakers are not determinite upon
eachother. -- but if you do have access to a number of speakers i would
think ambisonics(or wave-field synthesis) gets pretty "holographic"..
[www.ambisonic.net]
-matt
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29321;
10 Oct 99 1:13 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11a6bm-0004iN-00
for jpff@maths.bath.ac.uk; Sun, 10 Oct 1999 01:13:02 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (BAA252562); Sun, 10 Oct 1999 01:10:11 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 10 Oct 1999 01:10:00 +0100
Received: from grynet.passagen.se [195.163.107.36] by hermes via ESMTP (BAA259509); Sun, 10 Oct 1999 01:10:00 +0100 (BST)
Received: from hem.passagen.se (z10-84.stockholm.sbbs2.net [212.112.10.84])
by grynet.passagen.se (8.8.6/8.8.6) with ESMTP id CAA14557
for ; Sun, 10 Oct 1999 02:10:00 +0200 (MDT)
Message-ID: <37FFDAF7.3C0B0FA@hem.passagen.se>
Date: Sun, 10 Oct 1999 02:16:55 +0200
From: rasmus ekman
Organization: .
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound list
Subject: Re: back to 3D sound - holophonic
References: <37FEE571.70E4149A@ibm.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Sheldon wrote:
>
> Hugo Zuccarelli came up with a way to record holograms
> regardless of positions of speakers, number of speakers,
Ah, no. He didn't. The aural clues that humans use to guess
position of sounding things (apart from not being very precise)
are not such that you can record them separately from "the sound"
and present in any speaker setup. (Similarly you can't take
a photo that would have the same colours in any light).
With eg voices, we can sometimes make good guesses on their
position independently of speaker placement (if they were
recorded in a more or less well-known room), but this
wouldn't work for an explosion or the sound of mating ants
or a good Buchla patch or other less familiar sounds.
The British experimental pop group / Aleister Crowley church
Psychic TV did an album largely using the Zicarelli "Ringo"
head. It's quite a good death-and-rebirth concept album with
mostly unprocessed concrete sounds (of course) - growling dogs,
karate instructor, uzi fire etc; you get the drift - and
some pop and industrial-type music.
The head recordings sound quite good even in loudspeakers,
and are downright creepy in headphones (after being chased
with dogs, poor Ringo is burnt at the stake, then put inside
a coffin and buried).
The album is called "Dreams Less Sweet". Came out in 1983
or so. If you see it second hand somewhere I think it's
well worth picking up.
Oh, ps. At the time I got the impression the Z. head is
a binaural thingy built to have the same sonic properties
as a human head. It would thus emulate the cranial conductivity,
hair phase splitting etc. So it would be at least as good as
any other figure head (though I doubt you can get much further
along that path).
Cheers,
re
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29675;
10 Oct 99 5:05 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11a9GL-0002dx-00
for jpff@maths.bath.ac.uk; Sun, 10 Oct 1999 04:03:05 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (FAA264627); Sun, 10 Oct 1999 05:02:47 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 10 Oct 1999 05:02:34 +0100
Received: from web1103.mail.yahoo.com [128.11.23.123] by hermes via SMTP (FAA265009); Sun, 10 Oct 1999 05:02:32 +0100 (BST)
Message-ID: <19991010041046.1508.rocketmail@web601.yahoomail.com>
Received: from [161.53.2.112] by web1103.mail.yahoo.com; Sat, 09 Oct 1999 21:10:46 PDT
Date: Sat, 9 Oct 1999 21:10:46 -0700 (PDT)
From: roberto zanata
Subject: Re: Help for cscore! I have still problem!
To: csound@maths.ex.ac.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi!
I tried to follow the Maldonado's advice but I'm
getting the same errors message! What it could be
wrong? Other ideas?
Thanks!
Roberto
> --- Gabriel Maldonado
> wrote:
> > Probably you have to replace the
> > with
> > "csound/cscore.h"
> > --
> > Gabriel Maldonado
> >
> > http://web.tiscalinet.it/G-Maldonado
> >
> >
> >
> > roberto zanata wrote:
> > >
> > > Hi!
> > > I'm not expert of c++ language but I'm
> interesting
> > to
> > > learn it to use CSCORE utility. So now I have a
> C
> > > compiler (Borland c++ 3.1) and I'm looking at
> the
> > > examples included in the csound help.
> > > For example this:
> > > #include
> > > main()
> > > {
> > > struct event *e,**f; /*
> declarations.
> > see
> > > pp.8-9 in the */
> > > struct evlist *a,*b; /* C language
> > > programming manual */
> > > int n;
> > >
> > > a = lget(); /* read score into
> > event
> > > list "a" */
> > > b = lsepf(a); /* separate f
> > statements
> > > */
> > > lput(b); /* write f
> statements
> > out
> > > to score */
> > > lrelev(b); /* and release the
> > spaces
> > > used */
> > > e = defev("t 0 120"); /* define event for
> > tempo
> > > statement */
> > > putev(e); /* write tempo
> > statement
> > > to score */
> > > lput(a); /* write the notes
> */
> > >
> > > putstr("s"); /* section end */
> > > putev(e); /* write tempo
> > statement
> > > again */
> > > b = lcopyev(a); /* make a copy of
> the
> > > notes in "a" */
> > > n = lcount(b); /* and count the
> > number
> > > copied */
> > > f = &a->e[1];
> > > while (n--) /* iterate the
> > following
> > > line n times: */
> > > (*f++)->p[5] *= .5; /* transpose
> pitch
> > down
> > > one octave */
> > > a = lcat(b,a); /* now add these
> > notes to
> > > original pitches */
> > > lput(a);
> > > putstr("e");
> > >
> > > }
> > >
> > > So when I try to compile it I receive these
> errors
> > > message:
> > >
> > > -Error..\INCLUDE\TEST.TXT 1:Unable to open
> include
> > > file 'CSOUND/CSCORE.H'
> > > -Fatal..\INCLUDE\TEST.TXT 2:Unable to create
> > output
> > > file C:\bc31\c\test.obj
> > >
> > > I also put cscore.h in the include folder, as it
> > was
> > > advice but of course there must be other
> > problems...
> > > Before I was using microsoft quick basic for my
> > score,
> > > but I would like to learn about c++. I have to
> > studied
> > > it, of course, but can someone help me for the
> > > begginig and explain me what is the problem in
> > that
> > > example?
> > >
> > > Thanks!
> > >
> > > Greetings!
> > >
> > > Roberto
> > >
> > > =====
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Bid and sell for free at
> http://auctions.yahoo.com
> >
>
>
> =====
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
=====
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29897;
10 Oct 99 8:59 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11aCuT-0002lC-00
for jpff@maths.bath.ac.uk; Sun, 10 Oct 1999 07:56:45 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (IAA266930); Sun, 10 Oct 1999 08:49:32 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 10 Oct 1999 08:49:20 +0100
Received: from dns2.seanet.com [199.181.164.2] by hermes via ESMTP (IAA253804); Sun, 10 Oct 1999 08:49:16 +0100 (BST)
Received: from seanet.com (cy33.dialup.seanet.com [207.12.136.33]) by mx.seanet.com (8.9.3/Seanet-8.7.3) with ESMTP id AAA15442 for ; Sun, 10 Oct 1999 00:49:12 -0700 (PDT)
Message-ID: <3800464D.FBD0BD01@seanet.com>
Date: Sun, 10 Oct 1999 00:54:53 -0700
From: Sean Costello
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: csound
Subject: New FDN/Waveguide Reverb Instrument
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
; 8 delay line FDN reverb, with feedback matrix based upon
; physical modeling scattering junction of 8 lossless waveguides
; of equal characteristic impedance. Based on Julius O. Smith III,
; "A New Approach to Digital Reverberation using Closed Waveguide
; Networks," Proceedings of the International Computer Music
; Conference 1985, p. 47-53 (also available as a seperate
; publication from CCRMA), as well as some more recent papers by
; Smith and others.
;
; Coded by Sean Costello, October 1999
instr 99
; Note: ga1 is the global input to the reverb.
afilt1 init 0
afilt2 init 0
afilt3 init 0
afilt4 init 0
afilt5 init 0
afilt6 init 0
afilt7 init 0
afilt8 init 0
; Delay times chosen to be prime numbers.
; Works with sr=44100 ONLY. If you wish to
; use a different delay time, find some new
; prime numbers that will give roughly the
; same delay times for the new sampling rate.
; Or adjust to taste.
idel1 = (2473.000/sr)
idel2 = (2767.000/sr)
idel3 = (3217.000/sr)
idel4 = (3557.000/sr)
idel5 = (3907.000/sr)
idel6 = (4127.000/sr)
idel7 = (2143.000/sr)
idel8 = (1933.000/sr)
igain = p4 ; gain of reverb. Adjust empirically
; for desired reverb time. .6 gives
; a good small "live" room sound, .8
; a small hall, .9 a large hall,
; .99 an enormous stone cavern.
ipitchmod = p5 ; amount of random pitch modulation
; for the delay lines. 1 is the "normal"
; amount, but this may be too high for
; held pitches such as piano tones.
; Adjust to taste.
itone = p6 ; Cutoff frequency of lowpass filters
; in feedback loops of delay lines,
; in Hz. Lower cutoff frequencies results
; in a sound with more high-frequency
; damping.
; k1-k8 are used to add random pitch modulation to the
; delay lines. Helps eliminate metallic overtones
; in the reverb sound.
k1 randi .001, 3.1, .06
k2 randi .0011, 3.5, .9
k3 randi .0017, 1.11, .7
k4 randi .0006, 3.973, .3
k5 randi .001, 2.341, .63
k6 randi .0011, 1.897, .7
k7 randi .0017, 0.891, .9
k8 randi .0006, 3.221, .44
; apj is used to calculate "resultant junction pressure" for
; the scattering junction of 8 lossless waveguides
; of equal characteristic impedance. If you wish to
; add more delay lines, simply add them to the following
; equation, and replace the .25 by 2/N, where N is the
; number of delay lines.
apj = .25 * (afilt1 + afilt2 + afilt3 + afilt4 + afilt5 + afilt6 + afilt7 + afilt8)
adum1 delayr 1
adel1 deltapi idel1 + k1 * ipitchmod
delayw ga1 + apj - afilt1
adum2 delayr 1
adel2 deltapi idel2 + k2 * ipitchmod
delayw ga1 + apj - afilt2
adum3 delayr 1
adel3 deltapi idel3 + k3 * ipitchmod
delayw ga1 + apj - afilt3
adum4 delayr 1
adel4 deltapi idel4 + k4 * ipitchmod
delayw ga1 + apj - afilt4
adum5 delayr 1
adel5 deltapi idel5 + k5 * ipitchmod
delayw ga1 + apj - afilt5
adum6 delayr 1
adel6 deltapi idel6 + k6 * ipitchmod
delayw ga1 + apj - afilt6
adum7 delayr 1
adel7 deltapi idel7 + k7 * ipitchmod
delayw ga1 + apj - afilt7
adum8 delayr 1
adel8 deltapi idel8 + k8 * ipitchmod
delayw ga1 + apj - afilt8
; 1st order lowpass filters in feedback
; loops of delay lines.
afilt1 tone adel1 * igain, itone
afilt2 tone adel2 * igain, itone
afilt3 tone adel3 * igain, itone
afilt4 tone adel4 * igain, itone
afilt5 tone adel5 * igain, itone
afilt6 tone adel6 * igain, itone
afilt7 tone adel7 * igain, itone
afilt8 tone adel8 * igain, itone
; The outputs of the delay lines are summed
; and sent to the stereo outputs. This could
; easily be modified for a 4 or 8-channel
; sound system.
aout1 = (afilt1 + afilt3 + afilt5 + afilt7)
aout2 = (afilt2 + afilt4 + afilt6 + afilt8)
outs aout1, aout2
ga1 = 0
endin
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29907;
10 Oct 99 9:01 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11aDv1-0004s0-00
for jpff@maths.bath.ac.uk; Sun, 10 Oct 1999 09:01:23 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (IAA269453); Sun, 10 Oct 1999 08:59:11 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 10 Oct 1999 08:59:01 +0100
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (IAA260011); Sun, 10 Oct 1999 08:59:00 +0100 (BST)
Received: from agora.stm.it (rm1-1118.tiscalinet.it [212.123.81.230]) by agora.stm.it (8.9.2/8.8.5) with ESMTP id JAA08991 for ; Sun, 10 Oct 1999 09:58:57 +0200 (ITADST)
Message-ID: <3800495F.9111CB5D@agora.stm.it>
Date: Sun, 10 Oct 1999 10:07:59 +0200
From: Gabriel Maldonado
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
CC: csound@maths.ex.ac.uk
Subject: Re: Help for cscore! I have still problem!
References: <19991010041046.1508.rocketmail@web601.yahoomail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Try to put cscore.h file in the same directory of Cscore sources and to
replace the include line with the following text:
#include "cscore.h"
P.S. I never used Borland c++ 3.1, nor Cscore, but the message tells
that the directory where the compiler preprocessor tries to find
cscore.h is wrong.
gab
roberto zanata wrote:
>
> Hi!
> I tried to follow the Maldonado's advice but I'm
> getting the same errors message! What it could be
> wrong? Other ideas?
> Thanks!
> Roberto
>
> > --- Gabriel Maldonado
> > wrote:
> > > Probably you have to replace the
> > > with
> > > "csound/cscore.h"
> > > --
> > > Gabriel Maldonado
> > >
> > > http://web.tiscalinet.it/G-Maldonado
> > >
> > >
> > >
> > > roberto zanata wrote:
> > > >
> > > > Hi!
> > > > I'm not expert of c++ language but I'm
> > interesting
> > > to
> > > > learn it to use CSCORE utility. So now I have a
> > C
> > > > compiler (Borland c++ 3.1) and I'm looking at
> > the
> > > > examples included in the csound help.
> > > > For example this:
> > > > #include
> > > > main()
> > > > {
> > > > struct event *e,**f; /*
> > declarations.
> > > see
> > > > pp.8-9 in the */
> > > > struct evlist *a,*b; /* C language
> > > > programming manual */
> > > > int n;
> > > >
> > > > a = lget(); /* read score into
> > > event
> > > > list "a" */
> > > > b = lsepf(a); /* separate f
> > > statements
> > > > */
> > > > lput(b); /* write f
> > statements
> > > out
> > > > to score */
> > > > lrelev(b); /* and release the
> > > spaces
> > > > used */
> > > > e = defev("t 0 120"); /* define event for
> > > tempo
> > > > statement */
> > > > putev(e); /* write tempo
> > > statement
> > > > to score */
> > > > lput(a); /* write the notes
> > */
> > > >
> > > > putstr("s"); /* section end */
> > > > putev(e); /* write tempo
> > > statement
> > > > again */
> > > > b = lcopyev(a); /* make a copy of
> > the
> > > > notes in "a" */
> > > > n = lcount(b); /* and count the
> > > number
> > > > copied */
> > > > f = &a->e[1];
> > > > while (n--) /* iterate the
> > > following
> > > > line n times: */
> > > > (*f++)->p[5] *= .5; /* transpose
> > pitch
> > > down
> > > > one octave */
> > > > a = lcat(b,a); /* now add these
> > > notes to
> > > > original pitches */
> > > > lput(a);
> > > > putstr("e");
> > > >
> > > > }
> > > >
> > > > So when I try to compile it I receive these
> > errors
> > > > message:
> > > >
> > > > -Error..\INCLUDE\TEST.TXT 1:Unable to open
> > include
> > > > file 'CSOUND/CSCORE.H'
> > > > -Fatal..\INCLUDE\TEST.TXT 2:Unable to create
> > > output
> > > > file C:\bc31\c\test.obj
> > > >
> > > > I also put cscore.h in the include folder, as it
> > > was
> > > > advice but of course there must be other
> > > problems...
> > > > Before I was using microsoft quick basic for my
> > > score,
> > > > but I would like to learn about c++. I have to
> > > studied
> > > > it, of course, but can someone help me for the
> > > > begginig and explain me what is the problem in
> > > that
> > > > example?
> > > >
> > > > Thanks!
> > > >
> > > > Greetings!
> > > >
> > > > Roberto
> > > >
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00113;
10 Oct 99 11:55 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
id 11aFf0-0002mc-00
for jpff@maths.bath.ac.uk; Sun, 10 Oct 1999 10:52:58 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (LAA243583); Sun, 10 Oct 1999 11:52:56 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 10 Oct 1999 11:52:44 +0100
Received: from mc-qout4.whowhere.com [209.185.123.18] by hermes via SMTP (LAA274052); Sun, 10 Oct 1999 11:52:43 +0100 (BST)
Received: from Unknown/Local ([?.?.?.?]) by shared2-mail.whowhere.com; Sun Oct 10 03:50:19 1999
To: csound
Date: Sun, 10 Oct 1999 19:50:19 +0900
From: merz foobar
Message-ID:
Mime-Version: 1.0
X-Sent-Mail: on
X-Mailer: MailCity Service
Subject: Re: Score11
X-Sender-Ip: 210.92.108.155
Organization: imaginemail (http://www.imaginemail.com:80)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
actually linux is a source of hope for
Score11 since it originally ran under several
different flavors of BSD Unix. I imagine that
for someone with the source code and a Pascal
compilier it would be easy to port. I keep
hoping that the emergence of linux will give new
life to some of the old UNIX tools. Since the
SGI is a bust outside of academia. with linux
you get all the old goodies (that i miss on the mac)
like all the shell scripting, etc.
(the only people who think that apple script
is cool are those who never used UNIX i bet).
Anyway, now i am hooked on SuperCollider so...
But it would be nice to be able to use Score11
for some old things. As i said Score11 was
real good for quick and dirty.
Java is a good sugestion, but not much different
than hacking C code.
I was hoping for something that that let you
ignore var declaration, etc. like Cshell
or perl. TKl/TK is an option i guess, but
it is not so elegant on the macos.
back to SuperCollider....
--
On Sat, 9 Oct 1999 10:56:25 Jim Stevenson wrote:
>Would that program and those scripts work under linux?
>
>Thanks.
>
Free, fast e-mail accessible anytime, anywhere http://www.imaginemail.com |