THIRI logo
build.thiri.ai
MCP · API · Keys

← Research

Research report

Get Started: Groove Scheduler: Shaping Rhythms via Tension Curves

June 10, 2026 by THIRI AI Lab
Run this on the THIRI MCP. Get a free key → · Star the repo →

Human drummers naturally increase complexity and dynamics as harmonic tension builds. The Groove Scheduler automates this process.

By reading tension values, the scheduler dynamically adjusts velocity thresholds and inserts fills as tension peaks, settling back to simple grooves on resolutions.

Dynamic Groove Adjustment:

function getSwingPercent(tension) {
  return 0.10 + (tension * 0.40); // Swing ranges 10% to 50%
}

🤖 File an Issue for an Autonomous Coding Agent

This project requires setting up an external application or workflow environment. If you want an autonomous coding agent (like Claude Code) to implement it in your repository:

  1. Click here to open a pre-filled GitHub Issue on the repository
  2. Submit the issue to trigger your repository’s autonomous builder agent.

Alternatively, you can copy the raw agent prompt instruction below:

Task Context: Build a code project utilizing the THIRI Model Context Protocol (MCP) server. Prompt Instruction: Write a Tone.js step-sequencer that schedules dynamic MIDI drum pattern loops. The sequencer must query the THIRI MCP analyze_chord tool for each step. As the chord tension output increases, dynamically increase velocity variables, inject syncopated fill-triggers, and scale swing offsets.

Trends

Rhythmic Syncopation Velocity Curves Tension Scheduling