moz4r's blog

Control audio with I2C amplifier MAX9744

moz4r's picture

Hi all ! I want to use this audio amplifier to control volume dynamicaly.
Is mrl can already handle it or this hardware need to be borged ?

https://learn.adafruit.com/adafruit-20w-stereo-audio-amplifier-class-d-m...


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

Hi ! I share this if it is usefull . One day I learn eclipse to make services I think it will be more clean...

1/ GEt your api key

http://openweathermap.org/appid

2/ Set this VARS

WeatherMapMeteoApi="XXX"
units="metric"

3/ The code ( part of global project but the essential is here )

https://github.com/MyRobotLab/aiml/blob/master/bots/BOTS-FRENCH/Inmoov_A...

4/ The Aiml ( french )