Csound Csound-dev Csound-tekno Search About

Re: Version 3.57

Date1999-08-05 19:54
FromTorsten Anders
SubjectRe: Version 3.57
Hi,

thanks for the update. I tried to compile it under Linux (Kernel 2.0.35,
libc-5.4.46) without success:

argdecode.o(.data+0x58): undefined reference to `pvlook'
entry.o(.data+0x3f88): undefined reference to `incr'
entry.o(.data+0x3fa4): undefined reference to `clear'
entry.o(.data+0x3fb8): undefined reference to `outfile_set'
entry.o(.data+0x3fc0): undefined reference to `outfile'
entry.o(.data+0x3fd4): undefined reference to `koutfile_set'
entry.o(.data+0x3fd8): undefined reference to `koutfile'
entry.o(.data+0x3ff0): undefined reference to `ioutfile_set'
entry.o(.data+0x400c): undefined reference to `ioutfile_set_r'
entry.o(.data+0x4010): undefined reference to `ioutfile_r'
entry.o(.data+0x4028): undefined reference to `fiopen'
entry.o(.data+0x4044): undefined reference to `infile_set'
entry.o(.data+0x404c): undefined reference to `infile'
entry.o(.data+0x4060): undefined reference to `kinfile_set'
entry.o(.data+0x4064): undefined reference to `kinfile'
entry.o(.data+0x407c): undefined reference to `i_infile'
entry.o(.data+0x43c4): undefined reference to `filelen'
entry.o(.data+0x43e0): undefined reference to `filenchnls'
entry.o(.data+0x43fc): undefined reference to `filesr'
entry.o(.data+0x4418): undefined reference to `filepeak'

I greped the directory for the references,  they should be in the project...
Any help?

BTW: I tried to write an *.orc macro with multiple args, but it will not work :(
My simple test looks as this:

 instr 1 

#define TESTMACRO(A' B) #
aout     oscil   $B., $A., 1
#

$TESTMACRO(400' 20000)
 out     aout
 endin

What do I miss? (Im using 3.52 on Linux).

Thanks. Torsten


On Tue, 03 Aug 1999 J. P. Fitch wrote:
>Message written at 3 Aug 1999 09:10:05 +0100
>
>I realise that it is only two weeks since 3.56 but there are a number
>of changes which I wanted to get out to ensure that they work.  There
>are a number bug fixes to clock, divz, wgbrass and marimba, as well as
>new opcodes.
...



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06403;
          5 Aug 99 21: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 11CTFQ-0002G8-00
	for jpff@maths.bath.ac.uk; Thu, 5 Aug 1999 20:32:16 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (VAA02541); Thu, 5 Aug 1999 21:35:55 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 5 Aug 1999 21:35:45 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (VAA13419); Thu, 5 Aug 1999 21:35:44 +0100 (BST)
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11CTCB-0002Fj-00
	for csound@maths.ex.ac.uk; Thu, 5 Aug 1999 20:28:55 +0100
Date:     Thu, 5 Aug 99 21:32:44 BST
From: jpff@maths.bath.ac.uk
Subject:  Re: random csound questions
To: csound@maths.ex.ac.uk
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Message written at 5 Aug 1999 13:27:03 +0100
--- Copy of mail to jasonf@ivy.the-i.net ---
In-reply-to: 
	(jasonf@ivy.the-i.net)
References:  

>>>>> "jasonf" == jasonf   writes:

 jasonf> Anyway, when I compile I get the following error:
 jasonf> pgcc -O6 -DRTAUDIO -DSFIRCAM -DLINUX -DPIPES -DMACROS -c rdscor.c
 jasonf> rdscor.c:4: initializer element is not constant
 jasonf> make: *** [rdscor.o] Error 1

 jasonf> Any ideas?

The line in question is 
FILE   *oscfp = stdout;     /* default Cscore outfile */

and that assumes that stdout is a constant or the compiler is really a
C++ one.  On many systems it is not the case, and so in reality the
code is wrong.

I think the simple fix is to replace this line by
FILE   *oscfp = NULL;     /* default Cscore outfile */

I have not checked thsi yet but I think it is safe

 jasonf> Also, I've been playing around with midi input the last few
 jasonf> days. How do I set the bend range? I see info on the subject
 jasonf> in the manual, but I'm more of a learn by example kind of
 jasonf> person. If you don't set the bend range,

There is an optional parameter in the opcode to read the bend which
scales it.

==John ffitch


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06430;
          5 Aug 99 21:47 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11CUQ5-0007lf-00
	for jpff@maths.bath.ac.uk; Thu, 5 Aug 1999 21:47:21 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (VAA12248); Thu, 5 Aug 1999 21:47:15 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 5 Aug 1999 21:47:04 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (VAA06251); Thu, 5 Aug 1999 21:47:03 +0100 (BST)
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 2.12 #1)
	id 11CTNB-0002GO-00
	for csound@maths.ex.ac.uk; Thu, 5 Aug 1999 20:40:17 +0100
Date:     Thu, 5 Aug 99 21:44:05 BST
From: J P Fitch 
To: csound@maths.ex.ac.uk
Subject:  Re:  Version 3.57
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

You need to include pvlook.c and sndinfUG.c in your system

wrt inc and clear they are in teh file fout.c


The other problem is that teh spoaces after the ' are confusing (I think)

The makefile is correct in teh Bath sources.  The makefile.linux may not be
as that is a differnt machine.
==John


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06737;
          6 Aug 99 0: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 11CVZz-0002Jn-00
	for jpff@maths.bath.ac.uk; Thu, 5 Aug 1999 23:01:39 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (AAA13599); Fri, 6 Aug 1999 00:06:11 +0100 (BST)
From: jasonf@ivy.the-i.net
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 6 Aug 1999 00:05:59 +0100
Received: from [206.136.176.10] by hermes via ESMTP (AAA13453); Fri, 6 Aug 1999 00:05:57 +0100 (BST)
Received: from localhost (jasonf@localhost)
	by ivy.the-i.net (8.8.7/8.8.7) with ESMTP id SAA01229
	for ; Thu, 5 Aug 1999 18:17:37 -0500
Date: Thu, 5 Aug 1999 18:17:37 -0500 (CDT)
To: csound@maths.ex.ac.uk
Subject: more compile errors
In-Reply-To: 
Message-ID: 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


Ok, thanks to J.P. I got most of everything to compile. I actually had the
same error in a couple of other files, so I replaced stdout to NULL in
them as well.

Now I'm only having one slight problem. I get this:
 ch.o getstring.o ugsc.o -lm -lbsd
/usr/i586-pc-linux-gnu/bin/ld: cannot open -lbsd: No such file or
directory
collect2: ld returned 1 exit status
make: *** [csound] Error 1

I thought that maybe some of my ldlib paths weren't set, but that doesn't
seem to be the case. Any idea what I'm doing wrong here? Ya know, someday
I really ought to sit down and learn C!

Thanks for the help,
Jason





Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06841;
          6 Aug 99 1:05 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11CXVP-0007q4-00
	for jpff@maths.bath.ac.uk; Fri, 6 Aug 1999 01:05:03 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (BAA11631); Fri, 6 Aug 1999 01:05:34 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 6 Aug 1999 01:05:24 +0100
Received: from ella.mills.edu [144.91.3.20] by hermes via SMTP (BAA08505); Fri, 6 Aug 1999 01:05:23 +0100 (BST)
Received: (qmail 972334 invoked by uid 1964); 5 Aug 1999 17:02:12 -0700
Date: Thu, 5 Aug 1999 17:02:12 -0700 (PDT)
From: "Matt J. Ingalls" 
To: freesound@shoko.calarts.edu, csound@maths.ex.ac.uk
Subject: announce: fielder for mac
In-Reply-To: 
Message-ID: 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


hi all,

lloyd(joe) anderson and i have a new freeware utility for (power)mac:

"fielder"
	web page: www.sonomatics.com
	download: www.sonomatics.com/fielder.sit.hqx

it plays sound files while displaying the stereo image - it works great
for mac csound "post-processor" since currently file playback inside
mac csound is a bit flakey.

here's more info from the web page:

FEATURES
========
- sound manager playback of 16-bit AIFF and Sound Designer II Files,
    stereo and mono
- playback controls for scrubbing and looping with playback time
    displayed in hundredths of a second 
- graphic display of stereo image that features: 
	analysis and display of spatial vectors in the stereo field 
	4 display modes
	  [azimuth, circular, triangular inward, and triangular outward] 
	analysis/display resolution slider 
	anti-phase vector display 
	rms and peak amplitude display modes 
	planar and spherical speaker analysis modes 
	reference grid lines [in dB] display over or under vector lines 
	intensity mapped to color and stereo vector length 
	intensity "zoom" slider for softer sounds 
	user specified color of vectors, grid lines, 
	 and anti-phase vectors 
- space bar and return hot keys for play/stop and rewind, respectively 
- partial drag and drop support (finder icons) 
- graphic display of mono file waveform


INTRO BLURB
===========
traditionally, the music software industry has approached stereo (and most
recently "surround") sound by its data [as a grouping of mono channels or
"tracks"] rather than by what its data represents [a stereo (or surround)
"image" of a partial (or complete) sound environment - or "field"]. as an
example, many commercial sound applications contain left/right amplitude
meters which display the sound intensity contained on each channel, rather
than display the actual perceived stereo image 

however, it is often helpful during a mixing or post-production process to
visualize the imaging of sounds within the stereo field of both recorded
and synthesized stereo sounds - this imaging in the very least is
comprised of both direction and breadth. (with verisimiliar sound fields,
all elements have some width, there are no point sources in the real
world) 

f i el d e r has been manufactured to give you [the sound laborer] the
help you need to analyze the imaging of stereo sound fields


info/found bugs/etc please email:  matt@sonomatics.com








Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06930;
          6 Aug 99 1:58 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11CXKv-0002M5-00
	for jpff@maths.bath.ac.uk; Fri, 6 Aug 1999 00:54:13 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (BAA01089); Fri, 6 Aug 1999 01:58:43 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 6 Aug 1999 01:58:32 +0100
Received: from rothko.bestweb.net [209.94.100.160] by hermes via ESMTP (BAA06521); Fri, 6 Aug 1999 01:58:31 +0100 (BST)
Received: from goodguy ([216.179.14.65])
	by rothko.bestweb.net (8.9.1a/8.9.0) with SMTP id UAA17136;
	Thu, 5 Aug 1999 20:55:10 -0400 (EDT)
Message-ID: <37AA325A.74BB03@westnet.com>
Date: Fri, 06 Aug 1999 00:54:50 +0000
From: Larry Troxler 
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: jasonf@ivy.the-i.net
CC: csound@maths.ex.ac.uk
Subject: Re: more compile errors 
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

jasonf@ivy.the-i.net wrote:
> 
> Ok, thanks to J.P. I got most of everything to compile. I actually had the
> same error in a couple of other files, so I replaced stdout to NULL in
> them as well.
> 
> Now I'm only having one slight problem. I get this:
>  ch.o getstring.o ugsc.o -lm -lbsd
> /usr/i586-pc-linux-gnu/bin/ld: cannot open -lbsd: No such file or
> directory
> collect2: ld returned 1 exit status
> make: *** [csound] Error 1
> 
> I thought that maybe some of my ldlib paths weren't set, but that doesn't
> seem to be the case. Any idea what I'm doing wrong here? Ya know, someday
> I really ought to sit down and learn C!
> 
> Thanks for the help,
> Jason

Interesting. I'm having suspiciously similar problems (also seeming
related to the BSD compatability library). I don't even get as far as
you did :

>>
make -f Makefile.linux csound
cc -O2 -DWINDOWS -DRTAUDIO -DSFIRCAM -DSYS5 -DLINUX -DPIPES -DMACROS -c
midirecv.c
midirecv.c:31: bsd/sgtty.h: No such file or directory
make: *** [midirecv.o] Error 1
<<

Perhaps it would help to know which Linux distribution(s) that the
distribution has been build-tested on. For example, I assume it has been
fixed for libc6, but is this a wrong assumption?

Larry

 
--  Larry Troxler --  lt@westnet.com  --  Patterson, NY USA  --



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06970;
          6 Aug 99 2:25 BST
Received: from [209.94.100.160] (helo=rothko.bestweb.net)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11CXla-0002MI-00
	for jpff@maths.bath.ac.uk; Fri, 6 Aug 1999 01:21:47 +0100
Received: from goodguy ([216.179.14.65])
	by rothko.bestweb.net (8.9.1a/8.9.0) with SMTP id VAA18978;
	Thu, 5 Aug 1999 21:25:31 -0400 (EDT)
Sender: root@rothko.bestweb.net
Message-ID: <37AA3977.7D0BEF50@westnet.com>
Date: Fri, 06 Aug 1999 01:25:11 +0000
From: Larry Troxler 
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: jpff@maths.bath.ac.uk, jasonf@ivy.the-i.net
CC: csound@maths.ex.ac.uk, dlphilp@bright.net
Subject: Corrected Makefile.linux for Version 3.57
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Attached is a Makefile.linux that includes the missing modules. 

I have built csound using this Makefile, and also changing the
include-file reference in midirecv.c#31 to be  instead of
. I have no idea what the reason or history is, but
/usr/include/bsd/sgtty.h does not exist on my Linux system which was
recently upgraded to Redhat 5.2. I do have /usr/include/sgtty.h, hence
my hack. 

I don't know at the moment, whether my csound actually *works* or not,
especially midirecv. I just thought I'd post this for anyone else who is
also trying to get this to work on Linux, and to compare notes. 

Jayson, I did *not* run into the problem you had with missing the bsd
lib. I do have a /usr/lib/bsd.a which I assume is what is being linked
against. 

Larry Troxler



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06983;
          6 Aug 99 2:28 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11CYnm-0007qg-00
	for jpff@maths.bath.ac.uk; Fri, 6 Aug 1999 02:28:06 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (CAA14854); Fri, 6 Aug 1999 02:28:53 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 6 Aug 1999 02:28:41 +0100
Received: from rothko.bestweb.net [209.94.100.160] by hermes via ESMTP (CAA09825); Fri, 6 Aug 1999 02:28:40 +0100 (BST)
Received: from goodguy ([216.179.14.65])
	by rothko.bestweb.net (8.9.1a/8.9.0) with SMTP id VAA18978;
	Thu, 5 Aug 1999 21:25:31 -0400 (EDT)
Message-ID: <37AA3977.7D0BEF50@westnet.com>
Date: Fri, 06 Aug 1999 01:25:11 +0000
From: Larry Troxler 
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.36 i586)
MIME-Version: 1.0
To: jpff@maths.bath.ac.uk, jasonf@ivy.the-i.net
CC: csound@maths.ex.ac.uk, dlphilp@bright.net
Subject: Corrected Makefile.linux for Version 3.57
References: 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Attached is a Makefile.linux that includes the missing modules. 

