Csound Csound-dev Csound-tekno Search About

[Csnd] Calling cvanal from within a csound orchestra

Date2007-11-03 11:34
FromAlex Weiss
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 12:37
FromAndres Cabrera
Subject[Csnd] Re: Calling cvanal from within a csound orchestra
Hi,
You can use the python opcodes to run it or the system opcode.

Cheers,
Andrés

El sáb, 03-11-2007 a las 12:34 +0100, Alex Weiss escribió:
> 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 14:12
FromAnthony Kozar
Subject[Csnd] Re: Calling cvanal from within a csound orchestra
You could probably use the fout opcode to write out the impulse sound file
and then convolve it with the pconvolve opcode. pconvolve does not require
pre-analysis.

Anthony Kozar
Providing custom open-source software services for musicians:
http://services.anthonykozar.net/

Alex Weiss wrote on 11/3/07 7:34 AM:

> 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.



Date2007-11-03 14:24
FromAlex Weiss
Subject[Csnd] Re: Re: Calling cvanal from within a csound orchestra
Thank you, Andres & Anthony. Looks like I _really_ have to update my  
csound version, as my version doesn't contain the system opcode. But  
what a powerful opcode!

Anthony, I'm embarrassed: as an avid convolve user, I didn't even  
know about pconvolve. It seems to do pretty much what I know. But do  
you know anything about the sonic quality, especially compared to  
convolve? I have to run some tests...

Alex





On Nov 3, 2007, at 3:12 PM, Anthony Kozar wrote:

> You could probably use the fout opcode to write out the impulse  
> sound file
> and then convolve it with the pconvolve opcode. pconvolve does not  
> require
> pre-analysis.
>
> Anthony Kozar
> Providing custom open-source software services for musicians:
> http://services.anthonykozar.net/
>
> Alex Weiss wrote on 11/3/07 7:34 AM:
>
>> 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.
>
>
>