Text this: Magnetically tunable 4 × 2 encoder utilizing Terfenol-D-embedded phononic crystal ring resonators