'Returns a message using the signal\'s specifications, if possible.'

def to_message(self):

    if self._msg:
        return self._msg
    if (not self._type):
        raise MidiHubException('Cannot    build    message    if    type    is    not    inferrable.')
    return mido.Message(self._type, **self._kwargs)
