0

Problem Description part 1 I am currently using the ALAudioRecorder API to collect audio data (speech) via Pepper robot's microphones. I currently must use a time buffer to allow audio data retrieval as so:

aur.startMicrophonesRecording("/home/nao/speech.wav", "wav", 48000,[0, 0, 1, 0])
time.sleep(10)
aur.stopMicrophonesRecording()

Inquiry Is there a way to have the ALAudioRecorder not really on such a stringent time buffer. Is there a way to develop a setup in which the API stops recording when there is a sufficient pause in speech instead? Perhaps this inquiry is not well formulated. I am happy to try to clarify if need be.

Problem Description part 2 I currently use the ALTextToSpeech API to enable the pepper robot to audibly transmit text responses. Once this robot starts talking, this cannot be interrupted except with KeyboardInterrupt.

Inquiry Is there a way to interrupt robot speech without terminating the code?

distro
  • 7
  • 4

0 Answers0