A quick update: The ALSA audio project for Linux has a utility called alsaloop, which provides an audio loop back through “capture” and “playback” interfaces. On the Toradex Apalis iMX8 platform, using alsaloop, I was able to play an instrument in a loopback configuration with an analog “line in” and a headphone jack. This is a huge deal, because it allows for an analog-in to digital to analog out path, and a great embedded device for building a complex effects processor!👍 More work to follow!
More work with the iMX8 platform to try and mold it into an audio effects and/or digital audio workstation. Some quick tests recently have shown that USB audio is a little slow on the iMX8, in that the set up has a noticeable delay and that the USB interface doesn’t quite keep up. That is, at least with the port audio stack. So, the other option is to run analog in/out on the board, and have it work more like a deluxe effects box. The analog in sounds great. An analog out test is next.
It's been a while, but I simply had no "spark" as far as writing new/interesting software is concerned, for the last little while.
This is related to a work project, but I am well on my to creating a Qt/Golang-based Modbus simulation program. I have managed to bind Qt/Quick/Qml to Go, and this is all enough to run a full-blown simulation. More to come.
I am switching directions, but I am getting into what all I'd really like to do anyway, and that's solve a problem I have always seen with audio production setups. So, the new goal is to mostly skip over reinventing the wheel (USB audio) and delve into digital audio workstation development using embedded Linux and various control. Lots more to come.
This kind of took most of Sunday, but whatever.... I built Audacity for the Yocto embedded Linux. I have a graphical environment already, so it will be handy to have access to Audacity to get a summary of the audio capabilities on the Apalis iMX8 platform. Plus a little fun running Spotify in Fedora.
Living the dream! I have some hardware work to do on the STM32 (ie. making a whole design on a printed circuit board) before I can do much more with that system. A limiting factor, as well, is the latency minimization on the USB audio interface. It's still manageable to use for a certain number of effects, but I need to make sure that I can do enough audio processing to have a viable product. The backup is Linux, and I will pursue that in the coming weeks, as well.
Born: Radford, Va. USA 1973
Lives in Charlotte, NC
Occupation: Software Engineer
#nobot