foley.index.taxonomy.seed#
Seed taxonomy data — a representative in-code UCS subset + AudioSet overlap map.
This is the OPEN/CLOSED seam (report 04 §5.3, [11 §3.1]): a small hand-curated
seed lives here in code; the FULL UCS master (82 categories / ~750 subcategories)
and the EnvSound-UCS AudioSet->UCS / FSD50K->UCS tables drop in later as JSON
under taxonomy/data/ and are merged OVER this seed with zero logic change.
Confidence: only WEATHRain and DOORWood are treated as authoritative CatIDs;
every other row carries confident=False (**APPROXIMATE — verify against the UCS
master before shipping as authoritative**). The seed is deliberately partial; it is
NOT the 750-row master.
Module Attributes
catid, category, subcategory, synonyms (lowercased), confident. |
|
AudioSet label NAME (lowercased) -> UCS CatID. |
- foley.index.taxonomy.seed.SEED_AUDIOSET_UCS_MAP: list[dict] = [{'catid': 'DOORWood', 'mid': '/m/02dgv', 'name': 'door'}, {'catid': 'DOORMetal', 'mid': '/m/02y_763', 'name': 'sliding door'}, {'catid': 'WEATHRain', 'mid': '/m/06mb1', 'name': 'rain'}, {'catid': 'WEATHRain', 'mid': '/m/07r10fb', 'name': 'raindrop'}, {'catid': 'WEATHThunder', 'mid': '/m/0ngt1', 'name': 'thunder'}, {'catid': 'WEATHThunder', 'mid': '/m/0jb2l', 'name': 'thunderstorm'}, {'catid': 'WEATHWind', 'mid': '/m/03m9d0z', 'name': 'wind'}, {'catid': 'FOOTConc', 'mid': '/m/07qann', 'name': 'walk, footsteps'}, {'catid': 'FIREGeneral', 'mid': '/m/0jbk', 'name': 'fire'}, {'catid': 'FIREGeneral', 'mid': '/m/07pc8k4', 'name': 'crackle'}, {'catid': 'WATRRun', 'mid': '/m/0838f', 'name': 'water'}, {'catid': 'WATRSplash', 'mid': '/m/07qlwh6', 'name': 'splash, splatter'}, {'catid': 'LIQDPour', 'mid': '/m/07q0yl5', 'name': 'pour'}, {'catid': 'GLASBreak', 'mid': '/m/039jq', 'name': 'glass'}, {'catid': 'GLASBreak', 'mid': '/m/07rjwbb', 'name': 'shatter'}, {'catid': 'EXPLGeneral', 'mid': '/m/014zdl', 'name': 'explosion'}, {'catid': 'GUNHandgun', 'mid': '/m/032s66', 'name': 'gunshot, gunfire'}, {'catid': 'VEHCarExt', 'mid': '/m/07yv9', 'name': 'vehicle'}, {'catid': 'VEHCarExt', 'mid': '/m/0k4j', 'name': 'car'}, {'catid': 'VEHHorn', 'mid': '/m/0912c9', 'name': 'vehicle horn, honk'}, {'catid': 'ANMLDog', 'mid': '/m/0bt9lr', 'name': 'dog'}, {'catid': 'ANMLDog', 'mid': '/m/05tny_', 'name': 'bark'}, {'catid': 'ANMLCat', 'mid': '/m/01yrx', 'name': 'cat'}, {'catid': 'ANMLBird', 'mid': '/m/015p6', 'name': 'bird'}, {'catid': 'COMMPhone', 'mid': '/m/07cx4', 'name': 'telephone'}]#
AudioSet label NAME (lowercased) -> UCS CatID.
midis best-effort (verify againstaudioset/ontology.jsonbefore trusting). Everycatidhere MUST exist inSEED_UCS_TABLE—load_audioset_ucs_map()asserts this at load time.
- foley.index.taxonomy.seed.SEED_UCS_TABLE: list[dict] = [{'category': 'DOORS', 'catid': 'DOORWood', 'confident': True, 'subcategory': 'Wood', 'synonyms': ['wooden door', 'oak door', 'door creak', 'door open', 'door close', 'door slam']}, {'category': 'DOORS', 'catid': 'DOORMetal', 'confident': False, 'subcategory': 'Metal', 'synonyms': ['metal door', 'steel door', 'hatch', 'cell door']}, {'category': 'DOORS', 'catid': 'DOORKnob', 'confident': False, 'subcategory': 'Knob', 'synonyms': ['doorknob', 'door handle', 'latch', 'handle turn']}, {'category': 'WEATHER', 'catid': 'WEATHRain', 'confident': True, 'subcategory': 'Rain', 'synonyms': ['rain', 'rainfall', 'raining', 'rain on window', 'downpour', 'drizzle']}, {'category': 'WEATHER', 'catid': 'WEATHWind', 'confident': False, 'subcategory': 'Wind', 'synonyms': ['wind', 'gust', 'breeze', 'howling wind', 'windy']}, {'category': 'WEATHER', 'catid': 'WEATHThunder', 'confident': False, 'subcategory': 'Thunder', 'synonyms': ['thunder', 'thunderclap', 'thunderstorm', 'thunder crack', 'rumble']}, {'category': 'FOOTSTEPS', 'catid': 'FOOTWood', 'confident': False, 'subcategory': 'Wood', 'synonyms': ['footsteps wood', 'walking wood floor', 'footfall wood']}, {'category': 'FOOTSTEPS', 'catid': 'FOOTConc', 'confident': False, 'subcategory': 'Concrete', 'synonyms': ['footsteps concrete', 'walking pavement', 'footsteps sidewalk']}, {'category': 'FOOTSTEPS', 'catid': 'FOOTGravel', 'confident': False, 'subcategory': 'Gravel', 'synonyms': ['footsteps gravel', 'walking gravel', 'crunch gravel']}, {'category': 'IMPACTS', 'catid': 'IMPTGeneral', 'confident': False, 'subcategory': 'General', 'synonyms': ['impact', 'hit', 'thud', 'bang', 'smash', 'crash']}, {'category': 'DESTRUCTION', 'catid': 'DESTGeneral', 'confident': False, 'subcategory': 'General', 'synonyms': ['destruction', 'collapse', 'debris', 'rubble', 'demolition']}, {'category': 'GLASS', 'catid': 'GLASBreak', 'confident': False, 'subcategory': 'Break', 'synonyms': ['glass break', 'glass shatter', 'shattering glass', 'broken glass']}, {'category': 'WATER', 'catid': 'WATRRun', 'confident': False, 'subcategory': 'Running', 'synonyms': ['running water', 'stream', 'faucet', 'tap water', 'flowing water']}, {'category': 'WATER', 'catid': 'WATRSplash', 'confident': False, 'subcategory': 'Splash', 'synonyms': ['splash', 'splashing', 'water splash', 'plop']}, {'category': 'LIQUID', 'catid': 'LIQDPour', 'confident': False, 'subcategory': 'Pour', 'synonyms': ['pour', 'pouring', 'glug', 'liquid pour']}, {'category': 'FIRE', 'catid': 'FIREGeneral', 'confident': False, 'subcategory': 'General', 'synonyms': ['fire', 'flames', 'campfire', 'crackling fire', 'burning']}, {'category': 'FIRE', 'catid': 'FIREWhoosh', 'confident': False, 'subcategory': 'Whoosh', 'synonyms': ['fire whoosh', 'flame burst', 'fireball', 'ignite whoosh']}, {'category': 'VEHICLES', 'catid': 'VEHCarInt', 'confident': False, 'subcategory': 'Car Interior', 'synonyms': ['car interior', 'in car', 'car cabin']}, {'category': 'VEHICLES', 'catid': 'VEHCarExt', 'confident': False, 'subcategory': 'Car Exterior', 'synonyms': ['car pass by', 'car exterior', 'car drive by', 'engine car']}, {'category': 'VEHICLES', 'catid': 'VEHHorn', 'confident': False, 'subcategory': 'Horn', 'synonyms': ['car horn', 'honk', 'vehicle horn', 'beep horn']}, {'category': 'AMBIENCE', 'catid': 'AMBUrban', 'confident': False, 'subcategory': 'Urban', 'synonyms': ['city ambience', 'street ambience', 'urban background', 'traffic ambience']}, {'category': 'AMBIENCE', 'catid': 'AMBNature', 'confident': False, 'subcategory': 'Nature', 'synonyms': ['nature ambience', 'forest ambience', 'outdoor ambience', 'birdsong bed']}, {'category': 'AMBIENCE', 'catid': 'AMBRoom', 'confident': False, 'subcategory': 'Room Tone', 'synonyms': ['room tone', 'roomtone', 'interior ambience', 'quiet room']}, {'category': 'USER INTERFACE', 'catid': 'GUIBeep', 'confident': False, 'subcategory': 'Beep', 'synonyms': ['ui beep', 'button', 'menu click', 'notification', 'ui blip']}, {'category': 'USER INTERFACE', 'catid': 'GUIWhoosh', 'confident': False, 'subcategory': 'Whoosh', 'synonyms': ['ui whoosh', 'swipe', 'ui swipe', 'transition whoosh']}, {'category': 'ANIMALS', 'catid': 'ANMLDog', 'confident': False, 'subcategory': 'Dog', 'synonyms': ['dog', 'bark', 'dog bark', 'growl', 'whine dog']}, {'category': 'ANIMALS', 'catid': 'ANMLCat', 'confident': False, 'subcategory': 'Cat', 'synonyms': ['cat', 'meow', 'purr', 'cat meow']}, {'category': 'ANIMALS', 'catid': 'ANMLBird', 'confident': False, 'subcategory': 'Bird', 'synonyms': ['bird', 'birdsong', 'chirp', 'tweet', 'bird call']}, {'category': 'GUNS', 'catid': 'GUNHandgun', 'confident': False, 'subcategory': 'Handgun', 'synonyms': ['gunshot', 'pistol', 'handgun', 'gun fire', 'shot']}, {'category': 'EXPLOSIONS', 'catid': 'EXPLGeneral', 'confident': False, 'subcategory': 'General', 'synonyms': ['explosion', 'blast', 'boom', 'detonation', 'explode']}, {'category': 'CLOTH', 'catid': 'CLOTHMove', 'confident': False, 'subcategory': 'Movement', 'synonyms': ['cloth', 'cloth movement', 'fabric', 'clothing rustle', 'cloth rustle']}, {'category': 'PAPER', 'catid': 'PAPRHandle', 'confident': False, 'subcategory': 'Handling', 'synonyms': ['paper', 'paper rustle', 'page turn', 'paper crumple']}, {'category': 'MACHINES', 'catid': 'MACHGeneral', 'confident': False, 'subcategory': 'General', 'synonyms': ['machine', 'motor', 'mechanism', 'machinery', 'servo']}, {'category': 'ELECTRICITY', 'catid': 'ELECBuzz', 'confident': False, 'subcategory': 'Buzz', 'synonyms': ['electric buzz', 'spark', 'zap', 'electricity', 'arc']}, {'category': 'COMMUNICATIONS', 'catid': 'COMMPhone', 'confident': False, 'subcategory': 'Phone', 'synonyms': ['phone ring', 'telephone', 'ringtone', 'cell phone', 'dial tone']}]#
catid, category, subcategory, synonyms (lowercased), confident.
confident=False=> APPROXIMATE CatID.- Type:
Representative UCS seed. Each row