Revert "color for alerts"

This reverts commit def512496e233e4e16c27aa853717db637430f93.
Weka Stub Class Driver.java

Created a stub example for weka called Driver, I used the example cited
in the sources Doc (weka-wiki), removed deprecated FastVector and
replaced with an arrayList. I also added Weka 3-7-10 to libs, and to
the class path. Make sure you download Weka if you want Driver to
compile(See Doc). Doesn't work yet, but wanted these changes committed.
First Commit off branch to save work

This is broken, however, I have begun to use jAudio to extract features
and save them in trainingListening
Switched to Tarsos and had great success in train

So I added a listen() and other helper methods to training listen()
that captures the matrix of mfcc feature vectors then saves to external
storage. Then listening final renames the template file with the name
that is stored in preferences (with .xml added)
It Detects

So it has some ui bugs to be sure, but this thing now does a
convolution (of some sort, I'm going to keep tuning this and chatting
with stephen about this) but this code will detect trained sound based
on the sum of dot products over a time window reaching a threshold. Ill
work on refining this
more stable build -general testing

firmed up the ui on my version to avoid certain crashes i experienced
testing detection
fast works, but thread bugs

each sound has its own string of listeners, thread bugs
Merge branch 'master' into convultion-training/detection

Conflicts:
	bin/Knock_Knock.apk
	bin/classes.dex
	bin/classes/com/example/knock_knock/Notification_Screen.class
	bin/classes/com/example/knock_knock/R$dimen.class
	bin/classes/com/example/knock_knock/R$id.class
	bin/classes/com/example/knock_knock/R$layout.class
	bin/classes/com/example/knock_knock/R$menu.class
	bin/classes/com/example/knock_knock/R$string.class
	bin/classes/com/example/knock_knock/R$style.class
	bin/classes/com/example/knock_knock/SoundSettings.class
	bin/classes/com/example/knock_knock/SplashPage.class
	bin/classes/com/example/knock_knock/TrainingMenu.class
	bin/classes/com/example/knock_knock/backGroundListener$1.class
	bin/classes/com/example/knock_knock/backGroundListener.class
	bin/resources.ap_
	gen/com/example/knock_knock/R.java
	src/com/example/knock_knock/backGroundListener.java
Significant bug reduction

Now it stops when it says it will and does not going to a death spiral
when it detects. More testing to come, I'm sure there are still some
bugs I haven't found yet
Death to Services

Lot of changes, no more run-away services, but the main screen gets
pretty unresponsive listening to 2 sounds more then that and there is
ANR danger. Looking to some fixes but those will come on another branch.
Revamp from todays meeting

The convolution is now straight out of wikkipedia, still using mfccs.
Now there is a control thread that calls listen() in bglistener it is
now more responsive. The convo values do now appear appear to have
significance to the sound around them, now we just need to determine
how to threshold. There are comments in the code, and we'll talk
tomorrow ;)
Fixed Convolution Summation

(Seth you saw me do it) it was summing from -m to 2*m not -m to m (derp)
Found a way to normalize values

Trainlisten is stable, bglistener is a tad unresponsive and right now
just prints the normalized values.
Merge branch 'audio-detection-and-responsiveness-tuning-'
Some detection

This is essentially an onset detector, we could probably use a version
of this for live demos.