| I've been trying to use the carry features in the Mills PPC (MIT Csound:
3.493 (Nov 23 1998)
(Mills/PPC: 4.9.3)).
A score with:
i2 0 1 100 5 4 0 1
i . + . < < < <
i . + . 7 6 1 0
e
sorts as:
w 0 60
i 2 0 0 1 1 100 5 4 0 1
i 2 1 1 1 1 53.499999 5.5 2.5 0 1
i 2 2 2 1 1 7 6 1 0 1
e
while I expected:
i2 0 1 100 5 4 0 1
i 1 1 100 6 5 .5 .5
i 2 1 100 7 6 1 0
What's wrong?? Is any point after the + supposed to be ignored?
Is the point only legal in p2? Is it only legal in p2? The manual is
unclear.
And what is wrong with this ramping?
i2 0 1 101 2 0.7 1.0 0.0
i2 0 1 101 { < ~ ~
i2 0 1 101 { < ~ ~
i2 0 1 101 { < ~ ~
i2 0 1 101 4 0.4 0.0 1.0
gives a score.srt of:
w 0 60
i 2 0 0 1 1 101 2 0.7 1.0 0.0
i 2 0 0 1 1 101 0 0 .4861293 .17572557
i 2 0 0 1 1 101 0 0 .6913663 .5345317
i 2 0 0 1 1 101 0 0 .05236977 .17172765
i 2 0 0 1 1 101 4 0.4 0.0 1.0
so I assume ~ is OK, but { and < are not!
The listing gives:
sorting score ...
pval=2.000000 qval=4.000000 span = 0.000000
rval=NaN bp->newp2=0.000000 prvbp->newp2-0.000000
swrite: output, sect1 line3 p6 ramp has illegal forward or backward ref
pval=2.000000 qval=4.000000 span = 0.000000
rval=NaN bp->newp2=0.000000 prvbp->newp2-0.000000
swrite: output, sect1 line4 p6 ramp has illegal forward or backward ref
pval=2.000000 qval=4.000000 span = 0.000000
rval=NaN bp->newp2=0.000000 prvbp->newp2-0.000000
swrite: output, sect1 line5 p6 ramp has illegal forward or backward ref
... done
I can see that { might not be supported, but I expected < to be.
Grant.
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20727;
8 Jan 99 15: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 0zydzJ-0006uA-00; Fri, 8 Jan 1999 15:38:13 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA08550); Fri, 8 Jan 1999 15:33:31 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 8 Jan 1999 15:33:17 GMT
Received: from smtp2.erols.com [207.172.3.235] by hermes via ESMTP (PAA18178); Fri, 8 Jan 1999 15:33:13 GMT
Received: from erols.com (207-172-65-220.s220.tnt24.brd.erols.com [207.172.65.220])
by smtp2.erols.com (8.8.8/8.8.5) with ESMTP id KAA19935
for ; Fri, 8 Jan 1999 10:36:53 -0500 (EST)
Message-ID: <3695DED3.AAD91A97@erols.com>
Date: Fri, 08 Jan 1999 10:32:53 +0000
From: Joseph Reinsel
Reply-To: jreinsel@erols.com
X-Mailer: Mozilla 4.06C-djn180998 (Macintosh; I; PPC)
MIME-Version: 1.0
To: "csound@maths.ex.ac.uk"
Subject: MIDI to Csound Mac Version Question
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hey everybody,
I have been working with MIDI to CSound on my PowerMac and I wanted to
know how I convert pitch information so it can be in the correct format
for the score file. All I have gotten so far is the MIDI pitch number.
By the way, is there any documentation about MIDI to Csound. I couldn't
seem to find any.
Thanks in advance,
Joe Reinsel
Composer, Sonic Artist
Washington, D.C. U.S.A.
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20754;
8 Jan 99 15: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 0zye3h-000206-00; Fri, 8 Jan 1999 15:42:45 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA10464); Fri, 8 Jan 1999 15:39:54 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 8 Jan 1999 15:39:41 GMT
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (PAA09710); Fri, 8 Jan 1999 15:39:40 GMT
Received: (qmail 30973 invoked from network); 8 Jan 1999 15:36:47 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.48)
by jaguars with SMTP; 8 Jan 1999 15:36:47 -0000
Message-ID: <36962725.E239A5B3@cableinet.co.uk>
Date: Fri, 08 Jan 1999 15:41:25 +0000
From: Richard Dobson
Organization: Composers Desktop Project
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: Carry problems in PPC
References: <87E25BFE149AD21194CC00A0C999D98902A41F@MAIL2.c-bridge.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
The format is misleading.
In the second line:
i . + . < < < <
the first dot applies to the first pfield, which is the instr number
so your input score really is:
i2 0 1 100 5 4 0 1
i. + . < < < <
i. + . 7 6 1 0
e
and the sorted output is exactly as specified.
Richard Dobson
Grant Covell wrote:
>
> I've been trying to use the carry features in the Mills PPC (MIT Csound:
> 3.493 (Nov 23 1998)
> (Mills/PPC: 4.9.3)).
>
> A score with:
>
> i2 0 1 100 5 4 0 1
> i . + . < < < <
> i . + . 7 6 1 0
> e
>
> sorts as:
>
> w 0 60
> i 2 0 0 1 1 100 5 4 0 1
> i 2 1 1 1 1 53.499999 5.5 2.5 0 1
> i 2 2 2 1 1 7 6 1 0 1
> e
>
> while I expected:
>
> i2 0 1 100 5 4 0 1
> i 1 1 100 6 5 .5 .5
> i 2 1 100 7 6 1 0
>
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20788;
8 Jan 99 16:01 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 0zyeLU-00021v-00; Fri, 8 Jan 1999 16:01:08 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (PAA15519); Fri, 8 Jan 1999 15:57:59 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 8 Jan 1999 15:57:43 GMT
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via ESMTP (PAA15470); Fri, 8 Jan 1999 15:57:42 GMT
Received: from [138.38.97.36] (helo=maths.Bath.AC.UK ident=mmdf)
by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
id 0zyeGG-00021C-00; Fri, 8 Jan 1999 15:55:44 +0000
From: jpff@maths.bath.ac.uk
To: philip@vcn.bc.ca
CC: csound@maths.ex.ac.uk
In-reply-to:
(philip@vcn.bc.ca)
Subject: Re: perf source code
References:
Date: Fri, 8 Jan 99 15:56:13 GMT
Source-Info: From (or Sender) name not authenticated.
Message-Id:
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
The Cspoudn sources are ANSI. Thre are a few compilers who
misunderstand the Standard, and demand prototypes which are not
required. The declaration of a function includes teh prototype, but
some dumb compilers, and they seem to be on Macs, seem to require
void foo(int);
void foo(int x) {
...
}
The system compiles with zero warnings on PCs, UNIX, gcc, etc etc
==John
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20811;
8 Jan 99 16:10 GMT
Received: from [206.162.11.2] (helo=nmol.com)
by wallace.maths.bath.ac.uk with smtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 0zyeTp-00022l-00; Fri, 8 Jan 1999 16:09:47 +0000
X-ROUTED: Fri, 8 Jan 1999 09:19:44 -0600
X-TCP-IDENTITY: Mikeb
Received: from nmol.com [206.162.11.152] by nmol.com with smtp
id AJBDANDL ; Fri, 8 Jan 1999 09:19:16 -0600
Message-ID: <36962CAE.F7AC355D@nmol.com>
Date: Fri, 08 Jan 1999 09:05:05 -0700
From: Mike Berry
X-Mailer: Mozilla 4.5 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
CC: jpff@maths.bath.ac.uk, philip@vcn.bc.ca
Subject: Re: perf source code
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
On the CodeWarrior compilers (which are the only Mac ones worth
speaking of) there is an option in the C/C++ preferences called "Require
Function Prototypes." Simply turn this off, and all of those prototype
warning go away.
--
Mike Berry
mikeb@nmol.com
http://www.nmol.com/users/mikeb
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa20837;
8 Jan 99 16:13 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 0zyeX0-0006wL-00; Fri, 8 Jan 1999 16:13:03 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (QAA00689); Fri, 8 Jan 1999 16:10:37 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 8 Jan 1999 16:10:23 GMT
Received: from nmol.com [206.162.11.2] by hermes via SMTP (QAA00632); Fri, 8 Jan 1999 16:10:22 GMT
X-ROUTED: Fri, 8 Jan 1999 09:19:40 -0600
X-TCP-IDENTITY: Mikeb
Received: from nmol.com [206.162.11.152] by nmol.com with smtp
id AJBDANDL ; Fri, 8 Jan 1999 09:19:16 -0600
Message-ID: <36962CAE.F7AC355D@nmol.com>
Date: Fri, 08 Jan 1999 09:05:05 -0700
From: Mike Berry
X-Mailer: Mozilla 4.5 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
CC: jpff@maths.bath.ac.uk, philip@vcn.bc.ca
Subject: Re: perf source code
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
On the CodeWarrior compilers (which are the only Mac ones worth
speaking of) there is an option in the C/C++ preferences called "Require
Function Prototypes." Simply turn this off, and all of those prototype
warning go away.
--
Mike Berry
mikeb@nmol.com
http://www.nmol.com/users/mikeb
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21049;
8 Jan 99 17:17 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 0zyfWO-00028Q-00; Fri, 8 Jan 1999 17:16:28 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA14108); Fri, 8 Jan 1999 17:14:22 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 8 Jan 1999 17:14:10 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (RAA14044); Fri, 8 Jan 1999 17:14:09 GMT
Received: from dumburk (dialup176-3-38.swipnet.se [130.244.176.166])
by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id SAA02186
for ; Fri, 8 Jan 1999 18:14:06 +0100 (MET)
Message-ID: <36963F56.512D@hem.passagen.se>
Date: Fri, 08 Jan 1999 18:24:38 +0100
From: rasmus ekman
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Csound list
Subject: Re: MIDI to Csound Mac Version Question
References: <3695DED3.AAD91A97@erols.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Joseph Reinsel wrote:
>
> I have been working with MIDI to CSound on my PowerMac and I wanted to
> know how I convert pitch information so it can be in the correct format
> for the score file. All I have gotten so far is the MIDI pitch number.
Hi,
If you're trying to render MIDI files you could feed the note numbers
to the score file and convert in the instrument code. The relevant
opcodes for this would be:
cpsmidi, octmidi, pchmidi gets MIDI note number -> cps, pch or oct,
cpsmidib, octmidib, pchmidib will modify note number by current
pitchbend. cpstmid works with microtuning.
Also, the flag -F fname should let Csound read MIDI files directly.
cpstmid is documented in in one of the Version3_49.Notes files
in Bath pub/dream/newest, the rest are in the standard HTML set.
This might not get you all the way, so if you manage to get it
working by some twist, there are probably several people on the
list who would be grateful for a report.
Good luck,
re
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21125;
8 Jan 99 17:44 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 0zyfxQ-00072N-00; Fri, 8 Jan 1999 17:44:24 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (RAA00491); Fri, 8 Jan 1999 17:41:19 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 8 Jan 1999 17:41:06 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (RAA00253); Fri, 8 Jan 1999 17:41:04 GMT
Received: from dumburk (dialup206-3-43.swipnet.se [130.244.206.171])
by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id SAA08116
for ; Fri, 8 Jan 1999 18:41:03 +0100 (MET)
Message-ID: <369645A7.4AE4@hem.passagen.se>
Date: Fri, 08 Jan 1999 18:51:35 +0100
From: rasmus ekman
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Csound list
Subject: Re: Should foscil accept a-rate fqc?
References: <003c01be3842$b7406400$0999170c@default>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hans Mikelson wrote:
>
> Should foscil be changed to accept xfqc?
Yes please. This has always kept me using dual oscil units instead.
re
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21185;
8 Jan 99 18:17 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 0zygT0-00073p-00; Fri, 8 Jan 1999 18:17:02 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA04937); Fri, 8 Jan 1999 18:14:49 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 8 Jan 1999 18:14:36 GMT
Received: from mail.c-bridge.com [199.93.167.4] by hermes via ESMTP (SAA04805); Fri, 8 Jan 1999 18:14:35 GMT
Received: from mail2.c-bridge.com (MAIL2.c-bridge.com [199.93.167.10])
by mail.c-bridge.com (8.8.7/8.8.7) with ESMTP id NAA12664;
Fri, 8 Jan 1999 13:13:37 -0500
Received: by MAIL2.c-bridge.com with Internet Mail Service (5.5.2232.9)
id ; Fri, 8 Jan 1999 13:13:36 -0500
Message-ID: <87E25BFE149AD21194CC00A0C999D98902A420@MAIL2.c-bridge.com>
From: Grant Covell
To: 'Richard Dobson' , csound@maths.ex.ac.uk
Subject: RE: Carry problems in PPC
Date: Fri, 8 Jan 1999 13:13:36 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2232.9)
Content-Type: text/plain;
charset="iso-8859-1"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Aha. Thank you. A stupid mistake.
I was not reading the examples closely.
-----Original Message-----
From: Richard Dobson [mailto:rwd@cableinet.co.uk]
Sent: Friday, January 08, 1999 10:41 AM
To: csound@maths.ex.ac.uk
Subject: Re: Carry problems in PPC
The format is misleading.
In the second line:
i . + . < < < <
the first dot applies to the first pfield, which is the instr number
so your input score really is:
i2 0 1 100 5 4 0 1
i. + . < < < <
i. + . 7 6 1 0
e
and the sorted output is exactly as specified.
Richard Dobson
Grant Covell wrote:
>
> I've been trying to use the carry features in the Mills PPC (MIT Csound:
> 3.493 (Nov 23 1998)
> (Mills/PPC: 4.9.3)).
>
> A score with:
>
> i2 0 1 100 5 4 0 1
> i . + . < < < <
> i . + . 7 6 1 0
> e
>
> sorts as:
>
> w 0 60
> i 2 0 0 1 1 100 5 4 0 1
> i 2 1 1 1 1 53.499999 5.5 2.5 0 1
> i 2 2 2 1 1 7 6 1 0 1
> e
>
> while I expected:
>
> i2 0 1 100 5 4 0 1
> i 1 1 100 6 5 .5 .5
> i 2 1 100 7 6 1 0
>
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21333;
8 Jan 99 19:34 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 0zyhfb-000784-00; Fri, 8 Jan 1999 19:34:07 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA12784); Fri, 8 Jan 1999 19:31:35 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 8 Jan 1999 19:31:23 GMT
Received: from tungsten.btinternet.com [194.73.73.81] by hermes via SMTP (TAA12514); Fri, 8 Jan 1999 19:31:22 GMT
Received: from btinternet.com [195.171.233.37]
by tungsten.btinternet.com with esmtp (Exim 1.70 #1)
id 0zyhdB-00006e-00; Fri, 8 Jan 1999 19:31:38 +0000
Message-ID: <36965D84.6DFA2001@btinternet.com>
Date: Fri, 08 Jan 1999 19:33:26 +0000
From: Andrew Cleaton
X-Mailer: Mozilla 4.5 (Macintosh; I; PPC)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Hello!
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi there! I've just joined the Csound mailing so I thought I'd
introduce myself. I first really got into Csound when I was at York
University in 89/90 on the MSC Music Technology course with Richard
Orton, Tony Myatt et al. I'm now lecturing at City College Manchester
on the HND/C Music Technology course where I use Csound in Computer
Music Systems and in Advanced Synthesis. In fact, along with the new
Nord Modular, Csound forms the backbone of my synthesis teaching. In
addition to my teaching work I compose and perform my own material. I'm
particularly interested in using Csound to emulate/model instruments
such as the Korg Wavestation and the Yamaha DX7 - an old favourite, the
first synth I ever really learnt to programme. That dates me!
I'm running an Apple Mac PPC 6400/200 with 80MB RAM. I also use Opcode
Studio Vision Pro 4.01, Pro Tools 3.14 and Finale Allegro for the dots.
MIDI is handled by a Korg NS5R - a great little module!
At City College we mainly use PCs (apart from a couple of new G3s to run
Pro Tools). Synths include JV1080 (of course), Kawai K5000, Nord
Modular and an old Korg Monopoly.
Best wishes to all out there.
Andrew Cleaton
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21502;
8 Jan 99 20:49 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 0zyipN-0002Jh-00; Fri, 8 Jan 1999 20:48:17 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA18525); Fri, 8 Jan 1999 20:46:31 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Fri, 8 Jan 1999 20:46:19 GMT
Received: from smtp3.erols.com [207.172.3.236] by hermes via ESMTP (UAA00232); Fri, 8 Jan 1999 20:46:05 GMT
Received: from erols.com (207-172-69-249.s280.tnt26.brd.erols.com [207.172.69.249])
by smtp3.erols.com (8.8.8/8.8.5) with ESMTP id PAA15628
for ; Fri, 8 Jan 1999 15:45:28 -0500 (EST)
Message-ID: <36962803.1A3F8531@erols.com>
Date: Fri, 08 Jan 1999 15:45:09 +0000
From: Joseph Reinsel
Reply-To: jreinsel@erols.com
X-Mailer: Mozilla 4.06C-djn180998 (Macintosh; I; PPC)
MIME-Version: 1.0
To: "csound@maths.ex.ac.uk"
Subject: MIDI file conversion
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hi all,
I have some questions about MIDI file converison. I was trying to
compile a sound project with a MIDI file. This is the score and orc.
that I am using.
ORC File:
sr=44100
kr=4410
ksmps=10
nchnls=1
garvbsig init 0
;----------------
instr 1
idown = cpspch(p5)*0.998
iup = cpspch(p5)*1.001
;-----------------
; first partial
;-----------------
kenv1 expon 1,p3,0.000976
kvib oscil cpspch(p5)*0.03,p6,1
a1 oscil kenv1*p4,cpspch(p5)*0.56+kvib,1
a2 oscil kenv1*p4,idown+kvib,1
a3 oscil kenv1*p4,iup+kvib,1
;----------------------
; second partial
;----------------------
kenv2 expon 0.67,p3*0.9,0.000976
a4 oscil kenv2*p4,cpspch(p5)*0.56+1,1
;-------------------
; third partial
;-------------------
kenv3 expon 1,p3*0.65,0.000976
a5 oscil kenv3*p4,cpspch(p5)*0.92,1
;-------------------
;fourth partial
;-------------------
kenv4 expon 1.8,p3*0.55,0.000976
a6 oscil kenv4*p4,cpspch(p5)*0.92+1.7,1
;-------------------
;fifth partial
;------------------
kenv5 expon 2.67,p3*0.325,0.000976
a7 oscil kenv5*p4,cpspch(p5)*1.19,1
;------------------
;six partial
;------------------
kenv6 expon 1.67,p3*0.35,0.000976
a8 oscil kenv6*p4,cpspch(p5)*1.7,1
a9 oscil kenv6*p4,idown+kvib,1
a10 oscil kenv6*p4,iup+kvib,1
;-----------------
;seventh partial
;-----------------
kenv7 expon 1.46,p3*0.25,0.000976
a11 oscil kenv7*p4,cpspch(p5)*2,1
;----------------
;eighth partial
;----------------
kenv8 expon 1.33,p3*0.2,0.000976
a12 oscil kenv8*p4,cpspch(p5)*2.74,1
;---------------
;ninth partial
;--------------
kenv9 expon 1.33,p3*0.15,0.000976
a13 oscil kenv9*p4,cpspch(p5)*3,1
;--------------
;tenth partial
;-------------
kenv10 expon 1,p3*0.1,0.000976
a14 oscil kenv10*p4,cpspch(p5)*3.76,1;--------------
;eleventh parital
;--------------
kenv11 expon 1.33,p3*0.075,0.000976
a15 oscil kenv11*p4,cpspch(p5)*4.07,1
atot= (a1+a2+a3+a4+a5+a6+a7+a8+a9+a10+a11+a12+a13+a14+a15)/15
out atot
garvbsig = garvbsig + atot*p7; send signal to instr2
endin
;---------------
instr 2
;------------
asig reverb garvbsig, p4
out asig
garvbsig = 0
endin
SCO file:
f0 600
f1 0 4096 10 1
e
and then I used a MIDI file that I transfered from Vision.
Thanks,
Joe Reinsel
Composer, Sonic Artist
Washington, D.C. U.S.A.
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21798;
9 Jan 99 0:08 GMT
Received: from [207.102.64.2] (helo=felix.vcn.bc.ca)
by shaun.maths.bath.ac.uk with esmtp (Exim 1.92 #2)
for jpff@maths.bath.ac.uk
id 0zylxH-0007LD-00; Sat, 9 Jan 1999 00:08:39 +0000
Received: from localhost (philip@localhost)
by felix.vcn.bc.ca (8.9.1a/8.9.1) with ESMTP id QAA23382;
Fri, 8 Jan 1999 16:02:56 -0800 (PST)
Date: Fri, 8 Jan 1999 16:02:56 -0800 (PST)
From: philip@vcn.bc.ca
MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
To: csound@maths.ex.ac.uk
cc: jpff@maths.bath.ac.uk, mikeb@nmol.com, ingalls@mills.edu
Subject: Re: perf source code
Message-ID:
Composer: Philip Aker
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello concerned coders,
Matt J. Ingalls <
} > With a little extra work I also compiled the perf 68K and FAT
} very cool! send the changes/binaries!!
Sure thing - I wouldn't like to have to do that again. They
should be on your desk tomorrow or Sunday (my server's just
upgraded and access has been sporadic). I also made a start on
another sub-project as a CFM thing. It compiled but would not
make. I'll try to get it working before I send things over as
it's probably what the 68K users would want.
} > However, in order to bring the code up to ANSI strict standards
} > and avail myself of CodeWarrior's (minimal) error checking
} > facilities, I've had to create several hundred prototypes and
} > "fix" hundreds of errors (like unused arguments and variables).
} yuck - a few months ago i made some changes to canonical sources
} to remove some of the compiler warnings, but the unused arguments and
} "several hundred" prtotypes was so much i just turned the options off
} in the compiler prefs (i think i put that in the README)
It seems to me that it's only an advantage to get all the code
to go though as much error checking as possible - even so it's
been pointed out to me that CodeWarrior won't find unused
functions or give warnings on variables that are unused but
have been initialized (as when the C++ compiler is turned on
and requires initialized variables).
} im about to merge the 3.494 sources -- maybe its about time to remove
} mills as ftp (since its currently messed up anyway) and get ALL the mac
} stuff up on the bath site!
I must have tried every link to the sources I could find on
but still didn't come up with the one you popped over
so maybe that would be a good idea.
John F. Fitch <
} The Cspoudn sources are ANSI. Thre are a few compilers who
} misunderstand the Standard, and demand prototypes which are not
} required. The declaration of a function includes teh prototype,
} but some dumb compilers, and they seem to be on Macs, seem to
} require
} void foo(int);
} void foo(int x) {
} ...
} }
Platform bashing is hardly the point John. At least Matt has
picked up on the fact that I'm trying to help you become the
maintainer of the tightest code on the block. If all goes well
with my changes on the Mac side of things I'd be pleased if
you'd run them through your compilers and point out if there's
any adaption which doesn't come through. I've made all
significant changes with a conditional so you could switch it
off or on to suit. Also I'd appreciate your advice on whether
or not it would be better to use the 'extern' keyword rather
than stuffing the commonly used functions into the prototyp.h
file as I've done now.
} The system compiles with zero warnings on PCs, UNIX, gcc, etc etc
You might have mis-read my previous post. It started off like:
> The 3.493PPCsources project for PPC compiled straight out of
> the box. Marvellous! Thanks to the many contributors for making
> this possible.
Mike Berry <
} On the CodeWarrior compilers (which are the only Mac ones worth
} speaking of) there is an option in the C/C++ preferences called
} "Require Function Prototypes." Simply turn this off, and all of
} those prototype warning go away.
One of the things I'm trying to do is coordinate the Csound
code hunk with another environment. This requires all the error
checking that CW provides except for inplicit arithmetic
conversions.
Thanks for you various responses,
Philip
Philip Aker
Composer, Pianist, Finale Plugins
Suite 13
1405 West 11 Avenue
Vancouver BC
Canada V6H 1K9
philip@vcn.bc.ca
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21804;
9 Jan 99 0:09 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 0zylxN-0002Sb-00; Sat, 9 Jan 1999 00:08:45 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA13712); Sat, 9 Jan 1999 00:08:31 GMT
From: philip@vcn.bc.ca
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Jan 1999 00:08:20 GMT
Received: from felix.vcn.bc.ca [207.102.64.2] by hermes via ESMTP (AAA13728); Sat, 9 Jan 1999 00:08:18 GMT
Received: from localhost (philip@localhost)
by felix.vcn.bc.ca (8.9.1a/8.9.1) with ESMTP id QAA23382;
Fri, 8 Jan 1999 16:02:56 -0800 (PST)
Date: Fri, 8 Jan 1999 16:02:56 -0800 (PST)
To: csound@maths.ex.ac.uk
cc: jpff@maths.bath.ac.uk, mikeb@nmol.com, ingalls@mills.edu
Subject: Re: perf source code
Message-ID:
Composer: Philip Aker
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Hello concerned coders,
Matt J. Ingalls <
} > With a little extra work I also compiled the perf 68K and FAT
} very cool! send the changes/binaries!!
Sure thing - I wouldn't like to have to do that again. They
should be on your desk tomorrow or Sunday (my server's just
upgraded and access has been sporadic). I also made a start on
another sub-project as a CFM thing. It compiled but would not
make. I'll try to get it working before I send things over as
it's probably what the 68K users would want.
} > However, in order to bring the code up to ANSI strict standards
} > and avail myself of CodeWarrior's (minimal) error checking
} > facilities, I've had to create several hundred prototypes and
} > "fix" hundreds of errors (like unused arguments and variables).
} yuck - a few months ago i made some changes to canonical sources
} to remove some of the compiler warnings, but the unused arguments and
} "several hundred" prtotypes was so much i just turned the options off
} in the compiler prefs (i think i put that in the README)
It seems to me that it's only an advantage to get all the code
to go though as much error checking as possible - even so it's
been pointed out to me that CodeWarrior won't find unused
functions or give warnings on variables that are unused but
have been initialized (as when the C++ compiler is turned on
and requires initialized variables).
} im about to merge the 3.494 sources -- maybe its about time to remove
} mills as ftp (since its currently messed up anyway) and get ALL the mac
} stuff up on the bath site!
I must have tried every link to the sources I could find on
but still didn't come up with the one you popped over
so maybe that would be a good idea.
John F. Fitch <
} The Cspoudn sources are ANSI. Thre are a few compilers who
} misunderstand the Standard, and demand prototypes which are not
} required. The declaration of a function includes teh prototype,
} but some dumb compilers, and they seem to be on Macs, seem to
} require
} void foo(int);
} void foo(int x) {
} ...
} }
Platform bashing is hardly the point John. At least Matt has
picked up on the fact that I'm trying to help you become the
maintainer of the tightest code on the block. If all goes well
with my changes on the Mac side of things I'd be pleased if
you'd run them through your compilers and point out if there's
any adaption which doesn't come through. I've made all
significant changes with a conditional so you could switch it
off or on to suit. Also I'd appreciate your advice on whether
or not it would be better to use the 'extern' keyword rather
than stuffing the commonly used functions into the prototyp.h
file as I've done now.
} The system compiles with zero warnings on PCs, UNIX, gcc, etc etc
You might have mis-read my previous post. It started off like:
> The 3.493PPCsources project for PPC compiled straight out of
> the box. Marvellous! Thanks to the many contributors for making
> this possible.
Mike Berry <
} On the CodeWarrior compilers (which are the only Mac ones worth
} speaking of) there is an option in the C/C++ preferences called
} "Require Function Prototypes." Simply turn this off, and all of
} those prototype warning go away.
One of the things I'm trying to do is coordinate the Csound
code hunk with another environment. This requires all the error
checking that CW provides except for inplicit arithmetic
conversions.
Thanks for you various responses,
Philip
Philip Aker
Composer, Pianist, Finale Plugins
Suite 13
1405 West 11 Avenue
Vancouver BC
Canada V6H 1K9
philip@vcn.bc.ca
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21840;
9 Jan 99 0: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 0zymQt-0002Tn-00; Sat, 9 Jan 1999 00:39:15 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA15905); Sat, 9 Jan 1999 00:39:00 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Jan 1999 00:38:47 GMT
Received: from howl.werewolf.net [12.23.152.10] by hermes via ESMTP (AAA15915); Sat, 9 Jan 1999 00:38:45 GMT
Received: from default (dial89.werewolf.net [12.23.153.89])
by howl.werewolf.net (8.9.0/8.9.0) with SMTP id SAA25191
for ; Fri, 8 Jan 1999 18:35:25 -0600 (CST)
Message-ID: <001101be3b69$0efcb580$5999170c@default>
From: Hans Mikelson
To: Csound
Subject: Re: Csound fractal granular score generator
Date: Fri, 8 Jan 1999 18:43:20 -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
Gabriel wrote:
>Is it possible to implemnt a C version of this program for people who don't
use neither
>know PERL?
Hi,
This was just a little program I wrote for myself and thought I would post
it to the list since it was starting to make nice sounds in case anybody
else liked it or would like to comment on it. If it gets to a more finished
state I may consider translating it to another language or compiling it or
setting it up as a web page that would automatically generate the score...
As it is it's pretty primitive. I don't think I would write it in C.
However C++ might be a good language for this type of score preprocessor.
Right now the cloud generating routine must be hand coded if you want to
change the fractals around and remap the score event paramters etc so a
compiled version would not be much use. I don't have very many fractal
types yet either.
I would be interested in what types of software is currently available that
can do this type of fractal granular stuff.
By the way the orchstra follows:
sr=44100
kr=4410
ksmps=10
nchnls=2
instr 1
idur = p3
iamp = p4
ifqc = p5
ipan = p6
kamp linseg 0, idur/2, iamp, idur/2, 0
aout oscil kamp, ifqc, 1
outs aout*sqrt(ipan), aout*sqrt(1-ipan)
endin
I put a new version of the program (now with comments) at the following
site:
http://www.werewolf.net/~hljmm/Score3.pl
This version demonstrates using fractal strings of notes rather than
granular clouds. Sort of algorithmic composition type stuff.
Good luck,
Hans Mikelson
Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21865;
9 Jan 99 0:49 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 0zymZq-0002UH-00; Sat, 9 Jan 1999 00:48:30 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA14050); Sat, 9 Jan 1999 00:47:04 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Jan 1999 00:46:51 GMT
Received: from howl.werewolf.net [12.23.152.10] by hermes via ESMTP (AAA17691); Sat, 9 Jan 1999 00:46:49 GMT
Received: from default (dial89.werewolf.net [12.23.153.89])
by howl.werewolf.net (8.9.0/8.9.0) with SMTP id SAA21347
for ; Fri, 8 Jan 1999 18:43:29 -0600 (CST)
Message-ID: <002c01be3b6a$2fb4c1e0$5999170c@default>
From: Hans Mikelson
To: Csound list
Subject: Re: Should foscil accept a-rate fqc?
Date: Fri, 8 Jan 1999 18:51:25 -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
>Hans Mikelson wrote:
Looking at the code a little more closely it seems the place to put the
x-rate is on kcar & kmod. This seems most appropriate to me any other
comments?
ar foscil xamp, kcps, kcar, kmod, kndx, ifn[, iphs]
ar foscili xamp, kcps, kcar, kmod, kndx, ifn[, iphs]
ar foscil xamp, kcps, xcar, xmod, kndx, ifn[, iphs]
ar foscili xamp, kcps, xcar, xmod, kndx, ifn[, iphs]
Thanks,
Hans Mikelson
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21878;
9 Jan 99 0: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 0zymdf-0007N9-00; Sat, 9 Jan 1999 00:52:27 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA17041); Sat, 9 Jan 1999 00:46:02 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Jan 1999 00:45:49 GMT
Received: from jaguars-int.cableinet.net [193.38.113.9] by hermes via SMTP (AAA17317); Sat, 9 Jan 1999 00:45:48 GMT
Received: (qmail 4389 invoked from network); 9 Jan 1999 00:42:55 -0000
Received: from unknown (HELO cableinet.co.uk) (194.117.146.113)
by jaguars with SMTP; 9 Jan 1999 00:42:55 -0000
Message-ID: <3696A722.D583C548@cableinet.co.uk>
Date: Sat, 09 Jan 1999 00:47:30 +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: "Vercoe, Scotty"
CC: CSOUND
Subject: Re: Linux Journal Csound article now on-line
References:
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Well, since you have started... it would be very encouraging if by any
chance that customer was a soundcard manufacturer - Creamware could do
with some competition!
Can we know how many SHARCs, what speeds, outputs, etc?
Re drivers: it would also be really useful to have a new WAVE driver
supporting at least a quad device, if not a full 6-channel one (see my
website for more agit-prop!). Then one could decode an Ambisonic
B-Format file into 5.1 or G format, among many other things. Users of
Sonic Foundry's Softencode could find that very useful too. And, last
but not least, one could play back a quad file made with Csound!
Richard Dobson
"Vercoe, Scotty" wrote:
>
> I'm not one to start rumors but...
>
> ADI has been making a multi-processor version of Extended Csound (XTCsound) for
> a customer. It's fairly stable now, and our deadline is in a few months, so it
> should solidify soon. I'm not sure when ADI will make these boards available to
> the public though.
>
> For anyone using our card, we'll soon have a 32-bit driver that crashes much
> less. I'll post a message when it's on our site.
>
> Also, for a few of you who were interested in porting XTCsound to Linux (Mac
> anyone?), I will be getting a shipment of boards week after next (only 7 months
> late!!). Send me a note if you're still interested in a free card.
>
--
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 aa21971;
9 Jan 99 2:12 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 0zyns4-0002XP-00; Sat, 9 Jan 1999 02:11:24 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA04364); Sat, 9 Jan 1999 02:11:03 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Jan 1999 02:10:52 GMT
Received: from caracal.noc.ucla.edu [169.232.10.11] by hermes via ESMTP (CAA04280); Sat, 9 Jan 1999 02:10:51 GMT
Received: from smtp ([164.67.88.7])
by caracal.noc.ucla.edu (8.9.1a/8.9.1) with SMTP id SAA21264
for ; Fri, 8 Jan 1999 18:10:50 -0800 (PST)
Received: from UCLA-Message_Server by smtp
with Novell_GroupWise; Fri, 08 Jan 1999 18:04:47 -0800
Message-Id:
X-Mailer: Novell GroupWise 4.1
Date: Fri, 08 Jan 1999 18:15:00 -0800
From: Jonathan Drexler
To: csound@maths.ex.ac.uk
Subject: Re: RE: csound (on Window NT) problem
Mime-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Tony:
Thank you. I am encouraged that you haven't had problems. I keep running into limits on things like the number of labels/gotos, or general limits on the size of the orchestra. Csound apparently tries to extend those limits but eventually crashes, so I have been scaling down my orchestral ambitions somewhat and trying to be a bit thriftier. Why the "t" statement has any effect on this is a complete mystery to me. Anyway, thanks again for taking the time to respond.
-Jonathan
>>> "Tony Ledford" 01/07 1:37 PM >>>
Jonathan, I've run 3.47 on NT4SP3 and NT4SP4 in the past without any
problems whatsoever. I'm also currently running Gabriel Maldonado's RTSound
1.9(x?) on NT4SP4 perfectly. But I've never tried the MIT 3.493.
Sorry!
Tony
> -----Original Message-----
> From: owner-csound-outgoing@maths.ex.ac.uk
> [mailto:owner-csound-outgoing@maths.ex.ac.uk]On Behalf Of Jonathan
> Drexler
> Sent: Thursday, January 07, 1999 3:57 PM
> To: csound@maths.ex.ac.uk
> Subject: csound (on Window NT) problem
>
>
> Can anyone provide insight as to a critical error I am running
> into when generating a piece of music using csound? About 2/3 of
> the time csound aborts with a an access violation (an untrapped
> memory error) while in the midst of generating the orchestra.
> The only way I have been able to consistenly prevent this is to
> remove all "t" statements from my score file. It also seems to
> help if I drastically reduce the size of my orchestra. Neither
> of these solutions is, of course, practical.
>
> At the moment I am dead in the water. Any help would be greatly
> appreciated.
>
> I am running csound on Windows NT 4.0, service pack 3. The
> csound version is MIT Csound: 3.493 (Nov 21 1998).
>
>
>
>
>
>
>
>
>
>
>
>
!
!
Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22384;
9 Jan 99 7:26 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 0zysn6-0007iK-00; Sat, 9 Jan 1999 07:26:36 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (HAA02177); Sat, 9 Jan 1999 07:23:48 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 9 Jan 1999 07:23:36 GMT
Received: from finch-post-10.mail.demon.net [194.217.242.38] by hermes via ESMTP (HAA02172); Sat, 9 Jan 1999 07:23:35 GMT
Received: from [212.228.198.129] (helo=qubit.demon.co.uk)
by post.mail.demon.net with smtp (Exim 2.10 #1)
id 0zyskA-000399-00
for csound@maths.ex.ac.uk; Sat, 9 Jan 1999 07:23:35 +0000
Message-ID:
Date: Sat, 9 Jan 1999 07:22:03 +0000
To: csound@maths.ex.ac.uk
From: Gareth Metford
Subject: City College Manchester - Introduction
MIME-Version: 1.0
X-Mailer: Turnpike (32) Trial Version 3.05
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Could the person from City College Manchester who posted an introductory
message to the list yesterday please email me privately? There were a
few questions I wanted to ask of you, but I accidentally deleted your
message. Thanks!
Gareth
--
Gareth Metford |