Csound Csound-dev Csound-tekno Search About

[Csnd] question about CsoundAC

Date2009-12-15 16:10
FromAaron Johnson
Subject[Csnd] question about CsoundAC
Hi all (and Michael Gogins in particular),

I'm happy to say that I finally got up and running with CsoundAC. The segfaults were from Csound on the backend giving up b/c of other errors, like not having STK instruments compiled. If I edit the python examples or the CsoundAC.csd file to reflect my system's possibilities, things complete and compile, and I'm able to get a soundfile at the tail end of the processing. Anyway, it might be useful, when I get the time, to suggest tweaks to the packaging and installing, and document the install process in detail, so that others might avoid some of the common pitfalls that I suspect would keep folks from carrying on with trying to install it!

I'm interested in being able to learn more about CsoundAC, in particular, I want to be able to 'filter' a process to match certain specifications--let me give a particular example: I'd be interested in taking the output of say a Lindenmeyer algorithm, but eliminating certain close-voiced pitch clusters (like CDE in the bass or alto range--they sound crappy with most timbres, especially organs) Is there a technique to do this, or would that be possible only outside of the CsoundAC system? IOW, I want to be able to subject the output of the algorithm to certain constraints. Since there is so little documentation for CsoundAC (that I can tell, outside of the source code, and the examples), I would need a clue how to proceed.....!!! Any help on this would be most appreciated and welcome. I have a one-hour house concert in late January, and besides my own step-sequencer software, and Csound's granular features, I'm thinking CsoundAC might help me augment the show with enough material---if I find the output pleasing enough. I will mention anyone who helps me and anyone whose software I use during the show with a word of thanks :)

Thanks,
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2009-12-15 16:22
FromMichael Gogins
Subject[Csnd] Re: question about CsoundAC
There are several ways to do this filtering. The most straightforward
way is simply write procedural code to iterate over the generated
score and pull out what you don't want, before rendering the score.

You can also subclass the Node class and write your filtering code in
the produceOrTransform method to do the flltering. This is a more
extensible and flexible approach. Then your Lindenmayer node can be a
child of your filter node, and your filter node can feed your final
score.


The CsoundAC tutorial has an example of this subclassing technique in
the musical dice game node. You can get it from the Windows installer
or from the tutorial module in Csound CVS.

You can also use various pitch-class set features to conform
Lindenmayer output to given chords, scales, and progressions. This can
have a learning curve that might push past January, but simple stuff
like conforming output to a progression of seventh chords (which can
have at most one interval of a second) should be easy enough. The
VoiceleadingNode class is designed just for this kind of thing, I use
it all the time.

Hope this helps, and if you have more questions, ask away.

Regards,
Mike


On 12/15/09, Aaron Johnson  wrote:
> Hi all (and Michael Gogins in particular),
>
> I'm happy to say that I finally got up and running with CsoundAC. The
> segfaults were from Csound on the backend giving up b/c of other errors,
> like not having STK instruments compiled. If I edit the python examples or
> the CsoundAC.csd file to reflect my system's possibilities, things complete
> and compile, and I'm able to get a soundfile at the tail end of the
> processing. Anyway, it might be useful, when I get the time, to suggest
> tweaks to the packaging and installing, and document the install process in
> detail, so that others might avoid some of the common pitfalls that I
> suspect would keep folks from carrying on with trying to install it!
>
> I'm interested in being able to learn more about CsoundAC, in particular, I
> want to be able to 'filter' a process to match certain specifications--let
> me give a particular example: I'd be interested in taking the output of say
> a Lindenmeyer algorithm, but eliminating certain close-voiced pitch clusters
> (like CDE in the bass or alto range--they sound crappy with most timbres,
> especially organs) Is there a technique to do this, or would that be
> possible only outside of the CsoundAC system? IOW, I want to be able to
> subject the output of the algorithm to certain constraints. Since there is
> so little documentation for CsoundAC (that I can tell, outside of the source
> code, and the examples), I would need a clue how to proceed.....!!! Any help
> on this would be most appreciated and welcome. I have a one-hour house
> concert in late January, and besides my own step-sequencer software, and
> Csound's granular features, I'm thinking CsoundAC might help me augment the
> show with enough material---if I find the output pleasing enough. I will
> mention anyone who helps me and anyone whose software I use during the show
> with a word of thanks :)
>
> Thanks,
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"

