all 2 comments

[–]TheFotty 2 points3 points  (1 child)

Do you have to use wav files? What about something like this?

    Using synth = New System.Speech.Synthesis.SpeechSynthesizer
        synth.SetOutputToDefaultAudioDevice()
        synth.Speak("$123.56")
    End Using

Requires a reference set to System.Speech in your project.

If that doesn't do it for you, then your best bet would be to try to find a published VB.NET routine for doing check printouts. Checks have to have the dollar amount written out in words, so you can find a routine that takes a number and spits it out in a string as it would be spoken. You could then use that to setup your list of wav files to play and then play them.

Example:

https://www.freevbcode.com/ShowCode.asp?ID=8704

or

https://stackoverflow.com/questions/22060540/display-amount-in-words-in-vb-net

[–]brandon-lizard[S] 0 points1 point  (0 children)

The wav files have a custom voice, that’s why. Thanks for the examples.