I have built csound using this Makefile, and also changing the
include-file reference in midirecv.c#31 to be  instead of
. I have no idea what the reason or history is, but
/usr/include/bsd/sgtty.h does not exist on my Linux system which was
recently upgraded to Redhat 5.2. I do have /usr/include/sgtty.h, hence
my hack. 

I don't know at the moment, whether my csound actually *works* or not,
especially midirecv. I just thought I'd post this for anyone else who is
also trying to get this to work on Linux, and to compare notes. 

Jayson, I did *not* run into the problem you had with missing the bsd
lib. I do have a /usr/lib/bsd.a which I assume is what is being linked
against. 

Larry Troxler



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa07010;
          6 Aug 99 2:45 BST
Received: from [207.69.200.74] (helo=smtp6.mindspring.com)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11CY4h-0002Mb-00
	for jpff@maths.bath.ac.uk; Fri, 6 Aug 1999 01:41:31 +0100
Received: from Realizer (user-2ive0lp.dialup.mindspring.com [165.247.2.185])
	by smtp6.mindspring.com (8.8.5/8.8.5) with SMTP id VAA01813;
	Thu, 5 Aug 1999 21:45:12 -0400 (EDT)
Message-ID: <002001bedfad$a4f7ebc0$79d496c0@Realizer.ngt.sungard.com>
From: Michael Gogins 
To: csound@maths.ex.ac.uk, jpff@maths.bath.ac.uk
MMDF-Warning:  Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Cc: JavaSound 
Subject: Re: random csound questions
Date: Thu, 5 Aug 1999 21:46:57 -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.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

