Csound Csound-dev Csound-tekno Search About

simple repeat command? HOW?

Date1999-03-06 20:11
FromSONICMAN
Subjectsimple repeat command? HOW?
How would I have a line in a score repeat say 10, 20, 30 times? or
infinitely? what is the command?

Also is there a random command that works in scores?

Thanks,
Marcus



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11549;
          6 Mar 99 20: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 10JNVd-0002Rk-00; Sat, 6 Mar 1999 20:17:18 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA15241); Sat, 6 Mar 1999 20:16:21 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 6 Mar 1999 20:16:09 GMT
Received: from root@relayd.gateway.net [208.230.117.252] by hermes via ESMTP (UAA01560); Sat, 6 Mar 1999 20:16:07 GMT
Received: from gate (1Cust98.tnt3.melbourne.fl.da.uu.net [208.255.97.98])
	by smtp7.gateway.net (8.9.1/8.9.1) with SMTP id PAA27836
	for ; Sat, 6 Mar 1999 15:16:02 -0500 (EST)
Message-ID: <000a01be680e$316e5de0$6261ffd0@gate>
From: Bill DeWitt 
To: Csound Q&A list 
Subject: Re: simple repeat command? HOW?
Date: Sat, 6 Mar 1999 15:16:11 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.0810.800
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I was going to ask the same question today.

I have searched all over for some example of recursive or itterative
function in .sco files and haven't found any!

I'm real new, so it may be that they are hidden in the .orc file functions
and I haven't gotten to them yet...

But I really want a for/next loop in my  scores, any hope?


----- Original Message -----
From: SONICMAN 
To: Csound Q&A list 
Sent: Saturday, March 06, 1999 3:11 PM
Subject: simple repeat command? HOW?


>How would I have a line in a score repeat say 10, 20, 30 times? or
>infinitely? what is the command?
>
>Also is there a random command that works in scores?
>
>Thanks,
>Marcus
>
>



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11619;
          6 Mar 99 21:02 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 10JODZ-0002SY-00; Sat, 6 Mar 1999 21:02:41 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (UAA05107); Sat, 6 Mar 1999 20:59:40 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 6 Mar 1999 20:59:29 GMT
Received: from root@jason05.u.washington.edu [140.142.78.6] by hermes via ESMTP (UAA11998); Sat, 6 Mar 1999 20:59:27 GMT
Received: from homer09.u.washington.edu (karpen@homer09.u.washington.edu [140.142.77.13])
	by jason05.u.washington.edu (8.9.3+UW99.02/8.9.3+UW99.01) with ESMTP id MAA12580;
	Sat, 6 Mar 1999 12:59:27 -0800
Received: from localhost (karpen@localhost)
	by homer09.u.washington.edu (8.9.3+UW99.02/8.9.3+UW99.01) with ESMTP id MAA24484;
	Sat, 6 Mar 1999 12:59:24 -0800
Date: Sat, 6 Mar 1999 12:59:24 -0800 (PST)
From: Richard Karpen 
To: Bill DeWitt 
cc: Csound Q&A list 
Subject: Re: simple repeat command? HOW?
In-Reply-To: <000a01be680e$316e5de0$6261ffd0@gate>
Message-ID: 
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


I recommend toe *everyone* who uses Csound to look into Common Music, a
lisp-based, environment created by Heinrich Taube, for making note-lists.
It's well worth the effort to learn this language. It's nothing short of
absolutely great. And it's free!!

Richard Karpen


On Sat, 6 Mar 1999, Bill DeWitt wrote:

> I was going to ask the same question today.
> 
> I have searched all over for some example of recursive or itterative
> function in .sco files and haven't found any!
> 
> I'm real new, so it may be that they are hidden in the .orc file functions
> and I haven't gotten to them yet...
> 
> But I really want a for/next loop in my  scores, any hope?
> 
> 
> ----- Original Message -----
> From: SONICMAN 
> To: Csound Q&A list 
> Sent: Saturday, March 06, 1999 3:11 PM
> Subject: simple repeat command? HOW?
> 
> 
> >How would I have a line in a score repeat say 10, 20, 30 times? or
> >infinitely? what is the command?
> >
> >Also is there a random command that works in scores?
> >
> >Thanks,
> >Marcus
> >
> >
> 
> 



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11739;
          6 Mar 99 21:47 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 10JOuc-00013Q-00; Sat, 6 Mar 1999 21:47:10 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (VAA10477); Sat, 6 Mar 1999 21:42:42 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 6 Mar 1999 21:42:30 GMT
Received: from root@proxy3.ba.best.com [206.184.139.14] by hermes via ESMTP (VAA00858); Sat, 6 Mar 1999 21:42:28 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 NAA27541
	for ; Sat, 6 Mar 1999 13:40:29 -0800 (PST)
Message-ID: <36E1A0B9.B5B6330A@charlieb.com>
Date: Sat, 06 Mar 1999 13:40:13 -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
CC: Csound Q&A list 
Subject: Re: simple repeat command? HOW?
References: 
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



Richard Karpen wrote:

> I recommend toe *everyone* who uses Csound to look into Common Music, a
> lisp-based, environment created by Heinrich Taube, for making note-lists.
> It's well worth the effort to learn this language. It's nothing short of
> absolutely great. And it's free!!
>
> Richard Karpen

Even though "me too" reponses are not usually appropriate, let me add my
enthusiastic
vote for CommonMusic. Not only can you generate csound sco output, but you can
generate midi output, or read midi in, then convert the midi to csound sco, all
with a very powerful
(and *not* difficult!) .language controling the many parameters of your ins. I
love the interactive
way I can genrerate a run of Csound score, synthsize, listen to the result,
adjust parameters,
do resynthesis, listen, etc...

Available for
DOS/WIN (no gui)
Mac (great gui added)
SGI,
Linux !:-)!
NeXT

they have varying levels of Midi implementation...all read write files...some
have 'real time' output/input
the Mac version signs into OpcodeMidiSystem, allowing use of it's features.

I also added some silly hacks years ago to the distribution that allow
generating some cmix and cmusic scores also,
if you have those tools.

The Home ftp site:
ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm

While there (one dir up) also check out CommonLispMusic, a synthesis toolkit in
CommonLisp, that generates, compiles, then links in fast c code from  Lisp
instrument definitions. Some great example instruments in the dist, too.
( Not avail for all the platforms that CommonMusic is..)

It's really *not* that hard to learn, and can help immensely with generating
csound score files!


CharlieB




Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11775;
          6 Mar 99 22:14 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 10JPLU-00013f-00; Sat, 6 Mar 1999 22:14:56 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA07139); Sat, 6 Mar 1999 22:11:45 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 6 Mar 1999 22:11:33 GMT
Received: from root@www.inx.de [195.21.255.251] by hermes via SMTP (WAA07629); Sat, 6 Mar 1999 22:11:32 GMT
Received: by www.inx.de (Smail3.2.0.96inx)
	  from berlin.snafu.de (195.21.37.20) with esmtp
	  id ; Sat, 6 Mar 1999 23:11:31 +0100 (MET)
Message-ID: <36E1B684.1DDCCA30@berlin.snafu.de>
Date: Sat, 06 Mar 1999 23:13:09 +0000
From: Andre Bartetzki 
Organization: STEAM HfM Berlin
X-Mailer: Mozilla 4.04 (Macintosh; I; PPC)
MIME-Version: 1.0
To: Csound Mailing List 
Subject: Re: bugs in wg opcodes
References: <283AABB8FD0DD21187C200A0C995F5DE0ECE86@neptune.lyrick.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> David Boothe wrote:
> 
> See below for more clarifications. Hope these help.
> 
> -David.
> (....)

Thanks David!

I post the remaining bugs / problems again. Has anyone similar experiences
with these opcodes ?


-----------
2.  ar wgflute kamp,kfreq,kjet,iatt,idetk,kngain,kvibf,kvamp,ifn [,iminfreq]

kfreq accepts no k-rate, even if iminfreq has a reasonable value.

Csound resp. perf prints this message if there is a k-rate kfreq:

PERF ERROR: No base frequency for flute

FATAL ERROR: terminated perf.


-----------
4. ar wgclar kamp, kfreq,kstiff,iatt,idetk,kngain,kvibf,kvamp,ifn [,iminfreq]

