pfunc – Csound Pfield Calculator

pfunc is a python script, powered by the Csound csd Python Package, that
allows users to apply a formula to targeted pfields in a Csound score en
masse.  For example, let’s say you wanted to shift every frequency (pfield
5) in all instrument 1 events by a half step:

$ cat foo.sco | ./pfunc.py i 1 5 ‘x * pow(2, 1 / 12.0)’

Or shift start times by 5.5 seconds for instruments 2 through 6:

$ cat foo.sco | ./pfunc.py i ‘range(2, 7)’ 3 ‘x + 5.5’

More about pfunc:
http://www.thumbuki.com/csd/demo/index.html#module-pfunc

Csound csd Python Package Home:
http://www.thumbuki.com/csd/

Download Csound csd Python Pacakge:
http://www.thumbuki.com/csd/release/csd-0.0.4.tar.gz

Best,
Jake

Csound CSD Python Package v0.0.2 alpha

What can you do with CSD?  Auto-align your scores, replace repeated pfield
values with the carry preprocessor (.), swap pfield columns, write your own
custom scripts using the csd python package, arpeggiate data into your
pfields, etc…  Here is the latest version of the CSD processing utilities
I’ve been developing in Python:

http://www.thumbuki.com/csound/files/mailinglist/csd_v0.0.2alpha.zip

Don’t want to mess with an alpha release, but are still curious as what it
does and what it works? Here’s the online docs:

http://www.thumbuki.com/csound/files/mailinglist/csd_docs/index.html

I’m looking to go beta by the end of the month.  By then, I should have an
easy installer ready, and a more official location on the web rather than
just some random folder at my website.

Best,
Jake