Date2009-12-16 00:08
FromAaron Krister Johnson
Subject[Csnd] Re: question about CsoundAC

Michael,

Thanks for the answer...I'd love to see a simple example of
1) using the Filter node to do a "produceOrTransform"
2) limit the output to a predefined chord progression
3) an example where the Lindenmayer (or Koch fractal or what have you) is
guided by the Orbifold, or voice-leading module.

Is the tutorial not included in the Csound 5.11.1 source? It's only
available in CVS?

AKJ


Michael Gogins-2 wrote:
> 
> There are several ways to do this filtering. The most straightforward
> way is simply write procedural code to iterate over the generated
> score and pull out what you don't want, before rendering the score.
> 
> You can also subclass the Node class and write your filtering code in
> the produceOrTransform method to do the flltering. This is a more
> extensible and flexible approach. Then your Lindenmayer node can be a
> child of your filter node, and your filter node can feed your final
> score.
> 
> 
> The CsoundAC tutorial has an example of this subclassing technique in
> the musical dice game node. You can get it from the Windows installer
> or from the tutorial module in Csound CVS.
> 
> You can also use various pitch-class set features to conform
> Lindenmayer output to given chords, scales, and progressions. This can
> have a learning curve that might push past January, but simple stuff
> like conforming output to a progression of seventh chords (which can
> have at most one interval of a second) should be easy enough. The
> VoiceleadingNode class is designed just for this kind of thing, I use
> it all the time.
> 
> Hope this helps, and if you have more questions, ask away.
> 
> Regards,
> Mike
> 
> 
> On 12/15/09, Aaron Johnson  wrote:
>> Hi all (and Michael Gogins in particular),
>>
>> I'm happy to say that I finally got up and running with CsoundAC. The
>> segfaults were from Csound on the backend giving up b/c of other errors,
>> like not having STK instruments compiled. If I edit the python examples
>> or
>> the CsoundAC.csd file to reflect my system's possibilities, things
>> complete
>> and compile, and I'm able to get a soundfile at the tail end of the
>> processing. Anyway, it might be useful, when I get the time, to suggest
>> tweaks to the packaging and installing, and document the install process
>> in
>> detail, so that others might avoid some of the common pitfalls that I
>> suspect would keep folks from carrying on with trying to install it!
>>
>> I'm interested in being able to learn more about CsoundAC, in particular,
>> I
>> want to be able to 'filter' a process to match certain
>> specifications--let
>> me give a particular example: I'd be interested in taking the output of
>> say
>> a Lindenmeyer algorithm, but eliminating certain close-voiced pitch
>> clusters
>> (like CDE in the bass or alto range--they sound crappy with most timbres,
>> especially organs) Is there a technique to do this, or would that be
>> possible only outside of the CsoundAC system? IOW, I want to be able to
>> subject the output of the algorithm to certain constraints. Since there
>> is
>> so little documentation for CsoundAC (that I can tell, outside of the
>> source
>> code, and the examples), I would need a clue how to proceed.....!!! Any
>> help
>> on this would be most appreciated and welcome. I have a one-hour house
>> concert in late January, and besides my own step-sequencer software, and
>> Csound's granular features, I'm thinking CsoundAC might help me augment
>> the
>> show with enough material---if I find the output pleasing enough. I will
>> mention anyone who helps me and anyone whose software I use during the
>> show
>> with a word of thanks :)
>>
>> Thanks,
>> Aaron Krister Johnson
>> http://www.akjmusic.com
>> http://www.untwelve.org
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
> 
> 
> -- 
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
>