Re: [LAU] which audio synthesis environment?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: lau <linux-audio-user@...>
Date: Friday, September 11, 2009 - 11:47 am

Grammostola Rosea wrote:

> And why don't you use puredata, with csound for example?

You mean controlling csound by algorithms from pure data? I never got
the grip of doing intensive logic in pd. In chuck I can just do a
if-then-else, like

while(true)
if(nb_notes_played >= Std.rand2(5,9)){
0 => osc.gain;
Time.beat() * Std.rand(2,5) => now;
1 => osc.gain;
0 => nb_notes_played;
} else {
Std.mtof(Global.randomArrayElement(scale)) => osc.freq;
Time.beat() * 0.5 * Std.rand(1,3) => now;
nb_notes_played++;
}

Did you get that? Plays phrases of 5-9 notes with lengths between a 1/8
note and a dotted 1/4 note, frequencies randomly selected from a scale.
In between phrases make a rest of between 1 to 5 beats.

The above is not tested, assumes some defs to go before it, and is not
that pretty. But (when tested) it works, it took my < 1 min to write
here and it's easy to play around with lengths of notes and rests, try
other scales, put restraints on note selection (use your counterpoint
rules), etc.

--
Atte

http://atte.dk http://modlys.dk http://virb.com/atte
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] which audio synthesis environment?, Grammostola Rosea, (Thu Sep 3, 11:38 am)
Re: [LAU] which audio synthesis environment?, Dave Phillips, (Fri Sep 11, 1:37 pm)
Re: [LAU] which audio synthesis environment?, Grammostola Rosea, (Sat Sep 12, 9:16 am)
Re: [LAU] which audio synthesis environment?, Grammostola Rosea, (Sun Sep 13, 11:32 am)
Re: [LAU] which audio synthesis environment?, Atte Andre Jensen, (Sun Sep 13, 1:36 pm)
Re: [LAU] which audio synthesis environment?, Grammostola Rosea, (Sun Sep 13, 2:09 pm)
Re: [LAU] which audio synthesis environment?, Atte Andre Jensen, (Sun Sep 13, 5:36 pm)
Re: [LAU] which audio synthesis environment?, Grammostola Rosea, (Sun Sep 13, 6:07 pm)
Re: [LAU] which audio synthesis environment?, Atte Andre Jensen, (Sun Sep 13, 6:25 pm)
[LAU] From audio synthesis environment to plugin (was: which..., Grammostola Rosea, (Sun Sep 13, 6:46 pm)
Re: [LAU] From audio synthesis environment to plugin, Grammostola Rosea, (Mon Sep 14, 10:53 am)
Re: [LAU] From audio synthesis environment to plugin, rosea grammostola, (Sat Sep 19, 10:56 am)
Re: [LAU] From audio synthesis environment to plugin, Atte Andre Jensen, (Sat Sep 19, 11:57 am)
Re: [LAU] From audio synthesis environment to plugin, rosea grammostola, (Tue Sep 22, 8:55 pm)
Re: [LAU] From audio synthesis environment to plugin, rosea grammostola, (Sun Oct 4, 4:40 pm)
Re: [LAU] From audio synthesis environment to plugin, Russell Hanaghan, (Sun Oct 4, 5:18 pm)
Re: [LAU] From audio synthesis environment to plugin, Nick Copeland, (Sun Oct 4, 8:39 am)
Re: [LAU] From audio synthesis environment to plugin, Fons Adriaensen, (Sun Oct 4, 5:40 pm)
Re: [LAU] From audio synthesis environment to plugin, David Adler, (Wed Sep 23, 5:10 am)
Re: [LAU] which audio synthesis environment?, Malte Steiner, (Mon Sep 14, 12:31 am)
Re: [LAU] which audio synthesis environment?, michael noble, (Mon Sep 14, 12:53 am)
Re: [LAU] which audio synthesis environment?, Atte Andre Jensen, (Sun Sep 13, 3:43 pm)
Re: [LAU] which audio synthesis environment?, Atte Andre Jensen, (Thu Sep 3, 3:52 pm)
Re: [LAU] which audio synthesis environment?, Grammostola Rosea, (Fri Sep 11, 11:10 am)
Re: [LAU] which audio synthesis environment?, Atte Andre Jensen, (Fri Sep 11, 11:47 am)
Re: [LAU] which audio synthesis environment?, sh0099, (Thu Sep 3, 2:54 pm)
Re: [LAU] which audio synthesis environment?, Grammostola Rosea, (Thu Sep 3, 9:04 pm)
Re: [LAU] which audio synthesis environment?, Chuckk Hubbard, (Wed Sep 23, 6:23 am)
Re: [LAU] which audio synthesis environment?, Frank Barknecht, (Fri Sep 4, 6:01 am)
Re: [LAU] which audio synthesis environment?, sh0099, (Fri Sep 4, 4:00 am)