An on-device music studio for Apple silicon, maintained by Team AER. Cantis turns text prompts, lyrics, tags, and reference audio into music using ACE-Step v1.5. Apple Core AI renders tracks on macOS 27 or later. MLX trains personal sounds locally on the built-in Turbo model.
Cantis for iPhone and iPad brings Compose, Library and the multitrack Mix editor to iOS and iPadOS 27. The mobile SFT pack renders 15- and 30-second takes with all 60 steps, mapped GPU weights and a timing and memory report saved with each take in Files. Open the Cantis Mobile scheme in Xcode. Mobile guide · Model setup · Product requirements · Storyboard
Product overview · Mac App Store · User guide · Development · Issues
Model weights download from Hugging Face during setup or when you add models. Install the matching Core AI pack for your model to render prompts, lyrics and audio on your Mac. See the privacy policy for network and local-data details.
- Compose: describe a style, choose genre/instrument/mood tags, and write structured lyrics with a language hint.
- Four generation modes: text-to-music, cover, repaint, and extract. Cover uses source audio and an optional reference clip; repaint uses source audio and a time-range mask; extract uses reference audio.
- Creative controls: duration, seed, steps, schedule shift, and guidance on SFT/Base models. Cantis starts with SFT at 60 steps for detailed tracks. Choose Turbo for quick eight-step sketches or Base for more variation.
- Mix: layer generated tracks and imported recordings on a timeline. Trim, cut, split channels, separate sounds, and mix with live volume, pan, mute, and solo. Export a stereo mix or time-aligned tracks.
- Listen and inspect: playback, waveform visualization, and a live FFT spectrum analyzer.
- Library: search your takes, favorite them, and reuse saved presets and a tag library.
- Sounds: train a personal sound from your own recordings and compare it with the original model.
- Export audio: WAV, AAC, and ALAC (
.m4afor the latter two). MP3 and FLAC are excluded from the supported-format picker. - Manage models: in-app downloads for Turbo, SFT, and Base; compatible custom Hugging Face model repositories; low-memory settings and a built-in log viewer.
The landing page introduces this same studio workflow. This repository is the reference for implemented modes, supported formats, and current build requirements. LM-hint generation (text2musicLM) is not implemented; XL variants are conversion tooling targets and are not offered in the standard model picker. Generation speed depends on hardware, model, duration, and settings.
flowchart LR
User[Prompt, tags, lyrics, or audio] --> UI[SwiftUI studio]
UI --> VM[ViewModels]
VM --> Engine[NativeInferenceEngine]
HF[Hugging Face model weights] --> Download[ModelDownloader]
Download --> Files[Local model files]
Files --> Engine
Pack[Installed Core AI pack] --> Engine
Engine --> Text[Core AI text and audio conditioning]
Text --> DiT[ACE-Step DiT sampler]
DiT --> VAE[Audio VAE]
VAE --> Track[Local generated audio]
Track --> Player[Playback and FFT]
Track --> Export[WAV, AAC, ALAC export]
VM --> History[SwiftData history and presets]
Track --> History
The engine, player, and persistence live in the same macOS app. Developers use Python offline to convert checkpoints and build Core AI packs. See architecture for model storage, state transitions, and concurrency.
| Requirement | Current source build |
|---|---|
| Operating system | macOS 26+ for the library and MLX training. Music generation and comparison require macOS 27+ and a matching Core AI pack. |
| Hardware | Apple Silicon (M1 or later) |
| Memory | 16 GB unified memory recommended; smaller Macs may swap or run out of memory |
| Storage | The default SFT installation uses about 6.32 GB of weights, including the shared text and audio components. Each additional built-in model adds about 4.79 GB. Allow additional space for the Core AI pack, temporary downloads and audio. |
| Toolchain | Xcode 27 with the macOS 27 SDK for a generation-capable build. The library and training also build with Xcode 26 and Swift 6.2. |
| Network | Initial model download and any later model additions/redownloads |
Storage figures are approximate manifest estimates, not guaranteed download sizes. Sandboxed app storage lives in its macOS container; terminal builds use the user Application Support directory.
git clone https://github.com/Team-AER/Cantis.git
cd Cantis
swift run CantisAlternatively, open Package.swift in Xcode and run the Cantis executable target. Cantis.xcodeproj is also included for app-bundle, signing, and distribution work.
- In the welcome tour, choose Try a piano edit to loop part of the sonata, then Open in editor to keep working on it. Choose Download on either tour page to install the music model in the background. You can also start the download later from the studio brief.
- If the build needs a Core AI pack, choose Install Core AI pack… and select the matching folder. To produce one from local checkpoints, follow the pack guide.
- In Easy, choose Start with words, enter a prompt and optionally add tags or lyrics. Advanced reveals sampling controls.
- Generate, listen in the player, and export or favorite the result.
For audio modes, model switching, local storage, and troubleshooting, see the user guide. Offline conversion instructions are in the development guide.
swift build
swift test --skip 'ACEStepDiTTests|ACEStepLMTests|FeasibilityProbeTests|Qwen3ConditioningTests|Qwen3RealWeightsTests|TurboLoRATrainerTests'
python3 -m py_compile modeling_acestep_v15_turbo.py tools/convert_weights.py
python3 -m compileall -q tools/coreaiCI builds and runs weight-free Swift tests on macOS 26 and 27. The 27 lane also evaluates a synthetic Core AI adapter graph. Run the MLX integration suites on Apple silicon with Metal, and opt into real-weight render and training tests as described in the development guide.
| Path | Purpose |
|---|---|
Cantis/Views/, ViewModels/, Components/ |
SwiftUI studio and state |
Cantis/Inference/ |
Native ACE-Step, text encoder, audio VAE, and LM components |
Cantis/Services/, Models/, Utilities/ |
Audio, downloads, persistence, configuration |
CantisTests/ |
Unit, Core AI generation and MLX training tests |
tools/convert_weights.py |
Offline weight converter |
tools/coreai/ |
Offline pack builder, component exporters and parity checks |
Package.swift, Cantis.xcodeproj/ |
Package build and bundled-app project |
- User guide
- Architecture
- Development guide
- Pending plan and release checklist
- Contributing, support, security, and code of conduct
- Privacy
Cantis builds on the music-generation work of ACE-Step and the on-device capabilities of mlx-swift. Thanks to those upstream contributors and the maintainers of Swift Collections and SwiftUI-Shimmer.
The application is distributed under the MIT License. Model checkpoints and third-party components retain their own licenses; check the corresponding model repository before using or redistributing weights.