Skip to content
PaidguyPublic

About

offline-first Swift & SwiftUI music player for iPhone and iPad

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Auric App Icon

Auric

Native iOS Bit-Perfect FLAC & Hi-Res Lossless Music Player

A refined, offline-first Swift & SwiftUI music player for iPhone and iPad combining an Apple Music-grade interface with a 64-bit AVAudioEngine playback pipeline, binary FLAC metadata parsing, word-synced TTML/LRC lyrics, and GRDB SQLite FTS5 indexing.

Latest Release Build iOS IPA Verify CI Platform Swift Bundle ID License Stars Issues Pull Requests


Auric — Native iOS Hi-Res Lossless Music Player Banner

Download Latest IPA · Installation Guide · Feature Highlights · Architecture · Build from Source · Troubleshooting


Visual Overview

Auric is built natively in SwiftUI for iOS 17.0+ (with adaptive iOS 26 Liquid Glass .glassEffect and .tabViewBottomAccessory support), modeled directly after Apple Music's visual hierarchy, gesture physics, and typography.

Auric Now Playing, Word-Synced Lyrics, and Playing Next Queue Preview

Auric Library Organisation, Non-Destructive Sorting, and App Interface Customisation Preview

Feature Highlights

1. Music Playback & Acoustic Engine

  • Native Lossless Decoding: Plays local .flac, .alac, .m4a, .wav, .aiff, .aac, and .mp3 files through a custom AVAudioEngine graph (AudioPlayerEngine.swift & AudioDecoder.swift) up to 32-bit / 192 kHz.
  • True Gapless Pre-Scheduling: Dual AVAudioPlayerNode architecture (activePlayer + nextPlayer) pre-buffers and schedules the upcoming track in the queue for sample-accurate transitions on live and concept albums.
  • Equal-Power Crossfade: Optional smooth crossfade (1 s to 12 s) when Bit-Perfect Mode is off.
  • System Integration: Full Lock Screen, Control Center, Dynamic Island, wired headset, Bluetooth, and AirPlay integration via MPNowPlayingInfoCenter and MPRemoteCommandCenter, plus automatic audio interruption and route-change handling.

2. Now Playing Experience

  • Dynamic Artwork Backdrop: Extracts dominant, secondary, and accent colors from the current cover (ArtworkCache.swift) to drive an animated multi-stop ambient backdrop (DynamicArtworkBackdropView).
  • Interactive Cover Art & Gestures: Physics-based spring scaling between playing (100%) and paused (86%) states, horizontal swipe left/right to skip tracks with tactile haptic feedback, and optional local .mp4 / .mov / .gif motion cover loops (AnimatedArtworkView.swift).
  • Precision Scrubber & Quality Pill: Expanding touch scrubber with live elapsed/remaining timestamps and a centered Audio Quality Badge (Hi-Res Lossless, Lossless, or codec label) that opens the Signal Path Inspector.
  • Inline Lyrics & Playing Next Queue: Dedicated bottom bar toggles smoothly between the main artwork stage, word/line-synced Lyrics, AirPlay Route Picker, and the interactive Playing Next queue (with Shuffle, Repeat All/One, Autoplay infinity toggle, drag-to-reorder, and swipe-to-remove).

3. Music Organisation & Universal Sorting

  • Persistent Sorting Everywhere: Every library and playlist screen includes a dedicated sorting menu with ascending/descending order indicators and automatic UserDefaults / SQLite persistence:
    • Songs: Title (A–Z / Z–A), Artist, Album, Recently Added, Recently Played, Duration.
    • Albums: Album Title, Artist, Release Year, Recently Added.
    • Artists: Artist Name, Number of Songs, Recently Added.
    • Playlists: Custom Order (manual drag-and-drop persisted in SQLite), Playlist Name, Date Created, Recently Updated.
    • Inside Playlists: Non-destructive view sorting by Custom / Manual Order, Title, Artist, Album, Duration, Date Added, or Track Number—changing the sort view never overwrites your manual playlist order unless you explicitly reorder tracks in Custom mode.
    • Favorites, Genres & Watched Folders: Dedicated sorting menus tailored to each view.

4. Playlists & Smart Playlists

  • Manual Playlists: Create, rename, delete, and reorder playlists; add single or multiple tracks with duplicate protection; swipe to remove or drag to reorder tracks.
  • .m3u / .m3u8 Import & Export: Full standards-compliant playlist import and export (M3UPlaylistCodec.swift) with relative and filename fallback matching.
  • Rule-Based Smart Playlists: Dynamic evaluation engine (SmartPlaylistEvaluator.swift) with built-in and custom rules (Lossless Audio, Hi-Res Audio >= 88.2 kHz, Favorites, Top 25 Most Played, Recently Added, genre, artist, play count, and sample rate filters).

5. Library Management & Offline Listening

  • 100% Offline Local Architecture: All tracks, playlists, artwork thumbnails, and lyrics are indexed on-device in a concurrent GRDB SQLite WAL database (AppDatabase.swift) with FTS5 full-text prefix search (tracks_fts).
  • Security-Scoped Watched Folders: Link folders directly from the iOS Files app (On My iPhone, iPad storage, or external USB-C SSDs/flash drives) using persistent iOS security-scoped bookmarks (FolderBookmarkManager.swift) without duplicating large audio files.
  • Pure-Swift Binary FLAC Parser: Reads STREAMINFO (exact bit depth, sample rate, channel count, total samples), VORBIS_COMMENT tags (including ISRC and REPLAYGAIN_*), and embedded PICTURE blocks (FLACParser.swift & SafeBinaryReader.swift) without loading audio frames into memory.
  • Song Info & Non-Destructive Tag Editor: Inspect complete file specifications and edit Title, Artist, Album, Album Artist, Genre, Year, Track/Disc numbers, or cover art (TrackInfoSheetView.swift), with optional on-demand metadata/artwork lookup via Apple iTunes Search, MusicBrainz, and Cover Art Archive (MusicBrainzService.swift).

6. Synced Lyrics Engine

  • Local-First Resolution: Automatically discovers sidecar .ttml (Apple Music syllable/word-synced XML via TTMLParser.swift), sidecar .lrc (line and <mm:ss.xx> enhanced word timestamps via LRCParser.swift), and embedded lyrics tags, with automatic LRCLIB lookup and local SQLite caching (LyricsProvider.swift).
  • Interactive Lyrics View: Auto-scrolling blurred lyrics lines with tap-to-seek and live word-by-word progress fill (LyricsView.swift).

7. Interface Customisation (Settings › App Interface)

  • Appearance Mode: Switch between System, Light, and Dark themes.
  • Now Playing Cover Style: Choose between Immersive Full-Bleed, Floating Studio Card, and Minimal Framed cover presentations via interactive visual preview cards.
  • Home & Interaction Preferences: Toggle global Haptic Feedback, Animated Motion Covers, Lossless Format Badges, and customize visible Home Screen Sections (Top Picks, Recently Played, Made For You, Favorite Tracks, Artists).

8. Audio & Playback Settings

  • Bit-Perfect Mode: Bypasses software EQ and gain stages (0.0 dBFS) and requests native track sample-rate switching (44.1 kHz – 192 kHz) on compatible external USB-C DACs.
  • 6-Band Parametric Equalizer: Biquad EQ (60 Hz, 230 Hz, 910 Hz, 3.6 kHz, 10 kHz, 16 kHz) with -12 dB to +12 dB preamp headroom and built-in acoustic presets (Flat, Acoustic, Bass Boost, Classical, Electronic, Jazz, Late Night, Loudness, Rock, Vocal Boost, Custom).
  • ReplayGain / Sound Check: Supports Off, Track Gain, and Album Gain normalization modes with adjustable preamp (-6 dB to +6 dB).
  • Live Signal Path Inspector: Tap the Now Playing quality badge at any time to verify the 3-stage chain (Source File → Auric Audio Engine → Hardware Output Route & Active Sample Rate).

Installation & Downloads

Direct Download (Unsigned iOS .ipa)

Every commit to main builds and verifies a clean, unsigned Auric.ipa on GitHub Actions and publishes it to the Latest Release:

Asset Description Direct Link
Auric.ipa Unsigned iOS Release package (arm64, iOS 17.0+) verified against marmelroy/Zip v2.1.2, unzip, and ditto Download Auric.ipa
Auric.ipa.sha256 SHA-256 checksum sidecar for download integrity verification Download Auric.ipa.sha256
All Release Assets Release notes, build-numbered .ipa, and .xcarchive.zip View Latest Release

