I use linux so I thought I would let you know about some wrinkles I had and subsequently ironed out.
If you use a newer version of Soundsense it is important to use the sun version of Java or else it won't work and give you errors about mute not being supported. On my computer Sun Java taps into the sound system in a clunky way so that Soundsense couldn't play more than one sound at a time. When it couldn't it would give an error like:
10/04/2011 02:37:26.309: Exception with ./packs/mining/52143__blaukreuz__imp_01.mp3: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 48000.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.: line with format PCM_SIGNED 48000.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
To fix that problem I used aoss (which is provided by the alsa-oss package in ubuntu) to run java.
The last line of soundsense.sh could be changed to something like:
if [ -e /usr/bin/aoss ] ; then
aoss java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense
else
java -Djava.util.logging.config.file=logging.properties -cp $CLASSPATH cz.zweistein.df.soundsense.SoundSense
fi
I suppose there is the chance that it could screw something up for someone else but it works well for me. Besides if aoss isn't installed (or at least where we expect it) then it will also do what it did before. I do remember seeing someone in this thread who had problems on Linux when 3 sounds played simultaneously and this might fix that. Also when you save the soundsense.sh file make sure you save it using UNIX style line feeds so that it will run properly.
Keep up the good work.