This Python script reorganizes your Splice sample packs (or any sample library) into a clean, type-based folder structure. Instead of browsing by pack names, it groups files into folders like:
Drums/KicksDrums/SnaresDrums/HatsLoops/DrumsBassSynth/PadsVocalsFX- …and more
Splice (and many other sample sources) store files by pack, which makes it hard to find all your kicks, snares, or loops across packs. This script solves that by scanning filenames and moving, copying, or symlinking them into new organized folders.
Save reorganize_samples.py into your Splice/Sounds folder (or anywhere you like).
cd /Users/<YourName>/Splice/Soundspython3 ./reorganize_samples.py \
--source . \
--dest ../Samples_By_Type \
--mode symlink \
--dry-run• --source . → use the current folder (Splice/Sounds)
• --dest → where to put the reorganized files (here, one folder up: Samples_By_Type)
• --mode symlink → create symbolic links instead of moving or copying
• --dry-run → show what would happen without making changes