#!/usr/bin/env bash # Vending machine and treat sounds (grass beer, herb cigar). Needs ELEVEN_KEY_FILE in env. Skips existing files. cd "$(dirname "$0")" E="python eleven.py" run() { $E "$@" || echo "FAILED $2"; } run sfx vend_hopper 1.4 0.6 "a handful of fresh cut grass stuffed into a metal funnel, quick rustle then a wet mechanical slurp swallowing it, close, no voice" 3 run sfx vend_whirr 2.6 0.6 "old vending machine motor whirring and clicking as it picks a can, then a heavy drink can drops down a chute and lands in the metal tray with a loud clunk" 3 run sfx can_open 1.0 0.7 "aluminium drink can ring pull cracked open, sharp crack and a fizzy psst hiss of carbonation, close mic" 3 run sfx drink_glug 1.6 0.6 "a person gulping a cold drink from a can, three quick satisfying swallows, close mic, no talking" 3 run sfx drink_ahh 1.2 0.5 "a man exhaling a satisfied refreshed ahh after a cold drink, short and happy, no other words" 3 run sfx can_crush 0.8 0.7 "an empty aluminium can crushed in one hand, sharp crinkling metal crunch, close" 3 run sfx can_bounce 1.2 0.6 "an empty crushed aluminium can thrown, bouncing and rattling across hard ground" 3 run sfx knob_pull 0.7 0.6 "a brass knob pulled out of an old wooden vending cabinet, mechanical click and clack" 3 run sfx drawer_bell 1.5 0.6 "an old wooden drawer slides open on its runners, then a small brass bell rings once, ding" 3 run sfx lighter_flick 1.0 0.7 "a metal flip lighter flicked open, flint wheel strike and a soft flame whoosh, close" 3 run sfx cigar_inhale 1.4 0.6 "a slow inhale through a lit cigar, faint crackling of the burning ember, close mic, no voice" 3 run sfx smoke_exhale 1.8 0.5 "a long relaxed exhale blowing out a big puff of smoke, breathy airy whoosh, no voice" 3 run sfx buff_shimmer 1.4 0.6 "game power-up sound, warm rising magical shimmer with sparkling chimes, short and satisfying" 3 run sfx hiccup 0.6 0.7 "a single short comedic hiccup, cartoon style" 3