def match_target_amplitude(audioSegment_sound, target_dBFS):
    """
    Match the amplitude of an input signal to a target level.
    
    Args:
        audioSegment_sound (Audiosegment  (pydub)): input signal.
        target_dBFS (float/int): target level (in dBFS).
    
    Returns:
       matched_audio (Audiosegment  (pydub)): amplitude-matched signal.
    """
    dBFS_diff = target_dBFS - audioSegment_sound.dBFS
    matched_audio = audioSegment_sound.apply_gain(dBFS_diff)
    return matched_audio