Direkt zum Hauptbereich

Posts

Project Sinos: The Self Learning Leveler

This article also refers to my series of earlier articles regarding  Project Sinos . Did you ever think about how you understand language? How do you manage to recognize the language from all the noises in the environment when someone speaks to you? Almost nobody thinks about it. But it becomes essential if you want to recognize speech electronically. Frameworks like CMU Sphinx may can take over the recognition of words and the formation of meaningful sentences. But permanently analyzing all noises of the environment brings miserable results. This is why smart speakers usually need to detect a Hot Word like "Alexa" or "Hey, Google". In case of cloud based smart speakers, they would also produce a huge amount of network traffic if sending permanently all noises to their decoding service. This shows the need for hot words. Well, how do you do that exactly? Hot Word Detection The simplest part is the detection of the Hot Word itself. You just need to detect the (alrea
Letzte Posts

What's wrong with Java3D? Part I

In order to get some distance from my current smart home project, I dealt with Java3D . I wanted to find out if it was possible to develop a 3D game with it. In theory, it should be possible to make a game using a 3D API based on OpenGL, like Java3D is. However, Java3D has a not unimportant catch: its complexity. Perhaps this is also the reason why there are so many beginnings and advances on the internet by some courageous developers who received little or no feedback on their projects. Many questions remained unanswered - on stackoverflow.com . I know Java3D is old. But that is precisely why one would have to find countless answers and examples on the Internet - especially about 3D games. But that is not the case. So why? When I started to investigate whether and how it is possible to develop an FPS, I always found the same examples , but never a coherent project. The basics of three-dimensional computer graphics are difficult to understand at the beginning. In addition, Java3D c

Project Sinos

In my previous post I mentioned Project Sinos. Now, there is a large step towards an installation script. Installation Script May Contain Errors Please note that the installation script is still in an experimental stage and can contain all kinds of errors !  To ensure that the script does not conflict with your own configuration of your Raspberry Pi 3, please check it before running. Installation Sources For Sinos The installation sources can be found on GitHub under the following link: (link not available yet) Download bot files. main.zip setup.sh For installation, both files (sinos.zip and setup.sh) must be downloaded and located in the same directory. Then a call to setup.sh with root rights is sufficient (you may need to make setup.sh executable by calling chmod +x setup.sh ). After this, the installation and configuration should run. Errors may occur during installation. These have to be considered and corrected in detail. There is no guarantee for the fun

Project Sinos - Back To Open Source

After my previous smart home project with Snips.ai failed due to Sonos buying Snips, I was forced to find an alternative to offline speech recognition with Snips.ai. Project Sinos Unfortunately, there were no real open source alternatives. At least I couldn't find one. So I took matters into my own hands. Project Sinos was born. ("Sinos" is a pure artificial word, derived from the Latin Sinus.) CMU Sphinx - How To Listen Offline The first and apparently biggest problem was finding an open source software for offline speech recognition. To my astonishment, this was solved very quickly after I discovered CMU Sphinx . Developed by Carnegie Mellon University, it is the offline speech recognition tool. In addition, quite a few languages are supported (including German). It has little, very little competition. After the first quick successes, however, there were considerable problems in recognizing specific words in order to identify intents. I was able to f

How To Set Up Snips.AI on Rock Pi S - Part 4: Back To Zero

Update Snips.ai has been acquired by Sonos ( see this message of Sonos ) and Snips Console will be discontinued at the end of January 2020 ( see this message of Snips ). Under this circumstances, it makes no sense to continue this project. 😔 Installing Snips.AI Well, you read until here, so I guess you really want to use Snips.ai on your Rock Pi S. So let's solve some new problems. The usual way to install Snips.ai is to use another computer in the same network and execute the following steps: sam connect <device> sam init sam ... But - this does no longer work. A Short Tale Of Workarounds Currently (2019-12-18), it is not possible to install Snips.ai agent on the previously prepared Rock Pi S with Debian Stretch, hence there are no binaries for  arm64-architecture  of stretch. Unfortunately, arm64 is the current architecture of the Rock Pi S' CPU. I've tried some things before I found a solution. This is the list of things that  did not  work

How To Set Up A Rock Pi S - Part 3: The Sound

After the 2nd part of the Rock Pi S setup , I was confident to get some sound out of the board after I made a little hardware hack and connected it to my speaker (with amplifier). Unfortunately, the command speaker-test -t wav -c 2 did not bring any sound out of the Rock Pi S. So there still was a problem left and I had to google it once more.  Thanks to DIYprojecz in Radxa Forum ... I was once more able to fix a problem. For details see  https://forum.radxa.com/t/audio-support-rock-pi-s/1686/28 . What needs to be done: sudo su route add default gw <your.gateway.ip.address> eth0 echo "deb http://apt.radxa.com/stretch-testing/ stretch main" | sudo tee /etc/apt/sources.list.d/apt-radxa-com.list wget -O -  apt.radxa.com/stretch-testing/public.key | sudo apt-key add - apt-get update apt-get upgrade apt-get install -y rockchip-overlay rockchip-fstab apt-get install -y linux-4.4-rockpis-latest rockpis-dtbo apt-get autoremove chmod a+r /etc/group The New P

How To Set Up A Rock Pi S - Part 2: The Network

After the successful initial set up of my Rock Pi S, I started going on with my project self made smart home assistant. Therefor, it is necessary to configure the network interface. SSH Does Not Mean Network Is Fine Though we already are able to connect to the Rock Pi S via SSH, we probably cannot yet ping servers outside our local network. A ping to google.com, for example, will result in no answer: Destination Host Unreachable The reason is, that there is no standard gateway set in the network configuration, which causes, that only local network hosts inside the same subnet can be reached. The gateway is like the door of your flat. If You don't know, where it is, You cannot even leave your flat and see the rest of the street. To find out your standard gateway, there are different approaches between Windows and Linux. Maybe You need to investigate this for your client operating system. On Windows, You open a command line and type: ipconfig The output loo