Utilities

Below some utilities in Perl, to modify or process any file containing Csound i-statements. In some cases these are bits of code that will be included in Csgrouper in a future stage.

cscorebytime.pl

This program can be used to reorder i-statements by start times and by sections.

cscoremod.pl

This program can be used to replace a given param in i-statements. The replacement-string can be literal or operate arithmetically on the previous value (e.g., ‘4.03’ or ‘*2’).

csensemble.pl

This program can be used to replace the start time and duration of i-statements   i2 by the corresponding values in the score of i1.

[ WARNING: csensemble.pl doesn’t respect sections’ boundaries, on multi-sections scores, it is required to treat each of them in a separate file.  Moreover, this tool is apropriate for Csgrouper whose tracks are monophonic sequences, and where we need sometimes to make chords out of several sequences. In any other normal piece, with chords already made, this will not work as expected. Neither can we use this tool if we have attributed the same instrument to several different sequences.]

sf2test.pl

This program can be used to test your soundfonts and record some comment about each one of them.

Advertisements

One thought on “Utilities

  1. Pingback: Sandglass « Csgrouper

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s