Csound Csound-dev Csound-tekno Search About

Re: [Fwd: Generating scores]

Date1999-09-22 08:58
FromCharles Baker
SubjectRe: [Fwd: Generating scores]

Paul Winkler wrote:
(RE: Perl score editor)
>... be advised that putting things INTO such structures is not that
>hard in Perl, but getting data OUT of the structure is very, very
>confusing. Complex data structures are a recent addition to Perl and,
>IMHO, it's a pretty ugly hack.
I abandoned my Perl editor for exactly that reason. I was able to build a
fairly powerful score line representaion object,using a ridiculously
complex hash data structure as the object, and added editing functions with
full undo, but the resulting syntax was... uh... horrifying?... ugly?...
nearly un-usable? All of the above.
I pondered: could it be useful with a GUI? Perhaps, but I think the power
of such a 'scripting' system (and of all the score tools I know...eg
CommonMusic/Cscore, etc.) is their being embedded in a cool higher level
language, *with a usable score manipulation A.P.I*, unburdened by Gui
restrictions.
Perhaps I could put the torso of the editor on my site for those foolish
enough to want to mess with it....but I warn you ...accessing the internals
of the score object (which you *have* to do to add functionality to the
module) is a VERY MESSY business, and in the end I judged the core module
not  very helpful in compositional work, and not worthy of GUI-fying. Don;t
even have the (necessary) command-line-interface code lying around any
more.
Perhaps Python...in python, is there a simple,useful tie-in to a simple
widget set such as Tk?


WARNING: OVER-ANIMATED PLEA FOLLOWS: I PLEAD LATE NIGHT & MILD  FEVER!

I.M.O., it is imperative that the base score line ("note") object make no
assumptions as to the nature of it's content...or allows each item (object?
score line?) to be exactly and only what is required for the score function
it serves.
DAMMIT, not all note lines will use a "AMP" field, not all will use a
"PITCH" field, and the contents of fields with those names should be able
to vary over any data the composer sees fit to use in her/his instrument.
I DO NOT WANT *ANY* EDITOR THAT ASSUMES:
1)Oct.Pch and Amp as 0-32K in p-fields p4 & 5
2) Durations are rational divisions of a 'beat', specified by  "e" "q" "h"
"w", etc.
3) Amp scaling based on # of instruments (all *your* instruments  may
produce audio out...many of mine produce control signals & would really
mess up any simple normalization routines based on # of instruments
"playing" at a given time.


Why do I fuss? I have seen all of the above assumptions used by composers
in composition tools they wrote, and by-gum, they just are not necessary,
and not appropriate for my Csound scores. They are simplifications that
restrict compositional choices. *bad*. *Bad, bad, bad.*

Ok, thanks for your time. I'll calm down now.

What sayeth thou, Paul? (& all?)

CharlieB, Ph.D.
baker@charlieb.com
charlie@releasenow.com
baker@ccrma.stanford.edu

Date1999-09-22 14:48
From"William S. Annis"
SubjectRe: [Fwd: Generating scores]
 >Date: Wed, 22 Sep 1999 00:58:39 -0700
 >From: Charles Baker 
 >
 >Perhaps Python...in python, is there a simple,useful tie-in to a simple
 >widget set such as Tk?

        There are several widget sets available.  Tk is currently the
default.  So all of my GUI software is written two parts, as you
suggest: libraries to do the interesting bits which can be called from
anywhere and separate libraries to slap a GUI interface on top of
that.  Mix and run.

 >WARNING: OVER-ANIMATED PLEA FOLLOWS: I PLEAD LATE NIGHT & MILD  FEVER!
 >
 >I.M.O., it is imperative that the base score line ("note") object make no
 >assumptions as to the nature of it's content...or allows each item (object?
 >score line?) to be exactly and only what is required for the score function
 >it serves.

        I agree completely.

 >DAMMIT, not all note lines will use a "AMP" field, not all will use a
 >"PITCH" field, and the contents of fields with those names should be able
 >to vary over any data the composer sees fit to use in her/his instrument.
 >I DO NOT WANT *ANY* EDITOR THAT ASSUMES:
 >1)Oct.Pch and Amp as 0-32K in p-fields p4 & 5

        Right.  So far, the best mechanism I've come up with for the
