Text this: Real-time segmentation of heart sound pattern with amplitude reconstruction