In the course of attempting to make Csound into a JavaSound thing and a
VST-2 plugin, I am finding it helpful to place all the variables and
function declarations that are required for this purpose into a single .h
and .c file. When this work is completed, I imagine that most of the Csound
internal variables and global functions will end up in these files. At that
point, it would be possible to make them members of a Csound C++ class.
After that, it would be possible to run more than one instance of Csound at
the same time out of the same library.

The other thing I am considering doing (but have not actually done) is to
define abstract device driver classes for MIDI input and output, line
events, and audio input and output. There already are abstract functions for
audio input and output, so this is not so awful. The real mess is the
soundfile input and output and the MIDI input and output.

Unfortunately, JavaSound's limitations are showing up. It does not use
DirectX for audio input or output, and it does not have any official MIDI
input. I am hoping these limitations are resolved soon, either by Sun or by
independent developers. If they are not resolved, the JavaSound version of
Csound will not be usable as a live performance instrument.

-----Original Message-----
From: jpff@maths.bath.ac.uk 
To: csound@maths.ex.ac.uk 
Date: Thursday, August 05, 1999 4:33 PM
Subject: Re: random csound questions


>Message written at 5 Aug 1999 13:27:03 +0100
>--- Copy of mail to jasonf@ivy.the-i.net ---
>In-reply-to: 
> (jasonf@ivy.the-i.net)
>References:  
>
>>>>>> "jasonf" == jasonf   writes:
>
> jasonf> Anyway, when I compile I get the following error:
> jasonf> pgcc -O6 -DRTAUDIO -DSFIRCAM -DLINUX -DPIPES -DMACROS -c rdscor.c
> jasonf> rdscor.c:4: initializer element is not constant
> jasonf> make: *** [rdscor.o] Error 1
>
> jasonf> Any ideas?
>
>The line in question is
>FILE   *oscfp = stdout;     /* default Cscore outfile */
>
>and that assumes that stdout is a constant or the compiler is really a
>C++ one.  On many systems it is not the case, and so in reality the
>code is wrong.
>
>I think the simple fix is to replace this line by
>FILE   *oscfp = NULL;     /* default Cscore outfile */
>
>I have not checked thsi yet but I think it is safe
>
> jasonf> Also, I've been playing around with midi input the last few
> jasonf> days. How do I set the bend range? I see info on the subject
> jasonf> in the manual, but I'm more of a learn by example kind of
> jasonf> person. If you don't set the bend range,
>
>There is an optional parameter in the opcode to read the bend which
>scales it.
>
>==John ffitch



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa07023;
          6 Aug 99 2:47 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11CY6Q-0002Mf-00
	for jpff@maths.bath.ac.uk; Fri, 6 Aug 1999 01:43:18 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (CAA07945); Fri, 6 Aug 1999 02:47:45 +0100 (BST)
