Csound Csound-dev Csound-tekno Search About

[Cs-dev] opcodes for generating polyrhythms

Date2010-05-04 11:33
From"Boenn G (CCI)"
Subject[Cs-dev] opcodes for generating polyrhythms
Attachmentsfareyopcodes.tgz  None  None  
opcodes for generating polyrhythms

Hi,

i would like to share my opcodes for generating Farey Sequences, maybe they are useful for the csound community?

Farey Sequences are very interesting for generating polyrhythms and just tuning systems.
My starting point was fgens.c of csound version 5.12. The implementation is using new code for a GEN54.

Another feature is provided by the opcode tablefilter that is using a weight associated with each element of the Farey Sequence. The weight is calculated according to Calrence Barlow's function for the indigestibility of an integer. (i know this doesn't say much to people who don't know Clarence - i can give you a reference if you want)
When we evaluate a rational number during the filtering process, we convert it into a fraction and calculate the digestibility of its denominator. We then compare this value with a threshold set by the user.  The file fareyfilter.csd shows how this happens. Manual entries are provided as well.

Please listen also to fareyetude1.csd, fareyetude3.csd and fareyetude6.csd as musical examples.

Hope you find it useful and any feedback would be very appreciated.

Thanks

Georg

















Date2010-05-04 12:26
FromDave Phillips
SubjectRe: [Cs-dev] opcodes for generating polyrhythms
Boenn G (CCI) wrote:
>
>
> i would like to share my opcodes for generating Farey Sequences, maybe 
> they are useful for the csound community?
>
> Farey Sequences are very interesting for generating polyrhythms and 
> just tuning systems.
> My starting point was fgens.c of csound version 5.12. The 
> implementation is using new code for a GEN54.
>
> Another feature is provided by the opcode tablefilter that is using a 
> weight associated with each element of the Farey Sequence. The weight 
> is calculated according to Calrence Barlow's function for the 
> indigestibility of an integer. (i know this doesn't say much to people 
> who don't know Clarence - i can give you a reference if you want)
>

Thank you for this gift, Georg. Btw, if anyone wants some further 
information on Clarence Barlow, see the excellent interview with him in 
Curtis Roads' book The Music Machine. He's a truly fascinating fellow.

Best,

dp



------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net