A music beat-marker editor: align a beat grid over the audio waveform, place beat markers and BPM change points, and generate beat data for rhythm-based applications. Mark once, export to multiple targets (see Export & Integration Targets).
| Platform | How to install | Status |
|---|---|---|
| Windows (x64) | Grab Beat-Data-Generator-<version>-setup.exe from Releases and run it |
✅ Available |
| Linux (x64) | Grab Beat-Data-Generator-<version>.AppImage or beat-data-generator_<version>_amd64.deb from Releases |
✅ Available |
| macOS | No prebuilt package yet — run from source, see Development | 🚧 In progress |
The current release is a public beta. Linux installers (AppImage + deb) have been available since 0.3.5; macOS support is on the roadmap — feedback from source builds is very welcome.
Auto-update: the app checks for new versions silently on startup (turn it off under Settings → General → Window & Startup), or check manually via Settings → About → Check for updates. Updates come from GitHub Releases. On Linux only the AppImage self-updates in-app; deb installs should be upgraded through the system package manager.
See CHANGELOG.md (Chinese) for the per-version history.
- Audio import: mp3 / wav / ogg / flac / m4a / aac / opus, with real-time waveform rendering.
- Beat grid: dual ruler (time + beat). Snapping from 1 to 1/32 beat subdivisions.
- Magnetic snapping: dragged/placed points snap to nearby markers, the playhead, notes and loop edges (requires grid snap).
- Time signature: 1–16 beats per bar, driving the bar ruler, bar jump, default loop length, count-in and grid-metronome accents.
- Marker editing: click to add, drag to fine-tune, right-click to delete; nudge by snap step, multi-select (Ctrl/Cmd + click), select all.
- Multiple marker tracks: add / rename / recolor / lock / hide tracks. Drag a track header to reorder, click it to make it active, and drag markers vertically to change tracks. Markers on hidden tracks are excluded from the playback indicator and exports.
- Loop groups: a main marker can generate child markers by
interval × count, with optional exclusion; capped at 256 children per group to keep the editor responsive. - Sticky notes: place floating notes (non-modal, never steals focus) on the timeline and edit them with double-click (Markdown).
- Undo / redo: up to 100 steps; copy / paste marker groups (including loops).
- Audio intelligence: on load, auto-detect BPM, place beat markers, find the best looping segment, and keep a live BPM readout plus a mel spectrogram in a collapsible analysis panel. Powered by pleco-xa, computed asynchronously in a Web Worker; each capability is an independent toggle in Settings.
- BPM lane: add BPM points (absolute BPM or multiplier modes) to build a tempo map; supports locking the BPM lane.
- Variable-speed playback: 0.1–4× rate; pitch-following playback, or pitch-preserving time stretch (defaults to
signalsmith-stretch, withsoundtouchjsas fallback — see Time-stretch engine). - Loop audition: Shift+drag the ruler for an A–B loop, or select markers and loop them in one click; the analysis panel can audition the detected loop.
- Grid metronome & count-in: click every beat (accented downbeat) with an optional 1–4 bar count-in, independent of marker clicks.
- Tap tempo: click Tap or press T to tap the tempo into the base BPM.
- Quick navigation: click the transport time or press Ctrl+G to jump with
1:23.456,83.456orb12.3; reset speed to 1× and mute from the transport. - Metronome click: plays a tick each time a marker is passed; a custom audio file can be selected (empty disables it). Coincident markers can be merged, gain-limited or stacked, with a bar-start accent and output protection. Clicks are scheduled ahead on the audio clock, so pause, seek, loop and speed changes leave no stale or duplicated clicks.
- Auto-follow: the timeline scrolls once the playhead passes a configurable threshold. The plain wheel scrolls by default; an option makes it move the playhead instead (FL Studio style).
- Performance presets: switch between Standard and Light in one click; Light disables lane glow, marker bloom and smooth follow and caps effects per instant, while playback and clicks are untouched. The timeline uses layered canvases, so a static view is no longer repainted every frame.
- Project files:
.bdg(JSON). Audio is referenced by a path relative to the project plus an MD5, verified / auto-relinked on open; beats per bar is configurable (1–16). - Auto-save & recovery: configurable interval (1–60 min) saves in the background; a crash-recovery snapshot is written while editing and can be restored at startup.
- Built-in exports: timestamp list
.txt(adjustable precision, de-duplicated by value) and CMX3600 EDL.edl(adjustable frame rate, default 25 fps non-drop). A preview shows the range, count and markers excluded from hidden / plugin-typed tracks. - Plugin-based import / export: ADOFAI, Phira, MIDI and more are provided by official plugins — see the table below.
- Plugin system: extend with new import/export formats, floating sidebar panels, timeline overlays, custom shortcuts, standalone preview windows, and typed tracks. See
docs/plugin-system.md. - Plugin marketplace: browse, search and filter by category, then install / update / uninstall official plugins in one click, or install a local ZIP offline; SHA-256 verification and a trust prompt run before install (see Installing a plugin).
- Theming: 6 presets (default / midnight / forest / amber / graphite / light) with per-token color overrides and an independent accent color, applied live.
- Appearance: use a local image as the app background (cover / contain / tile, with blur and dimming), and tune UI zoom, font scale, corner radius, shadow and panel opacity.
- Simple mode: on by default, hiding advanced options and the "Advanced" category; turn it off under Settings → General.
- Network: pick a proxy source (system / environment / off) and enable a GitHub mirror to reach the marketplace and updates.
- Extras: multilingual UI (中文 / English / 한국어), welcome screen with recent projects, window-state memory, close-mode settings.
One project can feed several targets: generic formats ship with the editor, everything else is distributed through the official plugin organisation.
| Target | Format | Provided by |
|---|---|---|
| Timestamp list | .txt: one float millisecond timestamp per line (3 decimals by default, adjustable), de-duplicated across tracks |
Built-in |
| CMX3600 EDL | .edl: adjustable frame rate (default 25 fps), Non-Drop Frame; each marker produces a 1-frame event with a FROM CLIP NAME |
Built-in |
| A Dance of Fire and Ice | .adofai level, with double-press, BPM speed track and pause compensation |
Plugin bdg_plugin_adofai |
| Phira / RPE | .pez chart, optional single-judge-line merge, packed together with the audio |
Plugin bdg_plugin_phira |
| Text timestamps / MIDI (import) | Import markers from text timestamps or MIDI files: integers are milliseconds, decimals are seconds; MIDI note times create new tracks | Plugin bdg_plugin_import |
Installing a plugin: install official plugins in one click under Settings → Plugins → Marketplace; alternatively, download the plugin repository folder → drop it into the plugin directory (Settings → Plugins → Open plugin folder, i.e. <userData>/plugins) → hit "Rescan and load" in Settings. In development mode the project's plugins/ folder is scanned as well.
Writing your own plugin: plugins/plugin-api.d.ts ships commented type declarations, bdg_plugin_template is a minimal working template, and docs/plugin-system.md has the full guide.
- Launch the app and choose Open Audio from the File menu; the waveform loads into the timeline.
- Click on the BPM lane to add tempo points (or adjust base BPM / offset in the sidebar) to align the beat grid.
- Click on a marker track to place markers (auto-snapped); drag to fine-tune.
- Play back to verify the markers; toggle auto-follow, and audition at other speeds or with pitch-preserving stretch.
- Save Project (
.bdg) to keep markers and BPM data. - Export with the built-in exporters (timestamps / EDL) or any installed plugin.
| Key | Action |
|---|---|
| Space | Play / pause |
| Ctrl+S / Ctrl+Shift+S | Save project / Save As |
| Ctrl+O / Ctrl+Shift+O | Open project / Open audio |
| Ctrl+C / Ctrl+X / Ctrl+V | Copy / cut / paste marker group |
| Ctrl+A | Select all markers |
| Ctrl+Z / Ctrl+Y / Ctrl+Shift+Z | Undo / redo |
| Delete / Backspace | Delete selected (undoable) |
| M | Place a marker at the playhead |
| T | Tap tempo (Shift+T resets) |
| Ctrl+G | Jump to time / bar |
| Ctrl+Shift+↑ / Ctrl+Shift+↓ | Move the active track up / down |
| , / . or Alt+← / Alt+→ | Select and jump to the previous / next marker |
| ← / → | Nudge by snap step (when selected; moves the whole multi-selection) |
| Esc | Close popover / clear selection |
| Home | Go to start |
| Ctrl+0 / Ctrl++ / Ctrl+- | Fit view / zoom timeline in / out |
| Ctrl+wheel | Zoom timeline (when hovering it) |
| Wheel / drag | Scroll the timeline vertically / horizontally |
Shortcuts can be rebound per action under Settings → Shortcuts, reset to defaults, and conflicts are detected automatically. Plugins can register their own shortcuts via api.ui.registerShortcut.
| Layer | Technology |
|---|---|
| Desktop shell | Electron |
| Build tooling | electron-vite / Vite 7 |
| Frontend | Vue 3 + TypeScript |
| State | Pinia |
| Validation | zod 4 (project-file / settings schemas) |
| UI | reka-ui (headless) + Tailwind CSS v4 |
| Icons | @lucide/vue |
| i18n | vue-i18n |
| Time-stretch | signalsmith-stretch (default) / soundtouchjs (fallback) |
| Audio intelligence | pleco-xa (async via Web Worker) |
| Markdown rendering | slimdown-js (notes / plugin panels) |
| Waveform | Canvas (custom) |
| Auto-update | electron-updater (GitHub Releases) |
| Plugin unzip | fflate (ZIP) |
| Logging | electron-log |
src/
├── main/ # Electron main: entry handles lifecycle only; settings / recents / lastDirs / windowState / metronome / files / windows / ipc / ipcHandle / updater / logger / i18n / network / plugins / market (registry·inventory·installer)
├── preload/ # Preload script (contextBridge exposes a safe API)
├── shared/ # IPC types, settings schema and plugin contract shared by main & renderer
└── renderer/ # Vue renderer
└── src/
├── components/ # TopBar / SideBar / TransportBar / Timeline / SettingsModal / ProjectBar / AnalysisPanel etc.
├── stores/ # Pinia stores: project (store / queries / tracks / markers / notes / bpm / timeAlign) / selection / transport / view / settings / ui
├── services/ # Orchestration: timeline / history / clipboard / playback / audioIO / projectIO / bootstrap / flash
├── schemas/ # zod project-file schema (v1 → v2 migration and per-item recovery)
├── plugins/ # Plugin host: registry / events / bridge API
├── i18n/ # Chinese, English & Korean strings (zh / en / ko) + locale detect/storage helpers
├── engine.ts # Web Audio playback engine
├── tempo.ts # beat↔time mapping and tempo map builder
├── stretch/ # Time-stretch engines: signalsmith (default) / soundtouch (fallback) + worker
├── analysis.ts # Audio intelligence bridge (pleco-xa, async in Web Worker)
├── analysis.worker.ts # Analysis worker (BPM / beats / loop / spectrogram)
├── theme.ts # theme presets and color-token derivation
├── welcome.ts # standalone welcome-window script
├── ui/ # light UI helpers (toast, etc.)
├── utils/ # generic helpers (text, etc.)
└── metrics.ts # drawing metrics & palette
Note: state is imported directly from
stores/(Pinia) and orchestration fromservices/; there is no longer a centralstorebarrel.
- The single source of truth is the reactive
localeexported byi18n/index.ts(read it viacurrentLocale()); a watcher keeps<html lang>in sync. Don't readdocument.documentElement.langfrom feature code. - The language preference is persisted as the
localesetting (autofollows the OS /zh/en/ko). Native main-process dialogs and the welcome window follow it too; the welcome window uses the lightweighti18n/locale.ts+welcomeMessages.tsand never bundles vue-i18n. - When adding strings, update
i18n/zh.ts,i18n/en.tsandi18n/ko.ts.i18n.test.tsasserts key parity across locales andkeys.test.tsasserts every hard-codedt("...")key exists.
Requires Node.js ≥ 20.19 (Vite 7's minimum) and npm.
# Install dependencies
npm install
# Development mode (hot reload)
npm run dev
# Preview a production build
npm start
# Build (outputs to out/)
npm run build
# Package the Windows installer (outputs to release/)
npm run dist:win
# Package Linux installers (AppImage + deb, must run on Linux; outputs to release/)
npm run dist:linux
# Type checking (main + renderer)
npm run typecheck
# Run tests (vitest)
npm test
# Tests in watch mode
npm run test:watch
# Test coverage
npm run test:cov
# Lint & format
npm run lint
npm run lint:fix
npm run format
npm run format:checkTests currently cover the pure-logic layer: tempo math (tempo.ts), project-file parsing and recovery (schemas/project.ts), settings repair (shared/settings.ts), theme encode/decode (theme.ts), the time-stretch engines (stretch/), and undo/redo, clipboard plus export formats (services/history.ts / services/clipboard.ts / services/projectIO.ts).
Pushing a v* tag triggers .github/workflows/release.yml: it first verifies on ubuntu (typecheck / test / lint), then packages on Windows and Linux runners and publishes to a GitHub Release (electron-builder creates a draft first, which is auto-promoted once packaging finishes so the latest.yml / latest-linux.yml needed for auto-update become public). Pushes to the dev branch only do a packaging dry run — artifacts land in Actions Artifacts and nothing is published. Bump the version in package.json before releasing and keep the tag in sync (e.g. v0.3.5).
Runtime logs (electron-log) go to the terminal by default. To persist them, enable "Record logs to file" under Settings → Developer options (off by default): they are then written to <userData>/logs/main.log, rotated at 5 MB, with main-process logs plus renderer console warnings/errors funnelled into it (on Windows usually %APPDATA%\<app name>\logs\main.log). This helps when a packaged build has no DevTools.
Pitch-preserving off-speed playback uses signalsmith-stretch by default (WASM offline render, better quality); switch back to soundtouchjs under Settings → Audio → Playback. Signalsmith failures or timeouts fall back to SoundTouch automatically.
- Where are the logs? See Runtime logs — nothing is written to disk until you enable it in Developer options.
- Pitch-preserving playback sounds off / stutters? It defaults to
signalsmith-stretch; failures or timeouts fall back tosoundtouchjsautomatically, and you can pin the engine under Settings → Audio → Playback. - "Check for updates" does nothing? Update checks are unsupported in development mode; if the check fails, download manually from Releases.
- Does it run on macOS / Linux? Linux installers (AppImage + deb) are available; macOS is on the roadmap — meanwhile you can try the source build and report back.
- What frame rate does the EDL use? 25 fps non-drop by default, adjustable in the export dialog; for other formats, open an issue or write a plugin as described in Export & Integration Targets.
Setup, code style, commit and release process: see CONTRIBUTING.md (Chinese; issues and PRs in English are welcome). Bug reports and feature requests: use the issue templates. Plugins belong in the official plugin organisation.
This project is released under the GNU GPL v3 license (see LICENSE). Author: BUGJI.
| Component | License |
|---|---|
| Electron | MIT |
| Vue / Pinia / vue-i18n / reka-ui / zod | MIT |
| @lucide/vue | ISC |
| signalsmith-stretch | MIT |
| pleco-xa | MIT |
| slimdown-js | MIT |
| fflate (ZIP extraction) | MIT |
| electron-log / electron-updater | MIT |
| soundtouchjs (SoundTouch) | LGPL-2.1 |
The identifiers above are the licenses declared by each package on npm; check the LICENSE file in each upstream repository before redistributing. The built-in metronome samples live in resources/metronomes/. The click samples (Kick / Shaker / VehiclePositive) come from A Dance Of Fire And Ice by 7th Beat Games; all rights remain with the original authors, credited here as the source.