audio - How can I generate a random mp3 file? -


for personal project i'm trying write code generate mp3 file random noise. opened mp3 file in sublime text , saw there hexadecimal format of thousands of lines of 8 sets of 4 hexidecimal numbers in file. ex...

4944 3303 0000 0002 0c27 5459 4552 0000

0005 0000 0032 3031 3454 5055 4200 0000

1f00 0001 fffe 4800 6500 6c00 6c00 6f00

so wrote code randomly generate millions of lines of that. issue when try open in itunes or vlc says song 0 seconds long. makes me think there sort of metadata random generation botching up. there simple guide on how make mp3 file scratch or guide on how make sensible metadata?

if the mp3 specification tell bits represent what, , perhaps bits need hardcoded specific values?


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -