- Category
- Media
- Publisher
- kushalpandya
- Repository
- Open repository
- Release
- Open release
- Current version
- v1.7.3
- Release date
- 2026-11-01
- Package size
- macOS 21.4 MB
Petrichor
Petrichor An offline music player for macOS
README
Petrichor
An offline music player for macOS

Summary
โจ Features
- Everything you'd expect from an offline music player!
- Supports over 40 audio file formats. See Supported Formats for the complete list.
- Map your music folders and browse your library in an organized view.
- Stream Internet Radio and organize saved stations into collections.
- Synced lyrics of a playing track when available, including ability to download missing lyrics.
- Create, import or export playlists.
- Smart playlists with conditional, negative, and regular-expression rules.
- Manage the play queue interactively using drag and drop.
- Browse music using folder view when needed.
- Pin anything (almost!) to the sidebar for quick access to your favorite music.
- Navigate easily: right-click a track to go to its album, artist, year, etc.
- Native macOS integration with menubar and dock playback controls, plus dark mode support.
- Miniplayer and immersive mode.
- Gapless playback, Crossfade, ReplayGain volume normalization, Equalizer, Spatial Audio, and AirPlay 2 output.
- Last.fm scrobbling support.
- Shortcuts and Automation API support along with Siri.
- Works well with large libraries containing thousands of songs.
๐ก Tip: Petrichor relies heavily on tracks having good metadata for all its features to work well.
๐ต Supported Formats
Petrichor imports and plays the 46 file extensions below. The equivalent in-app list is generated from the playback engine itself, so it always reflects the build you are running.
| Format | Extensions | Type |
|---|---|---|
| MP3 / MPEG Audio | .mp3 .mp1 .mp2 .mpa .m1a .m2a .mpeg |
Lossy |
| AAC | .aac .m4a .m4r .adts .latm .loas .xhe |
Lossy |
| ALAC (Apple Lossless) | .alac .m4a |
Lossless |
| FLAC | .flac |
Lossless |
| Ogg Vorbis | .ogg .oga .ogx |
Lossy |
| Opus | .opus |
Lossy |
| Speex | .spx |
Lossy |
| WAV | .wav |
Lossless |
| Wave64 | .w64 |
Lossless |
| AIFF | .aiff .aif |
Lossless |
| APE (Monkey's Audio) | .ape |
Lossless |
| WavPack | .wv |
Lossless |
| TTA (True Audio) | .tta |
Lossless |
| TAK | .tak |
Lossless |
| Shorten | .shn |
Lossless |
| Musepack | .mpc |
Lossy |
| DSD | .dsf .dff |
Lossless |
| WMA | .wma |
Lossy โ |
| AC-3 | .ac3 |
Lossy |
| E-AC-3 | .eac3 .ec3 |
Lossy |
| DTS | .dts |
Lossy |
| AMR / AMR-WB | .amr .awb |
Lossy |
| CAF (Core Audio Format) | .caf .caff |
Container1 |
| Matroska Audio | .mka |
Container1 |
| AU / NeXT | .au .snd |
Lossless |
| Sound Designer II | .sd2 |
Lossless |
1 Containers hold whichever codec was used, and WMA exists in both lossy and lossless variants. Petrichor reads the actual encoding from the file rather than guessing from the extension, so the Lossless badge on a track is always accurate.
Not supported: DRM-protected files (.m4p, .aa, .aax), audiobook containers (.m4b), tracker modules (.mod, .it, .s3m, .xm), RealAudio (.ra, .ram), and MIDI (.mid, .midi).
Starting 1.7, Petrichor no longer supports or imports the tracker-module formats MOD, IT, S3M, and XM that were supported in 1.6.x.
โ Roadmap
Automatic in-app updates(โ v1.0.0 )Better file format support (eg; Opus & OGG)(โ v.1.2.0)Audio Equalizer(โ v.1.2.0)Miniplayer and full-screen modes(โ v.1.6.0)Smart playlists with user-configurable conditional filters(โ v.1.6.0)Spatial Audio & Gapless playback(โ v.1.6.0)Crossfading support(โ v1.7.0)AirPlay 2 casting support(โ v1.7.0)Internet Streaming Radio(โ v1.7.0)- Natural language search and smart playlists using Apple Intelligence
- Audio Enhancements via Apple Audio Units
- Back-up and import of preferences and library data
- ... and much more!
๏ฃฟ Requirements
- macOS 14 or later (Apple Silicon or Intel)
โ๏ธ Installation
Manually
- Go to Releases and download the latest
.dmg. - Open the it and drag the app icon into the Applications folder.
- In Applications, right-click Petrichor > Open.
Homebrew
brew install --cask petrichor
๐ Get Started
๐ท Screenshots
Refer to official website
๐ Privacy & Data Access
- Petrichor is sandboxed and notarized by Apple.
- It has two permissions on macOS as follows;
- Read-write access
- To read and write into user-selected files and folders, write access is only used for exporting M3U playlist files.
- Network access
- To check for and install app updates.
- Fetch artist images and bios from online sources (disabled by default)
- Download track lyrics from the internet (disabled by default)
- Stream Internet Radio stations (disabled by default)
- Last.fm scrobbling (disabled by default)
- When enabled, app may ask to store your Last.fm session information in macOS Keychain, if you choose to allow it, macOS will ask for your user account password to store the information in Keychain.
- App does not store your Last.fm username or password, you still have to provide it on Last.fm website that opens in browser during configuration, once done, app only receives a session key to scrobble track playbacks with your account.
- Reporting issues from within the app (user opt-in only)
- Users can report a problem from within the app by going to Menu > Help > Report a Problem..., this opens a form where user is asked to fill out a few details, including detailed app diagnostics, along with app's log file.
- This is optional feature and uses network only when user manually initiates this action and sends the information over the internet to app's backend server securely.
- Read-write access
- It doesn't (and never will) have any analytics on how you use the app.
- It never changes your audio files or folder structure in any way.
- Your library data remains offline always.
๐๏ธ Development
Motivation
I have a large collection of music files that Iโve gathered over the years, and I missed having a good offline music player on macOS. I've used several free and paid options but I missed the simplicity and features commonly found in streaming apps; so I built Petrichor to scratch that itch and learn Swift and macOS app development along the way!
Implementation Overview
- Built with Swift and SwiftUI with some parts in AppKit for the best macOS integration.
- Once folders containing music files are added, the app scans them, extracts required metadata, and populates the SQLite database.
- The app does not alter your music files, it only reads from the directories you add.
- Tracks searching is handled by SQLite FTS5.
- Playback and metadata reading are handled by CrescendoKit, which uses FFmpeg and TagLib for broad format support.
View Database Schema
erDiagram
folders {
INTEGER id PK "AUTO_INCREMENT"
TEXT name "NOT NULL"
TEXT path "NOT NULL UNIQUE"
INTEGER track_count "NOT NULL DEFAULT 0"
DATETIME date_added "NOT NULL"
DATETIME date_updated "NOT NULL"
BLOB bookmark_data "Security-scoped bookmark"
TEXT shasum_hash "Folder content hash"
}
artists {
INTEGER id PK "AUTO_INCREMENT"
TEXT name "NOT NULL"
TEXT normalized_name "NOT NULL UNIQUE"
TEXT sort_name
BLOB artwork_data
TEXT bio
TEXT bio_source
DATETIME bio_updated_at
TEXT image