Fixing Audio Output with Java 11 on the Raspberry Pi

Ray.Edgley's picture
Notes for when running on the Raspberry Pi with the Rasbian Buster OS.
 
When using Java 11 OpenJDK, you may find the audio from the Text To Speech coming out the HDMI port instead of the selected 3.5mm Audio socket on the side of the Raspberry Pi.
This is caused by Pulse Audio not following the requested settings and routing the audio from the Java apps to a different output, the HDMI like it or not.
The solution is to edit the Java sound.properties file.
 

Speech recognition with chromium does not work

Gule's picture

Got the same problem with speech recognition as mentioned in another topic. Mic status is always changing between ready and not ready. After a few seconds MRL shows an error: Too many events.

I would like to go around speech recognition and control my robot with written commands. How I can do this?

Using the forum

Gule's picture

Hi,

I am new to myrobotlab and the forum. My first question is how and where can I search for topics in the forum? There is no field to enter a subject I am looking for.

For Grog

HaL's picture

For some reason the noworky would'nt send from my mrl so here it is:


MPU6050 Testing Matrix

Ray.Edgley's picture
MPU6050 Controller  OS ver  MRL ver Pi4J ver
Raspi 3 No Worky Buster 1.1.446 1.2
Raspi 4 No Worky

InMoov dont speak russian

VALL-E's picture

Hello

downloaded and installed latest version 1.1.497

changed "service_5_Mouth.config" :

     Speechengine=LocalSpeech

     VoiceName=Pavel    //  also tried    VoiceName=0    VoiceName="Microsoft Pavel - Russian (Russia)"

BUT recieved error:

15:01:46.555 [python] ERROR c.m.f.Service [Service.java:2038] i01.mouth error could not set voice Pavel - valid voices are

...

Quartus II web version 15.0 - Intels FPGA Programming Suite

Gareth's picture

Quick Schematic Guide to programming FPGA's using Intels Quartus II programming Suite.

Goals :-


Pulling what's left of my hair out

Ray.Edgley's picture

Been trying to get the MPU6050 6 DOF accelerometer/gyroscope working in MRL.

I can get it to attach and even return some data, except the data doesn't make sense.

With the MPU6050 held stationary, the should always be an acceleration in the downward direction of 1G or between 9.8 and 10 m/s depending on where on the planet you are located. (the lower value closer to the equator)
There should also be a constant low speed rotation of about 0.00416 degrees per second (the planet turns fully once per day)


Experimenting with the NeoPixel arrays on MRL.

Ray.Edgley's picture
Most builders of the InMoov robot have eventually installed the NeoPixel ring with 16 Pixels in the stomach.
When working, these little multi colored LED unit can look very impressive.\
As Part of Fred's program, I also wanted to use these marvelous devices.
Of course I had to be different :-) and add extra NeoPixels to the ring.