Text this: Design of a flexible digital baseband signal processing algorithm