Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net code returns different result #3726

Closed
Camel-RD opened this issue Mar 14, 2022 · 1 comment
Closed

.Net code returns different result #3726

Camel-RD opened this issue Mar 14, 2022 · 1 comment

Comments

@Camel-RD
Copy link

Camel-RD commented Mar 14, 2022

Im using 2830-3980-0043.wav file from audio-0.9.3.tar.gz

This command returns "experience proves this":
deepspeech.exe --model deepspeech-0.9.3-models.pbmm --audio "2830-3980-0043.wav"

This c# code returns "experience prooes thiss".

  DeepSpeech deepSpeechClient = new DeepSpeech("deepspeech-0.9.3-models.pbmm");
  var waveBuffer = new NAudio.Wave.WaveBuffer(File.ReadAllBytes("2830-3980-0043.wav"));
  string speechResult = deepSpeechClient.SpeechToText(
    waveBuffer.ShortBuffer,
    Convert.ToUInt32(waveBuffer.MaxSize / 2));
@ftyers
Copy link
Collaborator

ftyers commented Apr 23, 2022

@Camel-RD thanks for your interest! Please see #3693.

@ftyers ftyers closed this as completed Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants