James Trammell <james.trammell@xxxxxxxxx> writes: > Hi, > > I have found SoX's synth effect useful for generating white noise; does > anyone know what specific type of white noise it generates? > > The different types of white noise I am familiar with are: > > White Gaussian > White triangular > White uniform > White binary > > Is it one of these, or something else? It uses this LCG (in util.h): #define ranqd1(x) ((x) = 1664525L * (x) + 1013904223L) /* int32_t x */ #define dranqd1(x) (ranqd1(x) * (1. / (65536. * 32768.))) /* [-1,1) */ -- Måns Rullgård ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Sox-users mailing list Sox-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/sox-users