title: NAO robot remote audio problems
body: <p>I would like to know if anyone here knows how to stream NAO robot audio to a remote module in python, and if you maybe have an example. I want to get the NAO audio buffers on my laptop directly for processing, so no recording and scp or whatever.</p>
  
  <p>Now my problem is this: the aldebaran site says that in order to receive audio remotely (on my laptop), I have to write a module that inherits from ALSoundExtractor. The thing is, this class was not included in the python SDK, so if you're building a remote python program, you CAN'T inherit from alsoundextractor... I've been stuck on this problem for weeks, and it would be really nice if someone could help me out.</p>
  
  <p>so the idea is to start the module with</p>
  
  <pre><code>class AudioClassificationModule(ALSoundExtractor):
  </code></pre>
  
  <p>and have a function called process that is called automatically. I get this error though:</p>
  
  <pre><code>NameError: name 'ALSoundExtractor' is not defined
  </code></pre>
  
  <p>so it boils down to this: could someone show how this should be done?? write a python module that inherits from ALSoundExtractor, and has a function 'process' that does something with the audio? THANKS!!</p>
  
  <p>documentation link: <a href="https://community.aldebaran-robotics.com/doc/1-14/naoqi/audio/alaudiodevice-api.html#ALAudioDeviceProxy%3a%3asubscribe__ssCR" rel="noreferrer">https://community.aldebaran-robotics.com/doc/1-14/naoqi/audio/alaudiodevice-api.html#ALAudioDeviceProxy::subscribe__ssCR</a></p>