Thursday, October 30, 2014

Chatterbox source available

Finally made chatterbox available for anyone to download, use, and fork. Some of it is a little rough, especially on the client, but feel free to make it better!

Note that there is no server hosting this, if you want to try it out for yourself, I recommend starting the server. Then open a client (or several), hit ctrl+L to open the advanced settings, and enter the address of the server (which defaults to the current machine on the default port).


Sunday, February 23, 2014

Ez Squeeze alpha release

Find it here: and be sure to check out the release notes and instructions.

It's still very rough, but begin testing.

Also I am strongly thinking about porting it to be a web app for easier distribution, updating, and setup.

Wednesday, January 22, 2014

Lemonade Stand Updates

This rewrite is going very well so far and I thought I'd post the current screenshots of what it looks like.
I optimized the purchasing to minimize the amount of clicks it takes in order to start the next day prepared, and I'm making the interface cleaner. Everything is still subject to being changed though. I also thought a main menu would be much nicer than abruptly going to the game screen.

Checkout for the code repository.
Here are the screenshots:

Update 2/10/14

I expect to have version 3 Alpha released in 2 weeks from now. This version will be a bare bones, development release so people can begin trying it, and report any problems so far.

Wednesday, January 15, 2014

EZ Squeeze Update?

I'm hoping to find some time soon to work on my lemonade stand game some more. The 2D graphics version is still a long ways off because I haven't had a chance to do anything. But I feel like an intermediary advancement to the prior version with some design and feature improvements would be worthwhile. It turns out that I should have planned much more when it came to many of my older projects, because it seems that I mis-estimated the amount of time and code it would take.

Tuesday, January 14, 2014

Raspberry Pi Midi Project

Last semester I worked with a couple classmates for a project course to create a raspberry pi theremin. It ended up turning out slightly different but here's a short demo.

(My computer is only in the video to ssh into my pi and run the code)

Our initial idea started as a raspberry pi theremin using sensors rather than antennas to create music. However it was much more interesting to be able to have different instruments available to the player. Our plan was to create a web interface in rails with configurable sound options (such as note length, instrument, metronome, attributing different controls to certain sensors, and a lot more). Unfortunately we ran into a lot of issues with synthesis and hardware shipping delays, so we were unable to finish the web interface and connect it with the raspberry pi in time for our final project demonstration, or at all for that matter because we had to return the lent hardware. Fortunately our project was very unique compared to the rest of the class and the instructors understood how many obstacles we had to overcome, like not receiving the special cable we needed to connect our sensors until the evening before the demonstration.

For a little more about how we did it, we used ruby on a raspberry pi to get data from analog proximity sensors from an arduino over the standard usb serial connection. The data is normalized, and then converted into midi notes which are then played through timidity. The audio quality is much better than we expected from the raspberry pi, but took a lot of time to perfect. Originally we started using different libraries and methods such as fmod (terrible pitch quality on pi), or using a java midi sequencer within jruby (90 second program run delay) but those options became unreasonable. We eventually decided the best choice was timidity using a fluidsynth soundfont. Using midi allowed easy synthesis of different instruments and options to configure the sound.

If you're working on a similar project, feel free to ask for my input on here or Google+ and I'll see if I can help. I also have a document for setting up timidity as I did in this project: