VoiceNET.Library 1.0.8

.NET Standard 2.0
Install-Package VoiceNET.Library -Version 1.0.8
dotnet add package VoiceNET.Library --version 1.0.8
<PackageReference Include="VoiceNET.Library" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VoiceNET.Library --version 1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: VoiceNET.Library, 1.0.8"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install VoiceNET.Library as a Cake Addin
#addin nuget:?package=VoiceNET.Library&version=1.0.8

// Install VoiceNET.Library as a Cake Tool
#tool nuget:?package=VoiceNET.Library&version=1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Introduce

VoiceNET 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.

Installation

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

Quickstart

WinForm Real-time

Drag and drop into the Windows Forms interface:

  • Label: lbResult
  • Timer: tmGetResult (Interval=1)

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();

WinForm Recording

Drag and drop into the Windows Forms interface:

  • Button: btnRecord, btnStop
  • Label: lbResult

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);

WPF Real-time - Support from v1.0.5

Drag and drop into the WPF Application interface:

  • Label: lbResult

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();

WPF Recording - Support from v1.0.5

See the example in VoiceNET.Lib.WPF.Record for more how to use it.

ASP.NET MVC - Support from v1.0.2.4

See the example in VoiceNET.Lib.Web.AspNet for more how to use it.

ASP.NET Core Web API - Support from v1.0.6.8

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.

How to create a Model?

Use the included MicBuilder program to build an MLModel.zip file for your Dataset.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.8 2,610 11/25/2021
1.0.6.9 107 11/23/2021
1.0.6.8 315 11/20/2021
1.0.6.7 131 11/19/2021
1.0.6.6 134 11/17/2021
1.0.5.2 373 11/17/2021
1.0.5 383 11/16/2021
1.0.3 244 11/15/2021
1.0.2.71 251 11/15/2021
1.0.2.8 193 11/15/2021
1.0.2.7 297 11/15/2021
1.0.2.6 335 11/14/2021
1.0.2.5 339 11/14/2021
1.0.2.4 298 11/13/2021
1.0.2.3 265 11/11/2021
1.0.1.1 315 11/11/2021
1.0.1 328 11/10/2021

Clean up code