Skip to content
CofficLabPublic

About

A precise, local-first metronome for macOS and iOS, built on the Lumi Kernel/Provider/Plugin architecture.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Ticktone

Ticktone is a precise metronome for macOS and iOS. It runs entirely on-device: no account, no network, no analytics.

📖 中文版 | English

Swift macOS iOS License

Features

  • Sample-accurate engine: a dedicated audio render path keeps the click steady under UI load.
  • Tempo 30–300 BPM with Italian tempo markings, tap tempo, and tempo lock.
  • Time signatures and subdivisions: beats per measure, beat unit, duple/triple/quadruple subdivisions.
  • Accent patterns: cycle weak / normal / accent / mute per beat.
  • Practice tools: count-in measures, tempo training with target BPM and step size, visual flash, haptics.
  • Presets: save and recall complete configurations.
  • Pendulum and beat indicators that follow the configured pattern.
  • Click sound sets built from synthesized samples; volume is adjustable.
  • Native multiplatform shell: SwiftUI on macOS and iOS from one app target.

Requirements

  • macOS 14.0+ / iOS 17.0+
  • Xcode 16.0+
  • Swift 6.0+
  • XcodeGen (the .xcodeproj is generated from project.yml)

Development

xcodegen generate
open Metronome.xcodeproj

Select the Metronome scheme and run. The target builds for macOS and iOS; use a simulator or device destination for iOS.

Project layout

  • MetronomeApp/ — app entry and host manifest (MetronomeManifest.swift), Info.plist, entitlements, assets, localizations
  • Packages/PluginMetronome/ — MetronomeCore (pure domain logic) and PluginMetronome (audio engine, views, plugin)
  • Packages/PluginSettingGeneral/, PluginSettingToolbar/, PluginActivityBar/ — host shell plugins
  • Assembly comes from the remote LumiFactory package (kernel pipeline, macOS/iOS window shells); the app only declares its manifest
  • scripts/ — package test runner

Tests

Run every package suite:

./scripts/test-all-packages.sh

Build both platforms:

xcodebuild -project Metronome.xcodeproj -scheme Metronome -destination 'platform=macOS' build
xcodebuild -project Metronome.xcodeproj -scheme Metronome -destination 'generic/platform=iOS Simulator' build

License

GPLv3. See LICENSE.

About

A precise, local-first metronome for macOS and iOS, built on the Lumi Kernel/Provider/Plugin architecture.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages