I’ve followed the instructions in the wiki to set up the 6-mic circular array up to the point where Alexa SDK is authorised then alexa-tap is run.
I tried alexa-audio-check and got RMS:0 and an audible alarm. I understand that this means the recording isn’t working but the playback is.
The pixel_ring example worked and the Audacity example worked and allowed me to record audio and playback.
When I do run alexa-tap the output reads:
</s>press ENTER to talk
arecord: main:788: audio open error: No such file or directory
INFO:hyper.http20.connection:Received unhandled event <RemoteSettingsChanged changed_settings:{ChangedSetting(setting=SettingCodes.MAX_CONCURRENT_STREAMS, original_value=None, new_value=100), ChangedSetting(setting=SettingCodes.INITIAL_WINDOW_SIZE, original_value=65535, new_value=2147483647), ChangedSetting(setting=SettingCodes._max_header_list_size, original_value=None, new_value=40960)}>
INFO:hyper.http20.connection:Received unhandled event <WindowUpdated stream_id:0, delta:2147418112>
INFO:hyper.http20.connection:Received unhandled event <SettingsAcknowledged changed_settings:{ChangedSetting(setting=SettingCodes.ENABLE_PUSH, original_value=1, new_value=0)}>
INFO:hyper.http20.connection:Received unhandled event <SettingsAcknowledged changed_settings:{}>
INFO:hyper.http20.connection:Received unhandled event <PriorityUpdated stream_id:1, weight:16, depends_on:0, exclusive:False>
INFO:avs.alexa:wait for response
INFO:hyper.http20.connection:Received unhandled event <PriorityUpdated stream_id:3, weight:16, depends_on:0, exclusive:False>
INFO:avs.alexa:status code: 200
INFO:avs.alexa:{
"header": {
"namespace": "System",
"name": "SetEndpoint",
"messageId": "5e732d03-e8c4-4a09-b0a3-768ddd98e910"
},
"payload": {
"endpoint": "https://avs-alexa-eu.amazon.com"
}
}
INFO:avs.alexa:on_ready<e>
Any ideas what the issue could be?
Thanks
Ben
PS> Raspberry Pi 3 B running Raspian 9.4
bill.yu
#2
Hi Ben
I followed the wiki and went through. the alexa-tap works well. here is my log. please do the reboot raspberry and see if the issue is gone. thanks.
[code]
(env) pi@raspberrypi:~/avs $ alexa-tap
press ENTER to talk
INFO:hyper.http20.connection:Received unhandled event <RemoteSettingsChanged changed_settings:{ChangedSetting(setting=SettingCodes.MAX_CONCURRENT_STREAMS, original_value=None, new_value=100), ChangedSetting(setting=SettingCodes.INITIAL_WINDOW_SIZE, original_value=65535, new_value=2147483647), ChangedSetting(setting=SettingCodes._max_header_list_size, original_value=None, new_value=40960)}>
INFO:hyper.http20.connection:Received unhandled event <WindowUpdated stream_id:0, delta:2147418112>
INFO:hyper.http20.connection:Received unhandled event <SettingsAcknowledged changed_settings:{ChangedSetting(setting=SettingCodes.ENABLE_PUSH, original_value=1, new_value=0)}>
INFO:hyper.http20.connection:Received unhandled event <SettingsAcknowledged changed_settings:{}>
INFO:hyper.http20.connection:Received unhandled event <PriorityUpdated stream_id:1, weight:16, depends_on:0, exclusive:False>
INFO:avs.alexa:wait for response
INFO:hyper.http20.connection:Received unhandled event <PriorityUpdated stream_id:3, weight:16, depends_on:0, exclusive:False>
INFO:avs.alexa:status code: 204
INFO:avs.alexa:on_ready
INFO:avs.alexa:on_listening
press ENTER to talk
INFO:avs.alexa:{
“header”: {
“dialogRequestId”: “82efa6ff9a26460f88f36cff826af006”,
“namespace”: “SpeechRecognizer”,
“name”: “StopCapture”,
“messageId”: “22edf522-55bd-4701-a06e-7984e59bf3d0”
},
“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:5, 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”: “82efa6ff9a26460f88f36cff826af006”,
“namespace”: “SpeechSynthesizer”,
“name”: “Speak”,
“messageId”: “bd48c2f7-a302-4269-8d24-1c55964ea100”
},
“payload”: {
“url”: “cid:DeviceTTSRendererV4_4d570090-604c-4693-beab-101ddd2728c2_1334884120”,
“token”: “amzn1.as-ct.v1.Domain:Application:NotificationsV4#ACRI#DeviceTTSRendererV4_4d570090-604c-4693-beab-101ddd2728c2”,
“format”: “AUDIO_MPEG”
}
}
INFO:SpeechSynthesizer:playing RGV2aWNl
INFO:avs.alexa:on_speaking
INFO:SpeechRecognizer:wait until speech synthesizer is finished
INFO:avs.alexa:on_finished
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:7, weight:16, depends_on:0, exclusive:False>
INFO:avs.alexa:status code: 204
INFO:avs.alexa:wait for response
INFO:hyper.http20.connection:Received unhandled event <PriorityUpdated stream_id:9, weight:16, depends_on:0, exclusive:False>
INFO:avs.alexa:status code: 204
INFO:hyper.http20.connection:Received unhandled event
[/code]
I apologize. I must have done something odd as I have reinstalled raspian and retried and it has worked like a treat.
Thanks.