tararoys/KeyboardCrud — pull request #2 by tararoys (2014-03-16 14:12:53+00:00)
Title: Interface

Hi, guys!

This branch is the the part of the project that is closest to 'working.' Here's what working means:

1. You can log in
2. You can create a keyboard
3. When you create a keyboard, you can pick
a. your frequency
b. the key you want to play that frequency at

The frequency and the key get stored to the database, so if you visit that keyboard again, you can play it.

The two biggest merging issues will be
1. The database.yml. I changed it so that our database was postgresql
2. The keyboard.js In order to get the keypresses working, I deleted everything that didn't pertain to the keycode and the frequency. I did this because the most important thing was to be able to press a key and hear a sound. That part works like a charm.

1. The keyboard.js is ready to have the SFX added back in.
2. The crud app is not ready to have SFX added back in. The reason is because most of the SFX are stored as integers in the database when they need to be stored as floats.

In order to get SFX working nicely in javascriptland and CRUDland is for Jay to edit the keys migration so that the things that need decimals are stored as floats, the things that need integers are stored as integers, and the things that need strings are stored as strings.