In regions of the world where tuberculosis (TB) poses the greatest disease burden, the lack of access to skilled laboratories is a significant problem. A lab-free method for assessing patient recovery during treatment would be of great benefit, particularly for identifying patients who may have drug-resistant tuberculosis. We hypothesize that cough analysis may provide such a test. In this paper we describe algorithm development in support of a pilot study of TB patient coughing. We describe several approaches to event detection and classification, and show preliminary data which suggest that cough count decreases after the start of treatment in drug-responsive patients. Our eventual goal is development of a low-cost ambulatory cough analysis system that will help identify patients with drug-resistant tuberculosis.