Making a vibescape

How to make a music visualizer

In Vibresia you make one by writing a vibescape. A vibescape is a single GLSL function, vec3 render(vec2 p, float t), that returns a colour for each point on the screen. The app already listens to the Mac and hands you the music as numbers, so the function is only the picture. You can paste the code, open a file someone sent you, or describe the picture and have an assistant write it.

Vibresia, reacting to whatever the Mac is playing.

Get Vibresia free and write oneFree, no account, macOS 14.2+ on Apple silicon.

Open a new vibescape

In the app, choose View All, then + Custom Vibescape. That sheet is the whole workshop. It offers three ways in, and you can use any of them:

Nothing is saved until it compiles. Press Test and the app draws the vibescape so you can see the picture. If the code fails, the failure is explained in words, not as a graphics-driver log. It needs macOS 14.2 or later, Apple silicon.

The function you write

You write the body of render, not a full shader program. The app supplies main, the uniforms and the helpers. p is the position on screen, centred on 0,0, about -0.5 to 0.5 vertically. t is time in seconds. The function returns a vec3 colour.

A small one looks like this. The ring is geometry. uTreble adds the highs. uActive dims the picture when little is playing, without turning it black.

vec3 render(vec2 p, float t)
{
    float d = length(p);
    float ring = smoothstep(0.05, 0.0, abs(d - 0.25));
    vec3 colour = vec3(1.0, 0.3, 0.8) * ring;
    colour += vec3(0.2, 0.9, 1.0) * uTreble;
    return colour * (0.2 + 0.8 * uActive);
}

Change a number and press Test again. That is the loop: edit, test, keep it once the picture is the one you wanted.

The music is already measured

You do not analyse the song yourself. These uniforms are the music, as numbers you can multiply by:

The pointer, the keyboard and a MIDI keyboard are uniforms too, so a vibescape can react to the person as well as to the track. Helpers for shapes, colour and noise are provided. The full list is what the local assistant calls vibescape_reference, so you do not have to memorise it.

Or have an assistant write it

If you would rather describe the picture than write the function, point an assistant at Vibresia. The app ships a local MCP server: the same binary, run with --mcp. It can write a vibescape, check that it compiles, look at the picture and try again. A vibescape it saves shows up in the app within a second, because it writes the same files the app reads. The Custom Vibescape sheet shows the command for the copy of the app on your Mac, with a button to copy it.

The usual command, when the app is in the Applications folder, is:

claude mcp add vibresia -- "/Applications/Vibresia.app/Contents/MacOS/Vibresia" --mcp

Any assistant that speaks MCP can use it. Setting up an AI assistant has the steps for Claude, Cursor, VS Code and the others, and for the web server at vibresia.com/mcp. The web server can write a vibescape and hand back a link that plays in a browser. It cannot draw, check that a shader compiles, or hear the Mac. The local server can do all three, including what_i_hear, which reports the genre, the instruments, the tempo, the levels and the shape of the spectrum at that moment.

Ask it to look before it saves. Nothing is kept unless the code compiles, and a failure comes back as words and a line number.

Keep it, share it, or export a clip

Once Test has drawn the picture you want, save it. It joins your list, next to the 18 built-in scenes. Auto Scan can move through those built-in scenes on the beat. Your own vibescape stays where you put it.

A scene you like can be shared as a short link, vibresia.com/s/ and an id. That link plays in any browser, with or without the app. The browser plays the shared picture. It does not visualise the visitor's own music. You can also export the last ten seconds, with the music, as a video in Downloads.

Vibresia does not play MilkDrop presets, and a vibescape is not a timeline or a node graph. If you wanted a ranked list of finished Mac apps instead of a scene of your own, read the best music visualizer for Mac in 2026. For what the word means, read what is a music visualiser.

Questions people ask

How do you make a music visualizer in Vibresia?

Choose View All, then + Custom Vibescape. Write vec3 render(vec2 p, float t), or paste code, or open a file. Press Test. Nothing is saved until it compiles.

Do I have to write code?

No. Describe the picture to an assistant connected to Vibresia's MCP server and it writes the function. The Custom Vibescape sheet also includes a prompt you can copy.

What does the function receive?

p is the point on screen and t is time in seconds. The music arrives as uniforms such as uBass, uTreble, uBeat and uBands. You return a colour.

Can I share a vibescape I made?

Yes. A short link plays it in any browser. You can also export the last ten seconds, with the music, as a video.

Get Vibresia free and write oneFree, no account, macOS 14.2+ on Apple silicon.

Read next

Sources

Every fact about another app on this page comes from the source listed for it, on the date shown. We make Vibresia, so we've tried to say where each of the others is the better choice. If something here is out of date, tell us and we'll fix it.