Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Calling cvanal from within a csound orchestra

Date2007-11-03 16:20
FromMichael Gogins
Subject[Csnd] Re: Calling cvanal from within a csound orchestra
I recommend creating such integrated systems using Python. You can use exec() to run cvanal, embed your Csound CSD file into Python, and use the Csound API to send the CSD to Csound and render it. You can even give the whole shebang a graphical user interface. In my experience this is the fastest and easiest way to do this sort of thing. I do it all the time. If you have any programming experience, even writing Csound orcs, Python is pretty easy to pick up.

Hope this helps,
Mike

-----Original Message-----
>From: Alex Weiss 
>Sent: Nov 3, 2007 7:34 AM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] Calling cvanal from within a csound orchestra
>
>Dear list,
>
>As the title suggests, I was wondering if there is a way to call  
>cvanal from within a csound orchestra. I'm currently working on a  
>"spatial audio toolkit" in csound . As a part of that, I'd like to  
>experiment with different impulse responses that are created on the  
>fly (different types of noise with different envelopes come to mind)  
>based on user input. It would be great to have an integrated system  
>instead of creating the impulse response in a first step, calling  
>cvanal in a second step, and then rendering the final file. Does  
>anybody know if that is possible? If not, could python do the trick?  
>I have never worked with python, but if that's the type of thing I  
>could use it for, it might be worth to take a look at it.
>
>Regards,
>
>Alex
>
>
>




Date2007-11-03 20:57
FromAlex Weiss
Subject[Csnd] Re: Re: Calling cvanal from within a csound orchestra
Michael,

it really seems that I have underestimated the power of python. I've  
just taken a look at all the features and I'm absolutely impressed.  
Seems like the perfect tool for my needs. Once again, I feel like a  
child on a new playground :)

Alex


On Nov 3, 2007, at 5:20 PM, Michael Gogins wrote:

> I recommend creating such integrated systems using Python. You can  
> use exec() to run cvanal, embed your Csound CSD file into Python,  
> and use the Csound API to send the CSD to Csound and render it. You  
> can even give the whole shebang a graphical user interface. In my  
> experience this is the fastest and easiest way to do this sort of  
> thing. I do it all the time. If you have any programming  
> experience, even writing Csound orcs, Python is pretty easy to pick  
> up.
>
> Hope this helps,
> Mike
>
> -----Original Message-----
>> From: Alex Weiss 
>> Sent: Nov 3, 2007 7:34 AM
>> To: csound@lists.bath.ac.uk
>> Subject: [Csnd] Calling cvanal from within a csound orchestra
>>
>> Dear list,
>>
>> As the title suggests, I was wondering if there is a way to call
>> cvanal from within a csound orchestra. I'm currently working on a
>> "spatial audio toolkit" in csound . As a part of that, I'd like to
>> experiment with different impulse responses that are created on the
>> fly (different types of noise with different envelopes come to mind)
>> based on user input. It would be great to have an integrated system
>> instead of creating the impulse response in a first step, calling
>> cvanal in a second step, and then rendering the final file. Does
>> anybody know if that is possible? If not, could python do the trick?
>> I have never worked with python, but if that's the type of thing I
>> could use it for, it might be worth to take a look at it.
>>
>> Regards,
>>
>> Alex
>>
>>
>>
>
>
>
>