What format .wav does the whisper model take in? #2005
Replies: 2 comments
-
Specifically, audio prerecorded by windows sound recorder runs happily inside my unreal c-api implementation. However, when recording input through unreal. The output is a .wav, but the format is wave_format_pcm. The accepted format seems to be wave_format_ex. Is this explicitly required, could I change the src to accept it? Or if not, does anyone know of a way to convert pcm to ex in this case? |
Beta Was this translation helpful? Give feedback.
-
The accept waveform api takes two argument, the actual sample rate of your data and your data in a float array. Each element in the array is in the range -1 to 1. only a single channel is supported. hope it helps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Next question :^)
When I record audio with unreal engine, the API doesn't accept it.
Is there a specific format of .wav that the API must have to work?
Beta Was this translation helpful? Give feedback.
All reactions