BPI-R18 new image: Allwinner SoC-Only 3-Mic Far-Field Dev Kit image 20180206


(bpi team) #1

BPI R18 Allwinner SoC-Only 3-Mic Far-Field Dev Kit image

R18 tina_tulip-noma_uart0_wufan_camera_20180206

google driver download link:

https://drive.google.com/file/d/1yugHTuX2OXHQkggb52FQfHOVUVrtjKDH/view?usp=sharing

baidu cloud download link:

https://pan.baidu.com/s/1ghjcQsV

update time : 2018-2-27

quick start document:


Allwinner SoC-Only 3-Mic Far-Field Dev Kit for Amazon AVS instock now
Allwinner SoC-Only 3-Mic Far-Field Dev Kit for Amazon AVS with allwnner R18 chip design
(GST) #2

Hi,

I installed this FW-“R18 tina_tulip-noma_uart0_wufan_camera_20180206” at this board. Run the command-“TZ=UTC SampleApp /etc/avs/test.json /etc/avs/ DEBUG9”. But the wake word-“Aleax” was not workable, but the “Tap to talk” is OK.

The command-“sample-wakeup /etc/avs” was also not workable.

Could you please advise this issue ?

PS: I did not connect the speaker(L/R/SUB), just use the earphone via HP_jack port at this moment.


(王大锤) #3

hi~ Maybe you can paste you error log to here,I will give you some suggest if I know.


(GST) #4

Hi Kirin,

There are not any error log about the wake word. Just can not trigger by wake word-“Alexa” feature. The “Tap to talk” was OK. Please take a look at the log by SampleApp.

