Csound Csound-dev Csound-tekno Search About

Re: Sum and product advantages?

Date1999-07-16 13:20
Fromjpff@maths.bath.ac.uk
SubjectRe: Sum and product advantages?
Message written at 16 Jul 1999 10:25:01 +0100
--- Copy of mail to steve@babcom.u-net.com ---

For adding more than 2 items sum is faster.  Similarly product.  Less
overhead and function call.  That is all.
==John ffitch


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28484;
          16 Jul 99 18:52 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 115C9X-0000hI-00
	for jpff@maths.bath.ac.uk; Fri, 16 Jul 1999 18:52:07 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (SAA01642); Fri, 16 Jul 1999 18:46:18 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 16 Jul 1999 18:46:10 +0100
Received: from root@lix.intercom.es [194.179.21.2] by hermes via ESMTP (SAA16700); Fri, 16 Jul 1999 18:46:09 +0100 (BST)
Received: from intercom.es (iv2-92.intercom.es [195.76.206.92]) by lix.intercom.es (8.7.3/8.6.12) with ESMTP id TAA15898; Fri, 16 Jul 1999 19:51:17 +0100
Message-ID: <378F6F30.FAD8272F@intercom.es>
Date: Fri, 16 Jul 1999 19:43:12 +0200
From: Josep M Comajuncosas 
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: Torsten Anders 
CC: Hans van den Tillaart , 
    Csound Mailinglist 
Subject: Re: Piano sound characteristics
References: <378CF0E5.BB0FAAD9@tref.nl> <99071522300606.00214@chewa>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

There is a nice collection of instruments coded in CLM and I think most of them
could be ported to Csound without too much difficulty. I did that with a FM
tubular bell.
Any volunteers?

Torsten Anders wrote:

> have a look at clm, a sound synthesis language translating common lisp to c.
> There is a very well piano programmed by Scott van Duyne. It is not only
> velocity sensitive, but also you can tune the strike point, the string
> stiffness, add as more sustain pedal as you want and really much more.

--
Josep M Comajuncosas
C/ Circumval.lacio 75  08790 Gelida - Penedes
Catalunya - SPAIN tel. 93 7792243
e-mail:          gelida@intercom.es
ET Informatica de Sistemes
e-mail: jcomajuncosas@campus.uoc.es
  http://members.tripod.com/csound/





Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28893;
          16 Jul 99 22: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 115FAM-0006Jz-00
	for jpff@maths.bath.ac.uk; Fri, 16 Jul 1999 22:05:10 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (WAA11722); Fri, 16 Jul 1999 22:02:16 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 16 Jul 1999 22:02:06 +0100
Received: from ares.flash.net [209.30.0.41] by hermes via ESMTP (WAA05171); Fri, 16 Jul 1999 22:02:05 +0100 (BST)
Received: from bigfoot.com (p235-202.atnt2.dialup.ftw1.flash.net [209.30.235.202])
	by ares.flash.net (8.9.3/8.9.3) with ESMTP id QAA27323
	for ; Fri, 16 Jul 1999 16:02:07 -0500 (CDT)
Message-ID: <378F9DF1.22A7FD04@bigfoot.com>
Date: Fri, 16 Jul 1999 16:02:41 -0500
From: pete moss 
Organization: pete moss GmbH
X-Mailer: Mozilla 4.6 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: freakish behavior!
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

ok, earlier i posted a csd that crashed under consound but not under
gabriels directcsound.  i thought it might at first be related to some
orc commands that csound wasnt liking.  well, the problem is stranger
than that:
consound crashes when the input csd filename is six letters.  it works
fine for seven letters and five letters.  so my file before was named
'matrix.csd' it crashed.
any other six letters with '.csd' appended crashes too.
hfkgie.csd crashes
sjtufh.csd crashes
etcetc.csd crashes
etc, etc, etc.

direct csound doesnt suffer from this problem.

so people try this out: rename any working csd file to random six
letters and '.csd', such ashsot.csd and see if it crashes.
i am thinking this has something to do with the canonical version, but
all i can test it with is consound.

next question:  why does it crash with six letters?

:P


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29309;
          17 Jul 99 2:26 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 115JEo-0000nq-00
	for jpff@maths.bath.ac.uk; Sat, 17 Jul 1999 02:26:02 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (CAA15932); Sat, 17 Jul 1999 02:23:44 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 17 Jul 1999 02:23:33 +0100
