.NET MAUI on the WebRun your MAUI app in the browser on WebAssembly - real DOM elements, no Blazor. Try the web sample and the .NET MAUI GalleryRun your MAUI app in the browser on WebAssembly - real DOM elements, no Blazor. Try the web sample and the .NET MAUI GalleryGet started
.NET MAUI on Apple TVNative UIKit views driven by the Siri Remote and the tvOS focus engineNative UIKit views driven by the Siri Remote and the tvOS focus engineGet started
Universal Hubs Hubs - The SignalR but with transports for Bluetooth, HTTP/Network, & Peer Nearby Connectivity - ULTRA Comms for your appsHubs - The SignalR but with transports for Bluetooth, HTTP/Network, & Peer Nearby Connectivity - ULTRA Comms for your appsLet's Communicate
Controls 3.0MAUI & Blazor NET11 SupportMAUI & Blazor NET11 Support
Built on Shiny.Speech, which is still a prerelease package.
Topic
Details
Recognizing once
recognize listens until a pause and returns { "text": … }. It gives up after timeoutMs: 15 s by default, 60 s at most. text is null if nothing was heard.
Dictation
POST listener keeps the microphone open and streams speech.partial and speech.result events until you delete it. It needs a listener for one of them to start (409 without) and stops once neither has one, so a page that goes away can’t leave the microphone on. speech.ended says why it stopped: Stopped, PageClosed or Error.
One microphone
a recognition and a listener can’t run at once. The second gets 409microphone_busy.
Speaking
speak waits until the text has been spoken, unless you pass "wait": false, which returns 204 straight away and raises speech.spoken when done. A new utterance interrupts the current one. Text is capped at 4,000 characters.
Tone
speak takes an optional tone: an emotion (Happy, Excited, Calm, Whispering, …), an intensity from 0 to 2 and free-text instructions of up to 1,000 characters. Expressive cloud engines honour what they can (Azure and Typecast the emotion and intensity, ElevenLabs v3 the emotion, OpenAI the instructions); the on-device engines ignore it.
Platforms
Linux has no OS speech engine, so its endpoints return 501. To use a cloud provider or Whisper there, pass o => o.RegisterSpeechServices = false and register your own ISpeechToTextService / ITextToSpeechService.
Platform setup
Android needs RECORD_AUDIO, plus a <queries> entry for android.intent.action.TTS_SERVICE. Apple platforms need NSSpeechRecognitionUsageDescription and NSMicrophoneUsageDescription, plus the com.apple.security.device.audio-input entitlement for sandboxed apps.
recognize is one utterance in, text out. A listener keeps dictating and streams partial and final results as events —
listen to onPartial or onResult first, or starting it answers 409.
Starts dictation. Results arrive through onPartial, onResult and onKeyword, so listen first: without a listener for onPartial or onResult it fails with 409. It ends when stopped or once neither has a listener left.
Speaks text, interrupting anything already being spoken. With wait it returns once speech ends; without, it returns null straight away and onSpoken says when it ended.
How an utterance should sound. Engines with expressive control (Azure, ElevenLabs v3, Typecast, OpenAI) honour what they can; the on-device engines ignore it.