Csound Csound-dev Csound-tekno Search About

[Csnd] [ANN] pfunc - Csound Pfield Calculator

Date2009-07-24 06:19
FromJacob Joaquin
Subject[Csnd] [ANN] 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
-- 
View this message in context: http://www.nabble.com/-ANN--pfunc---Csound-Pfield-Calculator-tp24638773p24638773.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-07-24 09:45
From"Dr. Richard Boulanger"
Subject[Csnd] Re: [ANN] pfunc - Csound Pfield Calculator
Jake,

The site looks great.
The docs are super.
The demos are really helpful.
The tools you are working on are really useful.

Good luck as you continue to develop this system.

-dB

On Jul 24, 2009, at 1:19 AM, Jacob Joaquin wrote:

>
> 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
> -- 
> View this message in context: http://www.nabble.com/-ANN--pfunc---Csound-Pfield-Calculator-tp24638773p24638773.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"