Repository navigation
EN Technical Guide
← Wiki Home · English | فارسی · Open application
Persian Music Scales is served as a browser application from GitHub Pages. Its visible interface, scale models, musical reference material, audio functions, and Progressive Web App assets are held in the main repository.
| Resource | Purpose |
|---|---|
index.html |
Main scale explorer entry page |
src/index.js |
Main explorer behavior |
src/audio-analyzer.js |
Main-thread analyzer interface and controls |
src/audio-analyzer.worker.js |
Background audio-analysis calculations |
src/key-signature.js |
Calculated staff-notation display |
src/modal-roles.js |
Annotated modal-function contexts |
data/persian-scales.json |
Published reference pitch models |
reference/ |
Musicological and methodological reference pages |
manifest.json |
PWA identity and icons |
service-worker.js |
Browser caching and offline behavior |
Clone or download the repository and serve it over an HTTP origin instead of opening files directly. For example, from the repository folder:
python -m http.server 4173Then visit http://localhost:4173/index.html. Microphone access is controlled by the browser and generally requires a secure context (HTTPS or a permitted localhost origin). Local audio playback may also need a user gesture.
The app is intended for modern desktop and mobile browsers. Available audio decoders, microphone permissions, MediaRecorder implementations, and install prompts differ across platforms. A PWA installation does not guarantee that every external CDN script or audio example is already cached for offline use.
The project contains separately licensed tuner components, including MIT-licensed code credited to Qiu Xiang. The browser tuner also loads external JavaScript dependencies. Consult Third-Party Notices rather than assuming the entire repository has a single license.
The audio-analysis code performs signal processing in the browser. The main site separately loads Google Analytics for visitor metrics; any GDPR/consent implications must be evaluated separately from microphone processing.
The repository uses Playwright browser tests and GitHub security features. A successful GitHub Pages deployment does not automatically mean that every browser regression test has passed. Report suspected security vulnerabilities via the repository's private security reporting channel, not a public issue.
See also: README · Source code · Security policy
Application · Scientific reference · Repository · Home
اجرای گامهای موسیقی ایرانی · منابع علمی · صفحهٔ اصلی ویکی
© 2024–2026 Pouya Hosseini · License & notices