System Requirements

  • Operating System: iOS 17.0 or later / iPadOS 17.0 or later (includes adaptive iOS 26 Liquid Glass support).
  • Hardware: Any arm64 iPhone or iPad. External USB-C DAC recommended for bit-perfect 88.2 kHz – 192 kHz sample-rate switching.
  • Apple Developer Account: Free Apple ID (Auric uses zero paid entitlements—no iCloud, Push Notifications, or App Groups—so it signs cleanly with any personal Apple ID).

How to Install (Sideloading)

Method 1: AltStore or SideStore (Recommended for On-Device Refresh)

  1. Install AltStore or SideStore on your iPhone or iPad.
  2. Download Auric.ipa in Safari.
  3. Open AltStore or SideStore → navigate to My Apps → tap + in the top-left corner → select Auric.ipa.
  4. Once installed, trust your developer certificate in Settings → General → VPN & Device Management and ensure Settings → Privacy & Security → Developer Mode is enabled.

Method 2: Sideloadly (macOS / Windows / Linux)

  1. Download and launch Sideloadly.
  2. Connect your iPhone or iPad via USB and tap Trust This Computer.
  3. Drag Auric.ipa into Sideloadly, enter your Apple ID, and click Start.

Method 3: Feather, ESign, KSign, or TrollStore

  1. Download Auric.ipa (or the build-numbered Auric-b<N>.ipa asset on the Latest Release page to bypass Safari filename caching).
  2. Import the .ipa into your signer and sign/install as usual. (Auric.ipa is packaged with strict PKZIP 2.0 headers and verified in CI against marmelroy/Zip v2.1.2 to guarantee zero Zip.ZipError 1 extraction failures.)

Updating Auric Without Losing Your Library

When installing a newer Auric.ipa release or refreshing your 7-day free Apple ID signature:

  • Install directly over the existing Auric app using the same signing tool and Apple ID.
  • Do not delete Auric first—installing over the existing app preserves your SQLite database, playlists, custom sort orders, watched folder bookmarks, and EQ presets.

Architecture & Signal Path

┌──────────────────────────────────────────────────────────────────────────────┐
│                     Local Audio Files & Watched Folders                      │
│       FLAC (16/24/32-bit) · ALAC · WAV · AIFF · M4A / AAC · MP3 · M3U8       │
└───────────────────┬──────────────────────────────────────┬───────────────────┘
                    │                                      │
      [Indexing & Metadata Pipeline]            [Real-Time Playback Graph]
                    │                                      │
                    ▼                                      ▼
┌───────────────────────────────────────┐  ┌───────────────────────────────────┐
│ FLACParser + AVMetadataExtractor      │  │ AudioDecoder (AVAudioFile PCM)    │
│ • Binary STREAMINFO & Vorbis Comments │  │ • Dual AVAudioPlayerNode Gapless  │
│ • Embedded PICTURE -> ArtworkCache    │  └───────────────┬───────────────────┘
└───────────────────┬───────────────────┘                  │
                    │                        ┌─────────────┴─────────────┐
                    ▼                        │ Bit-Perfect Mode Enabled? │
┌───────────────────────────────────────┐    └─────┬───────────────┬─────┘
│ AppDatabase (GRDB SQLite WAL + FTS5)  │          │ YES           │ NO
│ • tracks, albums, artists, playlists  │          ▼               ▼
│ • tracks_fts prefix search index      │  ┌───────────────┐ ┌─────────────────┐
│ • v1 / v2 / v3 schema migrations      │  │ Bypass EQ/DSP │ │ ReplayGain +    │
└───────────────────────────────────────┘  │ Lock 0.0 dBFS │ │ 6-Band Biquad   │
                                           │ Request Native│ │ Parametric EQ + │
                                           │ Sample Rate   │ │ Crossfade       │
                                           └───────┬───────┘ └────────┬────────┘
                                                   └─────────┬────────┘
                                                             ▼
                                           ┌───────────────────────────────────┐
                                           │ Hardware Output & SignalPath      │
                                           │ USB-C DAC · Headphones · AirPlay  │
                                           └───────────────────────────────────┘

For an in-depth technical walkthrough of every subsystem, see docs/ARCHITECTURE.md.


Repository Structure

All application code lives under ios/Auric/ (36 Swift source files organized by architectural domain):

