I'm trying to get a recording from Pepper's microphones over a period of time.
What I'm trying is basically this:
audio_service = session.service("ALAudioDevice")
audio_service.startMicrophonesRecording('/data/home/nao/test.wav')
time.sleep(5)
audio_service.stopMicrophonesRecording()
print "Audio obtained"
It correctly connects to NaoQi and there are no errors upon execution, but when I look for test.wav
it's not created. I've checked the documentation and the example but it doesn't really work.
I'm quite new to robot programming so any help would be appreciated!