actual creation of i-lines is not, in my opinion, as elegant as it can
be, but one must make sacrifices for flexibility.

        I take advantage of a very nice feature of Python in how it
deals with hash tables and formatting.  So, like in C, you can print
out three integers like this:

        "%i %i %i" % (some_int_0, some_int_1, some_int_2)

This is standard.  You can also pass in a hash table where I've listed
the variables.  So, assuming this: note = {'voice':1, 'amp':3000,
'pitch':440, 'pan':.2}, you can do this ('f' is a float format):

        "i%(voice)i %(start)f %(dur)f %(amp)i %(pitch)f %(pan)f\n" % note

So, whenever you want to emit a stream of note events, you have to
hand in something that looks like the string above for each
instrument, and let the code handle the creation of a hash table to
pass to your format string.  This isn't very hard in the end, since my
'note event' structure is open-ended, and the last bit is a hash table
where you can cram all sorts of things.  This also means you can emit
a score ignoring all the junk you're not currently worried about
(panning, say) by making the format less dynamic:

        "i4 %(start)f %(dur)f 5000 %(pitch)f .5\n" % note

        This isn't perfect... in fact I think it's a touch ugly, but
it makes the fewest assumptions about your score.

 >Why do I fuss? I have seen all of the above assumptions used by composers
 >in composition tools they wrote, and by-gum, they just are not necessary,
 >and not appropriate for my Csound scores. They are simplifications that
 >restrict compositional choices. *bad*. *Bad, bad, bad.*

        I agree, but ass mentioned earlier, everyone writing these
tools is writing for themselves.  Most people are happy to use the
'8.05' notation for pitch.  Since I'm interested in diddling with
tuning am not, so my own code deliberately avoids that system, and
ultimately drops to Hz notation.  Of course, since all my score
fiddling is in terms of ABC, the octave/pitch-class convenience isn't
needed.

 >Ok, thanks for your time. I'll calm down now.

        Count up the octave in just intuned ratios... 1/1, 9/8,
...more interesting than 1, 2, 3.

-- 
William S. Annis                	       wsannis@execpc.com
Mi parolas Esperanton - La Internacia Lingvo    www.esperanto.org


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26475;
          22 Sep 99 15:23 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11TnJF-0002vw-00
	for jpff@maths.bath.ac.uk; Wed, 22 Sep 1999 15:23:49 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA80317); Wed, 22 Sep 1999 15:20:49 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 22 Sep 1999 15:20:36 +0100
Received: from smtp.mail.yahoo.com [128.11.68.32] by hermes via SMTP (PAA115387); Wed, 22 Sep 1999 15:20:35 +0100 (BST)
Received: from unknown (HELO dboothe) (38.227.100.161)
  by smtp.mail.yahoo.com with SMTP; 22 Sep 1999 07:25:25 -0700
Message-ID: <002501bf0505$a7ce6540$7c98e226@dboothe.lyrick.com>
From: David Boothe 
To: Csound list , 
    rasmus ekman 
Subject: Re: Csound addresses
Date: Wed, 22 Sep 1999 09:20:41 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Bath seems OK to me. Downloaded stuff yesterday and just now.
-David.

rasmus wrote:
Point in case. Bath is dead right now (it looks to me).




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26521;
          22 Sep 99 15:41 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11TmeC-0004GN-00
	for jpff@maths.bath.ac.uk; Wed, 22 Sep 1999 14:41:24 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA115355); Wed, 22 Sep 1999 15:33:25 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 22 Sep 1999 15:33:14 +0100
Received: from fm1.freemail.hu [194.38.105.11] by hermes via SMTP (PAA115537); Wed, 22 Sep 1999 15:33:12 +0100 (BST)
Received: (qmail 596 invoked by uid 339175); 22 Sep 1999 14:29:17 -0000
Date: 22 Sep 1999 14:29:17 -0000
Message-ID: <19990922142917.595.qmail@freemail.c3.hu>
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject:  Re: Getting csound for linux ??
From: =?ISO-8859-2?Q?Varga_Istv=E1n?= 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