If we have a k-rate kfreq and no iminfreq like in 

kf      line    200,p3,400
a1      wgclar  20000,kf,-0.3,0.1,0.1,0.2,6,0.1,1

then iminfreq should be set automatically to the initial kfreq.
But this doesn't work:

PERF ERROR: No base frequency for clarinet

-----------
6. a1 mandol kamp,kfreq,kpluck,kdetune,kgain,ksize,ifn [,iminfreq]

Every trial to use mandol with the suggested values leads to a crash!

-----------

Andre

--------------------------------------------------
Andre Bartetzki http://www.kgw.tu-berlin.de/~abart
Studio fuer elektroakustische Musik http://www.kgw.tu-berlin.de/~abart/Steam/steam.html
Hochschule fuer Musik Berlin http://www.hfm-berlin.de

Tel. +49-30-4726629
Tel. +49-30-203092488
--------------------------------------------------


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11784;
          6 Mar 99 22: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 10JPO8-00013j-00; Sat, 6 Mar 1999 22:17:40 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA17113); Sat, 6 Mar 1999 22:15:33 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 6 Mar 1999 22:15:21 GMT
Received: from root@relayb.gateway.net [208.230.117.250] by hermes via ESMTP (WAA06768); Sat, 6 Mar 1999 22:15:19 GMT
Received: from gate (1Cust98.tnt3.melbourne.fl.da.uu.net [208.255.97.98])
	by smtp9.gateway.net (8.9.1/8.9.1) with SMTP id RAA22476
	for ; Sat, 6 Mar 1999 17:15:09 -0500 (EST)
From: Bill DeWitt 
To: Csound List 
Subject: RE: simple repeat command? HOW?
Date: Sat, 6 Mar 1999 17:15:21 -0500
Message-ID: <000001be681e$d394bb40$6261ffd0@gate>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <36E1A0B9.B5B6330A@charlieb.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

	While I appreciate the recommendation and will certainly investigate it, I
have to ask: Is this an indication that the answer to my question is "No"?
Just wondering if I should give up the search...

> Richard Karpen wrote:
>
> > I recommend toe *everyone* who uses Csound to look into Common Music, a
> > lisp-based, environment created by Heinrich Taube, for making
> note-lists.
> > It's well worth the effort to learn this language. It's nothing short of
> > absolutely great. And it's free!!
> >
> > Richard Karpen
>
> Even though "me too" reponses are not usually appropriate, let me add my
> enthusiastic
> vote for CommonMusic. Not only can you generate csound sco
> output, but you can
> generate midi output, or read midi in, then convert the midi to
> csound sco, all
> with a very powerful
> (and *not* difficult!) .language controling the many parameters
> of your ins. I
> love the interactive
> way I can genrerate a run of Csound score, synthsize, listen to
> the result,
> adjust parameters,
> do resynthesis, listen, etc...
>
> Available for
> DOS/WIN (no gui)
> Mac (great gui added)
> SGI,
> Linux !:-)!
> NeXT
>
> they have varying levels of Midi implementation...all read write
> files...some
> have 'real time' output/input
> the Mac version signs into OpcodeMidiSystem, allowing use of it's
> features.
>
> I also added some silly hacks years ago to the distribution that allow
> generating some cmix and cmusic scores also,
> if you have those tools.
>
> The Home ftp site:
> ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm
>
> While there (one dir up) also check out CommonLispMusic, a
> synthesis toolkit in
> CommonLisp, that generates, compiles, then links in fast c code from  Lisp
> instrument definitions. Some great example instruments in the dist, too.
> ( Not avail for all the platforms that CommonMusic is..)
>
> It's really *not* that hard to learn, and can help immensely with
> generating
> csound score files!
>
>
> CharlieB
>
>
>



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11807;
          6 Mar 99 22:24 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 10JPUp-0002Tk-00; Sat, 6 Mar 1999 22:24:35 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA04673); Sat, 6 Mar 1999 22:23:30 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 6 Mar 1999 22:23:18 GMT
Received: from mtiwmhc06.worldnet.att.net [204.127.131.41] by hermes via ESMTP (WAA10831); Sat, 6 Mar 1999 22:23:17 GMT
Received: from att.net ([12.64.5.125]) by mtiwmhc06.worldnet.att.net
          (InterMail v03.02.07 118 124) with ESMTP
          id <19990306222246.BDFL25498@att.net>
          for ; Sat, 6 Mar 1999 22:22:46 +0000
Message-ID: <36E1AD8C.48B952B4@att.net>
Date: Sat, 06 Mar 1999 14:34:58 -0800
From: SONICMAN 
X-Mailer: Mozilla 4.5 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound Q&A list 
Subject: Okay, Not so simple "repeat" command?
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

I just downloaded common lisp or whatever it is called selected auto
fill and it generated a mega-ton of ERRORS. I'm really starting to grow
weary of Csounds endless obstacles.
Man I'm depressed, I need some Beer.

SONICMAN=out



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa11859;
          6 Mar 99 22:59 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 10JQ31-0002U8-00; Sat, 6 Mar 1999 22:59:55 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (WAA03705); Sat, 6 Mar 1999 22:57:10 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sat, 6 Mar 1999 22:56:57 GMT
Received: from dns2.seanet.com [199.181.164.2] by hermes via ESMTP (WAA02950); Sat, 6 Mar 1999 22:56:55 GMT
Received: from seanet.com (cy24.dialup.seanet.com [207.12.136.24]) by mx.seanet.com (8.8.8/Seanet-8.7.3) with ESMTP id OAA08952 for ; Sat, 6 Mar 1999 14:56:53 -0800 (PST)
Message-ID: <36E1B3D6.24C1BFFC@seanet.com>
Date: Sat, 06 Mar 1999 15:01:42 -0800
From: Sean Costello 
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
To: Csound Q&A list 
Subject: Re: Okay, Not so simple "repeat" command?
References: <36E1AD8C.48B952B4@att.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

SONICMAN wrote:
> 
> I just downloaded common lisp or whatever it is called selected auto
> fill and it generated a mega-ton of ERRORS. I'm really starting to grow
> weary of Csounds endless obstacles.
> Man I'm depressed, I need some Beer.

Are you trying to run Common Music on a Windows machine? If so, things
will be mighty confusing, because all the instructions are for using a
different version of Lisp on a Unix machine.  I figured out how to get
CM running in Windows last year, and will append the tips to the end of
this email.

Common Music is really the best way to do repeating notes.  I don't
think there is a comparable ability in standard Csound.  There are other
Csound add-ons that will do what you want, but Common Music is really
nice.

As far as beer goes, I highly recommend Mirror Pond Pale Ale, or any of
the output of the Deschutes brewery from Bend, Oregon.  That high desert
air seems to work magic.  Oregon beers in general are good things.

As far as depression, remember that the spring is coming soon - unless
you are in the Southern Hemisphere, in which case it is probably nice
and warm anyway.  Here in Seattle we have the first sunny day in months,
and I'm gonna go for a walk and soak up the rays.

Sean Costello

[begin tips from old email to class mailing list]

Hi folks:

Just stayed up til 5 am figuring out how to run Common Music at home. I
had a very helpful friend who helped me get it running in Linux, and I
just figured out how to get it running in Windows 98.

Here's what I found out so far:

1) The precompiled binaries that can be found on the page "Installing
Common Music"
(http://ccrma-www.stanford.edu/CCRMA/Software/cm/install.html) DO WORK.
They seem to be a better bet than downloading the sources and building
your own installations.  Note that the Linux version is not directly
accessible as a link; go to
ftp://ccrma-ftp.stanford.edu/pub/Lisp/cm/binaries and look for the Linux
binary.

2) Setting the path variables is not a pleasant experience.  I really
can't help you there with Linux, as I don't understand that operating
system very well.  When I figure out what to do with Windows 98, I'll
let the list know.  For now, I have been simply opening up the file
"CM.BAT" that can be found in the cm-1.3_clisp-95 director which the
binary file creates.  Clicking on this file in Windows Explorer kicks
you into Common Music. [I ended up putting a shortcut to CM.BAT on the
desktop, and labeling it Common Music.  Clicking on the icon opens a DOS
window that is running Common Music.]

3) When Common Music comes up, it will not look like the version at
school.  Instead of a lot of ASCII text that tells you that you are in
Common Music, you get a single prompt - "> ".  Don't worry, you are
actually in Common Music at this point, assuming you installed it
correctly.

