Drosophila semi-intact heart preparations were prepared as described previously (Vogler & Ocorr, 2009 (link)). Movies of beating hearts were recorded for 30 s with a high-speed EM-CCD camera (Hamamatsu, C9300) at 130 frames/s. Data were captured using HC Image software (Hamamatsu). Movies were analyzed with Semi-automatic Optical Heartbeat Analysis software to quantify heart periods, systolic and diastolic intervals, systolic and diastolic diameters, fractional shortening, and arrhythmia indexes (defined as the standard deviation of the heart period normalized to the median of each fly) and to produce M-mode records (Cammarato et al., 2015 (link); Fink et al., 2009 (link)).