> Can you describe these improvements?  When were they reported before?
> I must have missed them

 - bugfix in Makefile: it should run "./makedb" instead of "makedb" (generally,
a program should not assume that "." is in the path, and also "makedb"
is a GNU utility and it's very likely that on many systems that program
will be run instead of csound's makedb)

 - bugfix in getstring.c: (see patch file for details)

 - on some newer Linux systems "libbsd.a" is renamed to "libbsd-compat.a"

 - Makefile settings default to Linux (as I wrote this diff file is for Linux users,
   as the subject was "Getting Csound for Linux")

 - new function that allows Csound to run with real-time priority (-DLINUX_RT);
   this requires root privileges, or setting the csound executable to setuid root
   (in the latter case it gives up root privileges after calling sched_setscheduler()
   and mlockall(); it also will not use real-time priority when rendering to a file (as
   that can lock up the system rather solidly). When csound is run as a normal
   user the function does not do anything, and just returns)



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26558;
          22 Sep 99 16:02 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11Tmy7-0004HQ-00
	for jpff@maths.bath.ac.uk; Wed, 22 Sep 1999 15:01:59 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA121676); Wed, 22 Sep 1999 15:56:28 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 22 Sep 1999 15:56:14 +0100
Received: from fm1.freemail.hu [194.38.105.11] by hermes via SMTP (PAA121422); Wed, 22 Sep 1999 15:56:13 +0100 (BST)
Received: (qmail 4745 invoked by uid 339175); 22 Sep 1999 14:56:12 -0000
Date: 22 Sep 1999 14:56:12 -0000
Message-ID: <19990922145612.4744.qmail@freemail.c3.hu>
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject:  Re: Csound addresses
From: =?ISO-8859-2?Q?Varga_Istv=E1n?= 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

rasmus ekman wrote:

>> ftp://ftp.maths.bath.ac.uk/pub/dream/newest/
>
> Point in case. Bath is dead right now (it looks to me).

Hmm ... dead ? I've just downloaded some new mail archive files from there.

As of UNIX vs. DOS sources, there may be some differences in makefiles,
handling real time audio, graphics etc. Also the WinSound GUI does not compile
on unix since Windows is not compatible with X11 (not even on the source level).
It is still possible that it contains unix makefiles, but surely has no advantages
over "Csound.tar.gz". Last, bot not least there may be some CR/LF problems as
well (although gcc is aware of this)



Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26975;
          22 Sep 99 18:20 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11Tq4K-0003AQ-00
	for jpff@maths.bath.ac.uk; Wed, 22 Sep 1999 18:20:36 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (SAA135024); Wed, 22 Sep 1999 18:17:27 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 22 Sep 1999 18:17:15 +0100
Received: from mail07.rapidsite.net [207.158.192.51] by hermes via SMTP (SAA136630); Wed, 22 Sep 1999 18:17:14 +0100 (BST)
Received: from www.innerlightpub.com (209.238.2.131)
	by mail07.rapidsite.net (RS ver 1.0.5) with SMTP is 2147426172
	for ; Wed, 22 Sep 1999 13:17:06 -0400 (EDT)
Message-ID: <001e01bf051d$f0ce36e0$7e9f173f@quark>
Reply-To: Michael Rhoades 
From: Michael Rhoades 
To: Csound 
References: <00fa01bf04b8$fdd2afc0$5cff98cb@rossbenc>
Subject: Re: [Fwd: Generating scores]
Date: Wed, 22 Sep 1999 12:14:28 -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 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Loop-Detect: 1
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi Ross,
     I am curious about the reference to Macromedia Director. I have just
obtained a copy of it and don't know much about it yet except what I have
seen it do on the internet. I am going to use it to create visuals for a
cd-rom version of the next CD I release. How are you using it to generate
.sco files? Please elaborate...

Michael Rhoades


Make the Rhoadsmith Web Connection at
http://www.innerlightpub.com/rhoadsmith


----- Original Message -----
From: Ross Bencina 
To: 
Sent: Wednesday, September 22, 1999 12:11 AM
Subject: Re: [Fwd: Generating scores]


>but at the moment I'm using Macromedia Director for work so
> it's the obvious choice. In a recent piece I generated a tab delimited
text
> file from a genetic algorithm implemented in C++  and used Director to
> process it into a score - you could do the same thing with tcl, perl or
> python, etc. The Director code did things like changing tempos / durations
> and interpolating parameters over time, and interpreting the C++ output
into
> a set of i statements.




Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27598;
          22 Sep 99 22:34 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11Tu2J-0003Ja-00
	for jpff@maths.bath.ac.uk; Wed, 22 Sep 1999 22:34:47 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (WAA151766); Wed, 22 Sep 1999 22:30:40 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 22 Sep 1999 22:30:29 +0100
