Issue
I want to invest to test command my application through voice command something like "OK GOOGLE". In addition to the method of using speakers to speak loudly, how can I say "OK Google" through ADB?
Thanks a lot
Solution
I was using Audio Loopback Dongle for call simulation. Hope it will works for commands too
wav generated by sudo apt-get install libttspico-utils
pico2wave -w google.wav "OK Google"
Move to device
adb push google.wav /sdcard/Download/
Playing wav by VLC:
adb shell am start -n org.videolan.vlc/.StartActivity -a android.intent.action.VIEW -d file:///sdcard/Download/google.wav -t 'audio/wav'
Answered By - lojza
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.