4 ms·
afconvert(1) lets you convert between various audio formats - most noteworthy is that it gives you access to Core Audio's superior AAC encoder without having to
by daneel_w 3y ago
afconvert(1) lets you convert between various audio formats - most noteworthy is that it gives you access to Core Audio's superior AAC encoder without having to use iTunes/Music:
afconvert music.wav -o music_160kbps_aac.m4a -b 160000 -q 127 -s 2 -f m4af -d 'aac '
lipo(1) lets you operate (replace/extract/thin/etc) on executables and libraries to tailor their supported architectures:
lipo <universal exe/dylib> -thin arm64e -output <new apple silicon-only exe/dylib>
- daneel_w 3y agoAlso, using hdiutil(1) and diskutil(8) to create a RAM-disk: # 500 megabytes disk image mb=$((500*2048)) diskutil eraseVolume ExFAT my_ramdisk `hdiutil attach -nomount ram://$mb`