From: jasonf@ivy.the-i.net
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 6 Aug 1999 02:47:34 +0100
Received: from [206.136.176.10] by hermes via ESMTP (CAA17157); Fri, 6 Aug 1999 02:47:32 +0100 (BST)
Received: from localhost (jasonf@localhost)
	by ivy.the-i.net (8.8.7/8.8.7) with ESMTP id UAA01343
	for ; Thu, 5 Aug 1999 20:59:14 -0500
Date: Thu, 5 Aug 1999 20:59:13 -0500 (CDT)
To: csound@maths.ex.ac.uk
Subject: Re: Corrected Makefile.linux for Version 3.57
In-Reply-To: <37AA3977.7D0BEF50@westnet.com>
Message-ID: 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


Hmm, I don't seem to have that bsd.a file you speak of. What package would
it be a part of? I'm trying to compile this on a Stampede system which
seems to lack certain ordinary packages.

Jason



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa07029;
          6 Aug 99 2:47 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11CZ6j-0007qo-00
	for jpff@maths.bath.ac.uk; Fri, 6 Aug 1999 02:47:41 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (CAA11564); Fri, 6 Aug 1999 02:48:29 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 6 Aug 1999 02:48:15 +0100
Received: from smtp6.mindspring.com [207.69.200.74] by hermes via ESMTP (CAA02900); Fri, 6 Aug 1999 02:48:14 +0100 (BST)
Received: from Realizer (user-2ive0lp.dialup.mindspring.com [165.247.2.185])
	by smtp6.mindspring.com (8.8.5/8.8.5) with SMTP id VAA01813;
	Thu, 5 Aug 1999 21:45:12 -0400 (EDT)
