Skip to content

Instantly share code, notes, and snippets.

@fnky
fnky / ANSI.md
Last active March 9, 2025 10:11
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@kgriffs
kgriffs / downmix.sh
Created September 7, 2017 15:46
ffmpeg 5.1 downmix to dolby pro logic II
for f in *.flac
do
ffmpeg -i "$f" -ac 2 -af "aresample=matrix_encoding=dplii" "./downmixed/${f%.*}.flac"
done