.
├── .github/
│   ├── ISSUE_TEMPLATE/                  # Bug report & feature request forms
│   ├── PULL_REQUEST_TEMPLATE.md         # PR checklist & design standards
│   └── workflows/
│       ├── build-ios.yml                # Automated macOS XcodeGen + xcodebuild IPA release pipeline
│       └── verify-ci.yml                # Fast static verification of Swift sources, AppIcon & bundle ID
├── docs/
│   ├── assets/                          # SVG hero banner & interface previews
│   ├── ARCHITECTURE.md                  # Audio engine, FLAC parser & GRDB database architecture
│   ├── BUILD_AND_INSTALLATION.md        # Sideloading, XcodeGen & CI build instructions
│   └── TROUBLESHOOTING.md               # Build, sideloading & USB-C DAC diagnostics
├── ios/
│   ├── project.yml                      # XcodeGen project specification (source of truth)
│   ├── README.md                        # iOS target quick reference
│   ├── scripts/
│   │   ├── build_clean_ipa.py           # Strict PKZIP 2.0 IPA packager & byte-level header auditor
│   │   ├── generate_icon.py             # Zero-dependency 1024x1024 RGB AppIcon generator
│   │   ├── package_ipa.sh               # Multi-strategy unsigned IPA packager & extractor test runner
│   │   ├── verify_ios_project.py        # Static Swift delimiter, symbol, Info.plist & bundle ID verifier
│   │   └── verify_with_marmelroy_zip.sh # Live marmelroy/Zip v2.1.2 extraction harness
│   └── Auric/                           # === Native iOS Application Target (36 Swift Files) ===
│       ├── App/                         # AuricApp.swift (@main), AppState.swift (@Observable coordinator)
│       ├── Artwork/                     # ArtworkCache.swift (palette + caching), AnimatedArtworkView.swift
│       ├── Audio/                       # AudioPlayerEngine.swift, AudioDecoder.swift, SignalPath.swift
│       ├── Library/                     # FolderBookmarkManager, LibraryScanner, M3UPlaylistCodec, SmartPlaylistEvaluator
│       ├── Lyrics/                      # LyricsProvider.swift, TTMLParser.swift, LRCParser.swift
│       ├── Metadata/                    # FLACParser.swift, AVMetadataExtractor, AudioMetadataModels, MusicBrainzService
│       ├── Persistence/                 # AppDatabase.swift (GRDB SQLite + FTS5), Models.swift
│       ├── Resources/                   # Info.plist, Assets.xcassets (AppIcon & AccentColor)
│       ├── UI/
│       │   ├── Components/              # DesignSystem.swift (theme, Liquid Glass modifiers, scrubber, volume)
│       │   ├── Home/                    # HomeView.swift
│       │   ├── Library/                 # LibraryView.swift, PlaylistsView.swift, ArtistDetailView, TrackInfoSheetView
│       │   ├── NowPlaying/              # NowPlayingView.swift, MiniPlayerView, LyricsView, SignalPathSheetView
│       │   ├── Search/                  # SearchView.swift (scoped FTS5 search & category browse)
│       │   └── Settings/                # SettingsView.swift (App Interface, Audio, EQ, Library, About)
│       └── Utilities/                   # AppLogger.swift, Formatters.swift, Haptics.swift, SafeBinaryReader.swift
├── scripts/
│   └── docs-server.mjs                  # Lightweight local documentation server (port 3000)
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE                              # PolyForm Noncommercial License 1.0.0
├── PROJECT_STRUCTURE.md                 # Detailed file-by-file module reference
├── README.md
├── SECURITY.md
└── THIRD_PARTY_NOTICES.md

Technology Stack

Layer Technology Purpose
Language & UI Swift 5.0+ & SwiftUI (@Observable, async/await, actor) Declarative native iOS 17.0+ & iOS 26 Liquid Glass interface
Audio Engine CoreAudio & AVAudioEngine (AVAudioPlayerNode, AVAudioUnitEQ) Bit-perfect hardware sample-rate routing, gapless queue, 6-band EQ
Database & Search GRDB.swift (v6.29.3) Concurrent SQLite WAL persistence & FTS5 full-text prefix search
Binary Tag Parsing Pure-Swift FLACParser + AVFoundation Zero-dependency FLAC STREAMINFO, VORBIS_COMMENT & PICTURE parser
Lyrics Parsing TTMLParser & LRCParser Word-by-word XML .ttml and synced/enhanced .lrc engines
Project Generation XcodeGen (ios/project.yml) Deterministic .xcodeproj generation without .pbxproj conflicts
CI & Packaging GitHub Actions + build_clean_ipa.py + marmelroy/Zip Automated unsigned .ipa archiving and live extraction verification

