def loudness_value(loudness: int):
        """Turn special toak of loudness value [0, 30]"""
        assert loudness >= 0
        loudness = max(0, int(loudness))
        loudness = min(30, int(loudness))
        return f"<|loudness_value_{loudness}|>"
Turn special toak of loudness value [0, 30]
mlx_audio/tts/models/spark/utils/token_parser.py