Received: from front6.grolier.fr [194.158.96.56] by hermes via ESMTP (WAA151013); Wed, 22 Sep 1999 22:30:27 +0100 (BST)
Received: from club-internet.fr (ppp-101-25.villette.club-internet.fr [194.158.101.25])
	by front6.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id XAA16067
	for ; Wed, 22 Sep 1999 23:30:24 +0200 (MET DST)
Message-ID: <37E94B0A.E41D4964@club-internet.fr>
Date: Wed, 22 Sep 1999 23:33:01 +0200
From: JM&M DARREMONT 
Reply-To: jmdbrady@club-internet.fr
X-Mailer: Mozilla 4.06 (Macintosh; I; PPC)
MIME-Version: 1.0
To: "csound@maths.ex.ac.uk" 
Subject: Re: Generating scores
References: <37E8B699.4F5FBD53@club-internet.fr>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I use Open Music too.
It's a Lisp based graphic environment.
It means that you don't have to know Lisp to use it. You just have to connect
boxes: one box takes input arguments and send the result to another box and so on...

With it you can: 
_convert midi to CSound scores
_record music on keyboard and convert to CS score
_Analyse a soundfile with Audiosculpt and convert it to CS score.
_Analyse music(midifiles or sound files)

There is a growing set of libraries including:

_Aleatoric/stochastic functions
_Chaos functions
_Constraint programing(Situation 3)
_CSound score and orc generation by Karim Hadad
_Morphology analysis
etc

I would say it's specially interesting for analysis/resynthesis of sound and music.

http://www.ircam.fr/forumnet/index.html 

-- 
Jean-Michel DARREMONT



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27703;
          22 Sep 99 23:39 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11Tu6c-0004jc-00
	for jpff@maths.bath.ac.uk; Wed, 22 Sep 1999 22:39:14 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (XAA90375); Wed, 22 Sep 1999 23:37:09 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 22 Sep 1999 23:36:58 +0100
Received: from grynet.passagen.se [195.163.107.36] by hermes via ESMTP (XAA142072); Wed, 22 Sep 1999 23:36:57 +0100 (BST)
Received: from hem.passagen.se (z4-1-195.sbbs2.net [212.112.1.195])
	by grynet.passagen.se (8.8.6/8.8.6) with ESMTP id AAA28236
	for ; Thu, 23 Sep 1999 00:36:56 +0200 (MDT)
Message-ID: <37E95B83.CE59C4EA@hem.passagen.se>
Date: Thu, 23 Sep 1999 00:43:15 +0200
From: rasmus ekman 
Organization: .
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound list 
Subject: Re: Csound addresses
References: <19990922145612.4744.qmail@freemail.c3.hu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

> Hmm ... dead ? 
> Bath seems OK to me. 

Ok, sorry for disinformation then...
Hasn't worked for two weeks for me, and doesn't now.
Gets to "Contacting host: (host):(port numbers)" then times out.
But it's a lot better that I'm wrong here...

Cheers,

	re


Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27725;
          22 Sep 99 23:44 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11Tv87-0003Ki-00
	for jpff@maths.bath.ac.uk; Wed, 22 Sep 1999 23:44:51 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (XAA153380); Wed, 22 Sep 1999 23:42:32 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Wed, 22 Sep 1999 23:42:22 +0100
Received: from verde.onda.com.br [200.195.192.10] by hermes via ESMTP (XAA153749); Wed, 22 Sep 1999 23:42:17 +0100 (BST)
Received: from default (aslda004p017.onda.com.br [200.195.198.145])
	by verde.onda.com.br (8.8.8/8.8.8) with SMTP id TAA10750
	for ; Wed, 22 Sep 1999 19:42:10 -0300 (EST)
Message-ID: <37E9083C.18B8@sercomtel.com.br>
Date: Wed, 22 Sep 1999 13:47:56 -0300
From: guto 
Reply-To: guto@sercomtel.com.br
Organization: DEL
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
To: csound@maths.ex.ac.uk
Subject: Re: Generating scores
References: <37E8B699.4F5FBD53@club-internet.fr>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hello,

