DYSTOPIANPIXEL

speechControl Driver

Angled copper and periwinkle assembly code beside microphone, speech-processing and speaker motifs
Illustrative assembly code and speech-processing motifs for speechControl.

Last updated: · On hold

Where things stand

speechControl Driver development is on hold while I investigate Alpine Next following the upgrade.

Dated checkpoints from the project record. Older entries describe what was known at the time; wording-only revisions have been combined.

Development paused pending the next integration work

Original recorded entry date.

  • speechControl was placed on hold while Alpine Next was investigated following the upgrade.
  • The tested driver lifecycle, NextPi link and first audible speech remained recorded milestones. The pause did not make the unfinished integrated speech pipeline a release.
M3A request recovered and first generated speech heard

Original recorded entry date.

  • The recovered M3A4 diagnostic confirmed delivery of the sentence and settings, acknowledgement processing and recovery.
  • A separate eSpeak NG WAV test became audible after selecting the Next DAC and using a Pi-side playback wrapper. The machine said “Hello from speech control”.
  • These were separate proven request and playback paths. M3B still needed to join them; the full V1 speaking and recognition controls were not complete.

This is the first generated speech WAV: “Hello from speech control.” The same file was successfully played through the Next’s DAC using a Pi-side playback wrapper.

First generated speech · 22 October 2026 · approximately 2 seconds. Download the WAV

This recording demonstrates the synthesis output. The successful DAC playback test is separate from the driver integration planned for M3B.

M1 foundation and M2E NextPi link proven

Original recorded entry date.

  • Install/uninstall, worker-bank mapping, buffering and interrupt operation were proven before the speech layer.
  • M2E established Supervisor recovery, service startup and the protocol handshake. Cold startup measured 41 frames (about 0.82 seconds); warm reconnect measured 21 frames (about 0.42 seconds).
  • The persistent service reduced startup overhead. The first actual speech transaction was still to be connected.
  • M1C recorded 174 interrupt callbacks, API version 256, the expected worker signature and identical MMU7 values before and after the call.
  • M2A established Supervisor synchronisation; M2B restored the 32-byte receive pump; M2C proved HELLO/PING with CRC, escaping and sequence/retry handling; M2D added SC_RECONNECT and stale-service recovery. M2E moved the Python 2.7-compatible service into persistent storage.
  • Earlier cold-start timings were 124 frames / 2.48 seconds in M2C1 and 122 frames / 2.44 seconds in M2D2. M2E reduced cold start to 41 frames while retaining the 21-frame warm reconnect.
Driver lifecycle and background work passed

Original recorded entry date.

  • Real-hardware checks passed shutdown, restart and background operation.
  • The test was made self-contained so it did not depend on a driver already running. Pi communication and speech remained the next layers.
Speech architecture and interface defined

Original recorded entry date.

  • The design separated a small resident NextZXOS driver from a Pi-side speech service.
  • Text-to-speech, game-command recognition, buffering and protocol recovery were specified; audible speech was not yet a completed capability.

Development Stories: the decisions and lessons behind the work ↗