GLIA · the guide

How to play it

Everything below is what the instrument at /glia actually does, in the order you meet it. Where a control does not exist, this says so and names what stands in for it.

Short answers

No sound at all
Your first tap is what starts it. If that tap is silent, the phone is muted or turned down: an iPhone's side switch silences this page. More.
How do I set the tempo
You do not. Each organism plays at its own tempo, printed on the line under the controls. More.
How do I start over
Hold the play button for half a second to empty what you played, or reload the page for a full restart. More.
How do I save a sound
You cannot. Nothing on the website plays a sound back to you later. More.
I keep hearing notes I did not play
The organism plays on its own, and it answers the notes you play with a changed version of them. More.
Where are the controls on a phone
The strip at the top left, and three more chips behind ?. More.

What this is

Glia is a row of shader organisms bred by a machine at /rorschach, each one played as an instrument. The shader source is the whole organism: the picture on the glass is that shader running, and the key, the tempo and the timbre are read out of the same text, so nothing on the page was written for any one of them.

The screen is the instrument. There is no transport to arm, nothing to load and nothing to record: you strike the glass, the organism takes what you played into its own bar, and it goes on playing after your hands come off.

The first thirty seconds

Strike anywhere. The first touch is what starts the sound, because a browser will only open an audio clock inside a real gesture, and that same touch is also a note. It also asks the browser for fullscreen, twice at most; if the browser refuses, the square in the top right corner pulses three times to show where fullscreen has to be asked for by hand.

If the first strike is silent, the phone is muted or turned down. An iPhone's side switch silences this page. Headphones are worth using: much of the kick is below what a phone speaker can play.

Then listen. The organism plays from the first touch whether you play or not, and you play over it.

After four seconds with no touch, the controls, the foot links and the fullscreen corner dim almost to nothing so the picture is clear. They still work while dim, and they come back the moment you press one.

Notes and percussion

The screen is two instruments at once. On a touchscreen, the left half is the note keyboard and the right half is the drum kit. With a mouse, the left button plays notes and the right button plays drums, both over the whole screen. A stylus is not a finger: anything the browser reports as a pen falls through to the mouse rule and plays notes everywhere.

Which half you are on is decided the instant you touch down and does not change. A finger that starts on the notes half and slides past the centre line keeps playing notes.

A tap on the note half sounds the scale note nearest the height you struck. It speaks at once and swells over about a tenth of a second. Holding keeps it sounding, and the nearest voice of the chord underneath leans toward it. Lifting lets it fade.

A drag on the note half slides the held note to the scale note at the new height. Inside each note it bends by up to a semitone, so the slide is continuous rather than a run of separate notes. A drag sounds no new notes.

Height is pitch. The bottom edge is an octave above the organism's key and the top edge is twenty-eight semitones above that. Every note is snapped to the organism's scale. There is no chromatic mode.

That snapping is why nothing you tap can be out of key. The key changes only when you step to another organism, and then it glides downward.

The drums are four bands by height, laid out the way a drummer sits behind a kit. The bottom third of the screen is the kick, the middle third is a rack of toms, the band above that is the snare, and the top sixth is the hats. The bands are uneven on purpose, so halfway up is a tom and not a snare. The kick band plays the kick; the tom band plays a low tom in its upper half and a high tom in its lower half; the snare band plays a brush and the hat band a shh. Much of the kick is sub-bass a phone speaker cannot reproduce.

A drum tap sounds at once and is planted in the bar at the nearest point of the organism's rhythm. From the next bar the organism plays it. Tapping the same figure again strengthens it, and the rhythm grows around it.

A drag on the drum half steers instead of playing. Moving right lengthens the echoes and moving left shortens them; once you let go they drift back over about twenty seconds. Moving up thickens the rhythm and moving down thins it, drifting back over about a minute. The height you hold at sets how deeply the kick pumps the drones, and how far across you hold sets how fast the chords sink.

A strike aimed at the kick usually lands in the tom band above it instead. The layout is not drawn.

How hard a hit sounds comes from the size of your fingertip on the glass, on devices that report it, and from how fast the mouse was moving when it arrived on a computer. Many phones report neither. There, and on a click from a standstill, every strike comes out at one loudness. There is no velocity control.

Several fingers work at once, each its own gesture. On a touchscreen the note half spans the full stereo field: the outer edge is hard left and the centre line is hard right.

Tempo and form

There is no bpm box, no tempo slider and no tap tempo, and nothing you play changes the tempo. Each organism has its own, between 46 and 78 beats a minute, read from its genome and printed on the line under the controls. The bar is four beats.

The chords sink. Each chord is a step lower than the one before, and after the lowest the home chord returns without anything rising to meet it. Holding across the drum half sets how fast that happens.

The kick pumps the drones. Each kick ducks the held chord, and the chord swells back between kicks.

