Re: [LAD] random curiosity

From: Gabriel M. Beddingfield <gabrbedd@email-addr-hidden>
Date: Tue Jan 26 2010 - 01:01:50 EET

On Tue, 26 Jan 2010, cal wrote:

>> That is to say, if you need a reproduceable string of "random" numbers
>> on each thread (e.g. for unit testing), then random_r() is your man.
>> Otherwise, it sounds like more trouble than it's worth.
> As I understand it, zyn wants a reproducible sequence for mainstream,
> plus a reproducible per note sequence seeded according to the current
> point in the mainstream sequence. Interrupting and resuming the
> mainstream sequence was the issue I was looking to simplify. If you step
> over srandom_r(), it's really not any great trouble.

Kind of like where the random number generator is part of
the envelope, huh? That makes sense... in which case
random_r() would be a good use for that.

-gabriel
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue Jan 26 04:15:10 2010

This archive was generated by hypermail 2.1.8 : Tue Jan 26 2010 - 04:15:10 EET