Yes, a stack-overflow could happen.
And a cut bell is not a bell.
@atux said:
what method is used to generate Gaussian numbers, I'd be interested to know.
the source:
https://github.com/electrickery/pd-maxlib/blob/master/src/gauss.c
seems like it uses that central-limit theorem method, resulting in a Irwin–Hall distribution, which already has limited boundaries.
https://en.wikipedia.org/wiki/Central_limit_theorem
Offtopic::: A problem might be, that it has to sum 12 independent random values, but the pseudo random function rand() of course has a dependency.
Once I have been using the Box-Muller method and saw a recurring spiral in it's output, because of the dependend set of pseudo-random numbers I used.
How random is random is a can of worms but it might be good enough for sound : )
@Ingox idea of randomizing a given distribution is neat.