4) IMPORTANT: The precompiled binaries for Win 95/98 and Linux use
CLISP, instead of the ACL (Allegro Common Lisp) used at school. THE
COMMAND USED ON THE SMCC COMPUTERS TO OPEN A FILE IN COMMON MUSIC DOES
NOT WORK WITHIN THE VERSIONS OF COMMON MUSIC THAT RUN IN CLISP.  To open
a file, you need to type the following:

Linux: at the "> " prompt, type

(load "pathname")

where "pathname" is the complete path to the .lisp file
you wish to open.  For example, on my system, to open Example5.lisp, I
would type

(load "/home/sean/Orchestras/Example5.lisp")

Win 95/98: at the "> " prompt, type

(load "pathname")

where "pathname" is the complete path to the .lisp file
you wish to open.  The pathname needs to use double backslashes, for
some reason.  To open Example5.lisp on my system, I would type

(load "C:\\Csound\\Orchestras\\Example5.lisp")

5) After the file is loaded, the (make-score) commands work as normal. 
To exit, type (exit), instead of :exit.

Hope this helps people out there.

Sean Costello

P.S.  BTW, the Linux version of Csound on my machine runs several times
quicker than the M$ Windows version on the same machine.


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12003;
          7 Mar 99 0: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 10JRcX-00017Z-00; Sun, 7 Mar 1999 00:40:41 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA14966); Sun, 7 Mar 1999 00:39:38 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 00:39:27 GMT
Received: from root@relay8.gateway.net [208.230.117.247] by hermes via ESMTP (AAA05402); Sun, 7 Mar 1999 00:39:25 GMT
Received: from gate (1Cust98.tnt3.melbourne.fl.da.uu.net [208.255.97.98])
	by smtp4.gateway.net (8.9.1/8.9.1) with SMTP id TAA14450
	for ; Sat, 6 Mar 1999 19:39:09 -0500 (EST)
From: Bill DeWitt 
To: Csound Q&A list 
Subject: RE: Okay, Not so simple "repeat" command?
Date: Sat, 6 Mar 1999 19:39:20 -0500
Message-ID: <000101be6832$f04ec460$6261ffd0@gate>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <36E1AD8C.48B952B4@att.net>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Boy do I know how you feel!

	I'm busy making a JavaScript thingie to generate a notelist page I can cut
into my .sco instead of trying to get that other thing to run in Windows.
Not anything near what I wanted to do, but at least I will get somewhere
with it during my short time off work. I've blown most of the day trying to
build a pattern of notes by hand only to find that some of my values were
off in the first few and threw the whole run off.


>
> I just downloaded common lisp or whatever it is called selected auto
> fill and it generated a mega-ton of ERRORS. I'm really starting to grow
> weary of Csounds endless obstacles.
> Man I'm depressed, I need some Beer.
>
> SONICMAN=out
>
>



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12035;
          7 Mar 99 0:48 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 10JRkA-00017i-00; Sun, 7 Mar 1999 00:48:34 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA08574); Sun, 7 Mar 1999 00:47:11 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 00:47:00 GMT
Received: from mercury.cc.oberlin.edu [132.162.1.220] by hermes via ESMTP (AAA12808); Sun, 7 Mar 1999 00:46:59 GMT
Received: from dhcp (DHCP5201.resnet.oberlin.edu)
 by oberlin.edu (PMDF V5.1-12 #29794) with SMTP id <0F8700BU58UANY@oberlin.edu>
 for csound@maths.ex.ac.uk; Sat,  6 Mar 1999 19:46:59 -0500 (EST)
Date: Sat, 06 Mar 1999 19:46:23 -0500
From: jim altieri 
Subject: sco repetitions
X-Sender: sjva4957@mail.cc.oberlin.edu
To: csound@maths.ex.ac.uk
Message-id: <2.2.32.19990307004623.0071f790@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

we've been talking about ways to generate repetitive or algorithmic scores.
i prefer to write programs in c to do it, but remember there's lots of ways
to do it.  excel and most other spreadsheets can save its files as
"space-delimited ascii", which is how sco files are organized.  a simple
thing in a spreadsheet should do a looping type of pattern.  just need a
fairly simple equation for p2, and cut and paste your way to csound fame and
fortune.
-jim

(shameless plug: listen to some of my csound music at http://www.mp3.com/tweeg )



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12126;
          7 Mar 99 1:38 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 10JSWd-0002Xd-00; Sun, 7 Mar 1999 01:38:39 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (BAA09174); Sun, 7 Mar 1999 01:36:41 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 01:36:30 GMT
Received: from post5.inre.asu.edu [129.219.110.86] by hermes via ESMTP (BAA16900); Sun, 7 Mar 1999 01:36:27 GMT
Received: from smtp2.asu.edu by asu.edu (PMDF V5.1-12 #24133)
 with ESMTP id <01J8IQ87XF528YE423@asu.edu> for csound@maths.ex.ac.uk; Sat,
 6 Mar 1999 18:38:00 MST
Received: from asu.edu (sss20-07.inre.asu.edu [129.219.101.139])
 by smtp2.asu.edu (8.9.1/8.9.1) with ESMTP id SAA01135 for
 ; Sat, 06 Mar 1999 18:36:57 -0700 (MST)
Date: Sat, 06 Mar 1999 18:37:45 +0000
From: Todd Ingalls 
Subject: Re: Okay, Not so simple "repeat" command?
To: Csound Q&A list 
Message-id: <36E175F6.F02FFA15@asu.edu>
MIME-version: 1.0
X-Mailer: Mozilla 4.5 (Macintosh; U; PPC)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Accept-Language: en
References: <36E1AD8C.48B952B4@att.net>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

CM might seem a little frustrating at first but it is well worth the
effort to learn. 

In regards to your original query about repeating lines in a score, you
should look at section 14.6 in the csound manual which details the r
score directive for repeating sections. Here is a very simple example of
its use:


r4 
s
i1 0 1 8000 230 ;this line repeats 3 times

s
i1 0 4 8000 313

r2
s
i1 0 2 8000 270 ;these two lines
i1 2 4 8000 370 ;repeat once
e


-- 
todd ingalls
http://www.public.asu.edu/~todd2

SONICMAN wrote:
> 
> I just downloaded common lisp or whatever it is called selected auto
> fill and it generated a mega-ton of ERRORS. I'm really starting to grow
> weary of Csounds endless obstacles.
> Man I'm depressed, I need some Beer.
> 
> SONICMAN=out


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12160;
          7 Mar 99 1: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 10JSkG-00018U-00; Sun, 7 Mar 1999 01:52:44 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (BAA09572); Sun, 7 Mar 1999 01:51:38 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 01:51:27 GMT
Received: from howl.werewolf.net [12.23.152.10] by hermes via ESMTP (BAA14637); Sun, 7 Mar 1999 01:51:25 GMT
Received: from default (dial340.werewolf.net [12.23.154.40])
	by howl.werewolf.net (8.9.0/8.9.0) with SMTP id TAA25377
	for ; Sat, 6 Mar 1999 19:45:10 -0600 (CST)
Message-ID: <002001be683d$c9c24b40$289a170c@default>
From: Hans Mikelson 
To: Csound Q&A list 
Subject: Re: Okay, Not so simple "repeat" command?
Date: Sat, 6 Mar 1999 19:56:52 -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,

Perl is another dandy language for generating text and you can find one of
my score generating Perl programs in the Csound list archives.  I was about
to suggest SCOT (which I have never used) but I see its been discontinued.

Regards,
Hans Mikelson



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12241;
          7 Mar 99 2: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 10JTUO-00019C-00; Sun, 7 Mar 1999 02:40:24 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA16811); Sun, 7 Mar 1999 02:39:16 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 02:39:04 GMT
Received: from howl.werewolf.net [12.23.152.10] by hermes via ESMTP (CAA16371); Sun, 7 Mar 1999 02:39:03 GMT
Received: from default (dial340.werewolf.net [12.23.154.40])
	by howl.werewolf.net (8.9.0/8.9.0) with SMTP id UAA24799
	for ; Sat, 6 Mar 1999 20:32:50 -0600 (CST)
Message-ID: <003301be6844$718d40e0$289a170c@default>
From: Hans Mikelson 
To: Csound List 
Subject: Re: Grains from Audio files
Date: Sat, 6 Mar 1999 20:44:36 -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,

The tricky thing when using samples with Csound's grain opcode is that the
frequency indicates the rate at which the *entire* sound file is scanned
since there is way to indicate a base frequency.  So if you want the
granular sound to be approximately the same pitch as the sample be sure to
indicate a frequency of 1/sample length.

Below is an example.  Note: Take out the line wraps.

Bye,
Hans Mikelson

; ORC
sr=44100
kr=4410
ksmps=10
nchnls=2

;---------------------------------------------------------------------------
-------
; Basic Granular Sampler Synthesis
;---------------------------------------------------------------------------
-------
       instr    4

idur    =       p3
iamp    =       p4
ifqc    =       p5
igrtab  =       p6
iwintab =       p7
ifrng   =       p8
idens   =       p9
ifade   =       p10
igdur   =       p11
iamprng =       p12

kamp    linseg  0, ifade, 1, idur-2*ifade, 1, ifade, 0

;              Amp  Fqc   Dense  AmpOff       PitchOff    GrDur  GrTable
WinTable  MaxGrDur
aoutl   grain  p4,  ifqc, idens, 100*iamprng, ifqc*ifrng, igdur, igrtab,
iwintab,  5
aoutr   grain  p4,  ifqc, idens, 100*iamprng, ifqc*ifrng, igdur, igrtab,
iwintab,  5

        outs   aoutl*kamp, aoutr*kamp

      endin

; SCO
f2 0 524288 1 "soundin.11" 0 4 0
f7 0 1024 8  0 512 1 512 0

;  Start  Dur  Amp    Freq  GrTab  WinTab  FqcRng  Dens  Fade  GrDur  AmpRng
i4   0.0  2    20000  .08   2      7       .021    200   .2    .1     1





Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12273;
          7 Mar 99 2: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 10JTfY-0002YW-00; Sun, 7 Mar 1999 02:51:56 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA08990); Sun, 7 Mar 1999 02:50:56 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 02:50:45 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (CAA18410); Sun, 7 Mar 1999 02:50:44 GMT
Received: from dumburk (dialup187-1-17.swipnet.se [130.244.187.17])
	by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id DAA23462;
	Sun, 7 Mar 1999 03:50:05 +0100 (MET)
Message-ID: <36E1E9D8.2471@hem.passagen.se>
Date: Sun, 07 Mar 1999 03:52:08 +0100
From: rasmus ekman 
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
To: SONICMAN 
CC: Csound list 
Subject: r statement (Re: simple repeat command? HOW?)
References: <36E18BE5.8C357A78@att.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

SONICMAN wrote:
> 
> How would I have a line in a score repeat say 10, 20, 30 times? 

For simple repetitions you can fake it with the r statement.
You get a counter with it. This actually repeats score *sections*, 
which limits the processing in some ways, but it does what you ask for. 
See the file Version3_48.Notes at bath/newest for info and example. 

Something like this:

r42 COUNT               ; "COUNT" will change value 1...42 for each repetition
i1 0 3 $COUNT.          ; p4 gets COUNT value in instr 1
i2 .5 1.5 75 $COUNT.    ; p5 gets COUNT value
s                       ; end of repeated section

Note that COUNT is a macro variable (works by textual replacement when 
the score file is read, ie before the csound score parser "actually" 
gets to see the score), so you use it with the dollar macro usage prefix.


	re


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12281;
          7 Mar 99 2:54 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 10JThx-00019S-00; Sun, 7 Mar 1999 02:54:25 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA01260); Sun, 7 Mar 1999 02:53:18 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 02:53:10 GMT
