Music Maker Turns Your Webcam Into an Instrument: A Free Browser Tool for Playing, Looping and Filming Music in the Air
Pinch the air, pull a glowing string between your hands, and pluck it. The free page records the performance as vertical video and exports stems. The clever part is not the hand tracking. It is how hard the design works to stop you hitting a wrong note.
Every few years someone builds an instrument you play by waving at a camera, and every few years it ends up as a thirty-second demo. The problem has never been the tracking. Cameras have been able to find fingertips for a long time. The problem is that playing music in thin air is hard: there is nothing to press against, nothing to tell you where the note is, and your hand drifts a few centimeters every time you breathe.
Music Maker, a free page published on GitHub on November 21 by the filmmaker and science communicator Hashem Al-Ghaili, takes a different route. It does not ask you to be accurate. It builds the music so that accuracy matters less, and then gives you the tools a creator actually needs afterward: loops, a beat, a camera-ready recording mode in 16:9 or 9:16, and an export of separate audio files. On its first two days it collected 88 stars on GitHub, which is a lot for a single web page with no install.
The page calls itself String Mirror once it loads. You can play it here.
What you are actually playing
You start by making a string. Pinch thumb to index finger on both hands, pull your hands apart, and let go. A line stays on screen where you left it. A palette of 24 instruments opens on it: guitar, harp, oud, sitar, qanun, kalimba, piano, marimba, steel pan, violin, cello, flute, trumpet, voices, organ, synth, drums, hand drums and more. You pick one, then pick its tone: major, minor, pentatonic, blues, dorian or hijaz.
To play, you sweep a fingertip across the string. Where you cross it decides the note, low at the end with the round cap and higher toward the other end. Faster sweeps play louder. Rest a fingertip on the string and the sustaining instruments (violin, cello, flute, organ and the like) hold the note for as long as you stay. Percussive ones like marimba, oud and drums roll instead. Pinch a string near its end and pull sideways, and the notes ringing on it bend up by as much as two semitones, then snap back with a pluck when you let go.
You can have up to twelve strings on screen at once. Longer strings hold more notes.
None of the sound comes from recordings. Everything is synthesized inside the page, and the hand tracking uses Google's MediaPipe hand model, which the page downloads the first time you open it. After that, the tracking runs in your browser. The page asks for Chrome or Edge, and the camera only works on a secure web address, which GitHub's hosting provides.
Why it does not sound like a mess
Here is the part most coverage of camera instruments misses. The interesting design decisions in Music Maker are musical, not technical.
Every string is tuned to a scale. A pentatonic string has no notes that clash with each other. A hijaz string gives you the scale's distinctive Middle Eastern color whatever you hit. You are not choosing notes from all twelve on a keyboard. You are choosing from five, six or seven that already belong together. A sweep that lands one position off still sounds like music.
Follow chords goes further. Turn on a beat, switch on the Follow chords option, and every string retunes to the chord of the current bar while the beat plays. Whatever you play fits the harmony underneath it. That is the single biggest reason a non-musician can make something listenable in five minutes.
The beat carries the timing. Pick a style (the page includes boom bap, trap, house, lo-fi, dembow and maqsum among others) and switch its parts on one at a time: kick, snare, hats, bass, chords. The bass and chords follow the key and tone you set at the top. A Settings option called "Snap layers to the beat" tidies the timing of anything you record into a loop.
Put those together and the design is clear. The camera is not asked to make you precise. The scale, the chords and the beat absorb your imprecision. That is the right call for an instrument with nothing to touch, and it is what separates this from the gesture demos that came before it.
It also tells you what Music Maker is for. It is a sketchpad and a stage. It is not a replacement for a keyboard when you need a specific melody, note for note.
What a creator can make with it
Three uses stand out, and none of them requires you to call yourself a musician.
A performance video. The Record button captures video with sound, or sound only. A separate Film mode hides every control, counts down 3-2-1 and starts recording, so the frame is just you and the glowing strings. Switch the stage to 9:16 and you have a vertical clip shaped for Reels, Shorts or TikTok straight out of the browser. The page lets you turn off the note names on the strings and darken the camera picture for a cleaner look. Save the take as video, or the audio as MP3 or WAV.
A loop to build on. Press "Record a layer," wait for the count, play a phrase. It loops, and you play the next layer over it. You can stack up to eight layers, mute any of them, and undo the last one. For a video editor who needs thirty seconds of original underscore with a hand-made feel, this is faster than opening a music app.
Stems for your editor or DAW. Open the Mixer to set volumes for your playing, the beat and each layer, then press "Export stems" to download a zip of separate audio files. That zip includes a short text note with the tempo, key and beat, so the next program knows what it is getting.
Put this into practice
Here is a routine for a first session that ends in something you can post.
- Set up the room before you start. The page's own advice: sit 40 to 80 centimeters from the camera, palms toward the screen, with light on your hands. Most tracking problems are lighting problems.
- Pick one key and one tone for everything. Choose a pentatonic tone to start. It is the most forgiving.
- Make three strings, not twelve. Try a bass-register string (cello or a low guitar), a melody string (harp, kalimba or flute) and one percussive string (hand drums). Fewer strings means fewer accidental crossings.
- Start the beat, then turn on Follow chords. Bring in kick and hats first. Add bass and chords once you like the groove.
- Record two or three short layers. Keep each one simple: a repeating low figure, then a sparse melody. Turn on "Snap layers to the beat" in Settings if your timing wanders.
- Export stems before you film. Do it from the Mixer while the layers are fresh. This is your safety copy for the edit.
- Film the performance last. Switch to 9:16 if the clip is for a vertical platform, hide the note names, press Film, and play your lead line over the loops. Record a few takes and keep the best.
- Learn three shortcuts. Space starts or stops the beat, F starts filming and L records a layer. H hides or shows the controls, and Z removes the last layer.
No camera, or filming somewhere the tracking struggles? The start screen has a "Play with the mouse instead" option. You lose the performance, but you keep the strings, the beat and the export.
Where it falls short
Your live playing is not in the stems. The page says this plainly in the note it packs with the export: live playing is not in the stems, so record a take for that. The stems cover the beat and your recorded layers. The melody you played on top during filming lives only in the recording. If you plan to mix later, record the lead as a layer too.
It is synthesized sound. The 24 instruments are generated by the browser, not sampled from real instruments. They are charming and clean. They will not fool anyone into hearing a real oud or cello, and they are not meant to.
The tracking will misfire. Low light, busy backgrounds, sleeves over your wrists and very fast sweeps all confuse it. If pinches fire too easily or not at all, Settings has a pinch sensitivity slider. A "Show tracking data" option displays frame rate and pinch readings when you need to troubleshoot.
Precision is not the point. If you need a specific melody, you will fight the tool. The scales and Follow chords that make it friendly also keep you inside a small set of notes.
Vertical mode crops the camera. The 9:16 stage uses the middle of the camera picture, so stand centered. The page also notes that buttons beside the vertical stage need the mouse.
The license is unclear. The repository declares no license for its code, so treat the page as free to play rather than free to copy or rebuild. The MP3 encoder embedded in it is a separate open project under the LGPL-3.0 license. The page does not say anything about rights to what you record. Since the sounds are synthesized live in your browser and the performance is yours, this is less tangled than AI music made by a model trained on other people's songs, but if a client is paying, keep the question on your list.
It is days old. One author, one web page, published November 21. Expect changes, and expect bugs.
Why it is worth ten minutes of your evening
Most AI music tools this year have asked you to describe a song and wait. Music Maker asks you to stand up and move. The machine learning in it is small and old by now, a hand tracker that has been around for years. What is new is a design that understands where an air instrument fails and routes around it with scales, chords and a beat.
That is a useful lesson beyond this one page. When a tool lets you be imprecise and still sound good, it is not dumbing anything down. It is choosing which part of the craft you get to focus on. Here, it is the performance.
Open the page, stretch three strings, and see whether you can make thirty seconds you would actually post.