Text this: A Semi-active Control Method for Structural Vibration Subject to Near-field Earthquakes