Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 12 17:43
    Sispheor closed #661
  • Jun 12 17:43
    Sispheor commented #661
  • Jun 12 17:25
    johnfelipe commented #661
  • Jun 11 18:33
    juergenpabel opened #662
  • Jun 11 05:34
    Sispheor commented #661
  • Jun 11 01:51
    johnfelipe opened #661
  • Jun 07 11:22
    juergenpabel commented #659
  • Jun 07 07:14
    Sispheor commented #659
  • Jun 07 07:13

    Sispheor on dev

    Added cache to Utils.get_dynami… (compare)

  • Jun 07 07:13
    Sispheor closed #659
  • Jun 07 07:12
    Sispheor commented #657
  • Jun 07 07:12
    Sispheor closed #657
  • Jun 07 07:12

    Sispheor on dev

    PlayerModule.convert_to_wav (#6… (compare)

  • Jun 06 22:53
    juergenpabel commented #657
  • Jun 06 22:49
    juergenpabel commented #659
  • Jun 06 22:46
    juergenpabel synchronize #659
  • Jun 06 22:02
    juergenpabel commented #660
  • Jun 06 22:02
    juergenpabel closed #660
  • Jun 06 22:01
    juergenpabel opened #660
  • Jun 02 16:05
    juergenpabel commented #657
Patrick
@corus87
AECFREEZEONOFF           0
AECNORM                  2.0
AECPATHCHANGE            0
AECSILENCELEVEL          9.99999993922529e-09
AECSILENCEMODE           1
AGCDESIREDLEVEL          0.004999999895517249
AGCGAIN                  10.94338969886303
AGCMAXGAIN               31.600000381469727
AGCONOFF                 1
AGCTIME                  0.9824014389887452
CNIONOFF                 1
DOAANGLE                 183
ECHOONOFF                1
FREEZEONOFF              0
FSBPATHCHANGE            0
FSBUPDATED               0
GAMMAVAD_SR              15.0
GAMMA_E                  1.0
GAMMA_ENL                1.0
GAMMA_ETAIL              1.0
GAMMA_NN                 1.100000023841858
GAMMA_NN_SR              1.100000023841858
GAMMA_NS                 1.0
GAMMA_NS_SR              1.0
HPFONOFF                 1
MIN_NN                   0.30000001192092896
MIN_NN_SR                0.30000001192092896
MIN_NS                   0.15000000596046448
MIN_NS_SR                0.15000000596046448
NLAEC_MODE               0
NLATTENONOFF             0
NONSTATNOISEONOFF        1
NONSTATNOISEONOFF_SR     1
RT60                     0.42410621885210276
RT60ONOFF                1
SPEECHDETECTED           0
STATNOISEONOFF           1
STATNOISEONOFF_SR        1
TRANSIENTONOFF           1
VOICEACTIVITY            0
SXXXR
@SXXXR
@corus87 no problem :) thank you very much!
1001111github
@1001111github
Anyone seen anything like this, or know who to ask. Aarch64 on the pinephone.
File "/usr/lib/python3.8/site-packages/kalliope/stt/SpeechRecognizer.py", line 368, in listen
frame_data = self._record_phrase(source, sec_per_buffer)
File "/usr/lib/python3.8/site-packages/kalliope/stt/SpeechRecognizer.py", line 304, in _record_phrase
chunk = self.record_sound_chunk(source)
File "/usr/lib/python3.8/site-packages/kalliope/stt/SpeechRecognizer.py", line 264, in record_sound_chunk
return source.stream.read(source.CHUNK, self.overflow_exc)
File "/usr/lib/python3.8/site-packages/kalliope/stt/SpeechRecognizer.py", line 64, in read
result = self.wrapped_stream.read(to_read,
File "/usr/lib/python3.9/site-packages/pyaudio.py", line 608, in read
return pa.read_stream(self._stream, num_frames, exception_on_overflow)
ValueError: Invalid number of frames
1001111github
@1001111github
The above is due to a problem when recording with a sample rate of 16K on the above platform. 12K or 24K sample rates work. Among the many applications affected by this is the Precise engine. I am off to let them know, lol
Riseryn
@Riseryn

Hello
I am trying in vain to configure mosquitto 1.6.12 to use a secure certificate connection with paho-mqtt. I have followed many tutorials and scum stackoverlow and other sites but I always get this error message:

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c: 1056)

Has anyone ever managed to do this?

