Hi, I am trying to integrate IBM’s Watson into my project for the purpose of speech-to-text, but am pretty mixed up about WWW & WWWForm, and what alternatives Do work within Unity 5. Presently, I can record the audio input from the microphone to a WAV file, and then I need help to figure out the appropriate way to connect it to Watson.
The Client side (Unity) - Mainly C# code.
One script will continuously record microphone input, and will save to a new audio file every 15 seconds.
And then another script will handle communication with Watson -
- if “file_”+x+“.wav” exists, send it to watson and wait for response back. process json result (as simple as printing the transcript portion), and then repeat.
Finally, the program will run on a pc with Windows 7 (I wish I could use linux but alas, I am only a pawn in this endeavor). I really appreciate any help - thank you,
Watson Docs
REST Methods