Trainable frontend for robust and far-field keyword spotting