Secret Binary FIle Music - MSPaint.exe and aclui.dll
HTML-код
- Опубликовано: 6 сен 2017
- Not a programming video, but I thought it was interesting.
Sometimes, .dll and .exe, when converted into sound, can sound like music, just by pure coincidence. Weird.
Both these files can be found at
C:\Windows\System32
In this video, it is aclui.dll and mspaint.exe
Links:
GitHub: github.com/Hopson97
Discord Server: / discord
Support me on Patreon: / hopson
Follow me on Twitter: / hopson1997
Follow me on Twich: / hopsonn
Subscribe to the subreddit: / hopsoncommunity
Community Channel: / @hopsoncommunity8184 Наука
"What's your favorite music genre?" - "win32 binaries"
I'm probably gonna make a sound track that creates a wonderful music with win32 binarys
The name of the type of music that usually come from those results is harsh noise, glich and sometimes lowercase.
@@super4543 Idk windows might get mad
2:02 "Through the firewall and flames" -DLLforce
-win32Force
The bass drop is pretty nice.
Imagine someone converting Mozart into a .exe and getting an amazing 3D game
nice
How awkward would it be if your friend asked you what your favorite song is and you told them "MSPaint.exe"?
Yes
*Razor MAN* I would ask them how much weed they've had that day
😂😂😂
what about audacity in audacity...
Can't believe you'd have the audacity to think this
Hahaha lol
i tried that
OMG YES
that's meta
Alright this comments section is a mess, so here's the details. I've tried to keep it short-ish. It was found by MisterPotatoHands in these comments that the "musical" sections of these files are icon graphic files. Icons contain a few versions of the image in different resolutions, stored in order of size, either smallest first or largest first. To put it simply the larger images have the same basic patterns stretched over more data, which is why the notes start high and short but end up low and long, or vice-versa. The image sizes are usually in nice ratios, which makes the notes seem to be on some musical scale. The actual note sound (waveform) depends on the image contents and how the images are compressed.
Just want to say, I'm not putting this here to be a smartass, I just hope people can stop resorting to insults while discussing this.
Kasane Kona - Old Account : Excellent, thankyou!! The image explanation was plausible but the repetition at different icon resolutions makes even more sense.
So the contents of the images is less important than that they are being repeated at sizes that are close enough to the logarithmic way we perceive pitches/scales and intervals as ratios...
Wow anime pfp with actually important knowledge. Nice
I believe the ratios are 8:6:5:4 according to DPI sizes 2:1.5:1.24:1 as described in the official MS article titled "Icons (Design Basics)"
1:42 Top 10 metal solos
How dubstep was invented
Black Starz This sounds more like Complextro 😉
Black Starz More like how earrape was invented
try NlsLexicons0007.dll (you can find it in system32 as well)
if you use the suggested settings(signed 16 bit, little endian and stereo) you'll hear a guy panting only on your left ear. it literally sounds like a guy panting and running away from something. its fucking scary. thats the later sawtooth part that is only one one ear if you want to skip to it. sounds a little better if you slow it down by 20% or so.
(md5 checksum is 92357a85f66442ce7b2809b3dfacd666 in case you want to make sure its the same version)
As somebody old enough to have had a ZX Spectrum, this reminds me very much of loading games off an audio tape.
its harsh noise,noise music too lol XD
If I remember correctly Galaxian for the Atari 2600 did something like this. It reused some of it's functional code by interpreting it as sound data to get the game to fit inside 4kb.
I could still see this being useful back in the day when games fit on floppies but with the storage we have today it's just a fun curiosity.
Because back then, people actually fucking knew that file is just pure binary data that can be interpreted any fucking way you want to, now it's just clueless kids spouting random bs...
I was a programmer, now I'm a composer.
Damien K quick test whether you're a musician or a php programmer
*Damien K* When you make music in CSS
Well you can code music in JavaScript.. ruclips.net/video/dIiwFzFvsmw/видео.html
Yessir
Dang, just realised after upload that later in the mspaint.exe sounds like "music" as well
i.imgur.com/wKDN2Iv.png
Also, the end part is, of course, simplified quite a bit (about the 0's and 1's)
But anyways, this kinda interests me. I wonder if it is possible to purposely write C/C++ code to sound like music when converted into sound :P
Hopson try looking for research papers, someone should have thought of this before.
Perhaps try to code something which will be a program or have some kind of functionality but will also be a binary song when played :P New kind of niché art!
It was actually recently discovered that the "isaac-ng.exe" file, the executable for the game The Binding of Isaac: Rebirth, has a bunch of Cave Story sounds embedded into it somehow.
Sort of related but not really have you looked at oscilloscope music? If you can design music which can be plays an animation when plugged in to an oscilloscope I'm sure you can write code which can sound like music.
Would be cool if it was bidirectional, so you could send someone a program disguised as an MP3 and they have a compiler which turns it back in to an exe.
+Jim Giant
Well, you can already do this in a way. It won't be very convincing if somebody actually plays the file in an mp3 player, but it could disguise it to anybody snooping around and not checking things too thoroughly. All you have to do is rename the file, say mspaint.exe to superawesome.mp3. Then, to convert it back, simply rename it to mspaint.exe again. The file didn't change, only the name.
2:22 - I think you're missing something important here. There's more to this.
Pause at 0:31 to see the "Import Raw Data" window. The encoding is chosen to "Unsigned 8-bit PCM". A quick google search tells you that PCM means Pulse Code Modulation, and in the context of audio, it means that you encode audio as an amplitude in the time domain. So when you load the dll file, audacity is going to read 8 bits at a time from the binary file and take that as the amplitude to output to your speakers for the next 1/44100'th of a second. This process is repeated 44100 times per second, for as long as the data lasts.
With this in mind listen to 0:49 again. Surprisingly, this sounds like a descending scale pattern with 5th-->3rd-->1st-->5th-->3rd- and so on with the note duration approximately doubling for each note. In the major/minor scales, the 1st note is the basis. If its frequency is set to one, then the 3rd's frequency is 2^(2/12) = 1.1225 which is almost 9/8, and the fifth is 2^(4/12) which is ca. equal to 5/4ths. These tones, the 3rd and the 5th sound nice together with the 1st because their frequencies have a nice fractional relation with the 1st frequency. That's why we percieve this as musical.
So the fact that the dll file sounds musical in some parts should indicate that some information is repeated in a fixed pattern which changes in an orderly fashion in the file.
Now, since we hear a frequency pattern of 5/4ths = 10/8ths, 9/8ths and 1=8/8ths, we see a pattern: 10--> 9-->8
The divisor of "4" wasn't really important here anyway, because we could just as well have described the fundamental frequency as 8, upon which the 3rd would be 9 and the 5th a 10.
So basically, what we are seeing is a count-down from a frequency of 10->9->8->7->6 and down.
Now, if you count the number of notes, it seems to be 7. But my guess it's actually 8. The first note comes straight after the noise signal and is too short and too high pitched for us to easily perceive it. But if you listen carefully, it could really sound like there's a very short and high pitched note before the first easy recognizable note.
So if we divide out the common denominator of the frequencies of our notes we should have 10-9-8-7-6-5-4-3-2.
I guess that the duration of each note can be described by 2^1-->2^2--->2^3-->...-->2^8
"So the fact that the dll file sounds musical in some parts should indicate that some information is repeated in a fixed pattern which changes in an orderly fashion in the file."
what
Can I uh... Can I get a Summary?
Yes, its the icons from the Paint UI in multiple different sizes, going down. There are videos where people converted it to a audio+video file and it actually shows the icons because thats what the code is
2:06 DROP
lol
Neat. I wonder if you disassembled those binaries and looked at the segments, would the "musical" sections reside in common segments (data/bss/text/etc.). I'd try it now, but I'm at work for the next 8 hours. =) This could be a cool method of steganography to use in a CTF, too!
It's purely a coincidence, since everything is stored as binary data, the only difference is how you interpret it. Using some thorough thought and effort you could make a single file which is both Mozart's portret when opened as a BMP and one of his symphonies when opened as a WAV file.
Uhh and if you opened it in notepad you could read the whole bee movie script because that's a good meme for sure.
Shadow Lurker The Bee Movie script could be problematic, but the other stuff might be kinda doable by interleaving the image and the music.
Can you stop commenting random bullshit like everyone else and actually understand how files work and what I actually meant?
I was talking about exactly the same byte sequence which given to WAV reader would play Mozart's music and into BMP reader would show his portrait...
Shadow Lurker: I understand everything is stored as binary data and interpreted as such when passed through the CPU. My comment had to do specifically with these two files (and, consequently, other .exe and .dll modules created via compilers), and if, therein, they have common sections where the "musical" bits reside. It was just a simple question based on an initial observation.
As for your BMP/WAV/TXT suggestion, sure, you could craft such a file that will then be interpreted by an application you build yourself, but then you're specifically interpreting the bits however you want them to be interpreted. For those of us who understand that, I (subjectively) think there's less of a "huh...well isn't that interesting" factor in doing that than interpreting a compiled binary in a manner it wasn't intended to be.
Stephen Chapman: Since the files are compiled they don't have any comments anymore, since those get removed by the pre-compiler.
Edit: I checked, the music is from icons embedded in the files. Use Resource Hacker to have a look or open them as raw images to get an idea of what's being 'played'.
Too lazy to check, but my guess is that they're some sort of images or look-up tables embedded in the executable. Any data that's kind of a numeric gradient would sound like 'notes' to us, and a lot of those sections did kind of sound like gradients of gradients or something. That kind of makes sense for MSPaint.exe, but I have no idea why that .dll would have something like that in (it's some part of OS security, I think?)
.dll wouldn't have something like that in it and doesn't, if you have no idea why it could work in one thing but doesn't work in another one even though it's part of same system, it means you're wrong.
It is same binary data, only depends on how you read it, when read as a music file, you get this, end of story.
Exe files and dll files both contain the same type of binary code. An exe file simply has an entry point so the file can be executed by itself, whereas dll files usually contain code to be used by other applications. As far as I know, that is the only difference between the two.
No, I meant I could understand why a paint program would have graphics in it, but not why an OS DLL would. Anyway, I checked, and aclui.dll is (duh) the UI elements for the Access Control List functionality, so it does have a bunch of nicely gradated icons in it, and that's what is making the 'music'. Use something like Resource Hacker to open them up and you'll see what I mean.
Oh sorry, I thought by look-up tables you were referring to how code is stored, because I'm pretty sure binary code uses look-up tables so the computer can quickly find certain parts of the code with the specified signature.
Oh, I was using look-up tables to refer to very old school ways of calculating functions (e.g. a big list of pre-computed sine/cosine values or something because it's faster than calculating on the fly). But I wasn't replying to you (dumb RUclips comments system), more to the guy saying I was wrong and it's just what it is because it's the way it is (?) :)
These tones are icon files. The RGB data is being fed through the speakers as audio data. Images tend to repeat patterns across rows, so that's where the frequency comes from. The varying frequencies across notes are just resized images (16x16, 32x32, 48x48, 64x64, 96x96, and so on are common sizings). Older programs simply embedded the RGB data straight into the program, modern programs will either embed a compressed format like PNG which sounds more like noise, or they'll just load external files entirely, which aren't present in the raw data.
0:48 for some reason made me think of the alia intro meme
If you change the dll file’s extension to “raw” (make sure you have a duplicate before doing so) and open it in Photoshop, you would see a glitchy pattern that represents the file’s data.
Imma Try that
Can this apply to other editors?
You can also see that the "music" is actually the UI icona from paint
1:04 Sounds like mspaint.exe
So AMAZING! Now I'm gonna listen to some of my musical masterpieces that I wasn't even been aware I created!
Death Grips wants to:
*Know your location*
Only 0b1011010 's kids will remember
Fernando Marques what's that b?
It denotes that the number following is binary. 0x is for hexadecimal, 0o for octal and 0b for binary
Fernando Marques that's one way to do it, I suppose. But most languages I've come across use 0x for hex, just a prepended 0 for octal, and have no notation for binary.
EDIT: Turns out 0b is more common than I at first thought. For some reason I've always glossed over it I suppose.
std::cout
And if they just prepended a 0 for octal, then it wouldn't change a thing. It would still print out the number in base 10... 010 and 10 are the same number in base 10. So are 0000010 and 00010.000
minecraftlauncher has a "song" in it ;)
*I enjoy drinking bleach* Have me for only AU$3.99!
some good samples right there, and some shattered fragments of a beat.
How to make the portal soundtrack on a budget
That’s interesting. I’ve been experimenting with sound from atypical sources for a while, but have never tried executables.
if im not mistaken these are icon graphic files in the with different resolutions, thats why the same section sounds faster or slower
God the high pitch in the video actually gave me a headache, thanks dude!
I did say to turn the volume down :p
Sorry anyway..
I think this could be just caused by that when a progam gets compiled simple loops get written in full to increase performance which could explain the patterns (also the ones that are twice as long each time, etc)
literally the sound of bits - amazing
(Two days later)
*BREAKING NEWS:* Scientists patch gcc to generate musical executables
Linus Torvalds would be proud
sounds really crazy but at the same time... very interesting...
That earsplitting screech is all the data in the paintbrushes
Reminds me of a plot point in Dirk Gently's Holistic Detective Agency about how the protagonist works for a startup that converts a company's sales graphs into jingles.
Interesting. I bet it's just precomputed data in the binary that happens to have a pattern. Maybe the compiler optimizer has musical talent.
lol
if it was disassembled it would probably be repetitive instructions that are a little different each time, for example:
à" )¾" òHò
Á" è
I heard some time ago that some older game used the game binaries and assets to generate sound in order to decrease the memory needed on the cartridge. Don't remember which game though.
hey dude it would be really cool if you were to do some experimentation with converting binaries to sound. Maybe try out compiling some of your own programs and having a listen to see what they sound like?
what happens if i try to reconice nodes form these creepy sounds with an algorithm and remix its output with instrument sample sounds? i will try that as fast as i can ^^ however - NICE idea!
It's like a supersaw with a phase sweep playing an arpeggio in there. But it's also not at the same time. Neato.
you know what cant be a coincidence? undertale.exe. You stretch it out to a specific amount, go to 5 minutes and you hear a fuCKING VOICE. "Hello world"
Strange music?! That's the best Dunstep I've ever heard.
Hey I was wondering if you have any idea on how to convert the raw audio in to a video? I've looked in to using RawSourcePlus but I just cannot get the settings right!
I would probably use some video editing software, like bandicam, Windows movie maker, camtasia, Vegas Pro etc
Drop in the audio file, export as video
boom
@@Hopsonn Well that just results in a black screen because there's no video contents. I was more on about this ruclips.net/video/fGwEIriq1MM/видео.html
Damn, that's some sick electro music right there!
I think that these repetitions may be unrolled loops for drawing pixels or with different noise for different bitdepth/format.
I tried this out myself and one thing i found out is that files made in the same "way" sound very similar. For example Adobe Audition sounds like Adobe after effects, Win Media Player sounds like MSPaint or Mail, but e.g. google drive sync sounds completely different than google earth
*Sir Brokoli* Different way the program is written, who know's Google Drive and Maps probably had totally different devs lol
The mspaint one sounded like that because it was the cursor icons icons
This is amazing
These melodies actually sound nice
the new dubstepgutter upload is lit
Why is it when I put mspaint.exe in it sounds nothing like this
I'm starting to wonder if this is where that horror game 'A Dark Place' gets it sound effects
i wonder something: what if this was converted to audio(no compression) can it be converted back?
Wow this is pretty cool :D
1:03 These sounds are the icons, like the first sounds is longer and the icons get smaller and smaller and so do the sounds
And you looked the resource files up? maybe some compiled sound files. :P
Wow, you could remix this into some really great chip tune tracks!
Random Adeptus Mechanicus: "What did you say about my motherboard?!"
It would be interesting if a video game used its own files for sound effects. So the music would change as your game save data changes.
You installed MS Paint and aclui into my brain though
What is the tempo and the (*/*) Time Signature?
When is cellular automaton part 3 coming out?
I know how I'll make my game music now 😃 mythank you you've earned a sub!
The noice in the 1st one is perfect for dubstep
what does jar files sound like under audacity?
More context, .bitmap files are responsible for the dodododooo noise, the dll files consist of tons of bitmap files
When i import them, both mspaint and aclui.dll are a few seconds for me and doesn't even include those cool sounds, i dont know why my files are different.
exacly same for me
Turns out a lot of executables have "music" sections. I guess it is due to some regularities in the compiled code and the fact that something periodic can form an audible wave. League of Legends client has a very impressive single note followed by few others near its end, the actual game executable also has some notes. Interesingly, even bash shell executable has an audible chord in last second. Some linux commands and my own programs also have short musical sections. As I'm gifted with absolute pitch, I noticed that many of the notes are (at least in 44100Hz stereo interpretation, in mono they are transposed one octave below) either B flat or F (F is 3:2 in frequencies to B flat).
Another question:
For python there is this download called IDLE, which is a basic text editor that can run a block of code directly after you write it. I'm looking for something similar but for c++. I don't want any fancy user interface, just a place I can write and run. Any suggestions?
P.S
(I've looked around and Eclipse and CodeBlock are the only things that come up, but they both seem too much like x-code.)
P.P.S
(I have a mac)
Python is interpreted, and can by run on the fly, C++ needs to be compiled into a binary file.
There aren't any desktop platforms for that sort thing, due to like Jake said, it needs to be compiled to run.
However, there are other options. For example, when I want to quickly try something out I use an online compiler.
ideone.com/
Set the language to C++14 and your good to go really :p
Hopson and Jake The Raven cool, but it seems as if c++ is a bit more complicated than Python... I'm gonna have to use the compiler eventually so I'll just use code blocks. Ideone seems helpful though, I'll bookmark it
just found out about this and now im having way too much fun
Dang... I have the urge to make a remix of that. I probably would if I had a remixing program
Thanks for the idea!
TheFakePro gaming LMMS + Audacity?
Weed It's expensive imo
LMMS is the poor man's DAW. At least if you want one without any nags or restrictions. Kind of like how FL Studio was back in version 8, but still quite usable.
Use FL Studio, it's the best XD
When a pattern of certain length is repeated, it sounds like a tone. I don't know what is being repeated there, but it's probably resources (bitmap or text), not code (should not be that repetitive). If it is code, it indicates a set of functions are inlined hell lot of times.
That music is actually better than many dubstep party-ish shit that's being made these days...
I loved the mspaint one (;
I'm so shook right now.
there is the same sounds in a old "The Forest" vertion
This makes me want to make EDM. These sounds have a very cool vibe to them.
The sound is the raw data and the icon colors as music and sounds
1:39 - 1:48 this sound is actually featured in a fake moon sound, that moon being Nereid.
Is that me or some parts sounded like Paganini?
1:30 that bring back mamorys from the intenet in the 90's
it sounds like music, but it’s actually the image files if you convert it to a video
Now someone make a dubstep drop out of this. I beg you.
It's not that simple... you need to pirate FL Studio first.
MihailProg Pirate FL Studio is pretty simple tho. And you might buy it aswell :)
MSPaint.exe is a smash hit on my home planet X
I tried this but got a different result, my settings were the same and i chose mspaint.exe as the file so idk what i'm doing wrong but i cant get the same audio he got
Holy shit dubstep confirmed attempt of aliens trying to communicate with us?
You can also hear with binary waterfall or whatever that program was
this is awesome!!!!!!
What if you open random non music files and hear how it sounds
I messed around with this too, in data.win file in Turmoil it makes a sound which sounds like a distorted bell, than at the end it gets really interesting, it produces beeping like sounds And some noise that feels as if it was recorded audio from street, just hyper distorted
GameMaker Studio 2 files like that one you mentioned can contain graphics and audio data. Even bytecode data!(bytecode is like a stack-based Assembly conversion of GM language)
2:27 I can read binary and that right there says "lov" one letter off from low or love but I assume it was just random things you found.
yeah, pretty much copy pasted from Google images :P
Someone is now creating a new genre from this... I think
Omg it's scary. Sometimes it looks like a pulsar caught on radar telescopes *-*
At 0:45 that's a Bb minor arpeggio down.... maybe a little flat but to my ears it sounds more bb than a
The fact that it actually plays a MINOR arpeggio, not random notes is weird.
its like insert playstation cds in cd-player in the 90's
sometimes you can header the OST and other games just binary data like this
The music it's just the BMP icons. If you turn the EXE/DLLs into MP4 via FFMPEG you are going to hear the "music" and the icons scrolling on the screen.
This may be just a coincidence but you could da something like this on purpose by defining strings or any other byte array in you program as raw data from an audio file. I'll try that and maybe upload it, so you can see the results.
maybe if you would let someone random listen to this, they just hear random sound. To us (you and the viewers) it could sound a bit more to music because we want it to be music, because someone said it would sound like music
For some reason the "dodo DOOO DOOOOO" are images, like .ico or .bmp, for some reason they sound like that, and the bigger/higher quality the image is the lower and longer the "DOOO DOOO DOOO DOOOOOOOOO" is
1:37 how to make dubstep
My father is a land surveyor and I remember when I was a kid watching the pen plotter at the engineering firm he worked at for hours while it drew up various engineering related things and it sounded very similar to this. Sometimes the patterns of what it was drawing would materialize into interesting melodies, then other times it sounded like it was just loosing its mind. Regardless, I could never watch enough of that thing.
You can see the style of plotter I'm referring to here: ruclips.net/video/3Cd3GsZlOBg/видео.html
this injects dll files in my ears