VoiceNET.Library
1.0.2.4
See the version list below for details.
dotnet add package VoiceNET.Library --version 1.0.2.4
NuGet\Install-Package VoiceNET.Library -Version 1.0.2.4
<PackageReference Include="VoiceNET.Library" Version="1.0.2.4" />
<PackageVersion Include="VoiceNET.Library" Version="1.0.2.4" />
<PackageReference Include="VoiceNET.Library" />
paket add VoiceNET.Library --version 1.0.2.4
#r "nuget: VoiceNET.Library, 1.0.2.4"
#:package VoiceNET.Library@1.0.2.4
#addin nuget:?package=VoiceNET.Library&version=1.0.2.4
#tool nuget:?package=VoiceNET.Library&version=1.0.2.4
Introduce
VoiceNET Library makes it easy and fast to create Voice Command Control functionality through Label Prediction. It helps develop software voice control in real-time. 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.
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
Real-time
Drag and drop into the Windows Forms interface:
- Picturebox: pbSpectrogram and picTake with Width=400
- Combobox: cbDevice
- Label: lbResult
- Timer: tmLisener (Interval 100, Enabled=True) and tmDisposeRam (Interval 1, Enabled=True)
In Form_Load
VBuilder.getDevice(cbDevice);
VBuilder.setVolume(80);
VBuilder.ModelPath("<your_model_path>");
if(VBuilder.loadModel())
//do something after Load Model
else
//do something if fail
cbDevice_SelectedIndexChanged
StartListening();
Create two private void: StartListening() and DisposeImage().
StartListening()
DisposeImage();
VBuilder.StartListening( cbDevice );
DisposeImage()
pbSpectrogram.Image?.Dispose();
pbSpectrogram.Image = null;
tmDisposeRam_Tick
DisposeImage();
pbSpectrogram.Image = VBuilder.ListenTimer(pbSpectrogram.Width);
tmLisener_Tick
if(VBuilder.requestDisposeListening)
{
picTake.Image = VBuilder.getImageTaken(pbSpectrogram);
lbResult.Text = VBuilder.Result();
StartListening(); //Renew Lisener
VBuilder.requestDisposeListening = false;
}
else
{
VBuilder.reduceNoiseAndCapture(pbSpectrogram);
}
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.Record();
btnStop.Enabled = true;
btnRecord.Enabled = false;
btnStop
VBuilder.Stop();
lbResult.Text = VBuilder.Result(true);
btnRecord.Enabled = true;
btnStop.Enabled = false;
How to create a Model?
Use the included MicBuilder program to build an MLModel.zip file for your Dataset.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FftSharp (>= 1.0.8)
- Microsoft.ML (>= 1.5.2 && <= 1.6.0)
- Microsoft.ML.ImageAnalytics (>= 1.5.2 && <= 1.6.0)
- Microsoft.ML.Vision (>= 1.5.2 && <= 1.6.0)
- NAudio (>= 2.0.0)
- SciSharp.TensorFlow.Redist (= 1.14.0)
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 | 3,541 | 11/25/2021 |
| 1.0.6.9 | 497 | 11/23/2021 |
| 1.0.6.8 | 654 | 11/20/2021 |
| 1.0.6.7 | 444 | 11/19/2021 |
| 1.0.6.6 | 462 | 11/17/2021 |
| 1.0.5.2 | 1,196 | 11/17/2021 |
| 1.0.5 | 1,410 | 11/16/2021 |
| 1.0.3 | 823 | 11/15/2021 |
| 1.0.2.71 | 843 | 11/15/2021 |
| 1.0.2.8 | 627 | 11/15/2021 |
| 1.0.2.7 | 895 | 11/15/2021 |
| 1.0.2.6 | 908 | 11/14/2021 |
| 1.0.2.5 | 918 | 11/14/2021 |
| 1.0.2.4 | 892 | 11/13/2021 |
| 1.0.2.3 | 855 | 11/11/2021 |
| 1.0.1.1 | 1,043 | 11/11/2021 |
| 1.0.1 | 1,056 | 11/10/2021 |
Support ASP.NET MVC - Recording to Label