Received: from ccrma.Stanford.EDU [36.49.0.84] by hermes via ESMTP (CAA10188); Sun, 7 Mar 1999 02:53:09 GMT
Received: from ccrma.stanford.edu (cmn34 [36.49.0.113])
	by ccrma.stanford.edu (8.8.8/8.8.8) with ESMTP id SAA25132;
	Sat, 6 Mar 1999 18:53:07 -0800 (PST)
Message-ID: <36E1EA12.245D1F1D@ccrma.stanford.edu>
Date: Sat, 06 Mar 1999 18:53:06 -0800
From: Tobias Kunze 
X-Mailer: Mozilla 4.07 [en] (X11; U; Linux 2.0.33 i686)
MIME-Version: 1.0
To: SONICMAN 
CC: Csound Q&A list 
Subject: Re: Okay, Not so simple "repeat" command?
References: <36E1AD8C.48B952B4@att.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

This is a real hall-of-famer for the category

  "Got someth'n, pushed `banana' and got someth'n else."

Hey, be glad it did anything at all or be specific!


Re beer: now we're talking.  If you ever run across "Krombacher
Pilsner" on tap, give it a try.  You won't regret it.


SONICMAN wrote:
> 
> I just downloaded common lisp or whatever it is called selected auto
> fill and it generated a mega-ton of ERRORS. I'm really starting to grow
> weary of Csounds endless obstacles.
> Man I'm depressed, I need some Beer.
> 
> SONICMAN=out


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12422;
          7 Mar 99 4: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 10JUsU-0002Zd-00; Sun, 7 Mar 1999 04:09:22 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA14593); Sun, 7 Mar 1999 04:07:56 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 04:07:35 GMT
Received: from root@relayd.gateway.net [208.230.117.252] by hermes via ESMTP (EAA11376); Sun, 7 Mar 1999 04:07:29 GMT
Received: from gate (1Cust180.tnt1.melbourne.fl.da.uu.net [208.255.26.180])
	by smtp7.gateway.net (8.9.1/8.9.1) with SMTP id XAA13751
	for ; Sat, 6 Mar 1999 23:07:22 -0500 (EST)
From: Bill DeWitt 
To: Csound List 
Subject: RE: r statement (Re: simple repeat command? HOW?)
Date: Sat, 6 Mar 1999 23:07:35 -0500
Message-ID: <000001be6850$083c6240$b41affd0@gate>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Importance: Normal
In-Reply-To: <36E1E9D8.2471@hem.passagen.se>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


Now this is good. I think one could go a long way with this. I would like to
see some more examples if anyone has them, but so far it looks good! I am
having a little trouble with the [math] thing that I would like to use, but
everything else is all I could have expected. (I can't seem to get it to
recognize a macro inside brackets, and it won't do math with the macro
without brackets i.e.: [COUNT*3] gives me an undefined macro name error and
COUNT*3 gives me the value zero)

Now I am going to look at the #include and #macro sections to see what else
might be done.

BTW, since I was using the online version of The CSound Manual
 http://emu.music.ufl.edu/csman/TITLE.html ) it's no wonder I couldn't find
the method! Thanks for pointing out the newer versions!


> For simple repetitions you can fake it with the r statement.
> You get a counter with it. This actually repeats score *sections*,
> which limits the processing in some ways, but it does what you ask for.
> See the file Version3_48.Notes at bath/newest for info and example.
>
> Something like this:
>
> r42 COUNT               ; "COUNT" will change value 1...42 for
> each repetition
> i1 0 3 $COUNT.          ; p4 gets COUNT value in instr 1
> i2 .5 1.5 75 $COUNT.    ; p5 gets COUNT value
> s                       ; end of repeated section
>
> Note that COUNT is a macro variable (works by textual replacement when
> the score file is read, ie before the csound score parser "actually"
> gets to see the score), so you use it with the dollar macro usage prefix.
>






Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12471;
          7 Mar 99 4:41 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 10JVNI-0001Ap-00; Sun, 7 Mar 1999 04:41:12 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA06237); Sun, 7 Mar 1999 04:40:07 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 04:39:45 GMT
Received: from gudrun.passagen.se [195.163.107.4] by hermes via ESMTP (EAA13688); Sun, 7 Mar 1999 04:39:45 GMT
Received: from dumburk (dialup198-3-54.swipnet.se [130.244.198.182])
	by gudrun.passagen.se (8.8.5/8.8.5) with SMTP id FAA01700;
	Sun, 7 Mar 1999 05:39:06 +0100 (MET)
