Experiments with sound files in Haskell

06 June 2020

This is a bit of a learning project about how to determine the pitch of sound from a given sound file. The primary goal of this project is to determine the notes being played in wav file and map it to it’s musical note.
read more...

Raspberry Pi Sense HAT before and after detaching it from the Pi

27 July 2019

I have a fascination about tracking the temperature inside of our apartment to see how it differs from outside. I already have a Pi using a DHT22 sensor in the bedroom, and now I want to track the temperature in the living room with a Sense HAT. After I attached the Sense HAT ontop of the Pi and did some test readings I was less than impressed: temperature readings were over 60 C and humidity readings were less than 20%. After some calibration to the temperature the results were still unsatisfactory, so after a few months I’ve decided to detach the HAT from the Pi and see that affects the sensor readings.
read more...

Yet another introduction to LaTeX

07 October 2017

If you’re reading this, you probably know what LaTeX is roughly. LaTeX works by first separating the content and layout of the document. The user can then specify the layout parameters and any design they choose. LaTeX is then used to create the final document, constraining the content to the design parameters. Since the document is produced after defining the content and design, the TeX engine has all of the information it needs to create an optimally designed document. This introduction is not so much about creating LaTeX documents, but an attempt to show how the structure of a LaTeX file relates to the document it produces
read more...

The making of a LaTeX pre-processor with Haskell - Part III

07 October 2017

Here I attempt to tackle creating a preprocessor that converts to LaTeX by using the expressiveness of Haskell and an over-abundance of functions.
read more...

The making of a LaTeX pre-processor with Haskell - Part II

16 February 2015

In the previous part, the progam could parse text for emphasized and bold characters. So there’s some functionality, except that it doesn’t do anything useful like produce output. In this part, I’ll implement parsing links Markdown stlye (this is really more of an implementation of Markdown than anything else at the moment), and then turn the parsed text into something useful!
read more...