I was recently bought a ReSpeaker 6-Mic Circular Array kit for Raspberry Pi.
The install of drivers completed successfully, and I have managed to get trespeaker_4mic_array.py working so the connection to the board seems to be working, however I try to start alexa-tap it returns me an error :
alexa-tap
press ENTER to talk
arecord: set_params:1299: Sample format non available
Available formats:
- S32_LE
Do you have an idea
Best regards
Pierre
HI Pierre
I follow wiki and can get it work as below, please use the audacity to record the audio and see if it works. please try the whole process if it does not work. thanks.
INFO:avs.alexa:status code: 204
INFO:avs.alexa:on_listening
press ENTER to talk
INFO:avs.alexa:{
“header”: {
“dialogRequestId”: “de45e22e530245ceb19015a0de6a9ded”,
“namespace”: “SpeechRecognizer”,
“name”: “StopCapture”,
“messageId”: “6e6128fc-0602-42e9-9e49-ca9a8a88228c”
},
“payload”: {}
}
INFO:SpeechRecognizer:StopCapture
INFO:avs.alexa:on_thinking
INFO:avs.alexa:wait for response
INFO:hyper.http20.connection:Received unhandled event <PriorityUpdated stream_id:17, weight:16, depends_on:0, exclusive:False>
INFO:avs.alexa:status code: 200
INFO:avs.alexa:write audio to RGV2aWNl.mp3
INFO:avs.alexa:{
“header”: {
“dialogRequestId”: “de45e22e530245ceb19015a0de6a9ded”,
“namespace”: “SpeechSynthesizer”,
“name”: “Speak”,
“messageId”: “eeef3f63-ef30-474a-ad0a-3ef68a5e08a0”
},
“payload”: {
“url”: “cid:DeviceTTSRendererV4_40a7c4fe-68db-4988-9105-821ed663c26f_602257685”,
“token”: “amzn1.as-ct.v1.Domain:Application:NotificationsV4#ACRI#DeviceTTSRendererV4_40a7c4fe-68db-4988-9105-821ed663c26f”,
“format”: “AUDIO_MPEG”
}
}
INFO:SpeechSynthesizer:playing RGV2aWNl
Playing /tmp/RGV2aWNl.mp3
INFO:avs.alexa:on_speaking
INFO:SpeechRecognizer:wait until speech synthesizer is finished
Finished /tmp/RGV2aWNl.mp3
INFO:SpeechRecognizer:synthesizer is finished
INFO:SpeechRecognizer:conversation = 0
INFO:avs.alexa:on_finished
INFO:avs.alexa:wait for response
INFO:hyper.http20.connection:Received unhandled event <PriorityUpdated stream_id:19, weight:16, depends_on:0, exclusive:False>
INFO:avs.alexa:status code: 204