Text this: Adaptive Beamforming Algorithm Using a Pre-filtering System