==.>
    root@TinaLinux:/# TZ=UTC SampleApp /etc/avs/test.json /etc/avs/ DEBUG9
    TZ=UTC SampleApp /etc/avs/test.json /etc/avs/ DEBUG9
    2018-03-15 07:53:29.036 [  1] I sdkVersion: 1.4.0
    Running app with log level: DEBUG9
    2018-03-15 07:53:29.038 [  1] I ConfigurationNode:initializeSuccess
    2018-03-15 07:53:29.040 [  1] 9 MediaPlayer:createCalled
    2018-03-15 07:53:29.114 [  1] I MediaPlayer:noOutputConversion
    2018-03-15 07:53:29.117 [  1] 9 MediaPlayer:createCalled
    2018-03-15 07:53:29.117 [  1] I MediaPlayer:noOutputConversion
    2018-03-15 07:53:29.120 [  1] 9 MediaPlayer:createCalled
    2018-03-15 07:53:29.120 [  1] I MediaPlayer:noOutputConversion
    2018-03-15 07:53:29.123 [  1] 9 MediaPlayer:createCalled
    2018-03-15 07:53:29.124 [  1] I MediaPlayer:noOutputConversion
    gpio: 235 requested failed!
    2018-03-15 07:53:29.131 [  1] 9 MediaPlayer:setObserverCalled
    2018-03-15 07:53:29.131 [  2] 0 MediaPlayer:handleSetObserverCalled
    2018-03-15 07:53:29.131 [  1] 9 SpeechSynthesizer:addObserver:observer=0x236b2378
    2018-03-15 07:53:29.131 [  1] 9 PlaybackRouter:create::called
    2018-03-15 07:53:29.131 [  1] 9 MediaPlayer:setObserverCalled
    2018-03-15 07:53:29.132 [  2] 0 MediaPlayer:handleSetObserverCalled
    2018-03-15 07:53:29.132 [  1] 9 MediaPlayer:setObserverCalled
    2018-03-15 07:53:29.132 [  2] 0 MediaPlayer:handleSetObserverCalled
    2018-03-15 07:53:29.134 [  1] 9 AlertScheduler:setTimerForNextAlertLocked
    2018-03-15 07:53:29.134 [  1] I AlertScheduler:executeScheduleNextAlertForRendering::no work to do.
    2018-03-15 07:53:29.135 [  1] 5 NotificationsRenderer:create
    2018-03-15 07:53:29.135 [  1] 9 MediaPlayer:setObserverCalled
    2018-03-15 07:53:29.135 [  2] 0 MediaPlayer:handleSetObserverCalled
    2018-03-15 07:53:29.135 [  3] 1 AlertsCapabilityAgent:executeOnConnectionStatusChanged:status=DISCONNECTED,reason=ACL_CLIENT_REQUEST
    2018-03-15 07:53:29.135 [  1] 5 NotificationsCapabilityAgent:init
    2018-03-15 07:53:29.135 [  1] 5 NotificationsRenderer:addObserver
    2018-03-15 07:53:29.139 [  1] 9 MediaPlayer:getSpeakerTypeCalled
    2018-03-15 07:53:29.139 [  1] 9 MediaPlayer:getSpeakerTypeCalled
    2018-03-15 07:53:29.139 [  1] 9 MediaPlayer:getSpeakerTypeCalled
    2018-03-15 07:53:29.139 [  1] 9 MediaPlayer:getSpeakerTypeCalled
    2018-03-15 07:53:29.139 [  1] 0 SpeakerManager:mapCreated:numAvsSynced=3,numLocal=1
    2018-03-15 07:53:29.139 [  4] 5 NotificationsCapabilityAgent:executeInit
    2018-03-15 07:53:29.139 [  1] 9 MediaPlayer:getSpeakerSettingsCalled
    2018-03-15 07:53:29.139 [  2] 9 MediaPlayer:handleGetSpeakerSettingsCalled
    2018-03-15 07:53:29.139 [  4] 0 NotificationsCapabilityAgent:notifyObservers:indicatorState=0
    2018-03-15 07:53:29.139 [  1] 9 MediaPlayer:getSpeakerSettingsCalled
    2018-03-15 07:53:29.139 [  2] 9 MediaPlayer:handleGetSpeakerSettingsCalled
    2018-03-15 07:53:29.140 [  4] 5 NotificationsCapabilityAgent:executeProvideState:sendToken=false,stateRequestToken=0
    2018-03-15 07:53:29.140 [  1] 9 MediaPlayer:getSpeakerSettingsCalled
    2018-03-15 07:53:29.140 [  2] 9 MediaPlayer:handleGetSpeakerSettingsCalled
    2018-03-15 07:53:29.140 [  1] 9 SpeakerManager:validateSpeakerSettingsConsistencyResult:consistent=true
    2018-03-15 07:53:29.140 [  4] 0 ContextManager:updateStateLocked:action=updatedState,namespace=Notifications,name=IndicatorState
    2018-03-15 07:53:29.140 [  1] 9 SpeakerManager:validateSpeakerSettings:volume=100,mute=false
    2018-03-15 07:53:29.140 [  1] 9 SpeakerManager:updateContextManagerCalled:speakerType=AVS_SYNCED
    2018-03-15 07:53:29.140 [  1] 1 AudioPlayer:addObserver
    2018-03-15 07:53:29.140 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechSynthesizer,name=Speak,handler=0x236d42e0,policy=BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=AudioPlayer,name=ClearQueue,handler=0x236d5ce0,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=AudioPlayer,name=Stop,handler=0x236d5ce0,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=AudioPlayer,name=Play,handler=0x236d5ce0,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=ExpectSpeech,handler=0x236d3340,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=SpeechRecognizer,name=StopCapture,handler=0x236d3340,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Alerts,name=DeleteAlert,handler=0x236d6c80,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Alerts,name=SetAlert,handler=0x236d6c80,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=System,name=SetEndpoint,handler=0x23713800,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=System,name=ResetUserInactivity,handler=0x236d30c8,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetMute,handler=0x237168a0,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=AdjustVolume,handler=0x237168a0,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Speaker,name=SetVolume,handler=0x237168a0,policy=NON_BLOCKING
    2018-03-15 07:53:29.141 [  1] 9 TemplateRuntime:getConfiguration
    2018-03-15 07:53:29.141 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=TemplateRuntime,name=RenderPlayerInfo,handler=0x23715f80,policy=HANDLE_IMMEDIATELY
    2018-03-15 07:53:29.142 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=TemplateRuntime,name=RenderTemplate,handler=0x23715f80,policy=HANDLE_IMMEDIATELY
    2018-03-15 07:53:29.142 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Notifications,name=ClearIndicator,handler=0x236edfe8,policy=HANDLE_IMMEDIATELY
    2018-03-15 07:53:29.142 [  1] I DirectiveRouter:addDirectiveHandlers:action=added,namespace=Notifications,name=SetIndicator,handler=0x236edfe8,policy=HANDLE_IMMEDIATELY
    2018-03-15 07:53:30.507 [  5] 0 HttpPost:doPostSucceeded:code=200
    2018-03-15 07:53:30.507 [  5] 0 AuthDelegate:handleLwaResponseSucceeded:expiresInSeconds=3600
    2018-03-15 07:53:30.507 [  5] 0 AuthDelegate:onAuthStateChangeCalled:state=1,error=0
    2018-03-15 07:53:30.507 [  1] 0 MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=PENDING
    2018-03-15 07:53:30.508 [  1] I HTTP2Transport:setupDownchannelStream:url=https\://avs-alexa-na.amazon.com/v20160207/directives
    2018-03-15 07:53:30.508 [  1] 0 HTTP2StreamPool:getStream:streamId=1,numAcquiredStreams=1
    2018-03-15 07:53:30.508 [  6] 9 PostConnectSynchronize:Entering postConnectLoop thread
    2018-03-15 07:53:30.508 [  3] 1 AlertsCapabilityAgent:executeOnConnectionStatusChanged:status=PENDING,reason=ACL_CLIENT_REQUEST
    2018-03-15 07:53:30.509 [  7] 0 NotificationsCapabilityAgent:provideState:stateRequestToken=1

