[CM] Supercollider and CM

Joshua Parmenter joshp@u.washington.edu
Mon, 9 May 2005 12:16:51 -0700


--Apple-Mail-6--79942096
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

hi everyone,

I've been using SC for quite a bit of time, and there are a couple of  
things that may be good to do. Some of this is a little biased on the  
way I had CM and SC working together, but I think they are worth  
mentioning.

First, I think it makes sense to have the scores write out text files  
(or at least have the option of doing this) in a similar way that the  
CM - CSound interface works.  It is good to be able to edit output,  
and this can't be easily done with the osc binary files.  Is this  
already possible?

Second, there is already a SC class that will convert a text score to  
osc, or play it, or render it in NRT.  Score.sc is the class, and  
there are examples in the Score-help file.

finally, this was a bit of a fake but it worked nicely.  The  
functions that Don Craig and I originally wrote to write out score  
also had the pad argument.  I changed them awhile ago to take a pad  
argument, OR, to calculate a file duration based on the note objects  
'dur' argument.  Of course this meant that all SynthDefs had to have  
a dur argument for this to work.  This is only needed for non-real- 
time rendering (in real-time, the last dummy command should be  
harmless no matter what)... The dummy timestamp was calculated as the  
greatest starttime + duration of all the notes. I like this quite a  
bit, and it can take the guess work out of calculating a possibly  
unknown file duration.

Just a couple of suggestions.  I'm really glad to see this being  
brought into CM in a more official way!

I'm also interested in helping out in general.  I'm on digest, but if  
there are SC questions I can help with, I will.

Josh


On May 9, 2005, at 12:00 PM, cmdist-request@ccrma.Stanford.EDU wrote:

> Re: [CM] Supercollider and CM

******************************************
Joshua D. Parmenter
Graduate Student, Music Composition
http://homepage.mac.com/joshpar/

"...Some people think a composer's supposed to please them, but in a  
way a composer is a chronicler... He's supposed to report on what  
he's seen and lived."
                                                                         
      -Charles Mingus


--Apple-Mail-6--79942096
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">hi everyone,<DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>I've been using SC for =
quite a bit of time, and there are a couple of things that may be good =
to do. Some of this is a little biased on the way I had CM and SC =
working together, but I think they are worth mentioning.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>First, I think it makes =
sense to have the scores write out text files (or at least have the =
option of doing this) in a similar way that the CM - CSound interface =
works.=A0 It is good to be able to edit output, and this can't be easily =
done with the osc binary files.=A0 Is this already =
possible?=A0=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Second, there is already a =
SC class that will convert a text score to osc, or play it, or render it =
in NRT.=A0 Score.sc is the class, and there are examples in the =
Score-help file.=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>finally, this was a bit of =
a fake but it worked nicely.=A0 The functions that Don Craig and I =
originally wrote to write out score also had the pad argument.=A0 I =
changed them awhile ago to take a pad argument, OR, to calculate a file =
duration based on the note objects 'dur' argument.=A0 Of course this =
meant that all SynthDefs had to have a dur argument for this to work.=A0 =
This is only needed for non-real-time rendering (in real-time, the last =
dummy command should be harmless no matter what)... The dummy timestamp =
was calculated as the greatest starttime + duration of all the notes.=A0I =
like this quite a bit, and it can take the guess work out of calculating =
a possibly unknown file duration.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Just a couple of =
suggestions.=A0 I'm really glad to see this being brought into CM in a =
more official way!</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>I'm also interested in =
helping out in general.=A0 I'm on digest, but if there are SC questions =
I can help with, I will.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Josh</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>On May 9, 2005, at 12:00 =
PM, <A =
href=3D"mailto:cmdist-request@ccrma.Stanford.EDU">cmdist-request@ccrma.Sta=
nford.EDU</A> wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><P =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">Re: [CM] Supercollider and =
CM</FONT></P> </BLOCKQUOTE></DIV><BR><DIV> <P style=3D"margin: 0.0px =
0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: =
12.0px Helvetica">******************************************</FONT></P> =
<P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">Joshua D. =
Parmenter</FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Graduate =
Student, Music Composition</FONT></P> <P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica"><A =
href=3D"http://homepage.mac.com/joshpar/">http://homepage.mac.com/joshpar/=
</A></FONT></P> <P style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: =
12.0px Helvetica; min-height: 14.0px"><BR></P> <P style=3D"margin: 0.0px =
0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: =
12.0px Helvetica">"...Some people think a composer's supposed to please =
them, but in a way a composer is a chronicler... He's supposed to report =
on what he's seen and lived."</FONT></P> <P style=3D"margin: 0.0px 0.0px =
0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica"><SPAN class=3D"Apple-converted-space">=A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 <SPAN class=3D"Apple-converted-tab">=A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 </SPAN></SPAN>-Charles Mingus</FONT></P>  =
</DIV><BR></DIV></BODY></HTML>=

--Apple-Mail-6--79942096--