Message-ID: <002001bedfad$a4f7ebc0$79d496c0@Realizer.ngt.sungard.com>
From: Michael Gogins 
To: csound@maths.ex.ac.uk, jpff@maths.bath.ac.uk
MMDF-Warning:  Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Cc: JavaSound 
Subject: Re: random csound questions
Date: Thu, 5 Aug 1999 21:46:57 -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.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

In the course of attempting to make Csound into a JavaSound thing and a
VST-2 plugin, I am finding it helpful to place all the variables and
function declarations that are required for this purpose into a single .h
and .c file. When this work is completed, I imagine that most of the Csound
internal variables and global functions will end up in these files. At that
point, it would be possible to make them members of a Csound C++ class.
After that, it would be possible to run more than one instance of Csound at
the same time out of the same library.

The other thing I am considering doing (but have not actually done) is to
define abstract device driver classes for MIDI input and output, line
events, and audio input and output. There already are abstract functions for
audio input and output, so this is not so awful. The real mess is the
soundfile input and output and the MIDI input and output.

Unfortunately, JavaSound's limitations are showing up. It does not use
DirectX for audio input or output, and it does not have any official MIDI
input. I am hoping these limitations are resolved soon, either by Sun or by
independent developers. If they are not resolved, the JavaSound version of
Csound will not be usable as a live performance instrument.

-----Original Message-----
From: jpff@maths.bath.ac.uk 
To: csound@maths.ex.ac.uk 
Date: Thursday, August 05, 1999 4:33 PM
Subject: Re: random csound questions


>Message written at 5 Aug 1999 13:27:03 +0100
>--- Copy of mail to jasonf@ivy.the-i.net ---
>In-reply-to: 
> (jasonf@ivy.the-i.net)
>References:  
>
>>>>>> "jasonf" == jasonf   writes:
>
> jasonf> Anyway, when I compile I get the following error:
> jasonf> pgcc -O6 -DRTAUDIO -DSFIRCAM -DLINUX -DPIPES -DMACROS -c rdscor.c
> jasonf> rdscor.c:4: initializer element is not constant
> jasonf> make: *** [rdscor.o] Error 1
>
> jasonf> Any ideas?
>
>The line in question is
>FILE   *oscfp = stdout;     /* default Cscore outfile */
>
>and that assumes that stdout is a constant or the compiler is really a
>C++ one.  On many systems it is not the case, and so in reality the
>code is wrong.
>
>I think the simple fix is to replace this line by
>FILE   *oscfp = NULL;     /* default Cscore outfile */
>
>I have not checked thsi yet but I think it is safe
>
> jasonf> Also, I've been playing around with midi input the last few
> jasonf> days. How do I set the bend range? I see info on the subject
> jasonf> in the manual, but I'm more of a learn by example kind of
> jasonf> person. If you don't set the bend range,
>
>There is an optional parameter in the opcode to read the bend which
>scales it.
>
>==John ffitch