File size: 581 Bytes
de9c0fe b6c1b75 de9c0fe | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | MIC_FRIENDLY_NAMES = {
"audio": "Zoom F8 field recorder (TAU device A)",
"audio2": "Samsung Galaxy S7 (TAU device B)",
"audio9": "iPhone SE (TAU device C)",
"iphone": "Local iPhone recordings",
# These clips were captured both with the MacBook mic and AirPods Pro;
# keep the class label stable but surface the combined description.
"laptop": "AirPods Pro / MacBook built-in microphone",
}
def describe_label(label: str) -> str:
"""Return a human-readable microphone description for a raw label."""
return MIC_FRIENDLY_NAMES.get(label, label)
|