Csound Csound-dev Csound-tekno Search About

[Csnd] lots of sines with random frequencies

Date2007-12-19 12:37
FromAtte André Jensen
Subject[Csnd] lots of sines with random frequencies
Hi

I'm playing with stacking a bunch of sines with random frequencies 
through blue.

Currently I'm using a single dumb instrument that plays one sine at a 
frequency send through a p-field. However when stacking hundreds sines, 
this of course is very taxing on the cpu.

What would be a better (that is more effecient) way of going about this? 
Since the frequencies are being generated by blue/python I guess I 
cannot use the GEN opcodes or even tables at all.

Hope it's clear what I'm trying to achieve and that someone could point 
me in the right direction.

-- 
peace, love & harmony
Atte

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

Date2007-12-19 12:42
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: lots of sines with random frequencies
Surely oscili with a single stored tables is what you want, or have I 
misunderstood?
==John ff


Date2007-12-19 12:56
FromPeiman Khosravi
Subject[Csnd] Re: lots of sines with random frequencies
Hi André,

Maybe you can write a python script that generates a het file for  
adsyn and then use that with a single instrument? With the text to  
het convert utility this should be possible.

Peiman

On 19 Dec 2007, at 12:37, Atte André Jensen wrote:

> Hi
>
> I'm playing with stacking a bunch of sines with random frequencies  
> through blue.
>
> Currently I'm using a single dumb instrument that plays one sine at  
> a frequency send through a p-field. However when stacking hundreds  
> sines, this of course is very taxing on the cpu.
>
> What would be a better (that is more effecient) way of going about  
> this? Since the frequencies are being generated by blue/python I  
> guess I cannot use the GEN opcodes or even tables at all.
>
> Hope it's clear what I'm trying to achieve and that someone could  
> point me in the right direction.
>
> -- 
> peace, love & harmony
> Atte
>
> http://atte.dk       | http://myspace.com/attejensen
> http://anagrammer.dk | http://modlys.dk
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"



Date2007-12-19 15:43
FromAdam
Subject[Csnd] Re: lots of sines with random frequencies
AttachmentsNone  

Date2007-12-19 16:33
FromAtte André Jensen
Subject[Csnd] Re: Re: lots of sines with random frequencies
jpff@cs.bath.ac.uk wrote:

> Surely oscili with a single stored tables is what you want, or have I 
> misunderstood?

I thought about that, but the problem is I'd like to have several events 
each having it's own random blend of sines...

I never used ftgen, but looking at it it seems it could do some of what 
I want. I'll have to look into how it behaves, being generated from 
python in the score section, though...

-- 
peace, love & harmony
Atte

http://atte.dk       | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk