4 ms·
that example with the audio generation could be done by keeping track of the random seed
by tokipin 19y ago
that example with the audio generation could be done by keeping track of the random seed
- 0x44 19y agoThat's what his example was. Instead of saving 12 hours of generated music, he's logging the data that generated it as instructions on how to generate it.
- tokipin 19y agothat's still more data than just saving the seed. though maybe he was talking about saving basic things (seed,etc) and when you want to reconstruct them into audio, you basically generate a program instead of an mp3. not really much different than just saving the basics, except it's more shareable and takes up more space but it didn't sound like that. it really sounded like it never occurred to him to just store the random seed(s) because he said when you hear a great piece in randomly-generated music, it's gone forever, even though the seed is a fundamental and controllable aspect of that [edit]he said it would generate a log of code which would point back to the generating/generated code. i can't really tell what he was effectively storing though. to reproduce the music well, the seed would have to be in there somewhere, unless it's only in charge of choosing a few discrete items
- ken 19y agoSure, as long as you had exactly the same PRNG on every computer where you were going to read the logs, and as long as there was no other input (e.g., human input). Depending on how the music generation worked, it also might make seeking an O(time) operation. Plus then he couldn't grep his music, which is the really cool part.