.NET Library makes it easy and fast to create Voice Command Control functionality. It helps develop voice control in real-time on software or the web. It free supports online and offline use.
$ dotnet add package VoiceNET.LibraryVoiceNET Library makes it easy and fast to create Voice Command Control functionality through Label Prediction. It helps develop voice control in real-time on software or the web. It free supports online and offline use. This is a community development project to help people access voice recognition technology more easily.
It's a research project from the FPT Edu Research Festival 2021 contest.
This is the full library, including the functions of VoiceNET.Lib.WebAPI and VoiceNET.Lib.ClientAPI.
Once you have an app, you can install the VoiceNET Library NuGet package from the .NET Core CLI using:
dotnet add package VoiceNET.Library
or from the NuGet Package Manager:
Install-Package VoiceNET.Library
Drag and drop into the Windows Forms interface:
In Form_Load
VBuilder.ModelPath("<your_model_path>");
if (VBuilder.loadModel())
{
tmGetResult.Start();
VBuilder.WFListener();
}
In tmGetResult
lbResult.Text = VBuilder.WFGetResult;
Use the following code if you want to stop listening
VBuilder.WFStopListener();
Drag and drop into the Windows Forms interface:
Form_Load
VBuilder.ModelPath("<your_model_path>");
if(VBuilder.loadModel())
//do something after Load Model
else
//do something if fail
btnRecord_Click
VBuilder.StartRecord();
btnStop
VBuilder.StopRecord();
lbResult.Text = VBuilder.Result(true);
Drag and drop into the WPF Application interface:
Before MainWindow()
public DispatcherTimer tmGetResult = new DispatcherTimer();
In MainWindow()
tmGetResult.Interval = TimeSpan.FromSeconds(1);
tmGetResult.Tick += tmGetResult_Tick;
VBuilder.ModelPath("<your_model_path>");
if (VBuilder.loadModel())
{
tmGetResult.Start();
VBuilder.WPFListener();
}
In void tmGetResult_Tick
lbResult.Content = VBuilder.WPFGetResult;
Use the following code if you want to stop listening
VBuilder.WPFStopListener();
See the example in VoiceNET.Lib.WPF.Record for more how to use it.
See the example in VoiceNET.Lib.Web.AspNet for more how to use it.
See the example in SampleWebAPI for more how to use it.
It includes example ASP.NET Core Web API and WinForm App (WinForm Realtime) using Web API.
Use the included MicBuilder program to build an MLModel.zip file for your Dataset.