# Image to sound > How do you hide a picture in a sound? Turn a picture into sound, or place it in your own recording, and see it appear in the spectrogram. Turn an image into sound or hide it in a recording: place and scale it on a linear, log or mel spectrogram, then save a WAV. Runs in your browser. A preset of [Spectrogram & audio analyzer](https://how.box/spectrogram/). - Page: https://how.box/image-to-sound/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/image-to-sound/?c={c}&inv={inv}&lo={lo}&hi={hi}&b={b}&k={k}&g={g}&auto={auto}&dn={dn}&tl={tl}&s={s}&fl={fl}&fh={fh}&n={n}&w={w}&o={o}&md={md}&temp={temp}&tu={tu}&su={su}&hr={hr}&hf={hf}&hs={hs}&st={st}&pi={pi}&pr={pr}&pl={pl}&pd={pd}&ts={ts}&tr={tr} - `c` (magma, inferno, viridis, grey or hot): Colour map. Example: `viridis`. - `inv` (boolean): Reversed colour map. Example: `true`. - `lo` (number -160 to 60): Darkest level, dB. Example: `-90`. - `hi` (number -100 to 100): Brightest level, dB. Example: `-30`. - `b` (number -50 to 50): Brightness shift, percent. Example: `10`. - `k` (number 25 to 400): Contrast, percent. Example: `150`. - `g` (number 0.3 to 3): Gamma of the colour scale. Example: `0.7`. - `auto` (boolean): Auto levels for the view. Example: `false`. - `dn` (boolean): Noise-floor removal. Example: `true`. - `tl` (number 0 to 12): Treble lift, dB per octave. Example: `3`. - `s` (linear, log or mel): Frequency axis. Example: `linear`. - `fl` (number 0 to 190000): Lowest frequency shown, Hz. Example: `100`. - `fh` (number 100 to 192000): Highest frequency shown, Hz. Example: `8000`. - `n` (256, 512, 1024, 2048, 4096, 8192 or 16384): FFT size, samples. Example: `8192`. - `w` (hann, hamming, blackman-harris or rectangular): Window function. Example: `blackman-harris`. - `o` (50, 75 or 87.5): Window overlap, percent. Example: `87.5`. - `md` (air, fresh-water or seawater): Medium of a traced moving source. Example: `seawater`. - `temp` (number -60 to 140): Air temperature in tu. Example: `5`. - `tu` (c or f): c or f. Example: `f`. - `su` (kmh, mph or ms): Unit of a traced source speed: kmh, mph or ms. Example: `ms`. - `hr` (auto, off, slower, faster or shift): Playback of sound outside hearing: auto, off, slower, faster or shift. Example: `slower`. - `hf` (auto, 2, 4, 8, 10, 16, 20, 32 or 64): Slower or faster factor. Example: `10`. - `hs` (number -190000 to 190000): Frequency shift, Hz (negative: down). Example: `-36000`. - `st` (sound or picture): What the empty page offers first: sound or picture. Example: `picture`. - `pi` (boolean): A placed picture: dark parts loud. Example: `true`. - `pr` (number 20 to 90): A placed picture: dB from white to black. Example: `60`. - `pl` (number -40 to 20): A mixed picture: level against the sound under it, dB. Example: `-12`. - `pd` (number -40 to 0): A mixed picture: the sound in its box lowered by dB. Example: `-20`. - `ts` (number 1 to 60): Empty track for a picture alone, seconds. Example: `10`. - `tr` (22050, 44100, 48000 or 96000): Sample rate of that empty track, Hz. Example: `48000`. Example answer: https://how.box/image-to-sound/?c=viridis&inv=1&lo=-90&hi=-30&b=10&k=150&g=0.7&auto=0&dn=1&tl=3&s=linear&fl=100&fh=8000&n=8192&w=blackman-harris&o=87.5&md=seawater&temp=5&tu=f&su=ms&hr=slower&hf=10&hs=-36000&st=picture&pi=1&pr=60&pl=-12&pd=-20&ts=10&tr=48000 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `spectrogram_summary`: Summarises the sound the visitor opened (an audio or video file) or recorded on this page: duration_s, sample_rate_hz (the analysis rate: the file's own for WAV and FLAC, up to 384 kHz), nyquist_hz (the highest frequency it holds), peak_dbfs (largest sample, dB below full scale), rms_dbfs (RMS loudness, AES17 dBFS: a full-scale sine is 0), clipped_percent, and strongest (the strongest frequencies of the average spectrum: frequency_hz, level_db, loudest first, at least a sixth of an octave apart, from 10 Hz), ultrasonic_percent and infrasonic_percent (share of power above 18 kHz and below 40 Hz), energy_range_hz ([low, high]: the 1st and 99th percentile of power over frequency, works for ultrasonic files). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"spectrogram_summary","arguments":{}}}` - GET: https://how.box/mcp/run/spectrogram_summary ## How it works A spectrogram draws sound as a picture: time across, pitch up, louder as brighter. This page runs it backwards. Each row of your picture becomes a steady tone at its own pitch and each column a moment of time, as loud as the pixel is bright; added together, the tones make a sound whose spectrogram is your picture. Brightness becomes level in decibels: white is the loudest, black the chosen number of decibels quieter (White to black), and transparent parts are silent, so a logo keeps its outline. The rows are spread over the pitch range evenly on the frequency scale you place the picture on, linear in hertz, log in octaves or mel by ear, so it looks right on that scale and bends on another. Nothing goes above half the sample rate: 22 kHz for a 44.1 kHz track. Mixed into a recording, the picture's loudness is set against the sound under it, and the sound in its box can be lowered so it reads clearly. Lossy formats such as MP3, AAC or a video upload throw away the faint parts it is made of; WAV keeps it. Thin lines blur a little, because a spectrogram trades sharpness in time against sharpness in pitch. Source: J. O. Smith, Spectral Audio Signal Processing (CCRMA, Stanford), additive synthesis. ## FAQ **How can a sound contain a picture?** A sound is a mix of tones whose loudness changes over time, and a spectrogram plots exactly that. If the loudness of each tone follows the brightness of one row of a picture, the spectrogram shows the picture. **Why does the picture look bent in another app?** The rows are placed on the frequency scale you chose here. A viewer with another scale (many show linear by default) stretches the low or the high part. Place it on the scale the viewer uses. **Will the picture survive MP3 or a video upload?** Usually not well. Lossy formats remove quiet and very high sounds the ear barely notices, which is what a hidden picture is made of. Save and share the WAV file. **Why does it sound like noise?** A picture makes many tones at once, like a chord of hundreds of notes. Drawings and text with a few bright lines sound like chirps and whistles; photos sound like hiss. Keep the volume low. **Is my picture uploaded?** No. The picture is read, turned into sound and mixed on your device; nothing is sent or stored, and a copied link holds only the settings. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)