Text this: The discrete pulse transform and applications