A new instrument for acoustic emission activity, with an application to the thermoelastic instability