The parts of a voice interface: a player for what was said, the words as they are spoken, an orb that shows what the assistant is doing, and pickers for a microphone and a voice.
Audio Player
A player for one sound with controls of its own drawing. Its state is one record of page state that every part takes.
Audio PlayerThe sound is twelve seconds of a tune the page wrote as a WAV file when it opened. Nothing plays until you press play.
0:00
0:00
Back to the start
0.0 sat
0.0 sduration
noplaying
100%volume
With the keyboard on the player:Spaceplays,←→step five seconds,↑↓change the volume,Mmutes,HomeEndgo to either end.
Transcription
What was said, in pieces with times. The piece being said stands out, those before it are read, those after are quiet.
Following the playercurrentTime is the player's time, and a press on a phrase seeks the player there. A piece with no words is left out.
0.0 s of 0 s
Segments by handTranscriptionSegment takes its own text and times, so the page can lay them out. No sound here: the slider is the time.
currentTime2.5 s
Last press
nothing yet
Persona
An orb that shows what an assistant is doing. The drawing is Mote's own, in CSS; the original is a Rive animation.
State and variantFive states, six colourings. Size it with width and height.
state
variant
Go through the statesone every 1.6 s
Persona state="listening" variant="opal"
Sizes64 pixels as it comes; everything inside is drawn in parts of its size.
24
32
48
64
96
Every state of every variantRows are variants, columns are states.
idlelisteningthinkingspeakingasleepobsidian
mana
opal
halo
glint
command
Mic Selector and Speech Input
Both need a microphone, and both stay off until you press them.
Mic SelectorOpening the list asks the browser which microphones there are (mic.list), and the browser asks you for leave. It needs a microphone and a secure page; without them it says so in words.
No microphone by that name.
Asked the browser
not yet
Devices
unknown
Chosen
none
Composed by handThe same parts over a list the page supplies, so nothing is asked of the browser: MicSelectorItem, MicSelectorLabel (which makes a device's id quiet) and MicSelectorEmpty.
These four devices are made up.
Chosen id
usb
MicSelectorLabel
Desk Camera (046d:0825)
MicSelectorEmpty
No microphone found.
Speech InputPress the microphone and speak: what was said goes to transcript. It needs a microphone, your leave, and a browser that can recognise speech (Chrome and Safari can). Where it cannot listen, the button says why in its tip.
Speak
en-US
Speak
nb-NO
Speak
disabled
Heard
nothing yet
Listening stops by itself when you stop speaking, or after eight seconds of nothing. 0 heard so far.
Voice Selector
A window of voices to choose from: search, groups, and what each sounds like.
Voice SelectorThe round button on each row speaks a line in the browser's own voice (speech.say) without choosing the row. Type to narrow; Escape closes.
voice.value
alloy
About it
Even and clear
PartsVoiceSelectorDialog is the same window under its other name. The preview button has three looks; gender has six icons; accent has thirty flags.