Actually here is what happens:
1) When I turn the music up OpenEars’ status is “Pocketsphinx has detected speech.” It never passes that phase as it thinks there is someone speaking instead of background music. Eventually it crashes. I need somehow to set a timeout for that and/or force a recalibration at this point.
2) When I start OpenEars with loud music (not insanely loud) from the beginning and before turning the music down I have this output:
2014-01-20 21:15:35.464 openEarsTest[6366:60b] Calibration time: 0
2014-01-20 21:15:36.163 openEarsTest[6366:60b] Pocketsphinx calibration has started.
2014-01-20 21:15:38.367 openEarsTest[6366:60b] Pocketsphinx calibration is complete.
2014-01-20 21:15:38.369 openEarsTest[6366:60b] Pocketsphinx is now listening.
2014-01-20 21:15:38.883 openEarsTest[6366:60b] Pocketsphinx has detected speech.
2014-01-20 21:15:47.429 openEarsTest[6366:60b] Pocketsphinx has detected a period of silence, concluding an utterance.
2014-01-20 21:15:47.743 openEarsTest[6366:60b] The received hypothesis is OK OK with a score of -998 and an ID of 000000000
2014-01-20 21:15:47.811 openEarsTest[6366:60b] Pocketsphinx is now listening.
Then if I turn the music down it seems to get my first sentences wrong. However after a few seconds it starts getting them right again.