Showing posts with label ape. Show all posts
Showing posts with label ape. Show all posts

Monday, January 22, 2024

Where to get Monkey Audio codec in Debian

If you are looking for non-free media codec, try https://debian.pkgs.org/12/multimedia-main-amd64/  I managed to obtain a copy of Monday Audio Codec from there.

 

sudo dpkg   -i    libmac10_10.16-dmo1_amd64.deb

sudo dpkg   -i   monkeys-audio_10.16-dmo1_amd64.deb

Saturday, December 19, 2020

Bash Script for converting APE to FLAC

This is a little script I use for batch converting ape files in a folder into flac.

 

#!/bin/bash
for f in *.ape
do
    mac "$f"  "${f%.*ape}.wav" -d && flac --best "${f%.*ape}.wav" && rm "${f%.*ape}.wav"
done
 

Saturday, May 23, 2020

PowerShell Script for batch WAV/APE to FLAC

This is a script I use for converting any WAV/APE files in a folder to FLAC.

$files = Get-ChildItem -Recurse -path . -filter *.ape
foreach ($file in $files) {
    $path = Split-Path -Path $file.FullName
    $new_name = [IO.Path]::GetFileNameWithoutExtension($file) + ".wav"
  
    $new_name = Join-Path $path $new_name
  
    mac $file.FullName $new_name -d
}

$files = Get-ChildItem -Recurse -path . -filter *.wav
foreach ($file in $files) {
    flac --best $file.FullName
}