Skip to content

Instantly share code, notes, and snippets.

View pltb's full-sized avatar
💭
🌚

Platon Bibik pltb

💭
🌚
View GitHub Profile
@pltb
pltb / f2a
Last active May 8, 2024 15:37
FLAC -> ALAC convesion script with downsampling to 16bit/44100kHz
#!/usr/bin/env bash
set -e
f2a () {
if [ -z $1 ]; then
echo "usage: $0 dir"
return 1
fi
for file in "$1"/*.flac; do
@pltb
pltb / f2a
Created May 8, 2024 12:37
Convert FLAC to ALAC with downsampling
#!/usr/bin/env bash
set -e
f2a () {
if [ -z $1 ]; then
echo "usage: $0 dir"
return 1
fi
for file in "$1"/*.flac; do