Rating:

# Untitled Audio Challenge Writeup

> I hid an image into the waveform... recognize the magic numbers?

Looking at the waveform heavily zoomed in using Audacity, the first thing we notice is that the waveform values are nearly all positive.

![Audacity Waveform](https://cdn.discordapp.com/attachments/717461073829298208/717513639166476338/unknown.png)

From here we can see that there is a surprising number of zeros, implying binary data alongside the hint. Checking the magic numbers of common file types, the heights of these waveforms also mostly match up with the magic numbers for a PNG file represented in hex. The waveform values are therefore encoding the binary data for a PNG, which will end up containing the flag.

Converting the waveform data to an array of 16 bit integers, we find that the values are clustered around multiples of 2048. By dividing by 2048 and rounding, we can convert the waveform to hex data, which we can then convert into raw binary data, generating a (gigantic) PNG.

Final PNG:

Code:
python
import scipy.io.wavfile