The rhythm grows. The organism's percussion divides its beats into groups of three, five and seven, and divides those again, more as the minutes pass. The same pattern comes round each bar.

What it does with what you play

A drum you tap is planted in the rhythm, as above. Your last eight notes are a theme: every four bars one voice plays it back changed, upside down, slowed and an octave lower, backwards, or with every step turned downward. It never plays your theme as you played it, and it is quieter than your hand.

The controls

The top left strip is the whole control panel. On a narrow phone it wraps onto more than one line rather than running off the edge. Every button also has a tooltip that spells out its key, and those tooltips need a hovering mouse, so on a phone there is no way to open any of them.

play / stop space S
Starts the instrument, and stops everything when pressed again. The word changes between play and stop and the button lights mint while running.
empty what you played backspace
Hold the play button down for about half a second. A bar of colour climbs the button while you hold and it empties when the bar reaches the top. Backspace does the same instantly. There is no separate clear button.
‹ › previous / next organism ← →
Steps through the row, wrapping round, skipping anything that will not run in your browser. The drums you planted do not carry over to the new organism.
chimera C
Shown only where the browser cannot run the main picture. While it is lit, your strikes graft other bred organisms into the picture at the place you hit. Whatever has been pulled in is named in mint under the controls. It changes the picture only and adds nothing to the sound.
listen L
Opens the listening panel and asks for your microphone, so a microphone, a line input or a MIDI kit can play the organism instead of your finger.
keep K
Pins the organism you are on so the next visit can open on it. On a phone this has no button of its own: press ? and it appears as a chip reading keep · off. It saves the creature, not the sound you bred out of it, and the instrument says so: pinned · here next visit, the drift is not.
click M
An audible beat to play along to, off by default. It ticks every quarter note with a higher tick on the bar line, at the organism's tempo. It only sounds while the instrument is running, and there is no count-in. On a phone, press ? and tap the chip reading click · off.
grid Q
Does nothing in this build: a drum you tap is always planted on the organism's rhythm. On a phone it is a chip behind ?.
fullscreen F
The square in the top right corner, a 44 pixel target on touch. Its picture flips from outward corners to inward ones once you are fullscreen. Some browsers, iPhone Safari among them, will not put a page fullscreen at all, and there the button is not shown.
? ? / H
Brings back the opening legend: a heading and two lines saying that there are two layers and which is which. On a narrow screen it also reveals a link to this page, and on a phone or tablet the keep, click and grid chips. None of those take a tap until you have pressed ? yourself: on a first visit, with the legend up on its own, a tap there plays a drum, because that part of the screen is still the instrument and the chips sit over the kick.
genome G and record R
Both do nothing on the website and are drawn at half strength to show it. Genome answers the genome panel is in the standalone build and record answers recording is in the standalone build. Nothing on the website saves audio to a file.

Keys do not fire while a text box, a slider or a dropdown has focus, and Escape is the only one that still works there. That includes the listening panel's own sliders and input list, so a key pressed just after touching one may do nothing until you click back onto the picture. After you have clicked a control, space presses that control again instead of starting or stopping. S always works as play and stop.

The lines under the buttons

The line that never dims reads the key, the mode, the tempo and the family of the sound, like D2 aeolian · 57 bpm · hollow. The mode is one of five: aeolian, dorian, phrygian, lydian b6 or mixolydian b6. The tempo is the one the organism plays at.

Under it is the message line. It prints what a chip just did and why a locked button is locked, and turns orange when the message is a warning.

The line below that names the phylum, the class and the generation, like porifera · calcarea · gen 14. Beside it is a small mint bar that stays empty: this build does not breed the organism while you play.

Before anything has loaded, the name at the end of the row reads waking…. If nothing can be fetched it reads no organisms reachable, and if none of them run in your browser, nothing here will compile in this browser. On a machine whose graphics cannot run the field, the chimera, listen, genome and record buttons are removed from the row rather than disabled, so four buttons instead of eight is that machine and not a fault.

Listening: microphone and MIDI

Press listen. The panel opens first and the browser's own microphone prompt appears at that moment. A sound coming in does what a tap does: it plays a note or a drum. If the microphone is refused, the button unlights and the panel stays open with the reason written in it.

Glia asks the browser to turn off echo cancellation, noise reduction and automatic gain, because all three are built for speech and destroy what a drum detector is listening for. Some browsers keep them anyway and do not always say so.

Pointing it at the same phone's own speaker usually cannot work. Phone browsers commonly cancel the device's own output out of its own microphone. The panel says so itself, either that the browser is processing the microphone and will cancel this device's speaker, or, after three seconds of nothing arriving, no sound is reaching this input. Play the sound from something else, or use headphones. Leaving the browser to start music in another app also ends the microphone, because the operating system stops the input when the tab goes to the background; coming back, the page says listening stopped while the page was away — tap listen to open the microphone again.

