[QUOTE="Sarchiapone"]\nThank you for your suggestions.[/QUOTE]\n\nBeware that simply taking bytes from a file will only give you good\npseudo-random numbers if the file itself is "random". Treating structured\nfiles like WAV files in this way is not obviously going to give you a\ngood source of randomness. At the very least, I'd skip the header\nwhich is a poor source of entropy. Depending on other factors (what\nsounds are in the file and what use you want to make of the random\nnumbers) I'd consider hashing the sound samples rather than using them\ndirectly.\n\nIf your use is a cryptographic one, comp.sci.crypt is a good place to\nask about random numbers.