Message-ID: <36E20366.991@hem.passagen.se>
Date: Sun, 07 Mar 1999 05:41:10 +0100
From: rasmus ekman 
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
To: SONICMAN 
CC: Csound list 
Subject: uh, or perhaps not (Re: r statement )
References: <36E18BE5.8C357A78@att.net> <36E1E9D8.2471@hem.passagen.se>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

rasmus ekman wrote:
> 
> > How would I have a line in a score repeat say 10, 20, 30 times?
> 
> For simple repetitions you can fake it with the r statement.

...but note that it will only play sections consecutively, so it's 
probably not what you want.

(I fail to see how to get score sections to overlap, if that were 
possible r-statements would work. I think (but not very well tonight).)

Sorry,

	re


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12553;
          7 Mar 99 5:31 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 10JWAI-0002eI-00; Sun, 7 Mar 1999 05:31:51 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (FAA12224); Sun, 7 Mar 1999 05:30:53 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 05:30:41 GMT
Received: from root@relayc.gateway.net [208.230.117.251] by hermes via ESMTP (FAA08598); Sun, 7 Mar 1999 05:30:39 GMT
Received: from gate (1Cust180.tnt1.melbourne.fl.da.uu.net [208.255.26.180])
	by smtp3.gateway.net (8.9.1/8.9.1) with SMTP id AAA05023
	for ; Sun, 7 Mar 1999 00:30:24 -0500 (EST)
From: Bill DeWitt 
To: Csound List 
Subject: RE: uh, or perhaps not (Re: r statement )
Date: Sun, 7 Mar 1999 00:30:36 -0500
Message-ID: <000101be685b$a1293ea0$b41affd0@gate>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Importance: Normal
In-Reply-To: <36E20366.991@hem.passagen.se>
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

That's what I thought at first, then I found this...

>(New in Csound 3.49)
>
>
>b  clockbase
>
>Resets the base clock for textually following events.
>
>PFIELDS
>
> p1   New clock base value.
>
>SPECIAL CONSIDERATIONS
>
>Use it for repeated sections where you want an overlap with previous
version, as it does not start a new section.  It is >textual, and is
expanded before sorting.
>

	I just wish I understood it. It seems to be saying that you can reset the
clock to a time(clockbase) of your choosing. It doesn't seem to do anything
yet, but that's what I thought about [math] until 15 minutes ago...



> rasmus ekman wrote:
> >
> > > How would I have a line in a score repeat say 10, 20, 30 times?
> >
> > For simple repetitions you can fake it with the r statement.
>
> ...but note that it will only play sections consecutively, so it's
> probably not what you want.
>
> (I fail to see how to get score sections to overlap, if that were
> possible r-statements would work. I think (but not very well tonight).)
>
> Sorry,
>
> 	re
>



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa12834;
          7 Mar 99 9: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 10Ja3H-0001I6-00; Sun, 7 Mar 1999 09:40:51 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (JAA12553); Sun, 7 Mar 1999 09:37:49 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 09:37:38 GMT
Received: from agora.stm.it [195.62.32.1] by hermes via ESMTP (JAA04672); Sun, 7 Mar 1999 09:37:37 GMT
Received: from agora.stm.it (ppp02-14.dial-access.stm.it [195.62.37.78]) by agora.stm.it (8.9.2/8.8.5) with ESMTP id KAA17398; Sun, 7 Mar 1999 10:37:22 +0100 (ITA)
Message-ID: <36E24835.484D0F96@agora.stm.it>
Date: Sun, 07 Mar 1999 10:34:45 +0100
From: Gabriel Maldonado 
X-Mailer: Mozilla 4.06 [en] (Win95; I)
MIME-Version: 1.0
To: SONICMAN , Csound list 
Subject: Re: simple repeat command? HOW?
References: <36E18BE5.8C357A78@att.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Try current version of DirectCsound (if you are using a PC) it includes the new score
opcodes '{' and '}' to implement nested loop without any section interruption.

This is the manual:

Syntax: 

{  num NN 

   ...... body........ 

} 

Score loops are a very powerful tool. Derived by repeats (r opcode), they allow to define
any parameter,
and the score events inside the loop are not separated by a section termination in each
iteration. So it is
possible to implement overlapping loops. Loops can be nested. The syntax is similar to
that of the repeats:
the macro $NN is incremented in each iteration (notice that, differently from repeats, it
starts with a zero
value); num argument must be set to the number of iterations. 

NB: exponential ramp symbol has been changed to '(' or ')' in order to allow curly-brace
characters to be used
for loops. 

EXAMPLE: 

{ 10 nn
        i1      [$nn/2]  .5  [$Line(10, $nn , 10000, 4000)]  [$Line(10,$nn,440,110)]
        { 5 bb
                i1 [$nn/2+$bb/10] .1 [(1+$nn/4)*$Line(10 , $bb, 2000, 500)] [$Line(10, 
$bb, 400, 600)]
        }
}



SONICMAN wrote:
> 
> How would I have a line in a score repeat say 10, 20, 30 times? or
> infinitely? what is the command?
> 
> Also is there a random command that works in scores?
> 
> Thanks,
> Marcus

-- 
Gabriel Maldonado

http://www.agora.stm.it/G.Maldonado/home2.htm

Date1999-03-07 15:23
FromLars Luthman
SubjectRe: simple repeat command? HOW?
>How would I have a line in a score repeat say 10, 20, 30 times? or
>infinitely? what is the command?
>
>Also is there a random command that works in scores?
>
>Thanks,
>Marcus

I don't know if this is exactly what you want, but when I have a melody or
beat that I want to play a number of times I do it with a macro, like this:

#define SQBASS4(T) #
  i1  [$T+0.50]  .5  10  6.00  3  3.5  3  1  3
  i1  [$T+1.50]  .5  10  6.00  3  3.5  3  1  3
  i1  [$T+2.50]  .5  10  6.00  3  3.5  3  1  3
  i1  [$T+3.50]  .5  10  6.00  3  3.5  3  1  3
#

...and then I call the macro whenever I want to play it, like this:

$SQBASS4(0)
$SQBASS4(4)
$SQBASS4(8)


It works fine. I often have more arguments to control filters, volume,
panning etc.




--ll




Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa13718;
          7 Mar 99 18: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 10JiXD-0001Ry-00; Sun, 7 Mar 1999 18:44:19 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA12225); Sun, 7 Mar 1999 18:43:12 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Sun, 7 Mar 1999 18:43:01 GMT
Received: from mtiwmhc04.worldnet.att.net [204.127.131.39] by hermes via ESMTP (SAA15133); Sun, 7 Mar 1999 18:43:00 GMT
Received: from att.net ([12.72.103.108]) by mtiwmhc04.worldnet.att.net
          (InterMail v03.02.07 118 124) with ESMTP
          id <19990307184229.HVBY19548@att.net>
          for ; Sun, 7 Mar 1999 18:42:29 +0000
Message-ID: <36E2CB6F.EC4C0E5@att.net>
Date: Sun, 07 Mar 1999 10:54:40 -0800
From: SONICMAN 
X-Mailer: Mozilla 4.5 (Macintosh; U; PPC)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound Q&A list 
Subject: If I wanted to build an awesome 3-d gui for Csound/PPC?
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

Hello,

    To all those who helped me with getting automatic repeats happening
in Csound....THANK YOU!?

    Ya' know every time I overcome a big obstacle with Csound I really
wish I could use some of my Photoshop and Bryce 3 skills to build a
beautiful and powerful GUI synth based on some of the stronger orc.s &
sco's. What would be the BEST of the BEST books I should look to for
this information?

Also anybody know where I can get more on FOF synthesis examples in
Csound that actually work on a PowerMac 8500/120, the one by J.M. Clarke
from the manual are excellent!

Take care,
SONICMAN=out



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14258;
          8 Mar 99 0:04 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 10JnXJ-0001X8-00; Mon, 8 Mar 1999 00:04:45 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA03491); Mon, 8 Mar 1999 00:02:18 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 00:02:06 GMT
