<div dir="ltr"><div><div><div><div><div><div><div>Hi All,<br><br></div>I am trying to use Speex + PyAudio to convert voice to text using Google Speech API. I downloaded PyAudio Source, PortAudio and Speex and installed portaudio, followed by pyaudio with static link and then speex also I installed. <br>
<br></div>I am able to import both speex and pyaudio into python fine. But when I call these functions:<br>e = speex.Encoder()<br>e.initialize(speex.SPEEX_MODEID_UWB)<br><br></div>I get a segmentation fault. <br><br></div>
speex shared object am linking points to libspeex.so.1 <br><br></div>Any idea why this is happening? Any help appreciated <br></div>Thanks<br><br></div>Mani<br></div>