mlx-audio is a free, open-source Python library from the MLX community that runs speech models on Apple Silicon Macs: text-to-speech, speech-to-text and more. It installs with pip and offers a command-line tool and a Python API. This guide transcribes a recording with its Whisper model and checks the result.
Before you start
- An Apple Silicon Mac (M1, M2, M3 or M4).
- Python 3.10 or newer, and pip.
- An audio file to transcribe.
Install mlx-audio
Install the package with pip:
pip install mlx-audio
The library downloads speech models from Hugging Face on first use.
Transcribe a file from the command line
Run the speech-to-text command with a Whisper model, for example the large-v3-turbo build:
python -m mlx_audio.stt.generate --model mlx-community/whisper-large-v3-turbo-asr-fp16 --audio meeting.wav
If the model name has changed since this guide was written, check the project’s model list on PyPI first.
Check the transcript against the audio
Listen to the first minute and compare it with the transcript word by word. Note names and numbers: those are where transcription most often slips.
Worked example
Sample check: a 60-second recording that begins “Good afternoon, this is the project review for Tuesday.” The transcript should contain those words in that order. If “Tuesday” comes out as another day, note the error before using the transcript.
Expected result
UNTESTED in this guide: no transcription was run while writing it. The expected result is a transcript that matches the first minute of audio word for word, apart from at most a name.
Limitations
mlx-audio needs an Apple Silicon Mac; it does not run on Intel Macs or Windows. Each speech model keeps its own licence, so check the model card before commercial use. The first run downloads the model and needs internet.