#############################

Connecting…

#############################

2018-03-15 07:53:30.509 [  4] 5 NotificationsCapabilityAgent:executeProvideState:sendToken=true,stateRequestToken=1
2018-03-15 07:53:30.510 [  7] 0 AudioPlayer:provideState:stateRequestToken=1
2018-03-15 07:53:30.510 [  7] 9 SpeechSynthesizer:provideState:token=1
2018-03-15 07:53:30.510 [  8] 0 SpeechSynthesizer:executeProvideState:stateRequestToken=1
2018-03-15 07:53:30.510 [  4] 0 ContextManager:updateStateLocked:action=updatedState,namespace=Notifications,name=IndicatorState
2018-03-15 07:53:30.510 [  8] 0 ContextManager:updateStateLocked:action=updatedState,namespace=SpeechSynthesizer,name=SpeechState
2018-03-15 07:53:30.510 [  9] 0 AudioPlayer:executeProvideState:sendToken=true,stateRequestToken=1
2018-03-15 07:53:30.510 [  a] 0 ContextManager:updateStateLocked:action=updatedState,namespace=SpeechRecognizer,name=RecognizerState
2018-03-15 07:53:30.510 [  9] 0 ContextManager:updateStateLocked:action=updatedState,namespace=AudioPlayer,name=PlaybackState
2018-03-15 07:53:30.510 [  7] 0 ContextManager:buildContextSuccessful
2018-03-15 07:53:30.511 [  7] 0 EventBuilder:buildJsonEventString:messageId=a01537bb-ac11-4c61-b439-d4bf75113a3f,namespace=System,name=SynchronizeState
2018-03-15 07:53:30.511 [  7] 0 PostConnectSynchronize:onContextAvailable : Send PostConnectMessage to transport
2018-03-15 07:53:30.511 [  7] 9 HTTP2Transport:enqueueRequest
2018-03-15 07:53:31.678 [  b] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid\: 0aedd6fffefdc1c0-000067a5-0000e6c5-cadf848bf03a0031-bf9d61b7-1
2018-03-15 07:53:31.678 [  b] 0 HTTP2Transport:processNextOutgoingMessage
2018-03-15 07:53:31.678 [  b] 0 HTTP2StreamPool:getStream:streamId=3,numAcquiredStreams=2
2018-03-15 07:53:31.679 [  b] 9 HTTP2Transport:insertActiveStream:handle=0x2377bd68
2018-03-15 07:53:32.179 [  b] 0 HTTP2Stream:receivedRequestId:value=x-amzn-requestid\: 0aedd6fffefdc1c0-000067a5-0000e6c5-cadf848bf03a0031-bf9d61b7-3
2018-03-15 07:53:32.179 [  b] 0 PostConnectSynchronize:onSendCompleted:status=SUCCESS_NO_CONTENT
2018-03-15 07:53:32.179 [  6] 9 PostConnectSynchronize:Exiting postConnectLoop thread
2018-03-15 07:53:32.179 [  b] 0 PostConnectSynchronize:onConnected()
2018-03-15 07:53:32.180 [  b] 0 MessageRouter:connectionStatusChanged:reason=ACL_CLIENT_REQUEST,newStatus=CONNECTED

