A cross-platform metronome application built with Avalonia UI and .NET 9.
- Adjustable BPM: Set tempo from 40 to 300 beats per minute in 5 BPM increments
- Multiple Time Signatures: Support for 4/4, 3/4, 2/4, and 6/8 time signatures
- Visual Beat Indicators: Color-coded beat visualization with accent highlighting
- Audio Feedback: System beep audio cues (Windows) with console output fallback
- Modern MVVM Architecture: Built with CommunityToolkit.Mvvm for clean separation of concerns
- .NET 9.0 or later
- Windows
- Clone the repository
- Navigate to the project directory
- Build the project:
dotnet build
dotnet run
Or for a release build:
dotnet run --configuration Release
- The executable created will be located in
bin\Release\publish
. Move the file to you desired directory, Double-clickMetronomeApp.exe
to run the release build.
- Set BPM: Use the + and - buttons to adjust the tempo
- Choose Time Signature: Select from the dropdown (4/4, 3/4, 2/4, 6/8)
- Start/Stop: Click the play button to start or stop the metronome
- Visual Feedback: Watch the beat indicators light up in sync with the audio
- UI Framework: Avalonia UI for cross-platform desktop support
- Audio: NetCoreAudio library with system beep fallback
- Architecture: MVVM pattern with CommunityToolkit.Mvvm
- Threading: Proper UI thread handling for responsive interface
MetronomeApp/
├── Services/ # Core metronome logic
├── ViewModels/ # MVVM view models
├── Views/ # UI layouts
├── Models/ # Data models
└── Assets/ # Application resources
- Custom audio file support for click sounds
- Tap tempo functionality
- Preset saving and loading
- Advanced time signature support
- Visual metronome mode
[license information here]