
Ron
@CodeMonkeyZ • 443,231 subscribers
Haskell Programmer | Utility over Meme | Code is law https://t.co/93O5CnMAs4
Shorts
Videos

I generally dislike paying someone else to make coffee for me, but here we are.
Ron31,542 просмотров • 1 месяц назад

Built this LORA chirp modulator and spectrogram waterfall plot software using Haskell. LORA chirp modulation is ideal for sending long range acoustic signals underwater, but there is not a whole lot of documentation about how to build a modem for it. Despite the lack of documentation, I figured out how to build it from scratch by first making a wave synthesizer with bindings to openAL, then used a lot of math to create the audio waves, audio filters, and assorted functions that bind it all together. The spectrogram waterfall plot was built to render directly into an ANSI capable terminal, but can easily be converted to render in a graphical application using sdl2 bindings. Since I am focused on the signal processing aspect, and this will eventually be used headless inside a drone, I didnt bother setting up the sdl2 bindings for this project. I had to make my own haskell FFT software since I did not want to use the FFI to bind a clang FFT library, and the pure FFT software available on hackage didnt have the performance I needed. I will be using these LORA chirps in my hardware submarine swarm builds to send and receive data from the command control node to the individual submarine nodes using a hydrophone array. [Warning: The audio on this video is annoying.]
Ron50,593 просмотров • 1 год назад
Больше нет контента для загрузки