I have been using Cmask (Andre Bartetzky) to generate scores:
http://www.kgw.tu-berlin.de/~abart/CMaskMan/CMask-Download.htm

Another interesting tool to use with Csound (and other programming
languages) is TextPad: 
http://www.textpad.com/

bye,

Guto

guto@sercomtel.com.br
http://members.tripod.com/Guto001



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27925;
          23 Sep 99 1:49 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11Tw8e-0004nT-00
	for jpff@maths.bath.ac.uk; Thu, 23 Sep 1999 00:49:28 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (BAA156705); Thu, 23 Sep 1999 01:47:08 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 23 Sep 1999 01:46:56 +0100
Received: from out2.prserv.net [165.87.194.229] by hermes via ESMTP (BAA157331); Thu, 23 Sep 1999 01:46:54 +0100 (BST)
Received: from ibm.net (slip-32-101-209-211.dc.us.ibm.net [32.101.209.211])
	by out2.prserv.net (/) with ESMTP id AAA75932
	for ; Thu, 23 Sep 1999 00:46:48 GMT
Message-ID: <37E9784E.9DC6FCDF@ibm.net>
Date: Wed, 22 Sep 1999 20:46:06 -0400
From: "Job M. van Zuijlen" 
Reply-To: zuijlen@ibm.net
Organization: electona
X-Mailer: Mozilla 4.5 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Csound List 
Subject: Re: Csound addresses
References: <19990922145612.4744.qmail@freemail.c3.hu> <37E95B83.CE59C4EA@hem.passagen.se>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

I tried Bath just now, as well as I couple of days ago, no response.  
Something seems not right with the server.

Job van Zuijlen

rasmus ekman wrote:
> 
> > Hmm ... dead ?
> > Bath seems OK to me.
> 
> Ok, sorry for disinformation then...
> Hasn't worked for two weeks for me, and doesn't now.
> Gets to "Contacting host: (host):(port numbers)" then times out.
> But it's a lot better that I'm wrong here...
> 
> Cheers,
> 
>         re


Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28061;
          23 Sep 99 2:30 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11Twlp-0004o7-00
	for jpff@maths.bath.ac.uk; Thu, 23 Sep 1999 01:29:57 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (CAA158062); Thu, 23 Sep 1999 02:27:55 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 23 Sep 1999 02:27:44 +0100
Received: from smtp6.mindspring.com [207.69.200.74] by hermes via ESMTP (CAA153509); Thu, 23 Sep 1999 02:27:43 +0100 (BST)
Received: from Realizer (user-2ive4t4.dialup.mindspring.com [165.247.19.164])
	by smtp6.mindspring.com (8.8.5/8.8.5) with SMTP id VAA03228;
	Wed, 22 Sep 1999 21:27:56 -0400 (EDT)
From: Michael Gogins 
To: Michael Rhoades , 
    Csound 
Subject: RE: [Fwd: Generating scores]
Date: Wed, 22 Sep 1999 21:30:37 -0400
Message-ID: 
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
In-Reply-To: <001e01bf051d$f0ce36e0$7e9f173f@quark>
Importance: Normal
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

About score generation:

I use Java. I find it easier than scripting languages such as Tcl/Tk (which
I have used) and as powerful as C++ (which I use at work). In my opinion,
Java is the most generally useful computer language yet and I personally
find no reason to use anything else except where realtime performance is
absolutely critical. The performance gap between Java and C/C++ is
shrinking, too.

-----Original Message-----
From: owner-csound-outgoing@maths.ex.ac.uk
[mailto:owner-csound-outgoing@maths.ex.ac.uk]On Behalf Of Michael
Rhoades
Sent: Wednesday, September 22, 1999 1:14 PM
To: Csound
Subject: Re: [Fwd: Generating scores]


Hi Ross,
     I am curious about the reference to Macromedia Director. I have just
obtained a copy of it and don't know much about it yet except what I have
seen it do on the internet. I am going to use it to create visuals for a
cd-rom version of the next CD I release. How are you using it to generate
.sco files? Please elaborate...

Michael Rhoades


Make the Rhoadsmith Web Connection at
http://www.innerlightpub.com/rhoadsmith


----- Original Message -----
From: Ross Bencina 
To: 
Sent: Wednesday, September 22, 1999 12:11 AM
Subject: Re: [Fwd: Generating scores]


