Skip to content

Overview

Voice ​

Voice lets you talk with nocturn: live from the app, with voice notes in a chat, or from a speaker in a room. Nothing heard can approve anything; questions go to your phone.

The voice screen: Speaking, a waveform, the question Do I need an umbrella this morning? and its answer, and Mute, Type and End.The voice screen: Speaking, a waveform, the question Do I need an umbrella this morning? and its answer, and Mute, Type and End.
Settings › Voice: who hears voice notes and who writes them down, the longest note, the spoken sessions' language and voice, and what voice may do.Settings › Voice: who hears voice notes and who writes them down, the longest note, the spoken sessions' language and voice, and what voice may do.

AskDo I need an umbrella this morning? (spoken)

http_read for the weather asks on your phone first; the answer is spoken back.

AskRemind me to call the dentist at five. (spoken)

remind is allowed for voice: the reminder is set, and nothing waits on you.

AskMail Anna that I am late. (spoken)

mail_send does not exist for voice, so the assistant says it cannot do that here. Type it in a chat instead.

What it gives you ​

  • Talk live. The waveform key on Home or in a chat opens a spoken session with a live audio model.
  • Voice notes. Hold the microphone in an empty composer; the note goes to a model that hears audio, or is written down first.
  • A column of its own. Voice may read your files, work items, memory and knowledge, set reminders and notifications, and, after asking, read the web. Mail, SSH, changing files and showing blocks are off.
  • Never approves. A speaker hears whoever is in the room. A spoken question waits for an answer on a screen, and no spoken answer is remembered.
  • Satellites. An ESP32-S3 board in a room carries the microphone and the speaker.

How it works ​

Talk live ​

  1. Set the live model in .env and restart the daemon:

    ini
    GEMINI_API_KEY=your-gemini-key
    GEMINI_LIVE_MODEL=your-live-model-id
  2. In the app, tap the waveform key (Talk live) on Home or in a chat's header.

  3. Speak. The screen shows Listening, Thinking, Speaking or Waiting for your approval; Mute, Type and End are at the bottom.

A session ends after 15 minutes, or 10 seconds after an answer when nobody speaks. Its words are not kept. There is no default live model: both variables are needed.

Voice notes ​

Hold the microphone in an empty composer to record; slide to cancel, slide up to lock. The longest note is set on the phone (Settings › Voice › Longest note: 30 s to 5 min, 2 min by default).

A note goes as audio to a preset that hears it ("audio": true in models.json). For any other, the daemon writes it down first:

NOCTURN_TRANSCRIBENeedsDefault when unset
openaiNOCTURN_TRANSCRIBE_MODEL and the endpointwhen both are set
geminiGEMINI_API_KEY; model gemini-3.5-flash unless namedwhen the key is set
offnothingotherwise

Settings › Voice shows who hears the notes and who writes them down on this server.

Satellites ​

A satellite is firmware for one board, the Waveshare ESP32-S3-AUDIO-Board: wake word "Hi ESP", a microphone, a speaker and a light ring. It finds the daemon on the network by mDNS and joins as a device of class Appliance, which may only speak in its room: it cannot approve, read chats or see the words of its own conversation.

Building and flashing it is for people at home with ESP-IDF: the steps, the provisioning script and the protocol are in satellite/README.md. The firmware is released with satellite-v* tags. The app has no screen to add a satellite yet; it is enrolled with a paired device's credential, as the README describes.

Who is speaking ​

With a speaker model (NOCTURN_SPEAKER_MODEL, a WeSpeaker ResNet34 ONNX file), a workspace can recognise voices and the assistant can ask with whoami:

sh
nocturn enroll --device hallway --seconds 30           # the satellite records; NOCTURN_VOICE_CAPTURE keeps the WAV
nocturn voices add --device satellite alice captures/   # enrol from 16 kHz mono WAV
nocturn voices ls

What voice may do ​

The defaults of the voice column (Built-in tools):

CellTools
allowfile_list, file_read, file_search, file_stat, work_list, work_create, remind, remind_list, time_now, notify, memory_read, knowledge_search, whoami, skill_read
askhttp_read, dns_resolve, ping
offeverything else: mail, SSH, writing files, memory notes, widgets, blocks

Change it under Permissions › Voice. An allow you set there holds; an answer to a spoken question is never kept.

nocturn is open source. Example hosts and people on these pages are made up.