Building from Source

Prerequisites

  • macOS 14.5+ with Xcode 16.0+ (or Xcode 26+ for native iOS 26 Liquid Glass SDK features)
  • XcodeGen (brew install xcodegen)
  • Python 3.10+ (standard library only; zero external pip packages required)

Local Build & Simulator Execution

# 1. Clone the repository
git clone https://github.com/paidguy/auric.git
cd auric

# 2. Ensure the 1024x1024 RGB AppIcon and run static project verification
python3 ios/scripts/generate_icon.py
python3 ios/scripts/verify_ios_project.py

# 3. Generate Auric.xcodeproj via XcodeGen
cd ios
xcodegen generate

# 4. Open in Xcode and press Cmd + R to run on Simulator or device
open Auric.xcodeproj

Command-Line Unsigned Release Archive

cd ios
xcodegen generate

xcodebuild archive \
  -project Auric.xcodeproj \
  -scheme Auric \
  -configuration Release \
  -sdk iphoneos \
  -destination 'generic/platform=iOS' \
  -archivePath build/Auric.xcarchive \
  CODE_SIGNING_ALLOWED=NO \
  CODE_SIGNING_REQUIRED=NO \
  CODE_SIGN_IDENTITY=""

# Package and verify a clean unsigned Auric.ipa
./scripts/package_ipa.sh build/Auric.xcarchive Auric.ipa com.paidguy.auric Auric

Troubleshooting & FAQ

Q: How do I link my FLAC library from the iOS Files app or an external USB-C SSD?
Open Auric and tap Add Folder on the Home screen, Library tab, or under Settings → Library & Folders → Add Watched Folder…. Select any folder in On My iPhone or an external USB-C drive. Auric stores a persistent read-only security-scoped bookmark and indexes your tracks in place without duplicating files.
Q: Why does enabling Bit-Perfect Mode disable the 6-Band Equalizer and Crossfade?
Bit-Perfect Mode guarantees that decoded PCM audio samples are delivered to CoreAudio at 0.0 dBFS without software attenuation, biquad filtering, or crossfade mixing, and requests your external DAC's native hardware sample rate (44.1 kHz – 192 kHz). Disable Bit-Perfect Mode whenever you want to use the 6-Band Parametric EQ, ReplayGain, or Crossfade.
Q: Does changing the sort order inside a playlist overwrite my manual track order?
No. Sorting inside a playlist by Title, Artist, Album, Duration, Date Added, or Track Number is a non-destructive view sort. Switching the playlist sort menu back to Custom Order immediately restores your manual drag-and-drop track sequence.
Q: How do I use word-synced lyrics or animated album covers offline?
Place a .ttml or .lrc file with the exact same base filename in the same folder as your audio track (e.g., 01 - Track.flac and 01 - Track.ttml). For motion covers, place cover.mp4, artwork.mp4, or <TrackFilename>.mp4 (or .mov / .gif) in the album folder.

For additional diagnostics (XcodeGen setup, free Apple ID 7-day refresh, and USB-C DAC sample-rate verification), see docs/TROUBLESHOOTING.md.


Community, Contributing & Security

  • Contributing Guidelines: Please review CONTRIBUTING.md and CODE_OF_CONDUCT.md before opening a pull request.
  • Bug Reports & Feature Requests: Open an issue using our structured GitHub Issue Templates.
  • Security Vulnerabilities: Do not report security issues in public issues. Follow SECURITY.md to submit a private vulnerability report via GitHub Security Advisories.

License & Acknowledgements

  • License: Auric is Copyright © 2026 paidguy and distributed under the PolyForm Noncommercial License 1.0.0. Personal, academic, educational, and non-commercial use, modification, and redistribution are permitted; commercial use is prohibited without prior written authorization.
  • Third-Party Notices: Full copyright notices and permissive license texts for GRDB.swift (MIT License by Gwendal Roué) and optional public metadata/lyrics endpoints (LRCLIB, MusicBrainz, Cover Art Archive, Apple iTunes Search) are documented in THIRD_PARTY_NOTICES.md.

About

offline-first Swift & SwiftUI music player for iPhone and iPad

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages