sansumbrella/MP3Trigger-for-Arduino — pull request #2 by carlfj (2012-01-16 04:00:36+00:00)
Title: Quiet Mode functionality and SoftwareSerial support

I fixed an endless loop bug when a track is set to loop when a track is already playing. I added Quiet Mode functionality and SoftwareSerial support.
There seems to be another fork with NewSoftSerial support, but since it has turned into SoftwareSerial for Arduino 1.0, I don't worry about that. Furthermore I changed the WProgram.h to Arduino.h, since that is the standard for Arduino 1.0.
With Quiet Mode I chose to not store the three input bytes, but instead parse them and call callback function for each active input. Most of the time inputs are registered one at a time, so I wanted it to have the lowest latency, but still support simultaneous input. Bytes of value 0 are not parsed, for instance.

Regards Carl