RE: csound Digest Mon, 06 Jul 2009

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown RE: csound Digest Mon, 06 Jul 2009

by edexter5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
This looks like a very usefull script that should make it easier to get new features into csound frontends

I would like to see a script that converts

i 1

to

i1

and back again.  This would make it easier for front end programs.  

I would also suggest that the python like nimrod programming language may be helpful because thier is no guarentee that python won't change over time.  



Windows Live™: Keep your life in sync. Check it out.

RE: csound Digest Mon, 06 Jul 2009

by Jacob Joaquin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The align.py script from the score parsing Python module I'm developing will do this.  The following uses the -i flag to ensure there is one space between the i statement and the instrument identifier.

$ cat foo.sco | ./align.py -i1

and back

$ cat foo.sco | ./align.py -i0

Here's the module:
http://www.thumbuki.com/csound/files/mailinglist/score_v0.0.1a.zip

Here's the manual.
http://www.thumbuki.com/csound/files/mailinglist/score0.0.1a_docs/index.html

Unfortunately, if you want it to preserve the rest of the score alignment, align.py won't work.  However, I do have plans to create a function that does exactly what you are asking for.  I'll also make it a point make changes to align.py to preserve the original score alignment.

This project is only two weeks old, so things are still a bit chaotic, so please bare with me.  In the meantime, I'll bump this up on my priority list.

Best,
Jake

edexter-2 wrote:
This looks like a very usefull script that should make it easier to get new features into csound frontends
I would like to see a script that converts
i 1
to
i1
and back again.  This would make it easier for front end programs.  
I would also suggest that the python like nimrod programming language may be helpful because thier is no guarentee that python won't change over time.  


_________________________________________________________________
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009
Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"