Who is this for?
This is an introductory topic for developers looking to deploy the Stable Audio Open Small text-to-audio model using LiteRT on an Android™ device or on a reasonably modern platform with macOS®.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Download and test the Stable Audio Open Small model.
- Convert the Stable Audio Open Small model to the LiteRT (.tflite) format.
- Compile the application for an Arm CPU.
- Create a simple application that generates audio.
- Run the application on an Android smartphone and generate an audio snippet.
Prerequisites
Before starting, you will need the following:
- A Linux-based x86 or macOS development machine with at least 8 GB of RAM and 50 GB of disk space (tested on Ubuntu 22.04 with x86_64).
- A HuggingFace account.
- An Android phone in developer mode and a cable to connect it to your development machine.
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
.tflite) and run its audio-generation application on Android or macOS Arm devices. First, you’ll prepare the workspace, download the model files, and convert its Conditioners, DiT, and AutoEncoder submodules. Then, you’ll build LiteRT and FlatBuffers, compile the application for your chosen platform, run it with a text prompt, and retrieve the generated output.wav file.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
model_config.json and model.ckpt are in your workspace directory. Run the listed ls command before you start conversion.ML-examples/kleidiai-examples/audiogen/app and create a build directory. Run CMake from that build directory.ANDROID_ABI=arm64-v8a in the CMake command for the Android build.TF_INCLUDE_PATH, TF_LIB_PATH, and FLATBUFFER_INCLUDE_PATH.audiogen on the device with a text prompt. After inference, pull /data/local/tmp/app/output.wav to your host machine.