The soundcheck, in order

  1. Press listen and allow the microphone.
  2. Pick your input from the list. It starts as default input, and real device names only appear after you have allowed the microphone once, so it is worth opening again.
  3. Play a few hits and watch the meters: five bars per input. They are scaled to the loudest thing that input has heard, so bars moving does not prove sound is arriving. Grey is the sign that nothing is; red is clipping.
  4. Set sense, which is how far above the room a sound has to rise before it counts. It runs from 5 to 90 and starts at 34, and it has no number beside it. Higher is pickier, not more sensitive: drag right and only your strongest hits get through, drag left and quieter hits and more of the room get through.
  5. Set slack, the fixed delay added to everything heard, adjustable from 0 to 60 thousandths of a second and reading out beside the slider. It starts at 12. It buys the instrument enough room to place a heard hit accurately. Raise it if the last line's late count keeps climbing; lower it if the instrument feels behind your hands.
  6. Leave the button on speakers if the sound is in the room, or press it to headphones if you are wearing them. On speakers, the detector stops listening for 35 to 75 thousandths of a second across each drum the instrument plays itself, so its own output is not heard as a hit. The same gap applies to you: a hit of yours landing on top of the instrument's kick can be missed.

The last line of the panel is the plain status: the total delay broken into its parts, like 48 ms · 6 detect + 12 slack + 30 out, plus the input name and channel count and any connected MIDI devices. When listening fails, that same line says why in words, including that the browser refused the microphone, that a call or another app has it, or that the audio clock is suspended and you should press play and then listen again.

From a microphone, a hit is sorted into kick, snare, tom or tick by the balance of low, middle and high in it. A sung or played pitch only becomes a note if it is clearly a pitch, roughly between 70 Hz and 1400 Hz, so a growl produces nothing on the note half. No more than sixteen heard hits a second get through, and after any hit that input ignores itself for four hundredths of a second, so a ringing cymbal cannot flood the organism. You never hear your own microphone through Glia: the listening path is connected to a silent output.

MIDI is the cleanest way in, with no detection and no bleed. The midi button lives inside the same panel, so you reach it by pressing listen first, but it does not open the microphone. On channel 10, notes 35 and 36 are the kick, 37 to 40 the snare, 41 to 50 the toms, and anything else the tick. Every other channel plays the note half, snapped to the organism's key and chord like everything else, so a MIDI keyboard cannot sound a wrong note and cannot sound a chromatic one either. Velocity carries through as how hard the note is struck. Note-off, sustain, pitch bend, knobs and pedals are ignored: every message that plays anything is a one-shot strike. There is no MIDI clock. If MIDI is unavailable the line says the browser has no Web MIDI, that MIDI was refused, or that no device is connected.

Role menus for assigning each input to drums or pitch appear only on an interface with three or more inputs. A normal phone or laptop microphone never shows them and is listened to for both.

The organism

The organism you hear is the one the lab bred. This build does not breed it while you play. The name at the end of the control row is the species; the grey line below is where it was bred.

Chimera is a picture control, shown only where the browser cannot run the main picture. With it lit, your own strikes plant a second bred body at the spot you hit and it spreads from there. Notes the organism plays by itself only feed bodies already on screen. Striking near one that already exists feeds it and pulls its centre toward your finger instead of starting a third, so tapping around one place grows one organism rather than collecting several. At most three are on screen at once, fewer on a slow machine or with reduced motion, and each is picked to look as unlike what is already there as possible. An untouched graft fades by half in about twelve seconds. Turning chimera off retires the grafts over about a second rather than snapping them away.

A sound you like cannot be brought back. Keep pins the organism, and the instrument states the limit on the control itself: pinned · here next visit, the drift is not. You do not have to pin to return to an organism you liked, either: the last one you were on is stored on every step and is what the next visit opens on. The pin decides the opening organism when that stored one is no longer in the population, and the page keeps at most 24 of them.

Everything the page remembers lives in your own browser and goes nowhere else: which organism you were on, your pins, whether chimera was on, your and your microphone settings. A private window keeps none of it and the instrument plays the same.

Starting over

There is no reset button and no undo. Nothing reverses a single strike. What exists is three different sizes of stop.

Empty what you played. Hold the play button about half a second, or press backspace. This clears the drums you planted, your theme and the rhythm the organism has grown. The organism keeps playing.

Stop. Press play while it reads stop, or press space or S. Everything goes silent and the clock suspends. Pressing it again picks up from where it was. Striking the glass on a stopped instrument also starts it again.

Change organism. Step to another organism with the arrows. Its key and tempo take over as the old one fades. Reloading the page is the only full restart.

Where else to go

/rorschach is the lab that bred these. Two machine-bred shaders at a time, and you pick the one you like.

/glia/legacy is a frozen copy of Glia as it stood before the rebuild, kept playable at a stable address.

/glia/lite is a separate, lighter browser synth with a hexagonal sequencer. It is not a simplified version of the instrument.