Creating an audiobook (.m4b) with FFmpeg

Following on from my previous TTS post using Chatterbox Turbo (or any other TTS like Kokoro or Qwen3-TTT), here is code to combine audio files in a single .m4b audiobook retaining author and title metadata, chapter markers, and a cover image. Mostly this is a Python wrapper to FFmpeg. ...

15 Feb 2026

Chatterbox Turbo TTS with MLX-Audio

In my last post, I tried Qwen3-TTS… This time, I test Chatterbox Turbo by Resemble.ai, which is an open-source, MIT licensed, text-to-speech model with zero-shot cloning. ...

10 Feb 2026

Qwen3-TTS with MLX-Audio on macOS

Alibaba’s Qwen3-TTS for Speech Synthesis (text-to-speech) was open-sourced (Apache-2.0) on 22 Jan 2026. And within the last couple of weeks, we now have Apple Silicon optimization via MLX-Audio. Here is code to create an audiobook from an ePub. ...

2 Feb 2026

Convert animated WebP to WebM movie with Python

In my last post I mentioned converting an animated WebP image format into a WebM movie format. This post expands on how I did it. ...

21 Jan 2024

Extracting images from PDF files

Happy new year! Ever needed to extract images from PDFs and found both on-line and off-line tools lacking? Well, I certainly have, and here I present my Python code to extract JPGs/PNGs from PDFs, using PyMuPDF. ...

6 Jan 2024

Run code in a macOS Sandbox

I sometimes test randomly downloaded code on macOS in a Sandbox that has limited and network access. I posted about this way back in Jan 2017, Creating a macOS Sandbox to run Kodi, and this is a short refresher for me… ...

11 Jun 2023

Create an animated PNG

I recently wanted to create an animated PNG, but macOS does not include any built in tools to combine multiple PNGs into an APNG file. Here’s an option using Python source code. ...

9 Jun 2023

File Date Created = Photo / video metadata

When I export photos or videos from Photos.app, I want the file’s Created Date (Created Date in Finder) to be the time the photo or video was taken. Alas, this is not the way Photos works, and setting the date turned out to be more challenging than expected. ...

4 Jun 2023

“Delete” (Move) to Trash in macOS Shell

A short one today: here is a function to “delete” (read: move) a file to the macOS Trash (Bin), as a safer alternative to rm. ...

8 May 2023

myByways Simple-SD v1.1 Python script using Safetensors

Epic Diffusion recently came to my attention, a high-quality merge of various models by John Slegers: “Epîc Diffusion is a general purpose model based on Stable Diffusion 1.x intended to replace the official SD releases as your default model. It is focused on providing high quality output in a wide range of different styles…” Figured I’d give it a spin. ...

24 Jan 2023