Received: from falcon.glas.apc.org [193.124.5.54] by hermes via ESMTP (AAA02985); Mon, 8 Mar 1999 00:02:05 GMT
Received: from mail.glas.apc.org([193.124.5.37]) (1017 bytes) by falcon.glas.apc.org
	via sendmail with P:esmtp/R:inet_hosts/T:inet_zone_smtp
	(sender: ) 
	id 
	for ; Mon, 8 Mar 1999 03:02:04 +0300 (WSU)
	(Smail-3.2.0.104 1998-Nov-20 #2 built 1998-Nov-27)
Received: from default(src addr [194.154.81.158]) (642 bytes) by mail.glas.apc.org
	via sendmail with P\:esmtp/R:smart_host/T:smtp
	(sender: ) 
	id 
	for ; Mon, 8 Mar 1999 02:59:51 +0300 (WSU)
	(Smail-3.2.0.96 1997-Jun-2 #11 built DST-Aug-25)
Message-Id: 
From: Sergey Batov 
To: csound@maths.ex.ac.uk
MMDF-Warning:  Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: waveguide  instruments
Date: Mon, 8 Mar 1999 01:43:20 +0300
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi,
Can anybody send me orc+sco for waveguide  instruments (in general - 
for physical modelling instruments, I'd like to get any)?

Thanks in advance, 

Sergey Batov   batov@glasnet.ru


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14285;
          8 Mar 99 0:23 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 10JnpD-0001XP-00; Mon, 8 Mar 1999 00:23:15 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA07806); Mon, 8 Mar 1999 00:21:04 GMT
From: markg@pacifier.com
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 00:20:54 GMT
Received: from root@smtp.pacifier.com [199.2.117.96] by hermes via ESMTP (AAA09680); Mon, 8 Mar 1999 00:20:52 GMT
Received: from pacifier.com (ip48.van14.pacifier.com [216.65.141.48])
	by smtp.pacifier.com (8.9.1a/8.9.1) with ESMTP id QAA18148;
	Sun, 7 Mar 1999 16:20:50 -0800 (PST)
Message-ID: <36E3168E.5E7ADB48@pacifier.com>
Date: Sun, 07 Mar 1999 16:15:11 -0800
X-Mailer: Mozilla 4.5 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Where can I download the Amsterdam catalog?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hello everyone, I've just discovered Csound and this list and this is my 
first post. The server at mars.let.uva.nl seems to be down. Is there 
another site where I can download the Amsterdam catalog?

Thanks,

Mark Gay

markg@pacifierXNOSPAMX.com


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14318;
          8 Mar 99 0: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 10JoGe-0001Xk-00; Mon, 8 Mar 1999 00:51:36 +0000
Received: from noether [144.173.8.10] by hermes via SMTP (AAA07330); Mon, 8 Mar 1999 00:50:24 GMT
Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 00:50:12 GMT
Received: from dfw-ix1.ix.netcom.com [206.214.98.1] by hermes via ESMTP (AAA04628); Mon, 8 Mar 1999 00:50:11 GMT
Received: (from smap@localhost)
          by dfw-ix1.ix.netcom.com (8.8.4/8.8.4)
	  id SAA10087 for ; Sun, 7 Mar 1999 18:49:37 -0600 (CST)
Message-Id: <199903080049.SAA10087@dfw-ix1.ix.netcom.com>
Received: from roc-ny1-10.ix.netcom.com(199.183.209.42) by dfw-ix1.ix.netcom.com via smap (V1.3)
	id rma010074; Sun Mar  7 18:49:28 1999
X-Mailer: Microsoft Outlook Express for Macintosh - 4.0a (190) 
Date: Sun, 07 Mar 1999 19:49:47 +0000
Subject: Re: Where can I download the Amsterdam catalog?
From: James Correa 
To: csound@maths.ex.ac.uk
Mime-version: 1.0
X-Priority: 3
Content-type: multipart/alternative; boundary="MS_Mac_OE_3003680987_1149556_MIME_Part"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> THIS MESSAGE IS IN MIME FORMAT. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--MS_Mac_OE_3003680987_1149556_MIME_Part
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit




Dear Mark,

I think this is the right link for ACCI,

ftp://ftp.musique.umontreal.ca/pub/mirrors/accci

You must take a look in the new frontpage:

http://mitpress.mit.edu/e-books/csound/frontpage.html

Cheers,

James


====================
James Correa       
Composer
====================


----------
>From: markg@pacifier.com
>To: csound@maths.ex.ac.uk
>Subject: Where can I download the Amsterdam catalog?
>Date: Mon, Mar 8, 1999, 12:15 AM
>

>Hello everyone, I've just discovered Csound and this list and this is my 
>first post. The server at mars.let.uva.nl seems to be down. Is there 
>another site where I can download the Amsterdam catalog?
>
>Thanks,
>
>Mark Gay
>
>markg@pacifierXNOSPAMX.com
>



--MS_Mac_OE_3003680987_1149556_MIME_Part
Content-type: text/html; charset="US-ASCII"
Content-transfer-encoding: quoted-printable



Re: Where can I download the Amsterdam catalog?





Dear Mark,

I think this is the right link for ACCI,

ftp://ftp.musique.umontreal.ca/pub/mirrors/acc= ci

You must take a look in the new frontpage:

http://mitpress.mit.edu/e-books/csound/frontpage.html

Cheers,

James


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
James Correa
Composer
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


----------
>From: markg@pacifier.com
>To: csound@maths.ex.ac.uk
>Subject: Where can I download the Amsterdam catalog?
>Date: Mon, Mar 8, 1999, 12:15 AM
>

>Hello everyone, I've just discovered Csound and this list and this is m= y
>first post. The server at mars.let.uva.nl seems to be down. Is there >another site where I can download the Amsterdam catalog?
>
>Thanks,
>
>Mark Gay
>
>markg@pacifierXNOSPAMX.com
>


--MS_Mac_OE_3003680987_1149556_MIME_Part--   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14483; 8 Mar 99 2:52 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 10Jq9w-0002zP-00; Mon, 8 Mar 1999 02:52:48 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (CAA08228); Mon, 8 Mar 1999 02:50:53 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 02:50:42 GMT Received: from mtiwmhc07.worldnet.att.net [204.127.131.42] by hermes via ESMTP (CAA11471); Mon, 8 Mar 1999 02:50:41 GMT Received: from att.net ([12.72.103.109]) by mtiwmhc07.worldnet.att.net (InterMail v03.02.07 118 124) with ESMTP id <19990308025009.EPVE10197@att.net> for ; Mon, 8 Mar 1999 02:50:09 +0000 Message-ID: <36E33DBB.9743749@att.net> Date: Sun, 07 Mar 1999 19:02:23 -0800 From: SONICMAN X-Mailer: Mozilla 4.5 (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 To: Csound Q&A list Subject: The Book,"Computer Music in C" Where! How! 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 Hello, I have seen many a reference made to a book called "Computer music in C", but I have never been able to get a copy of this book. I've searched amazon & Barnes and Noble + all over the web. Is this the only book that tells how to work with raw C code and create sounds? Anybody have it or read it, is it worth tracking down? What are other books I may have a little easier time getting a hold of, involving sound generation straight from the heart of the ol' machine? Or using C++, Java?? etc? Is Java even powerful enough to handle "raw" sound generation? C++? GOD! I am so frustrated trying to track down the info I need to build the software synth of the millenium! HELP ME....HELP ME.....arrrrgggghhhhh!!! SONICMAN=out   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14579; 8 Mar 99 3: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 10JqrK-000301-00; Mon, 8 Mar 1999 03:37:38 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (DAA01033); Mon, 8 Mar 1999 03:36:20 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 03:36:13 GMT Received: from ccrma.Stanford.EDU [36.49.0.84] by hermes via ESMTP (DAA09690); Mon, 8 Mar 1999 03:36:11 GMT Received: from ccrma.stanford.edu (cmn34 [36.49.0.113]) by ccrma.stanford.edu (8.8.8/8.8.8) with ESMTP id TAA03583; Sun, 7 Mar 1999 19:36:08 -0800 (PST) Message-ID: <36E345A8.C2B519FC@ccrma.stanford.edu> Date: Sun, 07 Mar 1999 19:36:08 -0800 From: Tobias Kunze X-Mailer: Mozilla 4.07 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: SONICMAN CC: Csound Q&A list Subject: Re: The Book,"Computer Music in C" Where! How! References: <36E33DBB.9743749@att.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk i presume you are talking about moore's "elements of computer music", which has loads of c code lifted from cmusic. http://www.prenhall.com/allbooks/ptr_0132525526.html   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14601; 8 Mar 99 3: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 10Jr53-000309-00; Mon, 8 Mar 1999 03:51:49 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (DAA15540); Mon, 8 Mar 1999 03:49:33 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 03:49:21 GMT Received: from quake.xnet.com [198.147.221.35] by hermes via ESMTP (DAA06658); Mon, 8 Mar 1999 03:49:20 GMT Received: from chris (cd.xnet.com [199.245.227.194]) by mail.xnet.com (8.8.6/XNet-3.0R) with SMTP id VAA15064; Sun, 7 Mar 1999 21:49:17 -0600 (CST) Message-Id: <3.0.32.19990307215923.006a410c@quake.xnet.com> X-Sender: cd@quake.xnet.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Sun, 07 Mar 1999 21:59:24 -0600 To: SONICMAN , Csound Q&A list From: Chris De Chiara Subject: Re: The Book,"Computer Music in C" Where! How! Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk If you're talking about the Phil Winsor book, it really is about 'algorithmic composition' in C, I don't recall any sound generation techniques anywhere in the book. At 07:02 PM 3/7/99 -0800, SONICMAN wrote: >Hello, > > I have seen many a reference made to a book called "Computer music >in C", but I have never been able to get a copy of this book. I've >searched amazon & Barnes and Noble + all over the web. Is this the only >book that tells how to work with raw C code and create sounds? > >Anybody have it or read it, is it worth tracking down? > >What are other books I may have a little easier time getting a hold of, >involving sound generation straight from the heart of the ol' machine? > > Or using C++, Java?? etc? >Is Java even powerful enough to handle "raw" sound generation? >C++? > >GOD! I am so frustrated trying to track down the info I need to build >the software synth of the millenium! HELP ME....HELP >ME.....arrrrgggghhhhh!!! > >SONICMAN=out > > > ____________________________________________________________________ Chris De Chiara cd@xnet.com   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14607; 8 Mar 99 3:52 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 10Jr5I-00030B-00; Mon, 8 Mar 1999 03:52:04 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (DAA15353); Mon, 8 Mar 1999 03:50:19 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 03:50:06 GMT Received: from vcn.bc.ca [207.102.64.2] by hermes via ESMTP (DAA02396); Mon, 8 Mar 1999 03:50:04 GMT Received: from localhost (wfreno@localhost) by vcn.bc.ca (8.9.2/8.9.2) with ESMTP id TAA20355; Sun, 7 Mar 1999 19:50:01 -0800 (PST) Date: Sun, 7 Mar 1999 19:50:01 -0800 (PST) From: Wayne Freno To: SONICMAN cc: Csound Q&A list Subject: Re: The Book,"Computer Music in C" Where! How! In-Reply-To: <36E33DBB.9743749@att.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk The author is Phil Winsor if that helps you in finding it. Check your public library (mine has it) Wayne Freno On Sun, 7 Mar 1999, SONICMAN wrote: > Hello, > > I have seen many a reference made to a book called "Computer music > in C", but I have never been able to get a copy of this book. I've > searched amazon & Barnes and Noble + all over the web. Is this the only > book that tells how to work with raw C code and create sounds? > > Anybody have it or read it, is it worth tracking down? > > What are other books I may have a little easier time getting a hold of, > involving sound generation straight from the heart of the ol' machine? > > Or using C++, Java?? etc? > Is Java even powerful enough to handle "raw" sound generation? > C++? > > GOD! I am so frustrated trying to track down the info I need to build > the software synth of the millenium! HELP ME....HELP > ME.....arrrrgggghhhhh!!! > > SONICMAN=out > > end soundbite   Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14746; 8 Mar 99 5: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 10JsXC-0001bG-00; Mon, 8 Mar 1999 05:24:58 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (FAA03613); Mon, 8 Mar 1999 05:23:37 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 05:23:25 GMT Received: from camel7.mindspring.com [207.69.200.57] by hermes via ESMTP (FAA15699); Mon, 8 Mar 1999 05:23:24 GMT Received: from mindspring.com (pool-207-205-149-65.dlls.grid.net [207.205.149.65]) by camel7.mindspring.com (8.8.5/8.8.5) with ESMTP id AAA32440 for ; Mon, 8 Mar 1999 00:23:22 -0500 (EST) Message-ID: <36E35EF9.CA85AEA1@mindspring.com> Date: Sun, 07 Mar 1999 23:24:09 -0600 From: Michael Minnick X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: csound Subject: help with -odevaudio Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk Does the -odevaudio flag (used to send samples directly to the audio driver) work in the PC version? I'm using a command line like csound95 -odevaudio -W -d v1.orc v1.sco and I just get samples written to a file called "devaudio". The FAQ doesn't mention anything special about using devaudio in the PC version. The Csound manual says -odevaudio works "if RTAUDIO is enabled". What does that mean? I'm using Csound95 Version 3.36 (freshly downloaded). Thanks, Mike   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14760; 8 Mar 99 5: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 10JsjC-000350-00; Mon, 8 Mar 1999 05:37:22 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (FAA06517); Mon, 8 Mar 1999 05:36:27 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 05:36:16 GMT Received: from eos.arc.nasa.gov [128.102.118.20] by hermes via ESMTP (FAA03011); Mon, 8 Mar 1999 05:36:14 GMT Received: (from jim-ra@localhost) by eos.arc.nasa.gov (8.8.4/8.8.4) id VAA03450; Sun, 7 Mar 1999 21:36:13 -0800 Date: Sun, 7 Mar 1999 21:36:13 -0800 From: "Dr J.Stevenson's research assistant" Message-Id: <199903080536.VAA03450@eos.arc.nasa.gov> To: csound@maths.ex.ac.uk, sonicman001@att.net Subject: Re: The Book,"Computer Music in C" Where! How! Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk -----U wrote----: GOD! I am so frustrated trying to track down the info I need to build the software synth of the millenium! HELP ME....HELP ME.....arrrrgggghhhhh!!! -------------- Source code for programming CL's SB soundcards' in C is difficult to come by ( @ least chip level programming C source ) I've done register level C functions for OPL 3 ( & 4)FM synthesizer . The info at times for programming this chips memory ( its a WOM [write-only mem.] ) was flawed for certain types of 1-op voices & it took me weeks ( & a phone call to Japan or Singapore ) to diagnosis the bug ( unfixable ) !! My suggestion to you: while fustrating U just have tobe persistant when doing low level programming + getting engineering white papers that are often translated from Japenese to English ( Yamaha to their credit where very helpful with the OPL 3 tech info, sometimes CL was very secretive ( IMHO for fear of leaking propritary info perchance )   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14771; 8 Mar 99 5:44 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 10Jsq9-000355-00; Mon, 8 Mar 1999 05:44:33 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (FAA02374); Mon, 8 Mar 1999 05:43:42 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 05:43:31 GMT Received: from eos.arc.nasa.gov [128.102.118.20] by hermes via ESMTP (FAA10871); Mon, 8 Mar 1999 05:43:29 GMT Received: (from jim-ra@localhost) by eos.arc.nasa.gov (8.8.4/8.8.4) id VAA03552; Sun, 7 Mar 1999 21:43:22 -0800 Date: Sun, 7 Mar 1999 21:43:22 -0800 From: "Dr J.Stevenson's research assistant" Message-Id: <199903080543.VAA03552@eos.arc.nasa.gov> To: sonicman001@att.net, wfreno@vcn.bc.ca Subject: Re: The Book,"Computer Music in C" Where! How! Cc: csound@maths.ex.ac.uk Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk Unfortunately I can't recall there being a 'like referance manual for computer sound generation for SB compatable cards Gravis had IMHO the absolute BEST C source code libraries ( wavetable + 3-D binaural sound gen ) I wish SB's stuff was as good... oh well just mt $US 0.02 worth.   Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14784; 8 Mar 99 5:54 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 10Jszs-0001fG-00; Mon, 8 Mar 1999 05:54:36 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (FAA08261); Mon, 8 Mar 1999 05:52:26 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 05:52:15 GMT Received: from camel8.mindspring.com [207.69.200.58] by hermes via ESMTP (FAA13461); Mon, 8 Mar 1999 05:52:14 GMT Received: from Realizer (user-38ld0c5.dialup.mindspring.com [209.86.129.133]) by camel8.mindspring.com (8.8.5/8.8.5) with SMTP id AAA06946; Mon, 8 Mar 1999 00:52:11 -0500 (EST) Message-ID: <008f01be6927$db64a600$79d496c0@Realizer.ngt.sungard.com> From: Michael Gogins To: SONICMAN , Csound Q&A list Subject: Re: The Book,"Computer Music in C" Where! How! Date: Mon, 8 Mar 1999 00:52:30 -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 This book is not about synthesis. It is about algorithmic composition. It is a pretty good cookbook of recipes for the original, random variable based, atonal style of algorithmic composition. For sound synthesis, I recommend Dodge and Jerse, Computer Music 2nd edition, or the old standby Moore, Elements of Computer Music. -----Original Message----- From: SONICMAN To: Csound Q&A list Date: Sunday, March 07, 1999 9:53 PM Subject: The Book,"Computer Music in C" Where! How! >Hello, > > I have seen many a reference made to a book called "Computer music >in C", but I have never been able to get a copy of this book. I've >searched amazon & Barnes and Noble + all over the web. Is this the only >book that tells how to work with raw C code and create sounds? > >Anybody have it or read it, is it worth tracking down? > >What are other books I may have a little easier time getting a hold of, >involving sound generation straight from the heart of the ol' machine? > > Or using C++, Java?? etc? >Is Java even powerful enough to handle "raw" sound generation? >C++? > >GOD! I am so frustrated trying to track down the info I need to build >the software synth of the millenium! HELP ME....HELP >ME.....arrrrgggghhhhh!!! > >SONICMAN=out >   Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14802; 8 Mar 99 6: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 10JtC8-0001fO-00; Mon, 8 Mar 1999 06:07:16 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (GAA13278); Mon, 8 Mar 1999 06:01:31 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 06:01:19 GMT Received: from camel8.mindspring.com [207.69.200.58] by hermes via ESMTP (GAA14183); Mon, 8 Mar 1999 06:01:18 GMT Received: from Realizer (user-38ld0c5.dialup.mindspring.com [209.86.129.133]) by camel8.mindspring.com (8.8.5/8.8.5) with SMTP id BAA11978; Mon, 8 Mar 1999 01:01:13 -0500 (EST) Message-ID: <00a301be6929$1ef99000$79d496c0@Realizer.ngt.sungard.com> From: Michael Gogins To: Wayne Freno , SONICMAN Cc: Csound Q&A list Subject: Re: The Book,"Computer Music in C" Where! How! Date: Mon, 8 Mar 1999 01:01:33 -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 Java with a good JIT compiler, such as Symantec, is about 1/3 as fast as compiled C++. It is not fast enough for real-time sound generation, but it would be fast enough for non-real-time generation of soundfiles on a really fast PC. I personally think writing a software synthesizer from scratch at this time, when so many people are doing it, is a bit redundant unless (a) you really need to understand digital audio that well, or (b) you have reason to think you will do a better job than the competition, some of whom have done it several times. If you do choose to accept this mission, doing the synthesizer in Java would be wise, because you can code faster in Java than in C. If, when you were done, it was not fast enough, you could do it over again in C++ and make it quite a bit faster. It would be nice if someone would implement SAOL (an international standard for software synthesizer scores and orchestras) with an open source program that would be as fast as Csound. -----Original Message----- From: Wayne Freno To: SONICMAN Cc: Csound Q&A list Date: Sunday, March 07, 1999 10:52 PM Subject: Re: The Book,"Computer Music in C" Where! How! >The author is Phil Winsor if that helps you in finding it. >Check your public library (mine has it) > >Wayne Freno > >On Sun, 7 Mar 1999, SONICMAN wrote: > >> Hello, >> >> I have seen many a reference made to a book called "Computer music >> in C", but I have never been able to get a copy of this book. I've >> searched amazon & Barnes and Noble + all over the web. Is this the only >> book that tells how to work with raw C code and create sounds? >> >> Anybody have it or read it, is it worth tracking down? >> >> What are other books I may have a little easier time getting a hold of, >> involving sound generation straight from the heart of the ol' machine? >> >> Or using C++, Java?? etc? >> Is Java even powerful enough to handle "raw" sound generation? >> C++? >> >> GOD! I am so frustrated trying to track down the info I need to build >> the software synth of the millenium! HELP ME....HELP >> ME.....arrrrgggghhhhh!!! >> >> SONICMAN=out >> >> > >end soundbite > >   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14816; 8 Mar 99 6: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 10JtEA-00035R-00; Mon, 8 Mar 1999 06:09:22 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (GAA13843); Mon, 8 Mar 1999 06:07:58 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 06:07:47 GMT Received: from smtp1.mindspring.com [207.69.200.31] by hermes via ESMTP (GAA11017); Mon, 8 Mar 1999 06:07:46 GMT Received: from mindspring.com (pool-207-205-149-65.dlls.grid.net [207.205.149.65]) by smtp1.mindspring.com (8.8.5/8.8.5) with ESMTP id BAA14157 for ; Mon, 8 Mar 1999 01:07:44 -0500 (EST) Message-ID: <36E36960.74DB1FA3@mindspring.com> Date: Mon, 08 Mar 1999 00:08:32 -0600 From: Michael Minnick X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: csound Subject: Status of Csound95.exe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk In the distribution zip: /pub/mirrors/dream/platforms/pc/Bin.zip there is a Csound95.exe that appears to be a Windows-based csound that doesn't require the DOS extender like csound.exe does. However, it is at version 3.43. I only see the DOS version in the csound_new.zip, so I assume Csound95 is typically a few versions behind. Is csound95 a good version to use or should I stick with the DOS version? Thanks, Mike   Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14832; 8 Mar 99 6:26 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 10JtUU-00035h-00; Mon, 8 Mar 1999 06:26:14 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (GAA03507); Mon, 8 Mar 1999 06:25:00 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 06:24:47 GMT Received: from smtp1.jps.net [209.63.224.236] by hermes via ESMTP (GAA18313); Mon, 8 Mar 1999 06:24:46 GMT Received: from heatherl (209-239-221-72.stk.jps.net [209.239.221.72]) by smtp1.jps.net (8.8.5/8.8.5) with ESMTP id WAA12556 for ; Sun, 7 Mar 1999 22:24:44 -0800 (PST) Message-Id: <199903080624.WAA12556@smtp1.jps.net> Reply-To: @jps.net,@exeter.ac.uk: MMDF-Warning: Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos From: nunativs To: Csound Subject: HPK Composer? Date: Sun, 7 Mar 1999 22:26:45 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1162 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk Does anyone know of the status and URL of the above site or is it out of commision? Thanks, Ken   Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa14943; 8 Mar 99 7: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 10JuWm-0001gi-00; Mon, 8 Mar 1999 07:32:40 +0000 Received: from noether [144.173.8.10] by hermes via SMTP (HAA06801); Mon, 8 Mar 1999 07:28:27 GMT Received: from exeter.ac.uk by maths.ex.ac.uk; Mon, 8 Mar 1999 07:28:16 GMT Received: from root@d1o211.telia.com [195.204.228.241] by hermes via ESMTP (HAA02435); Mon, 8 Mar 1999 07:28:15 GMT Received: from apas.no (t7o211p25.telia.com [195.204.229.145]) by d1o211.telia.com (8.8.5/8.8.5) with ESMTP id IAA04274; Mon, 8 Mar 1999 08:28:11 +0100 (CET) Message-ID: <36E37C2C.E6A1AA59@apas.no> Date: Mon, 08 Mar 1999 08:28:44 +0100 From: Roger Klaveness X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Michael Minnick , csound list Subject: Re: Status of Csound95.exe References: <36E36960.74DB1FA3@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-csound-outgoing@maths.ex.ac.uk Precedence: bulk try ftp://ftp.maths.bath.ac.uk/pub/dream/newest/csound_con.zip instead it's a win32 console version and up-to-date if you wan't a slower version with a GUI try ftp://ftp.maths.bath.ac.uk/pub/dream/newest/csound_win.zip Roger K Michael Minnick wrote: > > In the distribution zip: > > /pub/mirrors/dream/platforms/pc/Bin.zip > > there is a Csound95.exe that appears to be a Windows-based csound that > doesn't require the DOS extender like csound.exe does. However, it is at > version 3.43. I only see the DOS version in the csound_new.zip, so I > assume Csound95 is typically a few versions behind. Is csound95 a good > version to use or should I stick with the DOS version? > > Thanks, > Mike