Skip to content

Instantly share code, notes, and snippets.

View hyperknot's full-sized avatar

Zsolt Ero hyperknot

View GitHub Profile
@hyperknot
hyperknot / dsd2flac.py
Last active April 23, 2022 22:57
DSD to FLAC conversion using SoX DSD. Tries best gain (+6, +5, +4, etc.) which doesn't clip. You can get SoX DSD binaries from https://audiodigitale.eu/repo/sox/
#!/usr/bin/env python3
import pathlib
import subprocess
import sys
import shutil
root = pathlib.Path(__file__).parent.resolve()
target_root = root / 'dsd'
@hyperknot
hyperknot / fips_counties_population.md
Last active March 27, 2020 14:43
FIPS codes with population data parsed from US Census. GeoJSONs at https://github.com/hyperknot/country-levels