| I've been giving this matter of software synthesizer design some thought for
years, and have written several prototypes using Microsoft's MFC class
library, ANSI C++ with the Standard Template Library, and pure Java.
I don't think there's a single best answer, the but the ideas I keep coming
back to are (a) an efficient, public-domain version of the MPEG-4 Structured
Audio Orchestra Language, which is an updated, C syntax version of Csound's
orc language, the advantages being the same as for Csound, namely a world
standard, an interpreted language, and a deep library of patches, or (b)
something like Phil Burt's JSyn, but with runtime loading of unit generators
and runtime compilation of patches written in Java. The opcodes would be
fast because written in C, and the language for writing instruments would be
easy because it would just be Java.
By the way, once a Java audio processor opcode base class or interface was
designed and if it was similar enough to the Csound oentry structure, it
would be quite straightforward to import all Csound opcodes, more or less as
they stand, into this JSynth.
-----Original Message-----
From: Richard Dobson
To: csound@maths.ex.ac.uk
Date: Tuesday, February 23, 1999 8:52 PM
Subject: Re: if...
One reason might be that Csound was designed to ~have~ an assembly-like
syntax, and if...then...else is not a cpu-level instruction.
You can get into all sorts of problems if you mix two syntax paradigms
in one language, bacause int would not be genuine C, but merely a
simulacrum - other legitimate C-style code such as
aout = balance(x,y,balance(f,g,h));
would not be possible, thought the syntax might suggest it is. In any
case, ~replacing~ existing Csound syntax with a different one will
simply break everybody's work, and is not an option. The only
hypothetical possibiity would be to allow both forms, and that would get
everything, and everyone, into an almighty muddle!
Also , there is the cultural question - why C? Why not Basic, Lisp,
Pascal, Forth,Occam...
Richard Dobson
Aaron Isaksen wrote:
>
> > I absolutely agree a "statement" block would help to make the code more
readable
> > and elegant. Too much goto´s are never advisable,
> > and it doesn´t look too serious really. It makes Csound code seem an
> > oldfashioned language ;-)
>
> Why not make the parser understand c-like syntax?
>
> aout = balance(x,y,z); // comment
>
> instead of assemblyesque
> aout balance x,y,z ; comment
>
> -Aaron
--
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd
CDP homepage: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00708;
24 Feb 99 15:07 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fftx-0004vR-00; Wed, 24 Feb 1999 15:07:05 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA05624); Wed, 24 Feb 1999 14:43:12 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 14:42:57 GMT
Received: from aleve.media.mit.edu [18.85.2.171] by hermes via ESMTP (OAA16412); Wed, 24 Feb 1999 14:42:47 GMT
Received: from ozric (ozric.media.mit.edu [18.85.5.228])
by aleve.media.mit.edu (8.9.1a/8.9.1/+ALEVE) with SMTP id JAA25734;
Wed, 24 Feb 1999 09:42:45 -0500 (EST)
Message-ID: <02d201be6004$0370c390$e4055512@ozric.media.mit.edu>
From: Eric Scheirer
To: Michael Gogins ,
Richard Dobson , csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Re: if...
Date: Wed, 24 Feb 1999 09:42:43 -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
Michael Gogins wrote:
>I don't think there's a single best answer,
>the but the ideas I keep coming
>back to are (a) an efficient, public-domain
> version of the MPEG-4 Structured
>Audio Orchestra Language, which is an updated,
>C syntax version of Csound's
>orc language, the advantages being the same as
> for Csound, namely a world
>standard, an interpreted language, and a deep
> library of patches.
Just to clarify, all of the projects around SAOL
that I'm aware of (there's five or six now) are
public-domain. There are no IP issues associated
with Structured Audio as there are with other MPEG
standards. My implementation is public-domain;
I'd be happy to help others who want to work on making
it efficient.
The MPEG-4 standard is finished (as of Oct 1998), and
SAOL and the rest of Structured Audio is a key part.
Any full implementation of the MPEG-4 standard is
required to include real-time synthesis using SAOL.
There's no requirement that SAOL be interpreted
as opposed to compiled. My implementation happens
to be an interpreter, but as long as it makes the
right noises, you can do anything you want. There's
compile-to-C, compile-to-DSP, and compile-to-Csound
projects all underway already.
For anyone who's interested, there's lots of technical
papers describing SAOL and the other MPEG-4 Structured
Audio tools at
http://sound.media.mit.edu/~eds/papers.html.
There's a free implementation and a free copy of a
draft of the standard at
http://sound.media.mit.edu/mpeg4.
This site also has mailing lists you can join that
support the nascent SAOL community.
Best to all,
-- Eric
+-----------------+
| Eric Scheirer |A-7b5 D7b9|G-7 C7|Cb C-7b5 F7#9|Bb |B-7 E7|
|eds@media.mit.edu| < http://sound.media.mit.edu/~eds >
| 617 253 0112 |A A/G# F#-7 F#-/E|Eb-7b5 D7b5|Db|C7b5 B7b5|Bb|
+-----------------+
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00765;
24 Feb 99 15:15 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fg1n-0004PL-00; Wed, 24 Feb 1999 15:15:11 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA06222); Wed, 24 Feb 1999 14:49:22 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 14:49:05 GMT
Received: from mail.infohouse.com [204.143.176.4] by hermes via ESMTP (OAA05920); Wed, 24 Feb 1999 14:48:56 GMT
Received: from [204.143.224.44] ([204.143.224.123]) by mail.infohouse.com
(Post.Office MTA v3.5.3 release 223 ID# 141-53521U2500L250S0V35)
with ESMTP id com; Wed, 24 Feb 1999 09:47:58 -0500
X-Sender: ic11748@mail.infohouse.com
Message-Id:
In-Reply-To: <005401be5fbb$f22e5b80$1b99170c@default>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: csound@maths.ex.ac.uk, Hans Mikelson
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
From: tolve
Subject: Re: if statement blocks
Cc: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Date: Wed, 24 Feb 1999 09:47:58 -0500
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
of course hans, i'm dying to know which modular graphical software synths
you refer to. msp? DSpider? maybe even one heretofore unknown? (i pant).
tolve
hans mikelson wrote:
>I was thinking today about the modular graphical software synths I've used
>and thought that one problem with them is that you end up with all kinds of
>simple components on the screen. What would be nice would be if you could
>hook up a group of components into a new user definable component, for
>example put a vdelay and an oscillator together and call it a flanger, or
>put a bunch of oscillators together and call it a hammond, create an icon
>for them, then use these newly created components to create something else.
>Maybe some software already does this? Maybe this can be done with csound
>using Maldonado's subroutine code? (I haven't tried it.)
>
>Regards,
>Hans Mikelson
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa00765;
24 Feb 99 15:15 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fg1n-0004PL-00; Wed, 24 Feb 1999 15:15:11 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA06222); Wed, 24 Feb 1999 14:49:22 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 14:49:05 GMT
Received: from mail.infohouse.com [204.143.176.4] by hermes via ESMTP (OAA05920); Wed, 24 Feb 1999 14:48:56 GMT
Received: from [204.143.224.44] ([204.143.224.123]) by mail.infohouse.com
(Post.Office MTA v3.5.3 release 223 ID# 141-53521U2500L250S0V35)
with ESMTP id com; Wed, 24 Feb 1999 09:47:58 -0500
X-Sender: ic11748@mail.infohouse.com
Message-Id:
In-Reply-To: <005401be5fbb$f22e5b80$1b99170c@default>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: csound@maths.ex.ac.uk, Hans Mikelson
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
From: tolve
Subject: Re: if statement blocks
Cc: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Date: Wed, 24 Feb 1999 09:47:58 -0500
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
of course hans, i'm dying to know which modular graphical software synths
you refer to. msp? DSpider? maybe even one heretofore unknown? (i pant).
tolve
hans mikelson wrote:
>I was thinking today about the modular graphical software synths I've used
>and thought that one problem with them is that you end up with all kinds of
>simple components on the screen. What would be nice would be if you could
>hook up a group of components into a new user definable component, for
>example put a vdelay and an oscillator together and call it a flanger, or
>put a bunch of oscillators together and call it a hammond, create an icon
>for them, then use these newly created components to create something else.
>Maybe some software already does this? Maybe this can be done with csound
>using Maldonado's subroutine code? (I haven't tried it.)
>
>Regards,
>Hans Mikelson
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01141;
24 Feb 99 17:10 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fhpf-00059M-00; Wed, 24 Feb 1999 17:10:47 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA04049); Wed, 24 Feb 1999 16:54:26 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 16:54:11 GMT
Received: from graphics.lcs.mit.edu [18.24.2.30] by hermes via ESMTP (QAA06281); Wed, 24 Feb 1999 16:53:49 GMT
Received: from guache.lcs.mit.edu (guache.lcs.mit.edu [18.24.2.78])
by graphics.lcs.mit.edu (8.9.0/8.9.0) with ESMTP id LAA09340;
Wed, 24 Feb 1999 11:53:30 -0500 (EST)
Received: from localhost (aisaksen@localhost)
by guache.lcs.mit.edu (8.9.0/8.9.0) with SMTP id LAA01012;
Wed, 24 Feb 1999 11:53:30 -0500 (EST)
X-Authentication-Warning: guache.lcs.mit.edu: aisaksen owned process doing -bs
Date: Wed, 24 Feb 1999 11:53:30 -0500 (EST)
From: Aaron Isaksen
To: Terry Cast
cc: Aaron Isaksen , csound@maths.ex.ac.uk
Subject: Re: if...
In-Reply-To: <36D34828.2D610F51@ou.edu>
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
always always keep backward compatiblity to the old style.
And there could be a utility that maps the c-syntax to the old syntax.
-Aaron
On Tue, 23 Feb 1999, Terry Cast wrote:
> Well, one reason (maybe or maybe not the only reason, and maybe or maybe not a
> sufficient reason) is that those of us who don't know C would have to learn a whole
> new syntax.
>
> Terry Cast
>
> Aaron Isaksen wrote:
>
> > Why not make the parser understand c-like syntax?
> >
> > aout = balance(x,y,z); // comment
> >
> > instead of assemblyesque
> > aout balance x,y,z ; comment
> >
> > -Aaron
>
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01199;
24 Feb 99 17:40 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FiI9-0004lb-00; Wed, 24 Feb 1999 17:40:13 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA02556); Wed, 24 Feb 1999 17:29:01 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 17:28:48 GMT
Received: from dns2.seanet.com [199.181.164.2] by hermes via ESMTP (RAA13247); Wed, 24 Feb 1999 17:28:39 GMT
Received: from seanet.com (cy25.dialup.seanet.com [207.12.136.25]) by mx.seanet.com (8.8.8/Seanet-8.7.3) with ESMTP id JAA03636; Wed, 24 Feb 1999 09:27:55 -0800 (PST)
Message-ID: <36D437BA.DD9CF03@seanet.com>
Date: Wed, 24 Feb 1999 09:32:42 -0800
From: Sean Costello
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: Eric Scheirer
CC: Michael Gogins ,
Richard Dobson , csound@maths.ex.ac.uk
Subject: Re: if...
References: <02d201be6004$0370c390$e4055512@ozric.media.mit.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Eric Scheirer wrote:
> The MPEG-4 standard is finished (as of Oct 1998), and
> SAOL and the rest of Structured Audio is a key part.
> Any full implementation of the MPEG-4 standard is
> required to include real-time synthesis using SAOL.
Are there any sound cards coming out that will have hardware
acceleration for running SAOL? That would be pretty darned nifty, to
put it mildly.
Sean Costello
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01219;
24 Feb 99 17:48 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FiQ8-0004mS-00; Wed, 24 Feb 1999 17:48:28 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA06099); Wed, 24 Feb 1999 17:18:22 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 17:18:08 GMT
Received: from graphics.lcs.mit.edu [18.24.2.30] by hermes via ESMTP (RAA09350); Wed, 24 Feb 1999 17:17:34 GMT
Received: from guache.lcs.mit.edu (guache.lcs.mit.edu [18.24.2.78])
by graphics.lcs.mit.edu (8.9.0/8.9.0) with ESMTP id MAA09707;
Wed, 24 Feb 1999 12:16:52 -0500 (EST)
Received: from localhost (aisaksen@localhost)
by guache.lcs.mit.edu (8.9.0/8.9.0) with SMTP id MAA01129;
Wed, 24 Feb 1999 12:16:52 -0500 (EST)
X-Authentication-Warning: guache.lcs.mit.edu: aisaksen owned process doing -bs
Date: Wed, 24 Feb 1999 12:16:52 -0500 (EST)
From: Aaron Isaksen
To: Richard Dobson
cc: csound@maths.ex.ac.uk
Subject: Re: if...
In-Reply-To: <36D34660.96B1CB6A@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
>
> aout = balance(x,y,balance(f,g,h));
>
> would not be possible, thought the syntax might suggest it is
thats what type checking is for.
-Aaron
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01283;
24 Feb 99 18:18 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fit3-0004or-00; Wed, 24 Feb 1999 18:18:21 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA01520); Wed, 24 Feb 1999 18:07:58 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 18:07:45 GMT
Received: from aleve.media.mit.edu [18.85.2.171] by hermes via ESMTP (SAA07595); Wed, 24 Feb 1999 18:07:39 GMT
Received: from ozric (ozric.media.mit.edu [18.85.5.228])
by aleve.media.mit.edu (8.9.1a/8.9.1/+ALEVE) with SMTP id NAA23487;
Wed, 24 Feb 1999 13:06:57 -0500 (EST)
Message-ID: <036301be6020$8a1f4e40$e4055512@ozric.media.mit.edu>
From: Eric Scheirer
To: Sean Costello
Cc: Michael Gogins ,
Richard Dobson , csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Re: if...
Date: Wed, 24 Feb 1999 13:07:03 -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
>Are there any sound cards coming out that will have hardware
>acceleration for running SAOL? That would be pretty darned nifty, to
>put it mildly.
>
>Sean Costello
I'm not aware of any companies that have allocated specific
resources to do this. I have had enthusiastic discussion with
a number of prominent soundcard and DSP manufacturers.
Given the prevelence of MPEG-1 and MPEG-2 hardware decoding
solutions today, I think it's very likely that there will
be hardware accelerators for MPEG-4, including SAOL, within
two years.
Best,
-- Eric
+-----------------+
| Eric Scheirer |A-7b5 D7b9|G-7 C7|Cb C-7b5 F7#9|Bb |B-7 E7|
|eds@media.mit.edu| < http://sound.media.mit.edu/~eds >
| 617 253 0112 |A A/G# F#-7 F#-/E|Eb-7b5 D7b5|Db|C7b5 B7b5|Bb|
+-----------------+
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01289;
24 Feb 99 18:19 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fity-0004ou-00; Wed, 24 Feb 1999 18:19:18 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA18376); Wed, 24 Feb 1999 18:08:47 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 18:08:34 GMT
Received: from ella.mills.edu [144.91.3.20] by hermes via SMTP (SAA11809); Wed, 24 Feb 1999 18:08:32 GMT
Received: (qmail 5608881 invoked by uid 1964); 24 Feb 1999 10:08:00 -0800
Date: Wed, 24 Feb 1999 10:08:00 -0800 (PST)
From: "Matt J. Ingalls"
To: Michael Gogins
cc: Richard Dobson , csound@maths.ex.ac.uk
Subject: Re: if...
In-Reply-To: <001201be5ff9$d77f6b60$79d496c0@Realizer.ngt.sungard.com>
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
On Wed, 24 Feb 1999, Michael Gogins wrote:
> back to are (a) an efficient, public-domain version of the MPEG-4 Structured
> Audio Orchestra Language, which is an updated, C syntax version of Csound's
i totally agree with you. just think if all the timedeveloping
(fixing)Csound the past 4 or 5 years had been spent creating a new
SAOL-like version....
> something like Phil Burt's JSyn, but with runtime loading of unit generators
(Phil Burk)
and i dont see any reason why a SAOL implementation couldnt be using
Phil's C library (perhaps he is doing this already..)
-matt
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01323;
24 Feb 99 18:32 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fj6U-0005E3-00; Wed, 24 Feb 1999 18:32:14 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA17330); Wed, 24 Feb 1999 18:27:28 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 18:27:16 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (SAA03166); Wed, 24 Feb 1999 18:27:15 GMT
Received: from dumburk (dialup200-4-32.swipnet.se [130.244.200.224])
by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id TAA06978
for ; Wed, 24 Feb 1999 19:26:53 +0100 (MET)
Message-ID: <36D444DB.666F@hem.passagen.se>
Date: Wed, 24 Feb 1999 19:28:43 +0100
From: rasmus ekman
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
To: Csound list
Subject: mdelay et al (Was: Re: opcode information. )
References: <199902230159.UAA03358@pop01.globecomm.net> <36D231C6.5827@hem.passagen.se>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
jpff@maths.bath.ac.uk wrote:
>
> >> mdelay
> rasmus> From Maldonado, N/A in Bath version.
>
> Oh yes it is!
Yes, I noticed after posting. It just wasn't mentioned in the relevant
release notice (3.492). But since I had it from Gabriel's CsoundRT docs,
it's in winhelp anyway.
Documentation also attached below for all to see.
The midi mongers will like it (I would if I had something to output midi to).
> >> pset
>
> Sets parameters for an instrument, particularly when driven from a
> MIDI input or such. It is in the MIT manual.
Not in the one I had, nor in any file I've found on Bath/Montreal servers.
And not in the age-old postscript files at ftp://sound.media.mit.edu/pub/Csound
> >> soundout
> soundout is rather like soundin, writes samples to a file
not documented, but that could perhaps be changed.
> >> convle
> rasmus> Same as convolve. A misspelt entry
>
> No it is a deliberate alternative /.../ Also see butterlp and butlp etc
oh.
> >> mod mul [sub]
> rasmus> don't know. But a mod-like operator % was introduced in Bath 3.50
>
> These are the opcode versions of % and *. [and -]
> One can do teh same with + and add of course
ok. good. Hitherto undocumented.
> rasmus> hth,
>
> That one I do not know!
> =John ff
Abbr: Hope This Helps. Usually capitalised.
Perhaps it didn't, but at least it forced some clarifications...
Thanks,
re
*********************************
MIDI delay - By Gabriel Maldonado (New in Csound 3.492)
mdelay kstatus, kchan, kdata1, kdata2, kdelay
A midi delay ugen.
PERFORMANCE
kstatus - status byte of midi message to be delayed
kchan - midi channel (1-16)
kdata1 - first midi data byte
kdata2 - second midi data byte
kdelay - delay time in seconds
Each time that kstatus is other than zero, this opcode outputs
a midi message to the midi out port after kdelay seconds.
This opcode is useful to implement midi delays. Several instances
of this opcode can be present in the same instr with different
argument values, so complex and colourful midi echoes can be
implemented. Further, the delay time can be changed at k-rate.
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01332;
24 Feb 99 18:37 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FjBE-0004qP-00; Wed, 24 Feb 1999 18:37:08 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA08940); Wed, 24 Feb 1999 18:31:19 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 18:31:05 GMT
Received: from root@smtp4.fas.harvard.edu [140.247.30.84] by hermes via ESMTP (SAA08637); Wed, 24 Feb 1999 18:31:03 GMT
Received: from [140.247.44.105] (nas4-05.fas.harvard.edu [140.247.44.105]) by smtp4.fas.harvard.edu with ESMTP id NAA23235; Wed, 24 Feb 1999 13:30:56 -0500 (EST)
X-Sender: starrett@pop.fas.harvard.edu
Message-Id:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Area: People, Technology and Music
Date: Wed, 24 Feb 1999 10:51:57 -0500
To: csound@maths.ex.ac.uk
From: Charles Starrett
Subject: Re: if... [historical/cultural]
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
### At 11:46 PM -0800 2/23/99, Dr J.Stevenson's research assistant wrote:
>Richard Dobson wrote:
>
>> Also , there is the cultural question - why C? Why not Basic, Lisp,
>> Pascal, Forth,Occam...
> I haven't yet seen the obvious ( semmantical ) reason yet!!
>its called CSound not (B)ASICsound (L)ispsound,... :)
The cultural answer is:
CSound is a port of Music 11 from PDP-11 assembly into the more-portable C
to allow it (Music 11) to be run on many different platforms. The syntax
did not change significantly if at all... Thus the "C" in "CSound" refers
to the programing language of the source that the binaries are compiled
from, not the "parentage" of the .orc/.sco syntax.
--
/----Charles D. Starrett-----\ "I do not feel that
| / | ____ | | ____ | | my research suffered unduly
| /\ | |-- |-| ___| | | from the fact that I enjoyed it."
| |___ |____| | |_____| | *Daniel Miller,
\--starrett@fas.harvard.edu--/ Modernity--an Ethnographic Approach
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01347;
24 Feb 99 18:38 GMT
Received: from [38.227.100.46] (helo=neptune.lyrick.com)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FjCR-0005ES-00; Wed, 24 Feb 1999 18:38:23 +0000
Received: by neptune.lyrick.com with Internet Mail Service (5.5.2448.0)
id ; Wed, 24 Feb 1999 12:35:43 -0600
Message-ID: <283AABB8FD0DD21187C200A0C995F5DE0ECE63@neptune.lyrick.com>
From: David Boothe
To: "'jpff@maths.bath.ac.uk'"
Cc: "Csound (E-mail)"
Subject: RE: opcode information.
Date: Wed, 24 Feb 1999 12:35:32 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
charset="iso-8859-1"
Where is the MIT manual available? Or do you mean the one that is part of
the forthcoming book? Thanks.
-David.
jpff wrote:
> Sets parameters for an instrument, particularly when driven from a
> MIDI input or such. It is in teh MIT manual.
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01363;
24 Feb 99 18:43 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FjHa-0004qu-00; Wed, 24 Feb 1999 18:43:42 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA06801); Wed, 24 Feb 1999 18:38:43 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 18:38:31 GMT
Received: from neptune.lyrick.com [38.227.100.46] by hermes via ESMTP (SAA02271); Wed, 24 Feb 1999 18:38:24 GMT
Received: by neptune.lyrick.com with Internet Mail Service (5.5.2448.0)
id ; Wed, 24 Feb 1999 12:35:43 -0600
Message-ID: <283AABB8FD0DD21187C200A0C995F5DE0ECE63@neptune.lyrick.com>
From: David Boothe
To: "'jpff@maths.bath.ac.uk'"
Cc: "Csound (E-mail)"
Subject: RE: opcode information.
Date: Wed, 24 Feb 1999 12:35:32 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
charset="iso-8859-1"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Where is the MIT manual available? Or do you mean the one that is part of
the forthcoming book? Thanks.
-David.
jpff wrote:
> Sets parameters for an instrument, particularly when driven from a
> MIDI input or such. It is in teh MIT manual.
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01419;
24 Feb 99 19:16 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fjn4-0005G9-00; Wed, 24 Feb 1999 19:16:14 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA10632); Wed, 24 Feb 1999 19:00:53 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 19:00:41 GMT
Received: from root@jason02.u.washington.edu [140.142.76.8] by hermes via ESMTP (TAA05319); Wed, 24 Feb 1999 19:00:25 GMT
Received: from homer35.u.washington.edu (karpen@homer35.u.washington.edu [140.142.78.18])
by jason02.u.washington.edu (8.9.3+UW99.02/8.9.3+UW99.01) with ESMTP id LAA17624;
Wed, 24 Feb 1999 11:00:21 -0800
Received: from localhost (karpen@localhost)
by homer35.u.washington.edu (8.9.1+UW98.09/8.9.2+UW99.01) with ESMTP id LAA154764;
Wed, 24 Feb 1999 11:00:20 -0800
Date: Wed, 24 Feb 1999 11:00:20 -0800 (PST)
From: Richard Karpen
To: Charles Starrett
cc: csound@maths.ex.ac.uk
Subject: Re: if... [historical/cultural]
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
Just to get the history a bit more accurate, Csound actually comes to us
via Barry Vercoe's Music-360 which was run on IBM mainframes (such as the
IBM-360, of course), which became Music-11 and then Csound. An interesting
feature of Music-360 for it's time was the ease with which one could add
ones own unit generators (written in FORTRAN) to use in Music-360
intruments. I found myself using Music-360 in Italy in the early 80's
after having used Music-11 in Brooklyn and wanted to be able to use
lpread/lpreson. I was able to add my own FORTRAN versions of this to
Music-360. And it wasn't necessary to recompile all of Music-360 before
running a job in order make subroutine calls on your own units. In
Music-11 one could't really add unit generators like that. In Csound, of
course, we can all add our own code.
Richard Karpen
On Wed, 24 Feb 1999, Charles Starrett wrote:
> ### At 11:46 PM -0800 2/23/99, Dr J.Stevenson's research assistant wrote:
> >Richard Dobson wrote:
> >
> >> Also , there is the cultural question - why C? Why not Basic, Lisp,
> >> Pascal, Forth,Occam...
> > I haven't yet seen the obvious ( semmantical ) reason yet!!
> >its called CSound not (B)ASICsound (L)ispsound,... :)
>
> The cultural answer is:
> CSound is a port of Music 11 from PDP-11 assembly into the more-portable C
> to allow it (Music 11) to be run on many different platforms. The syntax
> did not change significantly if at all... Thus the "C" in "CSound" refers
> to the programing language of the source that the binaries are compiled
> from, not the "parentage" of the .orc/.sco syntax.
>
> --
> /----Charles D. Starrett-----\ "I do not feel that
> | / | ____ | | ____ | | my research suffered unduly
> | /\ | |-- |-| ___| | | from the fact that I enjoyed it."
> | |___ |____| | |_____| | *Daniel Miller,
> \--starrett@fas.harvard.edu--/ Modernity--an Ethnographic Approach
>
>
>
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01476;
24 Feb 99 19:39 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fk9b-0004tm-00; Wed, 24 Feb 1999 19:39:31 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA07967); Wed, 24 Feb 1999 19:33:40 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 19:33:28 GMT
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (TAA17633); Wed, 24 Feb 1999 19:33:27 GMT
Received: (qmail 23452 invoked from network); 24 Feb 1999 19:30:05 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.155)
by jaguars with SMTP; 24 Feb 1999 19:30:05 -0000
Message-ID: <36D45513.C25CB4A8@cableinet.co.uk>
Date: Wed, 24 Feb 1999 19:37:55 +0000
From: Richard Dobson
Organization: Composers Desktop Project
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: csound
Subject: Re: PSOLA synthesis?
References: <36D39B3C.81030F36@seanet.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
If anyone already replied to this, I missed it...
this sounds like a basic granular synthesis technique, so some or all of
the grain/granule opcodes should be able to do it. The full
'pitch-synchronous granular synthesis' is a little more tricky, but
needed if you really want artefact-free time-stretching. Otherwise,
plain-vanilla granular timestretching can work pretty well; you usually
need to randomize the start times of the grains a little to reduce, if
not eliminate, phasing effects. Fof is itself a particular species of
granular synthesis, but I don't think the opcode lends itself so well to
what you want to do; it synthesizes the grains rather than reading them
from a table.
Richard Dobson
Sean Costello wrote:
>
> Hi Csounders:
>
> I have a certain synthesis technique I would like to perform, but I am
> not sure of the best way to do it. What I would like to do is take a
> single one-cycle sample of a vocal sound, and trigger that sample at a
> certain rate. The sample should not change pitch or duration as it is
> triggered - for triggering rates below the frequency of the original
> sample, there should be gaps between the triggered samples, while for
> triggering rates above the frequency of the original sample, the samples
> should overlap.
>
> How would I do this in Csound? Obviously, simply loading the sound into
> a table and using oscili or a phasor/tablei combination will not yield
> the desired effect (this would change the pitch of the sample).
> Convolving the sample with a pulse train would work, but would probably
> take forever to compute. Can any of the fof routines do this (i.e.
> trigger a sample once, with the triggering controlled at an audio rate,
> as opposed to cycling through the sample table and enveloping the
> result)? Are there other techniques I am overlooking?
>
--
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd
CDP homepage: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01495;
24 Feb 99 19:47 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FkH0-0004u1-00; Wed, 24 Feb 1999 19:47:10 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA15996); Wed, 24 Feb 1999 19:44:13 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 19:44:01 GMT
Received: from root@jason01.u.washington.edu [140.142.70.24] by hermes via ESMTP (TAA05916); Wed, 24 Feb 1999 19:43:57 GMT
Received: from homer07.u.washington.edu (karpen@homer07.u.washington.edu [140.142.77.11])
by jason01.u.washington.edu (8.9.3+UW99.02/8.9.3+UW99.01) with ESMTP id LAA21860;
Wed, 24 Feb 1999 11:43:44 -0800
Received: from localhost (karpen@localhost)
by homer07.u.washington.edu (8.9.1+UW98.09/8.9.2+UW99.01) with ESMTP id LAA86384;
Wed, 24 Feb 1999 11:43:40 -0800
Date: Wed, 24 Feb 1999 11:43:40 -0800 (PST)
From: Richard Karpen
To: Richard Dobson
cc: csound
Subject: Re: PSOLA synthesis?
In-Reply-To: <36D45513.C25CB4A8@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
The fof unit does allow one to read samples via Gen01 and for what you're
describing Sean, I think you could give fof a try (there's also a fof2).
By rigging the freq of the grain to be sr/table_len (like for sampling)
and making the frequency at which new grains are initiated as often or
seldom as you want, you can might be able to get a flavor of what you're
suggesting you'd like to do. Maybe!
RK
On Wed, 24 Feb 1999, Richard Dobson wrote:
> If anyone already replied to this, I missed it...
>
> this sounds like a basic granular synthesis technique, so some or all of
> the grain/granule opcodes should be able to do it. The full
> 'pitch-synchronous granular synthesis' is a little more tricky, but
> needed if you really want artefact-free time-stretching. Otherwise,
> plain-vanilla granular timestretching can work pretty well; you usually
> need to randomize the start times of the grains a little to reduce, if
> not eliminate, phasing effects. Fof is itself a particular species of
> granular synthesis, but I don't think the opcode lends itself so well to
> what you want to do; it synthesizes the grains rather than reading them
> from a table.
>
> Richard Dobson
>
>
>
> Sean Costello wrote:
> >
> > Hi Csounders:
> >
> > I have a certain synthesis technique I would like to perform, but I am
> > not sure of the best way to do it. What I would like to do is take a
> > single one-cycle sample of a vocal sound, and trigger that sample at a
> > certain rate. The sample should not change pitch or duration as it is
> > triggered - for triggering rates below the frequency of the original
> > sample, there should be gaps between the triggered samples, while for
> > triggering rates above the frequency of the original sample, the samples
> > should overlap.
> >
> > How would I do this in Csound? Obviously, simply loading the sound into
> > a table and using oscili or a phasor/tablei combination will not yield
> > the desired effect (this would change the pitch of the sample).
> > Convolving the sample with a pulse train would work, but would probably
> > take forever to compute. Can any of the fof routines do this (i.e.
> > trigger a sample once, with the triggering controlled at an audio rate,
> > as opposed to cycling through the sample table and enveloping the
> > result)? Are there other techniques I am overlooking?
> >
>
> --
> Test your DAW with my Soundcard Attrition Page!
> http://wkweb5.cableinet.co.uk/rwd
> CDP homepage: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm
>
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01503;
24 Feb 99 19:50 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FkJx-0005Hp-00; Wed, 24 Feb 1999 19:50:13 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA11885); Wed, 24 Feb 1999 19:42:31 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 19:42:20 GMT
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (TAA07220); Wed, 24 Feb 1999 19:42:19 GMT
Received: (qmail 24087 invoked from network); 24 Feb 1999 19:38:57 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.155)
by jaguars with SMTP; 24 Feb 1999 19:38:57 -0000
Message-ID: <36D45726.D75C081E@cableinet.co.uk>
Date: Wed, 24 Feb 1999 19:46:46 +0000
From: Richard Dobson
Organization: Composers Desktop Project
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: if...
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Not only type checking, but init-pass stuff, expression parsing, the
problem of paired opcodes such as delay, maybe also local variables
and garbage collection, error-reporting... - all the paraphernalia of a
higher-level language...
Richard Dobson
Aaron Isaksen wrote:
>
> >
> > aout = balance(x,y,balance(f,g,h));
> >
> > would not be possible, thought the syntax might suggest it is
>
> thats what type checking is for.
>
> -Aaron
--
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd
CDP homepage: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01517;
24 Feb 99 19:51 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FkLT-0004uN-00; Wed, 24 Feb 1999 19:51:47 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA10409); Wed, 24 Feb 1999 19:48:09 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 19:47:56 GMT
Received: from graphics.lcs.mit.edu [18.24.2.30] by hermes via ESMTP (TAA14295); Wed, 24 Feb 1999 19:47:55 GMT
Received: from guache.lcs.mit.edu (guache.lcs.mit.edu [18.24.2.78])
by graphics.lcs.mit.edu (8.9.0/8.9.0) with ESMTP id OAA23433;
Wed, 24 Feb 1999 14:47:45 -0500 (EST)
Received: from localhost (aisaksen@localhost)
by guache.lcs.mit.edu (8.9.0/8.9.0) with SMTP id OAA01228;
Wed, 24 Feb 1999 14:47:44 -0500 (EST)
X-Authentication-Warning: guache.lcs.mit.edu: aisaksen owned process doing -bs
Date: Wed, 24 Feb 1999 14:47:44 -0500 (EST)
From: Aaron Isaksen
To: Josep M Comajuncosas
cc: csound@maths.ex.ac.uk
Subject: Re: if statement blocks
In-Reply-To: <36D3B9AD.A5CE8551@intercom.es>
Message-ID:
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> Enough theory by now...Look at this example:
> if (...) then do (...)
> else if (...) then do (...)
> else do (...)
I think that matlab style if statements are more applicable to the CSound
syntax:
if expression
statements
elseif expression
statements
else expression
statements
end
That could probably be done with macros.
This uses the one-line-per-functional-statement semantics of Csound, and
reduces the number of keywords (don't need the 'do' statement and added
blocking necessary to do more than one statement inside a do block).
-Aaron
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01696;
24 Feb 99 21:38 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fm0r-0005NF-00; Wed, 24 Feb 1999 21:38:37 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA15512); Wed, 24 Feb 1999 21:37:02 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 21:36:50 GMT
Received: from relay05.netaddress.usa.net [204.68.24.185] by hermes via SMTP (VAA09874); Wed, 24 Feb 1999 21:36:48 GMT
Received: (qmail 21309 invoked from network); 24 Feb 1999 21:36:46 -0000
Received: from www0g.netaddress.usa.net (204.68.24.36)
by outbound.netaddress.usa.net with SMTP; 24 Feb 1999 21:36:46 -0000
Received: (qmail 22188 invoked by uid 60001); 24 Feb 1999 21:30:49 -0000
Message-ID: <19990224213049.22187.qmail@www0g.netaddress.usa.net>
Received: from 204.68.24.36 by www0g via web-mailer(M3.0.0.11) on Wed Feb 24 21:30:49 GMT 1999
Date: 24 Feb 99 21:30:49 America/Fort_Wayne
From: Robert Junior Mcnulty
To: csound@maths.ex.ac.uk
Subject: Winhlp file
X-Mailer: USANET web-mailer (M3.0.0.11)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Try as hard as I might, I can't download this file for my Winsound program.
What can I do to get this file? It it the winhelp for Csound 3.52.
Later
Bobby
AKA Sherlock
AKA The Nerd
AKA Baron
____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01833;
24 Feb 99 22:38 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fmws-0005Q4-00; Wed, 24 Feb 1999 22:38:34 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA13270); Wed, 24 Feb 1999 22:36:49 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 22:36:37 GMT
Received: from mercury.cc.oberlin.edu [132.162.1.220] by hermes via ESMTP (WAA09711); Wed, 24 Feb 1999 22:36:36 GMT
Received: from dhcp (DHCP5201.resnet.oberlin.edu)
by oberlin.edu (PMDF V5.1-12 #29794) with SMTP id <0F7O004WRK4Z78@oberlin.edu>
for csound@maths.ex.ac.uk; Wed, 24 Feb 1999 17:36:36 -0500 (EST)
Date: Wed, 24 Feb 1999 17:36:11 -0500
From: jim altieri
Subject: core dumping and page faulting
X-Sender: sjva4957@mail.cc.oberlin.edu
To: csound@maths.ex.ac.uk
Message-id: <2.2.32.19990224223611.007153f8@mail.cc.oberlin.edu>
MIME-version: 1.0
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Content-type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
hi everybody,
i'm pretty new to csound, so i might be missing something very obvious,
but be gentle, my intentions are good. i'm working on this piece, fairly
simple, just playing sound files at various times. the only problem is,
when it gets to the first instrument allocation, it dumps core in linux and
causes a page fault in windoze95. here's my orc file and an example of a
line out of my sco file...
;beginning of orchestra file
srD100
krD1
ksmps0
nchnls=2
instr 1
kpan line (p6/100)*10000, p3, (p7/100)*10000
asig1,asig2 soundin p5
outs asig1*p4*kpan, asig2*p5*(1-kpan)
endin
;end of orchestra file
;line from score file
i1 19.105350 4.066000 75 "track27.aif" 29 6
what's making this crash my machine?
thanx for your time.
-jim altieri
________________________________________________
join the effort.
http://www.distributed.net
jim.altieri@oberlin.edu
http://www.oberlin.edu/~jaltieri
ocmr 76
oberlin, oh 44074
(440) 775-6243
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01870;
24 Feb 99 22:51 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fn9U-0005Qp-00; Wed, 24 Feb 1999 22:51:36 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA02191); Wed, 24 Feb 1999 22:49:26 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 22:49:14 GMT
Received: from mercury.cc.oberlin.edu [132.162.1.220] by hermes via ESMTP (WAA17042); Wed, 24 Feb 1999 22:49:13 GMT
Received: from dhcp (DHCP5201.resnet.oberlin.edu)
by oberlin.edu (PMDF V5.1-12 #29794) with SMTP id <0F7O004XCKQ006@oberlin.edu>
for csound@maths.ex.ac.uk; Wed, 24 Feb 1999 17:49:12 -0500 (EST)
Date: Wed, 24 Feb 1999 17:48:48 -0500
From: jim altieri
Subject: correction
X-Sender: sjva4957@mail.cc.oberlin.edu
To: csound@maths.ex.ac.uk
Message-id: <2.2.32.19990224224848.006f8d30@mail.cc.oberlin.edu>
MIME-version: 1.0
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Content-type: text/plain; charset="us-ascii"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
ok, i fixed an obvious problem in my orc that i initially missed, but that
didn't keep it from screwing my machine again.
;beginning of orchestra file
srD100
krD1
ksmps0
nchnls=2
instr 1
kpan line (p6/100)*10000, p3, (p7/100)*10000
asig1,asig2 soundin p5
outs asig1*(p4/100)*kpan, asig2*(p4/100)*(1-kpan)
endin
;end of orchestra file
;line from score file
;p4=vol p5=soundfile p6&p7=panning info
i1 19.105350 4.066000 75 "track27.aif" 29 6
sorry for the double post.
-jim
________________________________________________
join the effort.
http://www.distributed.net
jim.altieri@oberlin.edu
http://www.oberlin.edu/~jaltieri
ocmr 76
oberlin, oh 44074
(440) 775-6243
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01921;
24 Feb 99 23:04 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FnLv-00054c-00; Wed, 24 Feb 1999 23:04:27 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA02281); Wed, 24 Feb 1999 23:03:12 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 23:03:04 GMT
Received: from root@lix.intercom.es [194.179.21.2] by hermes via ESMTP (XAA15779); Wed, 24 Feb 1999 23:02:53 GMT
Received: from intercom.es (iv2-86.intercom.es [195.76.206.86]) by lix.intercom.es (8.7.3/8.6.12) with ESMTP id AAA06055 for ; Thu, 25 Feb 1999 00:08:01 +0100
Message-ID: <36D4825E.D0D4840C@intercom.es>
Date: Wed, 24 Feb 1999 23:51:10 +0100
From: Josep M Comajuncosas
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Csound -> MIDI -> Csound
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 XAA15779
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi,
I wonder if anyone has tried to use Csound both as an algorithmic
environtment generating MIDI events and as a synthesiser getting those
events and using them in MIDIfied instruments, *at the same time*. I´m
afraid one may need some kind of internal router of the MIDI data just
like Hubi´s Loopback, otherwise running two Csound instances in the same
or different computers (linked by MIDI cables or maybe via an Ethernet +
a MIDI to Ethernet software).
Nice features regarding MIDI implementation:
the ability to save MIDI files
the ability to send MIDI events to Csound itself (to other instruments
for example).
Lots of strange possibilities!
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa01996;
24 Feb 99 23:27 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FniE-00055r-00; Wed, 24 Feb 1999 23:27:30 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (XAA14669); Wed, 24 Feb 1999 23:24:27 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 24 Feb 1999 23:24:15 GMT
Received: from crius.flash.net [209.30.0.49] by hermes via ESMTP (XAA14543); Wed, 24 Feb 1999 23:24:14 GMT
Received: from flash.net (p146.amax43.dialup.ftw1.flash.net [209.30.11.146])
by crius.flash.net (8.9.1/8.8.5) with ESMTP id RAA02901;
Wed, 24 Feb 1999 17:24:09 -0600 (CST)
Message-ID: <36D48A35.DC354B42@flash.net>
Date: Wed, 24 Feb 1999 17:24:37 -0600
From: pete moss
Organization: pete moss GmbH
X-Mailer: Mozilla 4.5 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: jim altieri , csound
Subject: Re: core dumping and page faulting
References: <2.2.32.19990224223611.007153f8@mail.cc.oberlin.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
well, just glancing at it, you use p5 as the input for soundin and also as a
multiplier for channel 2 of your outs statement. since p5 is a string, i will
bet that csound is having problems multiplying a number by a string. there
could be other problems but that one caught my eye.
pete
jim altieri wrote:
> hi everybody,
> i'm pretty new to csound, so i might be missing something very obvious,
> but be gentle, my intentions are good. i'm working on this piece, fairly
> simple, just playing sound files at various times. the only problem is,
> when it gets to the first instrument allocation, it dumps core in linux and
> causes a page fault in windoze95. here's my orc file and an example of a
> line out of my sco file...
>
> ;beginning of orchestra file
> srD100
> krD1
> ksmps0
> nchnls=2
>
> instr 1
> kpan line (p6/100)*10000, p3, (p7/100)*10000
> asig1,asig2 soundin p5
> outs asig1*p4*kpan, asig2*p5*(1-kpan)
> endin
> ;end of orchestra file
>
> ;line from score file
> i1 19.105350 4.066000 75 "track27.aif" 29 6
>
> what's making this crash my machine?
> thanx for your time.
>
> -jim altieri
>
> ________________________________________________
>
> join the effort.
> http://www.distributed.net
>
> jim.altieri@oberlin.edu
> http://www.oberlin.edu/~jaltieri
> ocmr 76
> oberlin, oh 44074
> (440) 775-6243
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02125;
25 Feb 99 0:21 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FoYa-00059P-00; Thu, 25 Feb 1999 00:21:36 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA00146); Thu, 25 Feb 1999 00:19:07 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 00:18:55 GMT
Received: from camel8.mindspring.com [207.69.200.58] by hermes via ESMTP (AAA07725); Thu, 25 Feb 1999 00:18:54 GMT
Received: from Realizer (user-38ld13b.dialup.mindspring.com [209.86.132.107])
by camel8.mindspring.com (8.8.5/8.8.5) with SMTP id TAA14618;
Wed, 24 Feb 1999 19:18:50 -0500 (EST)
Message-ID: <001101be6054$75385ce0$79d496c0@Realizer.ngt.sungard.com>
From: Michael Gogins
To: "Matt J. Ingalls"
Cc: Richard Dobson , csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Re: if...
Date: Wed, 24 Feb 1999 19:19:05 -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.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
The issue for me here is runtime compilation, which is essential if the
synthesizer is to be something usable for serious composition and
experimentation. Canned patches are never really enough,and a pure
interpreter (which is what SAOLC, the reference implementation, is) is too
slow. That's what Csound is, and one of the reasons we use it: it's a
runtime compiler, a true compiler, not an interpreter. (I'm willing to bet
that's also why the syntax is so simple-minded: that made it easier by far
to write the compiler.)
-----Original Message-----
From: Matt J. Ingalls
To: Michael Gogins
Cc: Richard Dobson ; csound@maths.ex.ac.uk
Date: Wednesday, February 24, 1999 1:08 PM
Subject: Re: if...
>On Wed, 24 Feb 1999, Michael Gogins wrote:
>> back to are (a) an efficient, public-domain version of the MPEG-4
Structured
>> Audio Orchestra Language, which is an updated, C syntax version of
Csound's
>
> i totally agree with you. just think if all the timedeveloping
>(fixing)Csound the past 4 or 5 years had been spent creating a new
>SAOL-like version....
>
>> something like Phil Burt's JSyn, but with runtime loading of unit
generators
>
> (Phil Burk)
>
>and i dont see any reason why a SAOL implementation couldnt be using
>Phil's C library (perhaps he is doing this already..)
>
>-matt
>
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02173;
25 Feb 99 0:32 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Foiw-00059y-00; Thu, 25 Feb 1999 00:32:19 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA04461); Thu, 25 Feb 1999 00:29:45 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 00:29:34 GMT
Received: from lorica.ucc.usyd.edu.au [129.78.64.15] by hermes via ESMTP (AAA04546); Thu, 25 Feb 1999 00:29:30 GMT
Received: from mail.usyd.edu.au (mp-5-3.mp.usyd.edu.au [129.78.56.127])
by lorica.ucc.usyd.edu.au (8.9.1a/8.9.1) with ESMTP id LAA29465
for ; Thu, 25 Feb 1999 11:11:04 +1100 (EST)
Message-ID: <36D494DB.5259E1EF@mail.usyd.edu.au>
Date: Thu, 25 Feb 1999 11:10:05 +1100
From: Bob Douglas
Reply-To: rdouglas@mail.usyd.edu.au
Organization: Sydney Conservatorium
X-Mailer: Mozilla 4.03 (Macintosh; I; PPC)
MIME-Version: 1.0
To: CSound list
Subject: Re: "talkbox"
References: <001001be5fb6$4d92b760$1b99170c@default>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Is this the same device that was pioneered by Jeff Beck and later done to
death by Peter Frampton?
bob douglas
> Hans Mikelson wrote:
(....
> Don't confuse the talk-box with a vocoder which is another beast entirely.
> The "talk-box" sound of the "Beastie Boys" is not your typical talk-box or
> vocoder sound. It is quite distinctive.
...)
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02181;
25 Feb 99 0:37 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Foo8-0005AG-00; Thu, 25 Feb 1999 00:37:40 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA14044); Thu, 25 Feb 1999 00:35:17 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 00:35:05 GMT
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (AAA03611); Thu, 25 Feb 1999 00:35:05 GMT
Received: (qmail 11372 invoked from network); 25 Feb 1999 00:31:43 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.45)
by jaguars with SMTP; 25 Feb 1999 00:31:43 -0000
Message-ID: <36D49BC5.C887B4C4@cableinet.co.uk>
Date: Thu, 25 Feb 1999 00:39:33 +0000
From: Richard Dobson
Organization: Composers Desktop Project
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: csound
Subject: Re: PSOLA synthesis?
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Oh, I'd forgotten about fof2 and fog; but the docs imply that ifna is
strictly for the sine table in fof itself, which is how I remembered it
from the old days (and presumably one reason for introducing fof2 etc in
the first place). Perhaps fof2 would also be faster for this task?
Richard Dobson
Richard Karpen wrote:
>
> The fof unit does allow one to read samples via Gen01 and for what you're
> describing Sean, I think you could give fof a try (there's also a fof2).
> By rigging the freq of the grain to be sr/table_len (like for sampling)
> and making the frequency at which new grains are initiated as often or
> seldom as you want, you can might be able to get a flavor of what you're
> suggesting you'd like to do. Maybe!
>
> RK
>
--
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd
CDP homepage: http://www.bath.ac.uk/~masjpf/CDP/CDP.htm
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02381;
25 Feb 99 1:54 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fq0l-0005EX-00; Thu, 25 Feb 1999 01:54:47 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (BAA00020); Thu, 25 Feb 1999 01:52:47 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 01:52:36 GMT
Received: from root@proxy3.ba.best.com [206.184.139.14] by hermes via ESMTP (BAA03156); Thu, 25 Feb 1999 01:52:35 GMT
Received: from charlieb.com (baker.vip.best.com [206.86.232.121])
by proxy3.ba.best.com (8.9.3/8.9.2/best.out) with ESMTP id RAA26552
for ; Wed, 24 Feb 1999 17:50:16 -0800 (PST)
Message-ID: <36D4AC45.D7D23EEF@charlieb.com>
Date: Wed, 24 Feb 1999 17:49:58 -0800
From: Charles Baker
Reply-To: baker@charlieb.com
X-Mailer: Mozilla 4.5 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound List
Subject: [Fwd: Talkbox]
Content-Type: multipart/mixed;
boundary="------------1A8A18DEA2123450A617D2B4"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
This is a multi-part message in MIME format.
--------------1A8A18DEA2123450A617D2B4
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353"
Content-Transfer-Encoding: 7bit
Bob Douglas asks:
>
> Is this the same device that was pioneered by Jeff Beck and later done
to
> death by Peter Frampton?
Well, AFAIK,
That effect used a small monitor speaker, in an enclosed space that
ended with
a tube that was placed inn the mouth: like the mouth-bows of Africa, it
used
the resonance of the mouth cavity itself to filter the source.
The B-B's talkbox, again, seems different. But there are many settings
to
the various emulations of the old "Vocoder", and their's might be one.
The overall effect is *usually* generated by measuring energy in several
freq. bands, and using subtractive methods ('filters') to match source's
"spectral envelope" on new sound source. or something like this? I have
heard
this done with fancy bp-filters, even with FFT techniques. (See CLM
distribution)
Does anyone know of alternative approaches? (Obviously LPC uses a single
multi zero(in analysis)/pole(in synthesis) filter: this is adjusted for
maximal
energy capture as all-zero, then the all-pole conjugate is used to apply
the
captured spectral envelope to new source: *not* the same as the
multi-*channel*
approach, at all.....)
any input?
charlieb
--------------1A8A18DEA2123450A617D2B4
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Return-Path: baker@shell11.ba.best.com
Received: from proxy1.ba.best.com (root@proxy1.ba.best.com [206.184.139.12])
by shell11.ba.best.com (8.9.2/8.9.2/best.sh) with ESMTP id QAA10360
for ; Wed, 24 Feb 1999 16:54:11 -0800 (PST)
Received: from shell11.ba.best.com (root@shell11.ba.best.com [206.184.139.142])
by proxy1.ba.best.com (8.9.3/8.9.2/best.in) with ESMTP id QAA23384
for ; Wed, 24 Feb 1999 16:53:50 -0800 (PST)
Received: (from baker@localhost)
by shell11.ba.best.com (8.9.3/8.9.2/best.sh) id QAA10165
for baker@charlieb.com; Wed, 24 Feb 1999 16:53:18 -0800 (PST)
Date: Wed, 24 Feb 1999 16:53:18 -0800 (PST)
From: Charles Baker
Message-Id: <199902250053.QAA10165@shell11.ba.best.com>
To: baker@charlieb.com
Subject: Re: Talkbox
X-Rcpt-To: baker@charlieb.com
X-Mozilla-Status2: 00000000
>
> Is this the same device that was pioneered by Jeff Beck and later done to
> death by Peter Frampton?
That effect used a small monitor speaker, in an enclosed space that ended with
a tube that was placed inn the mouth: like the mouth-bows ofAfrica, it used
the resonance of the mouth cavity itself to filter the source.
The B-B's talkbox again, seems different. But there are many settings to
the various emulations of the old "Vocoder", and their's might be one.
The overall effect is *usually* generated by measuring energy in several
freq. bands, and using subtractive methods ('filters') to match source's
"spectral envelope" on new sound source. or something like this? I have heard s
this done with fancy bp-filters, even with FFT techniques. (See CLM distribution)
Does anyone know of alternative approaches? (Obviously LPC uses a single
multi zero(in analysis)/pole(in synthesis) filter: this is adjusted for maximal
energy capture as all-zero, then the all-pole conjugate is used to apply the
captured spectral envelope to new source: *not* the same as the multi-*channel*
approach, at all.....)
any input?
charlieb
--------------1A8A18DEA2123450A617D2B4--
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02440;
25 Feb 99 2:29 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FqYc-0005cl-00; Thu, 25 Feb 1999 02:29:46 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA08887); Thu, 25 Feb 1999 02:28:34 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 02:28:22 GMT
Received: from howl.werewolf.net [12.23.152.10] by hermes via ESMTP (CAA18065); Thu, 25 Feb 1999 02:28:20 GMT
Received: from default (dial23.werewolf.net [12.23.153.23])
by howl.werewolf.net (8.9.0/8.9.0) with SMTP id UAA16288
for ; Wed, 24 Feb 1999 20:22:37 -0600 (CST)
Message-ID: <000601be6067$44431ea0$1799170c@default>
From: Hans Mikelson
To: csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Re: if statement blocks
Date: Wed, 24 Feb 1999 20:33:44 -0600
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
Tolve wrote:
>of course hans, i'm dying to know which modular graphical software synths
>you refer to. msp? DSpider? maybe even one heretofore unknown? (i pant).
Actually I have rarely used them in the past two years so I am not very up
to date.
Hans Mikelson
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02458;
25 Feb 99 2:35 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FqeJ-0005d2-00; Thu, 25 Feb 1999 02:35:39 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA10768); Thu, 25 Feb 1999 02:34:26 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 02:34:14 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (CAA11217); Thu, 25 Feb 1999 02:34:13 GMT
Received: from dumburk (dialup184-4-42.swipnet.se [130.244.184.234])
by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id DAA08471;
Thu, 25 Feb 1999 03:32:20 +0100 (MET)
Message-ID: <36D4B6A6.72D3@hem.passagen.se>
Date: Thu, 25 Feb 1999 03:34:14 +0100
From: rasmus ekman
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
To: Robert Junior Mcnulty
CC: csound@maths.ex.ac.uk
Subject: Re: Winhlp file
References: <19990224213049.22187.qmail@www0g.netaddress.usa.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Robert Junior Mcnulty wrote:
>
> Try as hard as I might, I can't download this file for my Winsound program.
You're right, the bath /newest link seems not to work.
And the mitpress frontpage has a faulty link to my page.
It's at http://hem.passagen.se/rasmuse/Csound.htm
Might also be in the csound_win.zip at Bath.
re
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02599;
25 Feb 99 3:21 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FrMq-0005Hu-00; Thu, 25 Feb 1999 03:21:40 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (DAA16296); Thu, 25 Feb 1999 03:17:57 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 03:17:45 GMT
Received: from out4.ibm.net [165.87.194.239] by hermes via ESMTP (DAA08882); Thu, 25 Feb 1999 03:17:44 GMT
Received: from ibm.net (slip166-72-73-158.dc.us.ibm.net [166.72.73.158]) by out4.ibm.net (8.8.5/8.6.9) with ESMTP id DAA115670 for ; Thu, 25 Feb 1999 03:17:42 GMT
Message-ID: <36D4C1CC.1D3D217A@ibm.net>
Date: Wed, 24 Feb 1999 22:21:48 -0500
From: "Job M. van Zuijlen"
Reply-To: zuijlen@ibm.net
Organization: electona
X-Mailer: Mozilla 4.5 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound List
Subject: Re: if statement blocks
References: <199902240809.AAA02803@eos.arc.nasa.gov> <36D3B9AD.A5CE8551@intercom.es>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I think it would be useful to think about the purpose of adding if-then
statements. I don't particularly like nested if-then-else statements,
because it may be hard to follow the logic behind the conditions
sometimes. I have seen extremely messy C-code or LISP or PROLOG code
for that matter, so elegance is not really in the kind of language you
use but how you use it. Reading pages and pages of code is never fun
and in the case of Csound it is a textual representation of something
that should be represented as a diagram. That is why I think something
like Visual Orchestra is useful. If we need more elaborate ways to
control the flow of things we should think about a method to represent
that graphically rather then burdening the language with additional
constructs.
Job van Zuijlen
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02637;
25 Feb 99 3:36 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fraj-0005Id-00; Thu, 25 Feb 1999 03:36:01 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (DAA11395); Thu, 25 Feb 1999 03:33:26 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 03:33:14 GMT
Received: from out4.ibm.net [165.87.194.239] by hermes via ESMTP (DAA09553); Thu, 25 Feb 1999 03:33:13 GMT
Received: from ibm.net (slip166-72-73-158.dc.us.ibm.net [166.72.73.158]) by out4.ibm.net (8.8.5/8.6.9) with ESMTP id DAA135358 for ; Thu, 25 Feb 1999 03:33:11 GMT
Message-ID: <36D4C56D.2AC3C750@ibm.net>
Date: Wed, 24 Feb 1999 22:37:17 -0500
From: "Job M. van Zuijlen"
Reply-To: zuijlen@ibm.net
Organization: electona
X-Mailer: Mozilla 4.5 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound List
Subject: Re: if...
References: <001201be5ff9$d77f6b60$79d496c0@Realizer.ngt.sungard.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
It may be funny, but I don't really like Java and I wouldn't like it to
replace the current Csound syntax. I like to hack and experiment, for
instance, and I had a hard time with Java in that respect, as opposed to
working with Tk/Tcl, Perl or other scripting languages.
Job van Zuijlen
Michael Gogins wrote:
>
[snip]
> The opcodes would be
> fast because written in C, and the language for writing instruments would be
> easy because it would just be Java.
>
>
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02681;
25 Feb 99 4:16 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FsDz-0005hb-00; Thu, 25 Feb 1999 04:16:36 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA13929); Thu, 25 Feb 1999 04:14:41 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 04:14:29 GMT
Received: from howl.werewolf.net [12.23.152.10] by hermes via ESMTP (EAA03585); Thu, 25 Feb 1999 04:14:28 GMT
Received: from default (dial23.werewolf.net [12.23.153.23])
by howl.werewolf.net (8.9.0/8.9.0) with SMTP id WAA18159
for ; Wed, 24 Feb 1999 22:08:37 -0600 (CST)
Message-ID: <010d01be6076$141ffa40$1799170c@default>
From: Hans Mikelson
To: Csound
Subject: mikelson.zip
Date: Wed, 24 Feb 1999 22:19:44 -0600
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
Hi there,
I've been asked for this a few times. These are almost all of the orc's &
sco's currently on my hard disk. Hopefully I did not include too many of
other peoples stuff in here. Much of this is not well commented and some of
them may not work at all. Others will require you to supply soundin files.
http://www.werewolf.net/~hljmm/csound/mikelson.zip
Oh, its 471K zipped, and that's almost all orcs & scos. :) Now I wish I
hadn't lost all those others in a system upgrade... :P
Good luck and have fun,
Hans Mikelson
PS. I probably won't leave them up too long due to space limitations. Maybe
John Fitch could put them on the dream site?
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02695;
25 Feb 99 4:24 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FsLu-0005i2-00; Thu, 25 Feb 1999 04:24:46 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA08320); Thu, 25 Feb 1999 04:23:37 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 04:23:26 GMT
Received: from root@westnet.com [206.24.6.2] by hermes via ESMTP (EAA00562); Thu, 25 Feb 1999 04:23:25 GMT
Received: from goodguy (p5.pm3-3.westnet.com [206.28.203.5])
by westnet.com (8.9.1/8.9.1) with SMTP id XAA24516
for ; Wed, 24 Feb 1999 23:22:58 -0500 (EST)
Message-ID: <36D4C232.2DC82BA3@westnet.com>
Date: Thu, 25 Feb 1999 03:23:30 +0000
From: Larry Troxler
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.31 i586)
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Enough with the "if" argument - Csound is *supposed* to be ancient!
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
C'mon, guys, quit arguing for a radical change in syntax. Csound is
csound. There are plenty of other options available if you want a more
modern synthesis environment.
Csound is after all, the evolution of the very ancient MUSIC xx
packages, and I beleive that although it is current written in C, it was
at one point translated from assembler.
I can't help thinking, that if you are looking to redefine the orch
language, than why bother keeping the Csound engine at all? With all the
work you would have to go through to do this, you might as well use a
different synth engine, one that would be much faster than the Csound
approach.
Remember folks, the Csound orchestra isn't even compiled to either
machine code or C code, it is essentially put into a linked list of
pre-compiled functions that is traversed at run-time. Hence, it's
probably similar to a byte-code compiler in terms of performance. And on
top of that, there's the K-rate problem - for many things you need
k-rate = a-rate, but if you do that, you still have the overhead of
calling all those unit generator functions that will in turn set up
their k-rate loops, which, for all that overhead, you will make only
*one* pass through.
Oops, I was starting to rant there, wasn't I? Sorry. But the point is,
Csound is Csound. It isn't particularly efficient, it's syntax is
ancient, it's source code is spaghetti. So, sure you can start rewriting
the parser, but if you're going to go through all that trouble, wouldn't
it be better to explore other packages?
Of course, the one advantage Csound has at the moment (and this counts
for a lot!), is that however antique it is, it seems to have built a
critical mass, and has by far the largest unit-generator collection than
is available for, say, Common Lisp Music, or Perry Cook's toolkit. So
much so that I've been thinking of loading the Csound syntax back into
my Common Music image :-)
Larry
-- Larry Troxler -- lt@westnet.com -- Patterson, NY USA --
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02754;
25 Feb 99 4:52 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fsmz-0005jG-00; Thu, 25 Feb 1999 04:52:45 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA07935); Thu, 25 Feb 1999 04:45:50 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 04:45:39 GMT
Received: from camel8.mindspring.com [207.69.200.58] by hermes via ESMTP (EAA13704); Thu, 25 Feb 1999 04:45:37 GMT
Received: from Realizer (user-38ld07f.dialup.mindspring.com [209.86.128.239])
by camel8.mindspring.com (8.8.5/8.8.5) with SMTP id XAA13541;
Wed, 24 Feb 1999 23:45:34 -0500 (EST)
Message-ID: <002b01be6079$b56bc200$79d496c0@Realizer.ngt.sungard.com>
From: Michael Gogins
To: zuijlen@ibm.net, Csound List
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Re: if...
Date: Wed, 24 Feb 1999 23:45:44 -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.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
When you were trying to hack with Java, did you use it in an integrated
development environment or from the command line with makefiles and such? An
IDE makes it much easier to play with. I have used Tcl/Tk and Java (not to
mention C, C++ with and without COM, ksh, csh, Logo, BASIC, QuickBASIC,
Visual Basic all versions, FORTRAN, Mathematica, and Pascal) and I find Java
with IDE the easiest of the lot both as a general purpose programming
language and as a quick hacking/scripting language, and the best of the lot
except that it doesn't run as fast as C and compiled kin.
-----Original Message-----
From: Job M. van Zuijlen
To: Csound List
Date: Wednesday, February 24, 1999 10:33 PM
Subject: Re: if...
>It may be funny, but I don't really like Java and I wouldn't like it to
>replace the current Csound syntax. I like to hack and experiment, for
>instance, and I had a hard time with Java in that respect, as opposed to
>working with Tk/Tcl, Perl or other scripting languages.
>
>Job van Zuijlen
>
>Michael Gogins wrote:
>>
>[snip]
>> The opcodes would be
>> fast because written in C, and the language for writing instruments would
be
>> easy because it would just be Java.
>>
>>
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02790;
25 Feb 99 5:03 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fsx1-0005jg-00; Thu, 25 Feb 1999 05:03:07 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA08791); Thu, 25 Feb 1999 04:58:59 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 04:58:48 GMT
Received: from camel8.mindspring.com [207.69.200.58] by hermes via ESMTP (EAA11770); Thu, 25 Feb 1999 04:58:46 GMT
Received: from Realizer (user-38ld09k.dialup.mindspring.com [209.86.129.52])
by camel8.mindspring.com (8.8.5/8.8.5) with SMTP id XAA32352;
Wed, 24 Feb 1999 23:58:43 -0500 (EST)
Message-ID: <002e01be607b$8b799ec0$79d496c0@Realizer.ngt.sungard.com>
From: Michael Gogins
To: Larry Troxler , csound@maths.ex.ac.uk
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Re: Enough with the "if" argument - Csound is *supposed* to be ancient!
Date: Wed, 24 Feb 1999 23:58:05 -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.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Why do I use Csound? I could write a software synthesizer myself, or I'd be
willing to pay up to several thousand dollars for a software synthesizer.
I use it because I'd rather compose than program, and Csound can make cool
sounds as it is; as long as I'm doing algorithmic synthesis and composition
in the first place, it's got the most sounds and the largest community of
users and the biggest library of patches.
And in fact it's not inefficient.
Earlier I said I dream about (a) fast SAOLC or (b) something like JSyn only
with plugin opcodes. To this I would add (c) a reworked Csound with:
All platform-specific code isolated in plugin inputs and outputs, i.e. the
Csound "engine" is plain simple ANSI C that is EXACTLY the same on all
platforms as near as that is possible.
Plugin opcodes and GENs.
A Java interface.
Some fairly drastic spaghetti reduction.
A better time/frequency analysis/resynthesis facility, along the lines of
Lemur or SMS orSoundHack.
The same old command options, orc language, sco language, and file formats
so that the library just keeps on getting bigger and better.
Open Source/CVS build model.
-----Original Message-----
From: Larry Troxler
To: csound@maths.ex.ac.uk
Date: Wednesday, February 24, 1999 11:24 PM
Subject: Enough with the "if" argument - Csound is *supposed* to be ancient!
>C'mon, guys, quit arguing for a radical change in syntax. Csound is
>csound. There are plenty of other options available if you want a more
>modern synthesis environment.
>
>Csound is after all, the evolution of the very ancient MUSIC xx
>packages, and I beleive that although it is current written in C, it was
>at one point translated from assembler.
>
>I can't help thinking, that if you are looking to redefine the orch
>language, than why bother keeping the Csound engine at all? With all the
>work you would have to go through to do this, you might as well use a
>different synth engine, one that would be much faster than the Csound
>approach.
>
>Remember folks, the Csound orchestra isn't even compiled to either
>machine code or C code, it is essentially put into a linked list of
>pre-compiled functions that is traversed at run-time. Hence, it's
>probably similar to a byte-code compiler in terms of performance. And on
>top of that, there's the K-rate problem - for many things you need
>k-rate = a-rate, but if you do that, you still have the overhead of
>calling all those unit generator functions that will in turn set up
>their k-rate loops, which, for all that overhead, you will make only
>*one* pass through.
>
>Oops, I was starting to rant there, wasn't I? Sorry. But the point is,
>Csound is Csound. It isn't particularly efficient, it's syntax is
>ancient, it's source code is spaghetti. So, sure you can start rewriting
>the parser, but if you're going to go through all that trouble, wouldn't
>it be better to explore other packages?
>
>Of course, the one advantage Csound has at the moment (and this counts
>for a lot!), is that however antique it is, it seems to have built a
>critical mass, and has by far the largest unit-generator collection than
>is available for, say, Common Lisp Music, or Perry Cook's toolkit. So
>much so that I've been thinking of loading the Csound syntax back into
>my Common Music image :-)
>
>Larry
>
>
>-- Larry Troxler -- lt@westnet.com -- Patterson, NY USA --
>
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02887;
25 Feb 99 5:40 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FtXE-0005ot-00; Thu, 25 Feb 1999 05:40:32 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (FAA18170); Thu, 25 Feb 1999 05:39:03 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 05:38:52 GMT
Received: from root@westnet.com [206.24.6.2] by hermes via ESMTP (FAA01067); Thu, 25 Feb 1999 05:38:50 GMT
Received: from goodguy (p23.pm3-3.westnet.com [206.28.203.23])
by westnet.com (8.9.1/8.9.1) with SMTP id AAA29960;
Thu, 25 Feb 1999 00:38:24 -0500 (EST)
Message-ID: <36D4D49F.7F110633@westnet.com>
Date: Thu, 25 Feb 1999 04:42:07 +0000
From: Larry Troxler
X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.31 i586)
MIME-Version: 1.0
To: Michael Gogins
CC: csound@maths.ex.ac.uk
Subject: Re: Enough with the "if" argument - Csound is *supposed* to be ancient!
References: <002e01be607b$8b799ec0$79d496c0@Realizer.ngt.sungard.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Michael Gogins wrote:
>
> Why do I use Csound? I could write a software synthesizer myself, or I'd be
> willing to pay up to several thousand dollars for a software synthesizer.
>
> I use it because I'd rather compose than program, and Csound can make cool
> sounds as it is; as long as I'm doing algorithmic synthesis and composition
> in the first place, it's got the most sounds and the largest community of
> users and the biggest library of patches.
>
Yup, I hear you! Csound, by luck of the draw, got that critical mass
going.
At least it appears that way, judging purely based on the volume of mail
on the Csound list as compared with the mail for other synthesis
programs.
> And in fact it's not inefficient.
>
> Earlier I said I dream about (a) fast SAOLC or (b) something like JSyn only
> with plugin opcodes. To this I would add (c) a reworked Csound with:
>
Ok, maybe you missed my point, or maybe it's just too late in the night
for *me* to grok what you're saying. But when you talk about "plugin"
opcodes ...
All I was saying, is that Csound *interprets* the orch code, as opposed
to generating code which it then calls. The approach I'm talking about
would, I think, preclude the use of run-time-linked code, like "plugin
opcodes". Think of a C-compiler, which generates specific machine code.
Then think of the same thing, but compiling Csound orch code instead,
and then running it for a given score. The latter is closes to what
Common Lisp Music, for example, does. That's all I'm saying. I can't
believe that, for example, realizing a DX7 algo in csound, would be
anywhere near as fast as doing the same thing using CLM, which actually
generates C-code based on your instrument definition, then compiles it,
and calls it.
>
> Open Source/CVS build model.
>
Is Csound now public domain? The source code used to carry a copyright
notice, to the effect that distribution of derivative works were
prohibited without consent from MIT. Well, to be honest, I *know* this
must have changed, but the version I downloaded from Bath just a couple
of years ago, *still* had this notice! What gives?
-- Larry Troxler -- lt@westnet.com -- Patterson, NY USA --
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02963;
25 Feb 99 6:11 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10Fu0j-0005Sm-00; Thu, 25 Feb 1999 06:11:01 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (GAA01693); Thu, 25 Feb 1999 06:09:27 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 06:09:12 GMT
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (GAA05522); Thu, 25 Feb 1999 06:09:11 GMT
Received: from agora.stm.it (ppp02-06.dial-access.stm.it [195.62.37.70]) by agora.stm.it (8.9.2/8.8.5) with ESMTP id HAA11857; Thu, 25 Feb 1999 07:08:42 +0100 (ITA)
Message-ID: <36D4E846.3A0FD752@agora.stm.it>
Date: Thu, 25 Feb 1999 07:05:58 +0100
From: Gabriel Maldonado
X-Mailer: Mozilla 4.06 [en] (Win95; I)
MIME-Version: 1.0
To: pete moss
CC: jim altieri , csound
Subject: Re: core dumping and page faulting
References: <2.2.32.19990224223611.007153f8@mail.cc.oberlin.edu> <36D48A35.DC354B42@flash.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Strings p-fields are not available yet in Csound score. So you get an error. Next version
of DirectCsound will implement this feature.
Gabriel
pete moss wrote:
>
> well, just glancing at it, you use p5 as the input for soundin and also as a
> multiplier for channel 2 of your outs statement. since p5 is a string, i will
> bet that csound is having problems multiplying a number by a string. there
> could be other problems but that one caught my eye.
>
> pete
>
> jim altieri wrote:
>
> > hi everybody,
> > i'm pretty new to csound, so i might be missing something very obvious,
> > but be gentle, my intentions are good. i'm working on this piece, fairly
> > simple, just playing sound files at various times. the only problem is,
> > when it gets to the first instrument allocation, it dumps core in linux and
> > causes a page fault in windoze95. here's my orc file and an example of a
> > line out of my sco file...
> >
> > ;beginning of orchestra file
> > srD100
> > krD1
> > ksmps0
> > nchnls=2
> >
> > instr 1
> > kpan line (p6/100)*10000, p3, (p7/100)*10000
> > asig1,asig2 soundin p5
> > outs asig1*p4*kpan, asig2*p5*(1-kpan)
> > endin
> > ;end of orchestra file
> >
> > ;line from score file
> > i1 19.105350 4.066000 75 "track27.aif" 29 6
> >
> > what's making this crash my machine?
> > thanx for your time.
> >
> > -jim altieri
> >
> > ________________________________________________
> >
> > join the effort.
> > http://www.distributed.net
> >
> > jim.altieri@oberlin.edu
> > http://www.oberlin.edu/~jaltieri
> > ocmr 76
> > oberlin, oh 44074
> > (440) 775-6243
--
Gabriel Maldonado
http://www.agora.stm.it/G.Maldonado/home2.htm
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa02987;
25 Feb 99 6:27 GMT
Received: from [144.173.6.14] (helo=exeter.ac.uk)
by wallace.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 10FuH7-0005TY-00; Thu, 25 Feb 1999 06:27:57 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (GAA17340); Thu, 25 Feb 1999 06:24:07 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 25 Feb 1999 06:23:53 GMT
Received: from terminus.ayched.com [205.147.7.170] by hermes via ESMTP (GAA07363); Thu, 25 Feb 1999 06:23:51 GMT
Received: from terminus.ayched.com (localhost [127.0.0.1])
by terminus.ayched.com (8.8.7/8.8.7) with ESMTP id WAA02469;
Wed, 24 Feb 1999 22:23:13 -0800
Message-Id: <199902250623.WAA02469@terminus.ayched.com>
X-Mailer: exmh version 2.0.2
To: Larry Troxler
cc: Michael Gogins , csound@maths.ex.ac.uk
Subject: Re: Enough with the "if" argument - Csound is *supposed* to be
ancient!
In-Reply-To: Your message of "Thu, 25 Feb 1999 04:42:07 GMT."
<36D4D49F.7F110633@westnet.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 24 Feb 1999 22:23:13 -0800
From: Ed Hall
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Larry Troxler wrote:
> All I was saying, is that Csound *interprets* the orch code, as opposed
> to generating code which it then calls. The approach I'm talking about
> would, I think, preclude the use of run-time-linked code, like "plugin
> opcodes".
Csound pre-processes the orchestra into linked lists of function calls.
The functions themselves are all compiled C. The overhead isn't that
awfully high, especially if the K-rate is reasonable, reducing the
amount of time chasing from one link to the next by allowing each call
to process multiple samples. In theory, this architecture should
make plugins simple to implement--just set the function pointer to
the dynamically-loaded plugin function.
> Think of a C-compiler, which generates specific machine code.
> Then think of the same thing, but compiling Csound orch code instead,
> and then running it for a given score. The latter is closes to what
> Common Lisp Music, for example, does.
There's certainly no reason why this sort of scheme couldn't call
a plugin--it wouldn't even need to be dynamically loaded. Just
compile it (or an interface to it) along with the rest.
That's all I'm saying. I can't
> believe that, for example, realizing a DX7 algo in csound, would be
> anywhere near as fast as doing the same thing using CLM, which actually
> generates C-code based on your instrument definition, then compiles it,
> and calls it.
Well, that likely depends upon the relative efficiency of the algorithms
used by each. I doubt if either could come close to the performance
possible should someone write a DX7 emulator in, say, C... There is a
price paid for generality, whatever the scheme used.
-Ed
|