Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS-Wearable Index.
A wearable guitar tuning application for HarmonyOS devices. Guitar Tuner helps musicians quickly and accurately tune their guitars using real-time audio frequency analysis on a smartwatch.
- Tune a guitar before a live performance
- Quickly check pitch during practice sessions
- Verify tuning stability over time
- Compare tuning across multiple guitars
- Train ear with visual frequency feedback
- Tune different string gauges
- Help beginners learn standard tuning
- Support alternate tunings (drop D, open G)
- Diagnose string intonation issues
- Provide vibration alerts when in tune
- Use in noisy environments with robust frequency detection
- Serve as a compact on-wrist tuning tool
- Real-time Tuning: Analyze guitar string frequencies in real-time
- Fast Fourier Transform (FFT): Advanced audio signal processing for accurate frequency detection
- User-friendly Interface: Intuitive controls optimized for smartwatch displays
- Wearable Experience: Designed specifically for HarmonyOS wearable devices
-
Languages: ArkTS, TypeScript
-
UI Framework: ArkUI
-
Platform: HarmonyOS 5.1.0 (API 18)
-
IDE: DevEco Studio 5.1.0.828 SP1
-
@kit.ArkUI: UI component framework
-
@kit.MediaKit: Audio recording and processing
-
Custom FFT library for frequency analysis
ohos.permission.MICROPHONE: Capture audio input for frequency detectionohos.permission.VIBRATE: Provide haptic feedback when strings are in tune
entry/src/main/ets/
├───libs/
│ └── fft.ets # Fast Fourier Transform implementation
├───pages/
│ └── Index.ets # Main tuner UI page
└───viewmodel/
└── guitarTuner.ets # Tuner logic and state management
- Huawei Watch 5 and compatible HarmonyOS wearable devices
- Application requires a physical device (not supported on emulator/simulator)
- Microphone permissions must be granted for audio input
- Best results with clear audio input environments
Guitar Tuner is distributed under the terms of the MIT License. See the LICENSE for more information.