Riseryn
@Riseryn
Happy new year everybody :)
1001111github
@1001111github
The recording at 16K problems was fixed with OS and python updates. I have a fully working POC of Kalliope working on aarch64 with integrated contacts and mapping.
Performance and packaging are my tasks now, lol
Riseryn
@Riseryn
congratulations
Juanpa
@juanpa669
Happy new year everybody ! ;)
jetadidas
@jetadidas
Hi ive downloaded and installed kalliope on a raspberry pi 3 b+ with buster full os with the script and it installed but i dont hear anything out of my tv.
Not sure if its running or not. I used the os system to install the script and it installed and i got nothing also i installed the stater kit in en and still nothing. CN someone help
1001111github
@1001111github

So, since I'm building an end-user package there are some differences from the developer level github package. In addition, since the Pinephone is performance limited I have built some custom processes. At this time I am planning two parallel builds, a bare metal aarch64 linux install and at least one docker image for Arch and Mobian (Debian).

The biggest difference is the need to use a standard linux location for configuration files.

- .kalliope or .config/kalliope
    - check as the final option before failing to the code location?

Every other change is unique to the my requirements. Most of them are implemented as a post kalliope install script:

  • community libraries need to live in the /usr tree not in userland

    • easy shell script solution during install
    • only needed for the consumer level deployment package
  • pre-compiled Kalliope sound files for answers

    • cache directory needs to be permanent, currently using a settings.yml value of "resources/tts_cache"
    • python script to build tts files
      • load the brain, parse all (neuron:say:message) triplets
        • this limits the ability to have dynamic responses, for example 'play radio' instead of 'play radio "input station"'
        • todo: integrate kalliope memory variables with static message content
        • todoto: calculate grammar tree for use of dynamic kalliope variables
      • one time run per distribution package build OR run at each install time?
      • will need to provide user access for customization
  • kalliope-mobile-[en,fr,it,de] kits

    • based upon kalliope-starter-* kits
    • configured for specific programs and architecutures
    • initial functionality includes
      • make phone calls using contacts
      • play music from playlists
      • play internet radio
      • volume/mute control
      • flashlight on/off
      • very alpha
        • display route in navit or gnome maps
        • search around a location
Any opinions or input would be extremely valuable. I am looking at an alpha release at the end of February.
Nicolas Marcq
@Sispheor
so, community, we all aggreee that the new default trigger should be mycroft-precise?
SXXXR
@SXXXR
in my opinion mycroft-precise would bei the best Option. With porcupine you need to retrain your custom hotword every 30 days, that's annoying as hell. I haven't tried sonus yet.
nevermind sonus uses snowboy...
Nicolas Marcq
@Sispheor
Nobody made a community trigger based on precise yet?
Patrick
@corus87

I would love to see an open-source trigger as our default trigger, but I’ve spent a couple of days with training different precise keyword (inclusive kalliope) with over 50gb of public sound data.
Most of my keywords were trash, it’s not very easy to train a keyword with precise...

Since there is fork of snowboy were chenguoguo (one of the developers of snowboy) merged an personal model trainer maybe this would be a simple solution to create a keyword for snowboy, but I didn’t test it yet.

But honestly I don’t know what we should do, if we make precise as our default trigger, we should provide a simple step-by-step guide to create a keyword.

I don’t have much time lately and also I didn’t looked into the development of precise for some time. but I think I read somewhere a year ago or so that they are working on a simple solution to provide custom keywords.

