Csound Csound-dev Csound-tekno Search About

Csound sources

Date1998-07-15 05:15
FromMichael Gogins
SubjectCsound sources
I unpacked csound_src.zip, converted the project file to VC++ 5.0, tried to
make it, and encountered the following errors:

Entry.c includes "nreverb.h" which is not in the sources.
Lptrkfuns.c causes "C1001: INTERNAL COMPILER ERROR".
Vdelay.c includes "nreverb.h" which is not in the sources.

Any suggestions?






Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17675;
          15 Jul 98 5:40 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa19455;
          15 Jul 98 5:40 BST
Received: (qmail 9252 invoked from network); 15 Jul 1998 04:40:01 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 15 Jul 1998 04:40:01 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (FAA11965); Wed, 15 Jul 1998 05:37:00 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 05:36:43 +0100
Received: from camel8.mindspring.com [207.69.200.58] by hermes via ESMTP (FAA15540); Wed, 15 Jul 1998 05:36:36 +0100 (BST)
Received: from axe (user-38ld0n1.dialup.mindspring.com [209.86.130.225])
	by camel8.mindspring.com (8.8.5/8.8.5) with SMTP id AAA22495
	for ; Wed, 15 Jul 1998 00:36:35 -0400 (EDT)
Message-Id: <000f01bdafab$82c292e0$e18256d1@axe>
From: Michael Gogins 
To: Csound list 
Subject: Csound sources
Date: Wed, 15 Jul 1998 00:46:18 -0400
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.2106.4
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

An amendment to my previous message.

I found nreverb.h in an older sources archive.

As for failure to compile Lptrkfns.c due to compiler error C1001 with Visual
C++ version 5.0, I was able to build this file and link consound by adding
the following line just after the #includes:

#pragma optimize("g", off)

This has the effect of turning global optimization off for only this file.





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17688;
          15 Jul 98 5:54 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa20496;
          15 Jul 98 5:54 BST
Received: (qmail 9601 invoked from network); 15 Jul 1998 04:54:06 -0000
Received: from camel8.mindspring.com (207.69.200.58)
  by mercury.bath.ac.uk with SMTP; 15 Jul 1998 04:54:06 -0000
Received: from axe (user-38ld0n1.dialup.mindspring.com [209.86.130.225])
	by camel8.mindspring.com (8.8.5/8.8.5) with SMTP id AAA07942;
	Wed, 15 Jul 1998 00:52:44 -0400 (EDT)
Message-ID: <001301bdafad$c45bde80$e18256d1@axe>
From: Michael Gogins 
To: "ffitch, John" , 
    Csound list 
Subject: RESET macro and re-entrant Csound
Date: Wed, 15 Jul 1998 01:02:27 -0400
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.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4

I am going to make at least one stab at building a re-entrant version of
Csound. In the sources I find stuff like this:

#ifdef RESET
void cscorereset(void)
{
  nxtfree = nxtevt   = nxtevtblk = infiles = NULL;
  warped  = warpout  = 0;
  evtmp   = evtmpblk = NULL;
}
#endif

It tooks as though this may be part of an effort to build a re-entrant
version of Csound (for Windows Csound).

Is this true?

If so, has anyone tried to create a dynamic link library version of Csound,
or succeeded in doing so?

The natural thought is to replace main(int argc, char *argc[]) with a
run(const char *commandLine) function, and where the program would normally
exit, call all these reset things.

Any comments?






Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17732;
          15 Jul 98 6:07 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa21345;
          15 Jul 98 6:07 BST
Received: (qmail 2051 invoked from network); 15 Jul 1998 05:07:00 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 15 Jul 1998 05:07:00 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (FAA08940); Wed, 15 Jul 1998 05:54:33 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 05:54:16 +0100
Received: from camel8.mindspring.com [207.69.200.58] by hermes via ESMTP (FAA09689); Wed, 15 Jul 1998 05:54:09 +0100 (BST)
Received: from axe (user-38ld0n1.dialup.mindspring.com [209.86.130.225])
	by camel8.mindspring.com (8.8.5/8.8.5) with SMTP id AAA07942;
	Wed, 15 Jul 1998 00:52:44 -0400 (EDT)
Message-Id: <001301bdafad$c45bde80$e18256d1@axe>
From: Michael Gogins 
To: "ffitch, John" , 
    Csound list 
Subject: RESET macro and re-entrant Csound
Date: Wed, 15 Jul 1998 01:02:27 -0400
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.2106.4
X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I am going to make at least one stab at building a re-entrant version of
Csound. In the sources I find stuff like this:

#ifdef RESET
void cscorereset(void)
{
  nxtfree = nxtevt   = nxtevtblk = infiles = NULL;
  warped  = warpout  = 0;
  evtmp   = evtmpblk = NULL;
}
#endif

It tooks as though this may be part of an effort to build a re-entrant
version of Csound (for Windows Csound).

Is this true?

If so, has anyone tried to create a dynamic link library version of Csound,
or succeeded in doing so?

The natural thought is to replace main(int argc, char *argc[]) with a
run(const char *commandLine) function, and where the program would normally
exit, call all these reset things.

Any comments?







Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17924;
          15 Jul 98 8:33 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa00961;
          15 Jul 98 8:33 BST
