swift-tools-version:6.2
// Source: https://github.com/aight-cool/mlx-audio-swift | License: MIT | Copyright 2025 Prince Canuma
// Provided via justclaw.it.com; keep this notice with the code.
// swift-tools-version:6.2
import PackageDescription
let package = Package(
name: "MLXAudio",
platforms: [.macOS(.v14), .iOS(.v17)],
products: [
// Core foundation library
.library(name: "MLXAudioCore", targets: ["MLXAudioCore"]),
// Audio codec implementations
.library(name: "MLXAudioCodecs", targets: ["MLXAudioCodecs"]),
// Text-to-Speech
.library(name: "MLXAudioTTS", targets: ["MLXAudioTTS"]),
// Speech-to-Text (placeholder)
.library(name: "MLXAudioSTT", targets: ["MLXAudioSTT"]),
// Voice Activity Detection / Speaker Diarization
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key