transducer
noun
°A device that converts energy from one form into another.
°A state machine that generates output based on a given input.
synonyms: transductor