Ghost
@ghost~602aaf706da0373984620f76
Hey Guys! Awesome framework and I must say, I am hooked up already. Planning to set things up on RPi4 soon. Have a few questions before I begin. Anyone up for a quick chat?
Nicolas Marcq
@Sispheor
Fell free to drop your questions here @abh23 . People usually answer when they pass by.
1001111github
@1001111github
The precise trigger by @corus87 is here
It works like a charm. Is there a snowboy library for the Arm architectures? I have not found one. I am having to hack the build scripts because I cannot meet the snowboy.so requirement on aarch64. :( The precise community is quite friendly, supports precise well, and their libraries are maintained.
Patrick
@corus87
@1001111github this is my "private" branch, which isn't always up 2 date, instead use the official https://github.com/kalliope-project/kalliope_trigger_precise
1001111github
@1001111github
Ah, thank you, I did not know the official one existed. Good time to catch my error, lol
Ghost
@ghost~602aaf706da0373984620f76
Ok. Thanks @Sispheor . Do we have a link where hardware specific details have been captured related to RPi 4? For example, required SD card, Mic(any recommendations), etc.
Nicolas Marcq
@Sispheor
No
Lol. Required sd card. You made my day XD. Thanks
Ghost
@ghost~602aaf706da0373984620f76
By that I meant the size of the SD card. Wrong choice of words.
Riseryn
@Riseryn
Hello, does someone manage to boot rpi4 on usb ssd? I have followed a lot of tuto but it always fail with an error about the start.elf file. all steps i followed are ok with confirmation i have the latest bootloader but to no avail.
Sebastien Lekieffre
@versys650:matrix.org
[m]
Bonsoir a tous
je chercher de l'aide pour l'installation de Gmail neurons. j'ai installer Kalliope sur mon raspberry pi3 et tou fonctionne . j'essaye d'installer le neurons gmail mais quand je tapes la commande suivante il genere une erreur et je ne comprends pas comment resoudre l'erreur (ps je suis debutant dans le raspberry 🙂 ci dessous voici mon copie ecran.

pi@raspberrypi:~ $ kalliope install --git-url https://github.com/kalliope-project/kalliope_neuron_gmail.git
Cloning repository…
Checking repository…
Resources folder for neuron installation not set in settings, cannot install.
Traceback (most recent call last):
File “/usr/local/bin/kalliope”, line 11, in
load_entry_point(‘kalliope==0.7.1’, ‘console_scripts’, ‘kalliope’)()
File “/usr/local/lib/python3.7/dist-packages/kalliope-0.7.1-py3.7.egg/kalliope/init.py”, line 109, in main
res_manager.install()
File “/usr/local/lib/python3.7/dist-packages/kalliope-0.7.1-py3.7.egg/kalliope/core/ResourcesManager.py”, line 92, in install
raise ResourcesManagerException(“Invalid settings”)
kalliope.core.ResourcesManager.ResourcesManagerException: Invalid settings
Nicolas Marcq
@Sispheor
@versys650:matrix.org ce Channel est pour les anglophones. Il y a un channel fr. Sinon le neurone Gmail ne marche plus.
Sebastien Lekieffre
@versys650:matrix.org
[m]
OK merci à vous desolé
Juanpa
@juanpa669
hello !
Juanpa
@juanpa669
@corus87 It is not possible to do that ?
  neurons:
    - kodi:
        get_volume: true        
        set_volume_to: "{{ current_volume }} + 10"

2021-04-03 14:28:25 :: kalliope-0.7.1 :: [LIFOBuffer] process_neuron_list: is_api_call: True
2021-04-03 14:28:25 :: kalliope-0.7.1 :: [NeuronLauncher] replacing brackets from {'get_volume': True, 'set_volume_to': '{{ current_volume }} + 10', 'is_api_call': True}, using {'mqtt_subscriber_message': b''}
2021-04-03 14:28:25 :: kalliope-0.7.1 :: [NeuronLauncher] replacing brackets from True, using {'mqtt_subscriber_message': b''}
2021-04-03 14:28:25 :: kalliope-0.7.1 :: [NeuronLauncher] replacing brackets from {{ current_volume }} + 10, using {'mqtt_subscriber_message': b''}
The parameter current_volume is not available in the order
2021-04-03 14:28:25 :: kalliope-0.7.1 :: The parameter current_volume is not available in the order
Missing parameter in neuron kodi. Execution skipped
2021-04-03 14:28:25 :: kalliope-0.7.1 :: Missing parameter in neuron kodi. Execution skipped
2021-04-03 14:28:25 :: kalliope-0.7.1 :: [Cortex] Clean temp memory
Patrick
@corus87
@juanpa669 No it's not possible this way. But I've added two new parameters to the kodi-neuron , add_volume and reduce_volume
Juanpa
@juanpa669
@corus87 Ok thanks I will take a look ;)
bruhmastir
@bruhmastir
Hi
I downloaded the android app but it asks for a host and server and other things
How do I go on with setting it up?
Juanpa
@juanpa669
@bruhmastir it's the IP of your Kalliope host with user and passord to connect to it
*password
Riseryn
@Riseryn

Hello, I am testing a neuron that I realized but I have a problem during the installation with this message
Resources folder for neuron installation not set in settings, cannot install.
in settings I have:
resource_directory: neuron: "resources/neurons" stt: "resources/stt" tts: "resources/tts" signal: "resources/signal" trigger: "resources/trigger"

here is the error message:
Resources folder for neuron installation not set in settings, cannot install. Traceback (most recent call last): File "/usr/local/bin/kalliope", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/kalliope/__init__.py", line 109, in main res_manager.install() File "/usr/local/lib/python3.8/dist-packages/kalliope/core/ResourcesManager.py", line 92, in install raise ResourcesManagerException("Invalid settings") kalliope.core.ResourcesManager.ResourcesManagerException: Invalid settings

Nicolas Marcq
@Sispheor
Difficult to identify the problem without a syntax highlights and your exact configuration