Kalliope Voice Assistant on Mobian
#7
And I have successfully built on Arch and Manjaro.

# load system python libraries
pacman -S python-gitpython python-pyaml python-pyaudio python-six python-markupsafe python-pyasn1 python-ansible
pacman -S python-jinja python-flask python-requests python-httpretty python-mock python-packaging python-sounddevice
pacman -S python-paho-mqtt python-gevent

The Arch package svox-pico-bin has not been ported to aarch64 yet. So I hacked the Debian versions to fit.
Grab the Debian aarch64 library packages from https://packages.debian.org/bullseye/all/
libttspico-data
libttspico-utils
libttspico0

I did the following on an x86 Arch machine as I have not built debtap on aarch64
debtap each package. During the build edit each package name and remove the "-git" from it
Additionally, while editing the build file for libttspico0 change aarch64/gnu/linux/glibc to just glibc
pacman -U the files produced by debtap. The order matters, first data, then the lib, then utils
The library files will be in /usr/lib/aarch64-gnu-linux. Move them to /usr/lib

sudo pacman -U ./libttspico-data-
sudo pacman -U ./libttspico0-
sudo pacman -U ./libttspico-utils-

sudo cp /usr/lib/aarch64-gnu-linux/libttspico* /usr/lib
sudo pip install precise_runner
sudo pip install kalliope    (wait, it is a 1 hour build now, down from 3 Smile
get the starter kit for your language
https://kalliope-project.github.io/starter_kit.html

kalliope install --git-url https://github.com/corus87/kalliope_trigger_precise.git

Configure and .....

"Sheila"
"Yes Boss"
"Phone Jim"
"Calling Jim"
......

Working on integrating location, so that queries like "tell me where the closest something is" will work.

Since I have Kalliope working on Arch/Manjaro I am dropping the Mobian work. I really don't want to but too many of the libraries in Debian are archaic, to put it politely, and  not suitable for a bleeding edge (amputee ward?) system like the Pinephone.

YMMV
LF


Messages In This Thread
RE: Kalliope Voice Assistant on Mobian - by bcnaz - 11-07-2020, 07:55 PM
RE: Kalliope Voice Assistant on Mobian - by Lousy Fisherman - 11-20-2020, 10:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Jarvis voice assistant biketool 1 155 Yesterday, 03:11 AM
Last Post: biketool
  Reboot Modem on Pinephone in Mobian eggmatters 5 506 06-17-2021, 02:08 PM
Last Post: eggmatters
  Axolotl on PinePhone / Mobian arno_nuehm 93 22,119 06-11-2021, 07:16 AM
Last Post: ergo owl
  Mobian not updating via Software app FOSSagent0 2 234 06-07-2021, 09:22 PM
Last Post: Zebulon Walton
  mobile data on mobian not working synaption 1 174 06-02-2021, 03:16 PM
Last Post: Aberts10
  How do you copy and paste into mobian terminal? Do you ssh instead? temp0rary 6 308 06-01-2021, 12:16 PM
Last Post: temp0rary
  Turn by Turn alternative GPS app in Mobian livanti21 27 12,394 05-30-2021, 03:17 AM
Last Post: john_doe
  Can't update OS Mobian Phosh Gon 5 492 05-23-2021, 10:52 PM
Last Post: pajux
  Mobian: 2 week as main phone steves 10 1,520 05-18-2021, 11:55 AM
Last Post: vortex
  Printing from Mobian johnd 2 404 05-13-2021, 01:07 PM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)