########################################

Alexa is currently idle!

########################################

2018-03-15 07:53:32.180 [  b] 0 HTTP2Transport:cleanupFinishedStream:streamId=3,result=204
2018-03-15 07:53:32.180 [  3] 1 AlertsCapabilityAgent:executeOnConnectionStatusChanged:status=CONNECTED,reason=ACL_CLIENT_REQUEST
2018-03-15 07:53:32.180 [  1] 9 SpeakerManager:addSpeakerManagerObserverCalled
2018-03-15 07:53:32.180 [  b] 0 HTTP2StreamPool:releaseStream:streamId=3,numAcquiredStreams=1
2018-03-15 07:53:32.180 [  1] 9 SpeakerManager:addSpeakerManagerObserver:observer=0x236a03a8
2018-03-15 07:53:32.180 [  b] 0 CurlEasyHandleWrapper:reset:responseCode=HTTP_RESPONSE_SUCCESS_NO_CONTENT
2018-03-15 07:53:32.180 [  1] 5 NotificationsCapabilityAgent:addObserver
2018-03-15 07:53:32.180 [  1] 9 SpeakerManager:addSpeakerManagerObserverCalled
2018-03-15 07:53:32.180 [  1] 9 SpeakerManager:addSpeakerManagerObserver:observer=0x236a8258
2018-03-15 07:53:32.181 [  1] 9 TemplateRuntime:addObserver
2018-03-15 07:53:32.181 [  c] 0 TemplateRuntime:addObserverInExecutor

#################################################

NOTIFICATION INDICATOR STATE: OFF

#################################################

mount private failed: (Invalid argument),ignored { “recorder” : “tutuclearac108-normal”, /or audiocodec or tutuclearac108/

    "tutuclearac108-encode" : {
            "device" : "hw:1,0",
            "channels" : "8",
            "period-size" : "1024",
            "period" : "4",
            "sample-rate" : "16000",
            "sample-bits" : "24",
            "process-bits" : "32",
            "prm-file" : "/etc/avs/tutuClearA1_ns4wakeup.prm"
    },
    "tutuclearac108-normal" : {
            "device" : "hw:2,0",
            "channels" : "8",
            "period-size" : "1024",
            "period" : "4",
            "sample-rate" : "16000",
            "sample-bits" : "24",
            "prm-file" : "/etc/avs/tutuClearA1_ns4wakeup.prm"
    },
    "cx20921" : {
            "device" : "hw:1,0",
            "channels" : "2",  /*0 or 1, when channels = 2*/
            "channel-use-to-detect" : "0",
            "period-size" : "1024",
            "period" : "4",
            "sample-rate" : "16000",
            "sample-bits" : "16",
            "aec-device" : "hw:0,1",
            "aec-channels" : "2",
            "aec-sample-rate" : "48000",
            "aec-period-size" : "1024"
    },
    "audiocodec" : {
            "device" : "plug:dsnoop",
            "channels" : "1",  /*0 or 1, when channels = 2*/
            "channel-use-to-detect" : "0",
            "period-size" : "1024",
            "sample-rate" : "16000",
            "period" : "4",
            "sample-bits" : "16"
    },
    "data" : {
            "orgin-data" : "", /*eg: /tmp/orgin, final file : /tmp/orgin-timestamp.pcm*/
            "detect-data" : "", /*eg: /tmp/detect, final file : /tmp/detect-timestamp.pcm*/
            "wakeup-data" : "", /*eg: /tmp/wakeup, final file : /tmp/wakeup-timestamp-x.pcm*/
    },
    "sensory" : {
            "model" : "/etc/avs/thfft_alexa_a_enus_v3_1mb.snsr",
            "operating-point" : "8"
    },
    "kitt.ai" : {
            "resource" : "/etc/avs/thfft_alexa_a_enus_v3_1mb_search_8.snsr",
            "model" : "9",
            "audio-gain" : "2.0",
            "sensitivity" : "0.6",
            "front-end-processing" : "false"
    }

}

