/syncfusion-aspnet-mvc:syncfusion-aspnetmvc-speech-to-textfrom Syncfusion ASP.NET MVC UI Controls
Implement Syncfusion Speech To Text control in ASP.NET MVC applications using HTML Helpers. ALWAYS use this skill when the user needs ASP.NET MVC speech recognition, voice input, Web Speech API integration, speech-to-text transcription, or help with the Speech To Text control (@Html.EJS().SpeechToText()). Covers installation, HTML helper setup, speech recognition, customization, events, error handling, and accessibility patterns specific to ASP.NET MVC.
Ships in Syncfusion ASP.NET MVC UI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A comprehensive guide for implementing the Syncfusion Speech To Text control in ASP.NET MVC applications using HTML Helpers. This control leverages the Web Speech API to convert spoken words into text with full customization and event handling capabilities.
Use this skill when the user needs to:
Trigger Keywords: ASP.NET MVC speech to text, voice input, Web Speech API MVC, speech recognition, @Html.EJS().SpeechToText(), microphone input
The Speech To Text control provides:
┌─────────────────────────────────────────┐
│ User Speaks to Microphone │
└────────────────┬────────────────────────┘
│
▼
┌─────────────────────┐
│ Web Speech API │
│ Speech Recognition │
└────────┬────────────┘
│
▼
┌────────────────────────────┐
│ Real-time Transcript │
│ Updated in Component │
└────────────────────────────┘
@Html.EJS().SpeechToText("id")
.Locale("locale")
.Lang("language-code")
.ButtonSettings(bs => bs
.Content("Start Recording")
.IconCss("e-icons e-microphone")
)
.TooltipSettings(ts => ts
.Position(Syncfusion.EJ2.Popups.TooltipPosition.TopCenter)
.Content("Click to start voice input")
)
.Render()
public class HomeController : Controller
{
[HttpPost]
public ActionResult ProcessVoiceInput(string transcript)
{
// Process the voice transcript
var result = ProcessText(transcript);
return Json(new { success = true, data = result });
}
}
📄 Read: references/getting-started.md
📄 Read: references/speech-recognition-features.md
📄 Read: references/button-and-tooltip-customization.md
📄 Read: references/events-and-methods.md
📄 Read: references/globalization-and-localization.md
📄 Read: references/troubleshooting-and-security.md
@using Syncfusion.EJ2
@{
ViewBag.Title = "Speech To Text Demo";
}
<h2>Voice Input Form</h2>
<div style="padding: 20px;">
<!-- Speech To Text Control -->
@Html.EJS().SpeechToText("voiceInput")
.ButtonSettings(bs => bs
.Content("Start Recording")
.IconCss("e-icons e-microphone")
)
.TranscriptChanged("onTranscriptChanged")
.OnError("onError")
.Render()
<!-- Display transcribed text -->
<div style="marginTop: 20px;">
<label>Transcript:</label>
<textarea id="transcript" rows="4" cols="50" readonly></textarea>
</div>
</div>
<script>
function onTranscriptChanged(args) {
document.getElementById("transcript").value = args.transcript;
}
function onError(args) {
alert("Error: " + args.error);
}
</script>
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
}
<!-- In Views/Web.config -->
<configuration>
<appSettings>
<add key="SyncfusionLicense" value="YOUR_LICENSE_KEY" />
</appSettings>
</configuration>
@using Syncfusion.EJ2
@using (Html.BeginForm("SubmitForm", "Home", FormMethod.Post))
{
<h3>Contact Form - Voice Input Support</h3>
<!-- Name field -->
<div>
<label>Name (Voice or Text):</label>
@Html.EJS().TextBox("name")
.Placeholder("Enter or speak your name")
.Render()
@Html.EJS().SpeechToText("nameVoice")
.ButtonSettings(bs => bs.Content("🎤 Name"))
.Render()
</div>
<!-- Message field -->
<div>
<label>Message (Voice Input):</label>
@Html.EJS().TextArea("message")
.Rows(4)
.Render()
@Html.EJS().SpeechToText("messageVoice")
.ButtonSettings(bs => bs.Content("🎤 Message"))
.TranscriptChanged("appendToMessage")
.Render()
</div>
<!-- Submit button -->
@Html.EJS().Button("submit")
.Content("Submit")
.Type("submit")
.Render()
}
<script>
function appendToMessage(args) {
var textarea = document.getElementById("message");
textarea.value += args.transcript + " ";
}
</script>
@using Syncfusion.EJ2
<div>
<h3>Voice Search</h3>
<!-- Speech input -->
@Html.EJS().SpeechToText("voiceSearch")
.ButtonSettings(bs => bs
.Content("Search by Voice")
.IconCss("e-icons e-search")
)
.TranscriptChanged("performSearch")
.Render()
<!-- Search results -->
<div id="results" style="marginTop: 20px;"></div>
</div>
<script>
function performSearch(args) {
fetch('/api/search?q=' + args.transcript)
.then(r => r.json())
.then(data => {
document.getElementById("results").innerHTML =
data.map(item => '<p>' + item.name + '</p>').join('');
});
}
</script>
@using Syncfusion.EJ2
<div role="form" aria-label="Accessible Voice Input Form">
<h2>Accessible Form</h2>
<!-- Voice input with accessibility -->
@Html.EJS().SpeechToText("accessibleVoice")
.ButtonSettings(bs => bs
.Content("Activate Voice Input")
.CssClass("sr-only-label")
)
.Created("setAccessibilityLabels")
.Render()
<!-- Live region for screen readers -->
<div aria-live="polite" id="voiceStatus" role="status"></div>
</div>
<script>
function setAccessibilityLabels() {
var component = ej.base.getComponent(
document.getElementById("accessibleVoice"),
"speechtotext"
);
// Update ARIA labels
component.startAriaLabel = "Activate voice input. Press to start recording your message.";
component.stopAriaLabel = "Deactivate voice input. Press to stop recording.";
}
</script>
| Method | Type | Description |
|---|---|---|
.SpeechToText(id) | Primary | Initialize Speech To Text control |
.Locale(locale) | Property | Set UI language (e.g., "en", "de", "fr") |
.Lang(language) | Property | Set speech recognition language |
.ButtonSettings(bs => bs...) | Fluent | Customize button appearance |
.TooltipSettings(ts => ts...) | Fluent | Customize tooltip |
.TranscriptChanged(handler) | Event | Handle transcript change |
.OnError(handler) | Event | Handle errors |
.OnStart(handler) | Event | Handle start listening |
.OnStop(handler) | Event | Handle stop listening |
| Property | Type | Default | Description |
|---|---|---|---|
lang | string | "en-US" | Speech recognition language |
locale | string | "en" | UI language |
allowInterimResults | boolean | true | Show interim results while speaking |
listeningState | boolean | false | Current listening state |
transcript | string | "" | Current transcript |
continuousMode | boolean | false | Continuous recognition mode |
| Method | Returns | Description |
|---|---|---|
startListening() | void | Start speech recognition |
stopListening() | void | Stop speech recognition |
abort() | void | Cancel current recognition |
| Event | Args | Description |
|---|---|---|
onStart | - | Fired when recognition starts |
onStop | - | Fired when recognition stops |
onError | { error } | Fired on error |
transcriptChanged | { transcript, isFinal } | Fired when transcript updates |
created | - | Fired after component creation |
| Browser | Web Speech API | Status |
|---|---|---|
| Chrome 25+ | ✅ | Full support |
| Edge 12+ | ✅ | Full support |
| Safari 14.1+ | ✅ | Full support |
| Firefox 25+ | ⚠️ | Limited (requires flag) |
| Opera 27+ | ✅ | Full support |
| IE 11 | ❌ | Not supported |
@Html.EJS().SpeechToText("voiceInput")
.Lang("@(Request.UserLanguages?.FirstOrDefault() ?? "en-US")")
.Render()
@Html.EJS().SpeechToText("voice")
.OnStart("showLoading")
.OnStop("hideLoading")
.Render()
<script>
function showLoading() {
document.getElementById("loading").style.display = 'block';
}
function hideLoading() {
document.getElementById("loading").style.display = 'none';
}
</script>
@Html.EJS().SpeechToText("voice")
.Created("addCopyButton")
.Render()
<script>
function addCopyButton() {
var btn = document.createElement('button');
btn.textContent = 'Copy Transcript';
btn.onclick = () => {
var component = ej.base.getComponent(
document.getElementById("voice"),
"speechtotext"
);
navigator.clipboard.writeText(component.transcript);
};
document.body.appendChild(btn);
}
</script>
references/button-and-tooltip-customization.md (opens in a new tab)references/events-and-methods.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/globalization-and-localization.md (opens in a new tab)references/speech-recognition-features.md (opens in a new tab)references/troubleshooting-and-security.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-aspnet-mvc38 skills in this plugin
/syncfusion-aspnetmvc-3d-chartBuild interactive 3D charts in ASP.NET MVC using Syncfusion controls. Trigger when user needs 3D data visualization with bar charts, column charts, stacked variants, axis configuration, data labels, legends, tooltips, interactive selection, or print/export functionality. Use this skill for any 3D chart implementation in MVC applications./syncfusion-aspnetmvc-accumulation-chartsComplete API reference and implementation guide for Syncfusion Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) for ASP.NET MVC 5 applications. ALWAYS use this skill when user mentions accumulation charts, pie charts, doughnut charts, pyramid charts, funnel charts, circular charts, data visualization with percentages, proportional data display survey results display, budget breakdown, or any scenario requiring visual representation of parts-to-whole relationships in ASP.NET MVC./syncfusion-aspnetmvc-ai-assistviewImplement the Syncfusion ASP.NET MVC AI AssistView component — a conversational AI chat interface with prompt/response rendering, prompt suggestions, mentions in the prompt editor, custom views, toolbar customization, file attachments, speech-to-text, telemetry tracking, AI backend integrations (Azure OpenAI, Gemini, Ollama, LiteLLM), generative UI with interactive tools, Chain of Thoughts reasoning visualization and text-to-speech audio playback. Use this skill when building AI chat UIs, integrating LLM backends, configuring assistant toolbars, customizing templates, rendering dynamic UI components, or handling voice input/output in ASP.NET MVC applications.Other plugins' skills for the same job