>but at the moment I'm using Macromedia Director for work so
> it's the obvious choice. In a recent piece I generated a tab delimited
text
> file from a genetic algorithm implemented in C++  and used Director to
> process it into a score - you could do the same thing with tcl, perl or
> python, etc. The Director code did things like changing tempos / durations
> and interpolating parameters over time, and interpreting the C++ output
into
> a set of i statements.




Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28079;
          23 Sep 99 2:39 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11TxrJ-0003PP-00
	for jpff@maths.bath.ac.uk; Thu, 23 Sep 1999 02:39:41 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (CAA158572); Thu, 23 Sep 1999 02:37:03 +0100 (BST)
From: integer@www.god-emil.dk
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 23 Sep 1999 02:36:53 +0100
Received: from saba.wwa.com [198.49.174.36] by hermes via ESMTP (CAA151411); Thu, 23 Sep 1999 02:36:52 +0100 (BST)
Received: from [157.238.67.25] (157-238-67-025.il.verio.net [157.238.67.25])
	by saba.wwa.com (8.9.0/8.9.0) with SMTP id UAA29518
	for ; Wed, 22 Sep 1999 20:36:50 -0500 (CDT)
Message-Id: <199909230136.UAA29518@saba.wwa.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 22 Sep 1999 20:42:58 -0600
To: Csound 
Subject: RE: [Fwd: Generating scores]
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

>About score generation:
>
>I use Java. I find it easier than scripting languages such as Tcl/Tk (which
>I have used) and as powerful as C++ (which I use at work). In my opinion,
>Java is the most generally useful computer language yet and I personally
>find no reason to use anything else except where realtime performance is
>absolutely critical. The performance gap between Java and C/C++ is
>shrinking, too.
>

!t = shr!nk!ng at ~zame rate ur projekt l!zt = zhr!nk!ng monz!eur.



"I purchased a G4 400 and of curse the first this that I did after unpacking was
to run caffeine 3.0. Detailed scores are not in hand at thin moment, but
overal score was 6686. Note that in my Mac 333 MT the score was 4900.

Of course, the G4 is faster but not very impressive.

OTOH, using some programs with swing and JTable is slow  in this machine.

May be some day Java will become usable for a serious projects :-)

Pietro Pesci-Feltri C"





Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28796;
          23 Sep 99 7:32 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11U1UA-0004zC-00
	for jpff@maths.bath.ac.uk; Thu, 23 Sep 1999 06:32:02 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (HAA158133); Thu, 23 Sep 1999 07:29:52 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 23 Sep 1999 07:29:41 +0100
Received: from wpdnt.webpage.com.au [203.36.219.100] by hermes via ESMTP (HAA163249); Thu, 23 Sep 1999 07:29:37 +0100 (BST)
Received: from rossbenc (unverified [203.152.254.236]) by wpdnt.webpage.com.au
 (Rockliffe SMTPRA 3.3.1) with SMTP id  for ;
 Thu, 23 Sep 1999 16:27:41 +1000
Message-ID: <008a01bf058c$bd847c80$38ff98cb@rossbenc>
From: Ross Bencina 
To: csound@maths.ex.ac.uk
MMDF-Warning:  Parse error in original version of preceding line at UK.AC.Bath.maths.omphalos
Subject: Re: [Fwd: Generating scores]
Date: Thu, 23 Sep 1999 15:57:32 +0930
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Michael Rhoades  wrote:

>Hi Ross,
>     I am curious about the reference to Macromedia Director. I have just
>obtained a copy of it and don't know much about it yet except what I have
>seen it do on the internet. I am going to use it to create visuals for a
>cd-rom version of the next CD I release. How are you using it to generate
>.sco files? Please elaborate...


Hi Michael,