Received: from smtp3.mindspring.com [207.69.200.33] by hermes via ESMTP (CAA08337); Sat, 17 Jul 1999 02:23:32 +0100 (BST)
Received: from Realizer (user-2ive2fs.dialup.mindspring.com [165.247.9.252])
	by smtp3.mindspring.com (8.8.5/8.8.5) with SMTP id VAA28799;
	Fri, 16 Jul 1999 21:23:27 -0400 (EDT)
Message-ID: <009101becff3$453ed1e0$79d496c0@Realizer.ngt.sungard.com>
From: Michael Gogins 
To: Saol-dev , 
    Music Dsp List , 
    Java Sound , CSOUND 
Subject: Csound interfaces
Date: Fri, 16 Jul 1999 21:25:27 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I have just received my VST 2 SDK. At this time, I am engaged in adapting
Gabriel Maldonado's DirectCsound 2.8 sources to work with the JavaSound 0.86
API and with the VST 2 SDK. If and when a publicly available, real-time SAOL
compiler becomes available, I will adapt that to the same purposes. I do not
currently have the time or the skill to write my own SAOL compiler from
scratch. If anyone is interested in working with me to test or adapt such a
compiler that they are developing, please let me know, on the list or off
the list.

So far I have only given the VST 2 SDK the most cursory once-over. It does
promise that VST hosts (such as Cubase) will be able to send MIDI channel
messages to a software synthesizer plugin and have that plugin synthesize or
process audio with sample frame accurate timing. Cubase will also receive
and record MIDI channel messages from plugins. In the future, plugins will
be able to read, write, and rewrite audio files through a host-based
protocol out of real time.

On the plus side, getting Csound to work in the Cubase environment is a very
enticing prospect, particularly as the plugin can send MIDI to the host.
There is an obvious possibility of developing algorithmic composition
plugins as well as algorithmic synthesis and processing plugins.

On the minus side, MIDI channel messages are a very limiting protocol.
Fortunately Steinberg have defined a protocol for cent-accurate pitches and
sample-frame accurate times within the MIDI channel message.

By contrast, the JavaSound API provides all of the functionality and
cross-platform capability of VST 2 plugins, and more besides - but no host
application framework at all... yet.

What I am shooting for:

A composition framework that supports music notation, MIDI sequencing, and
audio recording, with overdubbing and signal processing. The framework is
designed to be extensible and to be high-precision. Algorithmic composition
and synthesis plugins can be written by anyone and will just drop into the
framework; they can be as elaborate and as precise as desired, in other
words can be adequate to the demands of music research. Data peculiar to the
plugins is be saved directly in the framework files, using XML text.

Such a framework would support the high end of both commercial music
production and academic music research.

My own Silence framework provides some of these capabilities, but depends on
shelling out to commercial software for music notation, sequencing and
recording.

Cubase with synthesis plugins provides some of these capabilities, but
without the precision and abstraction of the Silence Music Modeling
Language.

In other words, Silence is mathematically and compositionally adequate to
the task of representing and generating music, excepting it uses absolute
time throughout instead of meter, but it is not adequate to the user
interface demands of the recording studio or live performance.

>From a software engineering point of view, what needs to be designed and
adhered to is a set of abstract interfaces or protocols that are stable,
adequate to the task of music, and easy to use and to implement. This is a
very demanding criterion that is nowhere near being met. Protocols are
required for representing performance control data, several kinds of music
representation data including notation, and signal processing network
specifications. The closest things we have at this time are, respectively,
MIDI, proprietary sequencer and notation file formats, and Csound orchestras
or SAOL bitstreams. MIDI in its present form will never be adequate, but is
not far from being adequate with additional precision; the proprietary file
formats have to go in favor of XML; and SAOL (if it proves technically
adequate) could solve the DSP network representation problem.






Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29341;
          17 Jul 99 2:47 BST
Received: from [156.3.140.104] (helo=shoko.calarts.edu)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 115JZW-0000o5-00
	for jpff@maths.bath.ac.uk; Sat, 17 Jul 1999 02:47:26 +0100
Received: (from majordom@localhost)
	by shoko.calarts.edu (8.9.3/8.9.3) id SAA09652
	for music-dsp-outgoing; Fri, 16 Jul 1999 18:23:40 -0700 (PDT)