tutuclearac108-normal
Parsing /etc/avs/tutuClearA1_ns4wakeup.prm
uw16FrameSz = 10
uw16MaxNumOfMic = 3
uw16MaxTailLength = 8202
uw16SamplingFreq = 1
w16MICSelection0 = 0x7603
w16MICSelection1 = 0x1425
tutuClear DM usage = 293184 bytes
Software voice processor compiled on: Feb  5 2018 03:21:05
TUTUCLEAR Ver. 1.6.6 Inside (0xf1d1117f).
Copyright (C) 2017, Spectimbre Inc.
uw32OpMode = 00000010
uw32FuncMode = 00001CC0
uw16NumOfMic = 3
uw16ECTailLengthInMs = 0
[TTSUNXI_Initial] entered.
[TTSUNXI_GenRnd] 0x356e7573
[TTSUNXI_GenCode] grep   'sun50iw1' /sys/class/sunxi_info/sys_info |wc -l
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
TUTUClear_Init okay.
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_Initial] entered.
[TTSUNXI_GenRnd] 0x356e7573
[TTSUNXI_GenCode] grep   'sun50iw1' /sys/class/sunxi_info/sys_info |wc -l
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_Initial] entered.
[TTSUNXI_GenRnd] 0x356e7573
[TTSUNXI_GenCode] grep   'sun50iw1' /sys/class/sunxi_info/sys_info |wc -l
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
TUTUClear_SetParams okay.
AC108 init, mode:     NORMAL
            device:   hw:2,0
            rate:     16000
            channels: 8
            period_size: 1024
            period:   4
            sample_bits: 24
2018-03-15 07:53:32.272 [  1] I SensoryKeywordDetector:License expires on 09 May 2018 00:00:00 GMT
2018-03-15 07:53:32.273 [  1] W SensoryKeywordDetector:License will expire in 54 days
2018-03-15 07:53:32.283 [  1] I SensoryKeywordDetector:Sensory model default operating point 8
2018-03-15 07:53:32.283 [  1] I SensoryKeywordDetector:Sensory model new operating point 8
captureLoop start
sh: write error: Resource busy
                  #    #     #  #####      #####  ######  #    #
                 # #   #     # #     #    #     # #     # #   #
                #   #  #     # #          #       #     # #  #
               #     # #     #  #####      #####  #     # ###
               #######  #   #        #          # #     # #  #
               #     #   # #   #     #    #     # #     # #   #
               #     #    #     #####      #####  ######  #    #

       #####                                           #
      #     #   ##   #    # #####  #      ######      # #   #####  #####
      #        #  #  ##  ## #    # #      #          #   #  #    # #    #
       #####  #    # # ## # #    # #      #####     #     # #    # #    #
            # ###### #    # #####  #      #         ####### #####  #####
      #     # #    # #    # #      #      #         #     # #      #
       #####  #    # #    # #      ###### ######    #     # #      #

       SDK Version 1.4.0