Director manages data as "casts members" in "casts", a kind o virtual file
system. One supported cast member type is as "field" which is basically just
a chunk of text. Lingo (director's scripting language) has a number of
powerful text chunking functions so you can write things like:

x = word 4 of line 27 of field("data3")

which makes it really easy to parse scos or other tab/space delimited data.
There is also a dot operator syntax in D7 which I don't remember exactly,
something like x = field("data3").line[27].word[4]

So I write a lingo script to take sco lines from one text cast member and
generate a new score in another cast member. This way I can generate
multichannel scores in paralell. When I've finished I just cut and paste the
scos into text files, although I could get director to save out a .csd
automagically if I put my mind to it.

The way I'm working with it is pretty primative - I define a lingo function
that generates a score and then call it from the message window. There's no
reason why you couldn't make a simple gui where you enter parameters into
fields and press a button to generate a score.

Ross.







Received: from shaun.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29363;
          23 Sep 99 11:08 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by shaun.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11U5nY-0003dk-00
	for jpff@maths.bath.ac.uk; Thu, 23 Sep 1999 11:08:20 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (LAA176892); Thu, 23 Sep 1999 11:05:44 +0100 (BST)
Received: from mordell.ex.ac.uk by maths.ex.ac.uk; Thu, 23 Sep 1999 11:05:32 +0100
Received: (from james@localhost)
	by mordell.ex.ac.uk (8.9.3/8.8.8/Debian/GNU) id LAA02913
	for csound@maths.ex.ac.uk; Thu, 23 Sep 1999 11:05:32 +0100
Date: Thu, 23 Sep 1999 11:05:32 +0100
From: James Andrews 
To: csound@maths.ex.ac.uk
Subject: Re: Getting csound for linux ??
Message-ID: <19990923110532.J1095@maths.ex.ac.uk>
References: <19990922142917.595.qmail@freemail.c3.hu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.1i
In-Reply-To: =?iso-8859-1?Q?=3C19990922142917=2E595=2Eqmail=40freemail=2Ec3=2Ehu=3E?=
 =?iso-8859-1?Q?=3B_from_Varga_Istv=E1n_on_Wed=2C_Sep_22=2C_1999_at_02:29?=
 =?iso-8859-1?Q?:17PM_-0000?=
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Incidentally, I run a web site which covers Linux issues and I'd be very
interested in articles on running Csound under Linux and/or general sound
processing.
We are always interested in finding knowledgable writers with a 
professional attitude so if you fit the bill please get in touch!

--
About Linuxplanet http://www.linuxplanet.com
Linuxplanet is a tutorial based site specialising in information for new 
Linux users.  There are lots of tutorials, reviews and reports aimed at 
providing essential information for people coming from other computing
environments to Linux



Received: from wallace.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa29425;
          23 Sep 99 11:43 BST
Received: from [144.173.6.14] (helo=exeter.ac.uk)
	by wallace.maths.bath.ac.uk with esmtp (Exim 2.12 #1)
	id 11U5OU-00059R-00
	for jpff@maths.bath.ac.uk; Thu, 23 Sep 1999 10:42:26 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (LAA191842); Thu, 23 Sep 1999 11:40:15 +0100 (BST)
Received: from exeter.ac.uk by maths.ex.ac.uk; Thu, 23 Sep 1999 11:40:04 +0100
Received: from 0@deuro-gw.deltanet.ro [194.195.227.151] by hermes via ESMTP (LAA168044); Thu, 23 Sep 1999 11:39:42 +0100 (BST)
Received: from marte.Deuroconsult.ro (0@ns2.Deuroconsult.ro [195.179.253.164])
	by deuro-gw-2.deltanet.ro (8.9.1/8.9.1) with ESMTP id NAA20544
	for ; Thu, 23 Sep 1999 13:51:15 GMT
Received: from ns.viromet.ro (root@ns.Viromet.ro [195.179.253.183])
	by marte.Deuroconsult.ro (8.9.3/8.9.3) with ESMTP id NAA25125
	for ; Thu, 23 Sep 1999 13:34:27 +0300
Received: from st3.viromet.ro (st3.viromet.ro [192.168.1.3])
	by ns.viromet.ro (8.9.3/8.9.3) with SMTP id NAA00251
	for ; Thu, 23 Sep 1999 13:49:55 +0300
Message-ID: <003f01bf05b0$19d47440$0301a8c0@viromet.ro>
From: Radu GRIGOROVICI 
To: csound 
Subject: Generating scores...
Date: Thu, 23 Sep 1999 13:40:43 +0300
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 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Thanks for your answers!

I would need something like a tracker for csound (with patterns and tracks),
for simple instrumets. If I have time, I try to write it myself. I hope can
:-)

Have a nice day,
Radu Grigorovici