speechControl Driver

Last updated: · On hold
The remaining integration step
The first TTS transaction is no longer blocked: M3A4 is complete. Speech generation and explicit DAC playback also work, but they have been exercised separately. M3B must connect them to the driver’s request path before the project can claim an integrated audible TTS operation.
Use the proven audio route
The default playback route did not produce audible output. Explicitly selecting the Spectrum Next DAC worked. The integrated service should use that proven route rather than relying on a default audio-device selection.
Keep playback details on the Pi
Sending the playback command directly from NextBASIC exposed a parser problem with the audio-device argument. The Pi-side PLAYTEST wrapper resolved the test. Games should not need to send these low-level playback commands themselves.
Pi-service deployment needs hardening
The first automated M2E deployment attempt appeared to succeed but created a zero-byte nextpi-speech_service in /ram. The BASIC setup script then continued and printed a completion message without verifying the uploaded file or the copy operation. A manual .PIPUT transfer produced the correct 5119-byte file and the service immediately returned SCSP READY 1.
Before release, the installer should verify file size or another integrity marker and refuse to report success if upload or persistence fails. The deployment path should be made as reliable as the driver itself.
UART configuration should become explicit
Current hardware tests are working at 115,200 baud. The driver has inherited the working UART state used during development, but a release build should explicitly establish or verify the baud configuration rather than depending on whatever state a previous tool left behind.
Final printable driver ID is not yet frozen
The public driver ID still needs to be finalised before a release package is treated as ABI-stable. Development builds can continue without blocking on this, but documentation and example programs should not bake in a temporary identifier.
STT performance on the original Pi Zero remains unproven
The design intentionally targets constrained game grammars because speech recognition is far more demanding than synthesis. The chosen recogniser, useful grammar size, latency and CPU load still need to be benchmarked on the ARMv6 Pi Zero before STT limits can be considered final.
Microphone compatibility needs real-hardware testing
STT requires a microphone on the Pi side. USB microphones and USB audio interfaces remain the expected route, but device compatibility, capture levels and recommended hardware have not yet been tested as part of speechControl.
Voice capabilities will depend on the selected backend
The public API exposes abstract voices plus rate, pitch and volume, but not every synthesis engine implements those controls in exactly the same way. Capability reporting is therefore part of the design. The final backend mapping will be confirmed during the TTS milestones.