+----------------------------------------------------------------------------+
|                                  Options:                                  |
| Wake word:                                                                 |
|       Simply say Alexa and begin your query.                               |
| Tap to talk:                                                               |
|       Press 't' and Enter followed by your query (no need for the 'Alexa').|
| Hold to talk:                                                              |
|       Press 'h' followed by Enter to simulate holding a button.            |
|       Then say your query (no need for the 'Alexa').                       |
|       Press 'h' followed by Enter to simulate releasing a button.          |
| Stop an interaction:                                                       |
|       Press 's' and Enter to stop an ongoing interaction.                  |
| Privacy mode (microphone off):                                             |
|       Press 'm' and Enter to turn on and off the microphone.               |
| Playback Controls:                                                         |
|       Press '1' for a 'PLAY' button press.                                 |
|       Press '2' for a 'PAUSE' button press.                                |
|       Press '3' for a 'NEXT' button press.                                 |
|       Press '4' for a 'PREVIOUS' button press.                             |
| Settings:                                                                  |
|       Press 'c' followed by Enter at any time to see the settings screen.  |
| Speaker Control:                                                           |
|       Press 'p' followed by Enter at any time to adjust speaker settings.  |
| Firmware Version:                                                          |
|       Press 'f' followed by Enter at any time to report a different        |
|       firmware version.                                                    |
| Info:                                                                      |
|       Press 'i' followed by Enter at any time to see the help screen.      |
| Quit:                                                                      |
|       Press 'q' followed by Enter at any time to quit the application.     |
+----------------------------------------------------------------------------+

[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)

(王大锤) #5

Maybe is because of you SDK`s Noise reduction algorithms library has expired(it should pay).To confirm this,please paste the error log when you input “sample-wakeup /etc/avs”.


(GST) #6

Hi Kirin,

I got it. Please check it as below.

root@TinaLinux:/etc/avs# sample-wakeup /etc/avs sample-wakeup /etc/avs 2018-03-16 06:06:13.032 [ 1] I sdkVersion: 1.4.0 mount private failed: (Invalid argument),ignored { “recorder” : “tutuclearac108-normal”, /or audiocodec or tutuclearac108/

    "tutuclearac108-encode" : {
            "device" : "hw:1,0",
            "channels" : "8",
            "period-size" : "1024",
            "period" : "4",
            "sample-rate" : "16000",
            "sample-bits" : "24",
            "process-bits" : "32",
            "prm-file" : "/etc/avs/tutuClearA1_ns4wakeup.prm"
    },
    "tutuclearac108-normal" : {
            "device" : "hw:2,0",
            "channels" : "8",
            "period-size" : "1024",
            "period" : "4",
            "sample-rate" : "16000",
            "sample-bits" : "24",
            "prm-file" : "/etc/avs/tutuClearA1_ns4wakeup.prm"
    },
    "cx20921" : {
            "device" : "hw:1,0",
            "channels" : "2",  /*0 or 1, when channels = 2*/
            "channel-use-to-detect" : "0",
            "period-size" : "1024",
            "period" : "4",
            "sample-rate" : "16000",
            "sample-bits" : "16",
            "aec-device" : "hw:0,1",
            "aec-channels" : "2",
            "aec-sample-rate" : "48000",
            "aec-period-size" : "1024"
    },
    "audiocodec" : {
            "device" : "plug:dsnoop",
            "channels" : "1",  /*0 or 1, when channels = 2*/
            "channel-use-to-detect" : "0",
            "period-size" : "1024",
            "sample-rate" : "16000",
            "period" : "4",
            "sample-bits" : "16"
    },
    "data" : {
            "orgin-data" : "", /*eg: /tmp/orgin, final file : /tmp/orgin-timestamp.pcm*/
            "detect-data" : "", /*eg: /tmp/detect, final file : /tmp/detect-timestamp.pcm*/
            "wakeup-data" : "", /*eg: /tmp/wakeup, final file : /tmp/wakeup-timestamp-x.pcm*/
    },
    "sensory" : {
            "model" : "/etc/avs/thfft_alexa_a_enus_v3_1mb.snsr",
            "operating-point" : "8"
    },
    "kitt.ai" : {
            "resource" : "/etc/avs/thfft_alexa_a_enus_v3_1mb_search_8.snsr",
            "model" : "9",
            "audio-gain" : "2.0",
            "sensitivity" : "0.6",
            "front-end-processing" : "false"
    }

}

tutuclearac108-normal
Parsing /etc/avs/tutuClearA1_ns4wakeup.prm
uw16FrameSz = 10
uw16MaxNumOfMic = 3
uw16MaxTailLength = 8202
uw16SamplingFreq = 1
w16MICSelection0 = 0x7603
w16MICSelection1 = 0x1425
tutuClear DM usage = 293184 bytes
Software voice processor compiled on: Feb  5 2018 03:21:05
TUTUCLEAR Ver. 1.6.6 Inside (0xf1d1117f).
Copyright (C) 2017, Spectimbre Inc.
uw32OpMode = 00000010
uw32FuncMode = 00001CC0
uw16NumOfMic = 3
uw16ECTailLengthInMs = 0
[TTSUNXI_Initial] entered.
[TTSUNXI_GenRnd] 0x356e7573
[TTSUNXI_GenCode] grep   'sun50iw1' /sys/class/sunxi_info/sys_info |wc -l
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
TUTUClear_Init okay.
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_Initial] entered.
[TTSUNXI_GenRnd] 0x356e7573
[TTSUNXI_GenCode] grep   'sun50iw1' /sys/class/sunxi_info/sys_info |wc -l
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_Initial] entered.
[TTSUNXI_GenRnd] 0x356e7573
[TTSUNXI_GenCode] grep   'sun50iw1' /sys/class/sunxi_info/sys_info |wc -l
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)
TUTUClear_SetParams okay.
AC108 init, mode:     NORMAL
            device:   hw:2,0
            rate:     16000
            channels: 8
            period_size: 1024
            period:   4
            sample_bits: 24
2018-03-16 06:06:13.237 [  1] I SensoryKeywordDetector:License expires on 09 May 2018 00:00:00 GMT
2018-03-16 06:06:13.237 [  1] W SensoryKeywordDetector:License will expire in 53 days
2018-03-16 06:06:13.507 [  1] I SensoryKeywordDetector:Sensory model default operating point 8
2018-03-16 06:06:13.507 [  1] I SensoryKeywordDetector:Sensory model new operating point 8
captureLoop start
[TTSUNXI_GenRnd] 0x16890001
[TTSUNXI_GenCode] ioctl(ptTTSUNXIState->w32FsInfo, 1)

(王大锤) #7

Sorry , Tom .May be I was wrong just now because the log of sample-wakeup show that the noise reduction algorithms library init OK . And what is the meaning of “but the ‘Tap to talk’ is OK”?It means you can communicate with the Dev Kit and the light is bright?


(王大锤) #8

By the way ,the wake word is “Alexa” but not “Aleax”,do you pronounce it correctly?


(GST) #9

Hi Kirin,

Yes. ‘Tap to talk’ was no need the wake word-“Alexa”. ==> | Tap to talk: | | Press ‘t’ and Enter followed by your query (no need for the ‘Alexa’).|


(GST) #10

Hi Kirin,

Sorry. Just missing type.


(王大锤) #11

hi~Tom, Its OK now?I use the same SDK to test just now and find that all the demo its OK .


(GST) #12

Hi Kirin,

I got it. Thanks for this trial.

Could you please also do this testing condition at your side ?

(1) Please do not connect these 3 speakers(L/R/SUB).

(2) Use the earphone via HP_phone jack.

(3) Do the voice wake word command by Alexa.

(4) Is it workable without external speaker by this special condition?

Thanks.


#13

Trying to update my device using LiveSuit from a Mac - LiveSuit says the downloaded image file is not valid.

adb pull /etc/avs/test.json . adb: error: remote object ‘/etc/avs/test.json’ does not exist


#14

I’m running into the same issue. Any solution?


(bpi team) #15

new image update: