opensmile icon indicating copy to clipboard operation
opensmile copied to clipboard

No PortAudio audio devices were found! (Pa_CountDevices()=0)

Open Ehsan-Nirjhar opened this issue 3 years ago • 1 comments

I have installed Opensmile with port audio successfully and it is working fine offline. But, when I am trying the example using SMILExtract_ReleasePortaudio, it shows

(ERROR) [1] in cPortaudioSource : NO PortAudio devices found! Cannot record live audio!

==> LEVEL 'wave' +++ Buffersize(frames) = 4801 +++ nReaders = 1 [ 31.08.2020 - 20:39:58 ] (MSG) [2] in cComponentManager : successfully finished createInstances (2 component instances were finalised, 1 data memories were finalised) [ 31.08.2020 - 20:39:58 ] (MSG) [2] in cComponentManager : starting single thread processing loop [ 31.08.2020 - 20:39:58 ] (MSG) [2] in cPortaudioSource : recording from portAudio device with index -1 [ 31.08.2020 - 20:39:58 ] (ERROR) [1] in cPortaudioSource : error opening portaudio recording stream (code -9996) check samplerate(-> 48000 , maybe it is not supported?) maybe incorrect device? ("listDevices=1" in config file displays a list of devices)

Ehsan-Nirjhar avatar Sep 01 '20 01:09 Ehsan-Nirjhar

Have you tried with each device listed by listDevices=1? Also, try different sampling rates for cPortaudioSource (either 44100 or 48000 usually work). If you specify a sampling rate that is not natively supported by the audio device, it will fail with the same error message.

chausner-audeering avatar Oct 28 '20 09:10 chausner-audeering