<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fader(self, value: int):
 """Move the fader to a new position in the range 0 to 1023."""

        self._fader = int(value) if 0 < value < 1024 else 0
        self.outport.send(mido.Message('control_change', control=0,
                                       value=self._fader >> 7))
        self.outport.send(mido.Message('control_change', control=32,
                                       value=self._fader & 0x7F))