X-Authentication-Warning: shoko.calarts.edu: majordom set sender to owner-music-dsp@shoko.calarts.edu using -f
Received: from smtp3.mindspring.com (smtp3.mindspring.com [207.69.200.33])
	by shoko.calarts.edu (8.9.3/8.9.3) with ESMTP id SAA09648
	for ; Fri, 16 Jul 1999 18:23:30 -0700 (PDT)
Received: from Realizer (user-2ive2fs.dialup.mindspring.com [165.247.9.252])
	by smtp3.mindspring.com (8.8.5/8.8.5) with SMTP id VAA28799;
	Fri, 16 Jul 1999 21:23:27 -0400 (EDT)
Message-ID: <009101becff3$453ed1e0$79d496c0@Realizer.ngt.sungard.com>
From: Michael Gogins 
To: Saol-dev , 
    Music Dsp List , 
    Java Sound , CSOUND 
Subject: Csound interfaces
Date: Fri, 16 Jul 1999 21:25:27 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-music-dsp@shoko.calarts.edu
Precedence: bulk
Reply-To: music-dsp@shoko.calarts.edu

I have just received my VST 2 SDK. At this time, I am engaged in adapting
Gabriel Maldonado's DirectCsound 2.8 sources to work with the JavaSound 0.86
API and with the VST 2 SDK. If and when a publicly available, real-time SAOL
compiler becomes available, I will adapt that to the same purposes. I do not
currently have the time or the skill to write my own SAOL compiler from
scratch. If anyone is interested in working with me to test or adapt such a
compiler that they are developing, please let me know, on the list or off
the list.

So far I have only given the VST 2 SDK the most cursory once-over. It does
promise that VST hosts (such as Cubase) will be able to send MIDI channel
messages to a software synthesizer plugin and have that plugin synthesize or
process audio with sample frame accurate timing. Cubase will also receive
and record MIDI channel messages from plugins. In the future, plugins will
be able to read, write, and rewrite audio files through a host-based
protocol out of real time.

On the plus side, getting Csound to work in the Cubase environment is a very
enticing prospect, particularly as the plugin can send MIDI to the host.
There is an obvious possibility of developing algorithmic composition
plugins as well as algorithmic synthesis and processing plugins.

On the minus side, MIDI channel messages are a very limiting protocol.
Fortunately Steinberg have defined a protocol for cent-accurate pitches and
sample-frame accurate times within the MIDI channel message.

By contrast, the JavaSound API provides all of the functionality and
cross-platform capability of VST 2 plugins, and more besides - but no host
application framework at all... yet.

What I am shooting for:

A composition framework that supports music notation, MIDI sequencing, and
audio recording, with overdubbing and signal processing. The framework is
designed to be extensible and to be high-precision. Algorithmic composition
and synthesis plugins can be written by anyone and will just drop into the
framework; they can be as elaborate and as precise as desired, in other
words can be adequate to the demands of music research. Data peculiar to the
plugins is be saved directly in the framework files, using XML text.

Such a framework would support the high end of both commercial music
production and academic music research.

My own Silence framework provides some of these capabilities, but depends on
shelling out to commercial software for music notation, sequencing and
recording.

Cubase with synthesis plugins provides some of these capabilities, but
without the precision and abstraction of the Silence Music Modeling
Language.

In other words, Silence is mathematically and compositionally adequate to
the task of representing and generating music, excepting it uses absolute
time throughout instead of meter, but it is not adequate to the user
interface demands of the recording studio or live performance.

>From a software engineering point of view, what needs to be designed and
adhered to is a set of abstract interfaces or protocols that are stable,
adequate to the task of music, and easy to use and to implement. This is a
very demanding criterion that is nowhere near being met. Protocols are
required for representing performance control data, several kinds of music
representation data including notation, and signal processing network
specifications. The closest things we have at this time are, respectively,
MIDI, proprietary sequencer and notation file formats, and Csound orchestras
or SAOL bitstreams. MIDI in its present form will never be adequate, but is
not far from being adequate with additional precision; the proprietary file
formats have to go in favor of XML; and SAOL (if it proves technically
adequate) could solve the DSP network representation problem.





dupswapdrop: the music-dsp mailing list and website
http://shoko.calarts.edu/~glmrboy/musicdsp/music-dsp.html