Skip to content

Instantly share code, notes, and snippets.

View jcppman's full-sized avatar

Chriest Yu jcppman

View GitHub Profile
class DrumMachine {
// Timing constants for unified event loop
static readonly PPQ = 192; // Pulses per quarter note (Tone.js constant)
static readonly TICK_RESOLUTION = 12; // Master loop resolution
static readonly MUSICAL_STEP_DIVISION = 2; // 8th notes (2 per quarter note)
static readonly STEPS_PER_MUSICAL_STEP =
DrumMachine.PPQ / DrumMachine.MUSICAL_STEP_DIVISION / DrumMachine.TICK_RESOLUTION; // 8th note per musical step
static readonly LATENCY_COMPENSATION = 0.1; // Metronome timing compensation
static readonly PROGRESS_UPDATE_PRECISION = 2; // Progress update frequency multiplier
@jcppman
jcppman / PRIVACY.md
Created May 20, 2026 06:53
Privacy Policy

Everyday Giver — Privacy Policy

Last updated: 2026-05-19

Everyday Giver is a developer-productivity Chrome extension. It is designed to keep your data on your own machine.

What the extension accesses

  • Slack thread content. Only when you explicitly click a copy action,