+
+

+
+# NotenSplit Offline
v0.2.1
+**PDF scores ➔ individual sheet music parts**
+[APK by Manuel Pollhammer 2026](https://www.pollhammer.org)
+
+
+
+
+
+
+
+
+---
+
+## 🚀 What is NotenSplit Offline?
+
+**NotenSplit Offline** is a free Android utility designed to separate PDF music scores into individual instrument or vocal parts directly on a smartphone or tablet. Inspired by the workflow of [Partifi](https://partifi.org/), it is an independent Android implementation with entirely local PDF processing, without registration, advertising or an internet permission.
+
+## 📦 Components
+
+* **NotenSplit Offline APK:** Interactive Android editor, PDF import, staff markers, part assignment, local projects and export.
+* **StaffDetector.java:** Heuristic staff and whitespace detection, including a two-staff piano mode.
+* **PDFBox-Android:** Locally bundled PDF library for vector-based extraction and original-quality output.
+* **GitHub Actions:** Automated APK compilation, staff-detection tests, signature verification and internet-permission checks.
+
+## 📝 Usage Modes
+
+1. **Manual separation:** Open a PDF, adjust red markers and assign names to the selected score sections.
+2. **Automatic staff detection:** Detect staff boundaries; choose individual staves or paired piano staves in the menu.
+3. **Recurring instrumentation:** Assign a repeated sequence of instruments or voices and save reusable presets. Use `all` for shared material or `skip` to omit a section.
+4. **Preview and export:** Select a voice, preview the result and export individual A4 PDFs to a local folder.
+5. **Project management:** Reopen, rename or delete individual projects; clear the entire local project list after confirmation.
+
+---
+
+## 🛠️ New in v0.2.1: Developer Identity & Repository Integration
+
+* **Developer credit:** APK by Manuel Pollhammer 2026, linked directly to [pollhammer.org](https://www.pollhammer.org).
+* **GitHub repository shortcut:** Open the official project repository from the app menu, below Reset Zoom.
+* **Offline architecture retained:** Both optional links open the external browser; the app itself still has no internet permission.
+* **Project documentation:** README structured in the style of [Office-Morph](https://github.com/pollhammer/office-morph), with an updated project banner, description and installation instructions.
+
+---
+
+## ✨ Key Features
+
+* **Smart Staff Detection:** Finds potential cut positions in the whitespace between staves.
+* **Manual Marker Editing:** Add, remove or drag separators to fine-tune the extraction.
+* **Zoom:** Enlarge the score up to 350% with horizontal scrolling.
+* **Reusable Presets:** Store and reuse typical instrumental or vocal lineups.
+* **Original Quality:** Vector-based PDF export preserves source vectors and embedded images where supported.
+* **Raster Mode:** Export only visible rendered score sections as an alternative.
+* **A4 Layout:** Automatically arrange selected score sections on output pages.
+* **Progress Feedback:** Percentage and page/part status during preview, assignment and export.
+* **Local Project Storage:** Save work on-device, with explicit confirmation before permanent deletion.
+* **No Ads, No Account:** Core functions operate entirely offline.
+
+---
+
+## 📋 Prerequisites & Installation
+
+* Android 5.0 (API 21) or higher.
+* A locally accessible PDF score and available storage.
+* Download the latest successful **NotenSplit-Offline-0.2.1-APK** artifact from [GitHub Actions](https://github.com/pollhammer/NotenSplit-Offline/actions), extract the ZIP and open the APK. Android may request permission to install from this source.
+* This is a debug-signed test build. v0.2.1 uses a separate application ID to protect existing v0.1 and v0.2 projects against accidental data loss; those projects remain in their original apps and are not migrated automatically.
+
+## ⚙️ Build from Source
+
+JDK 17, Android SDK 35 and Gradle 8.9 are required for a local build.
+
+```bash
+bash tests/test.sh
+gradle --no-daemon :app:assembleDebug
+```
+
+The automated workflow checks APK signatures and verifies the absence of `android.permission.INTERNET`.
+
+## ⚠️ Limitations
+
+Staff recognition is heuristic, not optical music recognition. Inspect and adjust markers before exporting. Original-quality PDF export uses clipping: hidden source content may remain embedded. Choose raster mode if only visible content should be retained. The app does not reproduce every Partifi feature, and device-level validation of each update is recommended.
+
+## 🔗 Links
+
+* **Developer:** [www.pollhammer.org](https://www.pollhammer.org)
+* **Repository:** [pollhammer/NotenSplit-Offline](https://github.com/pollhammer/NotenSplit-Offline)
+* **APK builds:** [GitHub Actions](https://github.com/pollhammer/NotenSplit-Offline/actions)
+* **Inspiration:** [Partifi](https://partifi.org/)
+* **PDF library:** [PDFBox-Android](https://github.com/TomRoush/PdfBox-Android) (Apache License 2.0)
+
+---
+
+**Developed by Manuel Pollhammer | Release 2026**
diff --git a/app/build.gradle b/app/build.gradle
index 288c8bc..cd6c229 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -2,7 +2,7 @@ plugins { id 'com.android.application' }
android {
namespace 'at.notensplit.offline'
compileSdk 35
- defaultConfig { applicationId 'at.notensplit.offline.v2'; minSdk 21; targetSdk 34; versionCode 2; versionName '0.2.0' }
+ defaultConfig { applicationId 'at.notensplit.offline.v21'; minSdk 21; targetSdk 34; versionCode 3; versionName '0.2.1' }
packaging { resources { excludes += ['META-INF/DEPENDENCIES', 'META-INF/LICENSE', 'META-INF/LICENSE.txt', 'META-INF/NOTICE', 'META-INF/NOTICE.txt'] } }
compileOptions { sourceCompatibility JavaVersion.VERSION_17; targetCompatibility JavaVersion.VERSION_17 }
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 894c780..4634da8 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -1,4 +1,4 @@