There are numerous howtos for Raspberry Pi and other portable computer voice applications, like this one, but generally they are using Google’s voice api. This may work… when the wifi or network is working, but not only is this sending your voice to google, it requires payment for usage over a certain amount. Users of your robotic application may be not so thrilled when they see it is sending audio samples to Google, and that it does not even work if there is a wifi hiccup! Instead, let’s go through a simple on-device installation that works fairly accurately with no external dependencies!Continue reading “Speech recognition made easy”
Happy Palindrome Day! Again and again!
As you may have heard, 02-02-2020 is a very “palindromic” day today. Especially so in that in either date formatting you use, the numbers are the same backward as forward (assuming you use 02 not “2” that is). Matt Parker was quite excited, in fact he was beside himself in his latest math video:Continue reading “Happy Palindrome Day! Again and again!”
Building a repeater app for Linux, part 5: Subprocess for listening to the radio
With the number of cheap RTLSDR devices that let you listen to radio or ham radio, it’s only natural to want to check out each of the repeaters and their use when you go to a new area. In fact, once you have a device set up correctly it is easy to integrate that (or any other command line features) into your project.
To start with I set up a class based on what I added for Hearham uploader – this will make the command run in a separate thread, continuing the process until it is killed. An ongoing process must not be on the same thread as the GUI (in any interface, Java, Android, or GTK…) This is going to use subprocess module as it can make it easier to use an existing utility (rlt_fm command in this case), rather than doing the whole signal processing in Python.Continue reading “Building a repeater app for Linux, part 5: Subprocess for listening to the radio”
Building a mobile app for Linux, part 4: GPS/mobile tracking
Another important part of many mobile apps is location tracking – there is, fortunately, there is a built in api for most Linux systems called Geoclue that should work… There is even a Python-geoclue package, but after some digging I found that this package does not work in Python3. In fact it’s hard to find examples or documentation, if you look at the files of the package you can see there are some basic docs:Continue reading “Building a mobile app for Linux, part 4: GPS/mobile tracking”
Winlink setup on Linux in three easy steps!
One common misnomer about the amateur radio email network Winlink is that Winlink is just for Windows. Here is how to set up an account on Linux:Continue reading “Winlink setup on Linux in three easy steps!”
Building an amateur radio app for Librem Phone, part 3: Responsive on small screens
With a working Linux application, it’s time to test it out on a real (well, virtual) device. Starting up the emulator for debugging in the same way as before, to debug this project I ran:Continue reading “Building an amateur radio app for Librem Phone, part 3: Responsive on small screens”
Building an amateur radio app for Linux, part 2
In the previous post I showed how to add some icons to an application showing OpenStreetMap, with Python and GTK+. Next, I’ll show how to make a listing of nearest repeaters to selected area. The listing of all repeaters is in the local array, and since there is a .distance(lat,lon) that gives the distance to a point, the list of repeaters can be sorted by closest to a certain point that is selected – in the on_button_release function. The Python Gtk guide shows an example that can be integrated in to the code to add a Listbox. The listbox should be “self.listbox” so various functions can access and change it. Below the other widget/control code, this must be added, within a gtkScrollWindow or adding many items will expand the window awkwardly:Continue reading “Building an amateur radio app for Linux, part 2”
Building an amateur radio app for Linux, part 1
There are several amateur radio apps like Repeaterbook, but oddly enough no native Linux apps for offline map viewing? Why are all the radio repeater apps for iOS or Android? With the Librem 5 phone coming up, this is going to be an important app to make for Amateur radio enthusiasts! So let’s make the most feature-packed and easy to use repeater app using Python 3 and the osm-gps-map library:Continue reading “Building an amateur radio app for Linux, part 1”
Laravel deployment on your server, step-by-step
Laravel is a widely used, useful web app framework to use, but one thing you may notice is it can be a bit complex to set up on production server. I recently set up a small webapp I had been working on for Amateur radio operators (hearham.com), and there are several steps that are not so well documented. If you self host or host on Amazon or Digital Ocean these steps should help you to also get a simple webapp up and running:Continue reading “Laravel deployment on your server, step-by-step”
It’s time to upgrade your code for Python3!
If you have been keeping up with Python news you will know that Python 2.x will not be supported in 2020 🙁 While it was the default install for many many years it’s time to get your scripts updated if you haven’t yet. As an example, here is how I modernized the ancient Robot Candy Thrower Code:Continue reading “It’s time to upgrade your code for Python3!”