Received: (qmail 5721 invoked from network); 15 Jul 1998 07:33:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 15 Jul 1998 07:33:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (IAA06758); Wed, 15 Jul 1998 08:27:55 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 08:27:35 +0100
Received: from [193.121.99.70] by hermes via ESMTP (IAA07198); Wed, 15 Jul 1998 08:27:22 +0100 (BST)
Received: from turing.hogent.be ([193.190.88.183]) by hurricane.netgate.be
          (post.office MTA v2.0 0813 ID# 0-32575U60) with ESMTP id AAA256
          for ; Wed, 15 Jul 1998 09:32:37 +0200
From: David Schuyeteneer 
To: Csound List 
Subject: list is sleepy
Date: Wed, 15 Jul 1998 09:23:05 +0200
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: <19980715073235781.AAA256@turing.hogent.be>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Is it true what i notice ? That the Csound maillist is kinda sleepy these
days ??

Nobody seems to be home...

david




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa17976;
          15 Jul 98 9:10 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa03631;
          15 Jul 98 9:10 BST
Received: (qmail 14665 invoked from network); 15 Jul 1998 08:10:42 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 15 Jul 1998 08:10:42 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (JAA20111); Wed, 15 Jul 1998 09:07:11 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 09:06:56 +0100
Received: from root@lix.intercom.es [194.179.21.2] by hermes via ESMTP (JAA07163); Wed, 15 Jul 1998 09:06:49 +0100 (BST)
Received: from intercom.es (iv2-202.intercom.es [195.76.206.202]) by lix.intercom.es (8.7.3/8.6.12) with ESMTP id KAA32435; Wed, 15 Jul 1998 10:10:35 +0100
Message-Id: <35AC6256.B2018DCA@intercom.es>
Date: Wed, 15 Jul 1998 10:03:35 +0200
From: Josep M Comajuncosas 
X-Mailer: Mozilla 4.05 [en] (Win95; I)
Mime-Version: 1.0
To: David Schuyeteneer 
Cc: Csound List 
Subject: Re: list is sleepy
References: <19980715073235781.AAA256@turing.hogent.be>
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 JAA07163
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk



David Schuyeteneer wrote:

> Is it true what i notice ? That the Csound maillist is kinda sleepy the=
se
> days ??
>
> Nobody seems to be home...

Mmmm, not really, just preparing the laptop for Csounding ;-)
I also notice most of the recent mails have been concerning in programmin=
g
... I=B4d like to see also some nice orc & sco to compile ... just some m=
usic
please!!!




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18090;
          15 Jul 98 10:17 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa08936;
          15 Jul 98 10:17 BST
Received: (qmail 26051 invoked from network); 15 Jul 1998 09:17:10 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 15 Jul 1998 09:17:10 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (KAA04594); Wed, 15 Jul 1998 10:14:09 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 10:13:50 +0100
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (KAA20902); Wed, 15 Jul 1998 10:13:44 +0100 (BST)
Received: (qmail 21835 invoked from network); 15 Jul 1998 09:13:36 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.44)
  by jaguars with SMTP; 15 Jul 1998 09:13:36 -0000
Message-Id: <35AC7146.297EFDD6@cableinet.co.uk>
Date: Wed, 15 Jul 1998 10:07:18 +0100
From: Richard Dobson 
Organization: Composers Desktop project
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Mime-Version: 1.0
To: Michael Gogins 
Cc: Csound list 
Subject: Re: Csound sources
References: <000f01bdafab$82c292e0$e18256d1@axe>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

It sounds as if you need to install the Microsoft Service Packs for VC++.v.5.
They trashed the f/p optimiser trying to get an over-ambitious speed increase. 
Without the SPs, even code which compiles will have fatal flaws in it. SP 1
fixed most of the problems, and SP2 a few more.
One nasty bug whihc can still show up sometimes, is that f/p zero gets changed
to negative f/p zero (!!) - which is enough to flummox a test. They are now up
to SP 3, which I haven't got round to installing yet myself. Warning - the
download is huge, some 90MBytes, as it covers the whole of Visual Studio.

Richard Dobson

Michael Gogins wrote:
> 
> An amendment to my previous message.
> 
> I found nreverb.h in an older sources archive.
> 
> As for failure to compile Lptrkfns.c due to compiler error C1001 with Visual
> C++ version 5.0, I was able to build this file and link consound by adding
> the following line just after the #includes:
> 
> #pragma optimize("g", off)
> 
> This has the effect of turning global optimization off for only this file.



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa18124;
          15 Jul 98 10:31 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa09872;
          15 Jul 98 10:31 BST
Received: (qmail 27417 invoked from network); 15 Jul 1998 09:31:28 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 15 Jul 1998 09:31:28 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (KAA20805); Wed, 15 Jul 1998 10:28:19 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Wed, 15 Jul 98 10:27:45 +0100
Received: from josef.ifi.unizh.ch [130.60.48.10] by hermes via SMTP (KAA12760); Wed, 15 Jul 1998 10:27:27 +0100 (BST)
Received: from ifi.unizh.ch by josef.ifi.unizh.ch with SMTP (PP) 
          id <10825-0@josef.ifi.unizh.ch>; Wed, 15 Jul 1998 11:27:31 +0200
Date: Wed, 15 Jul 1998 11:30:05 +0200 (MDT)
From: Bernhard Wagner 
X-Sender: bwagner@theseus
To: Richard Dobson 
Cc: csound List 
Subject: Re: Csound sources
In-Reply-To: <35AC7146.297EFDD6@cableinet.co.uk>
Message-Id: 
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


> One nasty bug whihc can still show up sometimes, is that f/p zero gets changed
> to negative f/p zero (!!) - which is enough to flummox a test. They are now up
> to SP 3, which I haven't got round to installing yet myself. Warning - the
> download is huge, some 90MBytes, as it covers the whole of Visual Studio.
                         ^^^^^^^
                         |
                         this doesn't merely sound like a "patch" but rather
                         like an opportunity to get an entire VC++ for free ;-)