EDIT:
This is not a 100% joke question. I'd expect both versions to sound the same, but at the same time, there's a threshold on the RNG spectrum between "getRandomNumber() { return 4; }" and some truly random quantum source, where if you feed the RNG to audio output, people will be able to distinguish between "bad RNGs" (left of threshold), and "good RNGs" (right of threshold). I wonder where that threshold falls.