moz4r's blog

PIR sensor and sleep mode

moz4r's picture

Good evening Dave.
Long time ago I have installed this sensor but never used it in interraction with other services.
Don't know if the method I used is a good method but worky great !

this is the code about pir and timer


real mouthcontrol - audio signal processing

moz4r's picture

This post to talk about the best way to use audio signal processing through mrlcomm protocol without additional arduino code.
I've done some test it worky so great!
It can be enhanced to be standardized more about voltage input, I hope so. An idea?

 


Doctor AIML

moz4r's picture

Hi friends ! I spend a lot of time to check aiml files. I was thinking I can create an algo that can do the job for me.
This is a tool that check integrity and more of an aiml set.
( It is very beta )

 

AIML tools :

FILES INDENTATION FIX
PATERN TO UPERCASE, UTF8 FRIENDLY

INTEGRITY CHECK :


[Inmoov Script] Merge Them All !

moz4r's picture

[WIP status] :

- gestures integration
- Spanish translation
- Automatic attachement/detachement with the help of autoattach()
- Chatbot corrections

 

Because standardization is the key of great things this base community script is born.


MRL cloud

moz4r's picture

MMMmm, hi ! Just an idea to discute about.

MRLcloudServer can be used , exemple to :

  • USE MULTIPLE TTS WEBSERVICES TO CACHE ( high availability and better lantency )
  • OFFICIAL TTS SERVER
  • SHARED KNOWLEDGE
  • VERSION CHECKING ( if mrlclient or script is outdated and broken )

What do you think about this architecture about tts :

 

 


AudioPlay mouthcontrol MaryTTS

moz4r's picture

This is a tip to have MRL mouthcontrol worky with external mp3 and maryTTS

( waiting something cleaner : other acapela service or maryTTS audioplay or mouthcontrol in audioplay )

add this at the top of your script :

AudioFile = Runtime.createAndStart("AudioFile", "AudioFile")

and this is to play the sound with mouthcontrol


MaryTTS - go further [post can be deleted]

moz4r's picture

[don't know how to delete the post]

--------------------

This post to list what we can do with the MaryTTS service in MRL.

I just discover it, there is a lot of interresting things

AudioEffets ( great tool to tweak the voice ) :

mouth.setAudioEffects() ->

Robot
Whisper
F0Scale
F0Add
Rate
Whisper
Stadium
Chorus
FIRFilter
JetPilot

Download voices

installSelectedLanguagesAndVoices() ->


Marty the robot powered by Myrobotlab !

moz4r's picture

Marty using MRL inside, great ! I'm using raspi + Adafruit16CServoDriver only.

 

 

 

Small setup :


openweathermap Weather API

moz4r's picture

updated this post to use openweathermap service, instead of python script

[ [service/OpenWeatherMap.py] ]

https://github.com/MyRobotLab/pyrobotlab/blob/develop/service/OpenWeathe...


Inmoov OpenCV test

moz4r's picture

Hi all ! I'm starting working on opencv, I need to read lot of documentations of course,it is so big.  But is the method I used is the way to do ?

 

I use the main loop of published onOpenCVData and intercept the boundarybox data of the facefilter