home/productivity/chain-of-thoughts-prompt-31

Chain of Thoughts prompt

GPTClaudeDeepSeek··330 copies·updated 2026-07-14
chain-of-thoughts-prompt-31.prompt
METER: 3/4
Ticks per bar: 12 (quarter=4, half=8, dotted half=12)

TASK OVERVIEW
Return one JSON object for exactly 12 bars (conceptual Bars 12–24). Instruments per bar in this exact order:
["alto_flute", "bass_clarinet", "trumpet", "violin", "cello", "double_bass"].

• Strings (violin, cello, double_bass): literal repeat of Bars 12–24 (bar-by-bar mapping below).
• Winds (alto_flute, bass_clarinet, trumpet): new, homophonic group with their own per-bar rhythm from the allowed set.

AUTHORITATIVE REFERENCE (DO NOT ALTER A SINGLE NUMBER)
The following JSON is the ground truth for Bars 12–24. You will reuse the strings’ pt.dimensions arrays and run_plan.seeds from here, unchanged (only pt.name must be new). Treat this block as read-only source of truth:

<<<REFERENCE_STRINGS_JSON_START>>>
PASTE THE ENTIRE BARS 1–12 JSON HERE
<<<REFERENCE_STRINGS_JSON_END>>>

LITERAL REPEAT MAPPING (exact copy of numbers)
Map prior bars → current bars for strings only:

• Bar 13 ← reference Bar 1
• Bar 14 ← reference Bar 2
• …
• Bar 24 ← reference Bar 12

For each of violin, cello, double_bass in bar k (12–24):
• Copy the entire pt.dimensions array from the mapped reference bar (same order, same transform names and args).
• Copy the exact run_plan.seeds object (time, duration(s), pitch, velocity, numerator, denominator) and N.
• Assign a fresh pt.name (e.g., append _b16, _b17, …).
• No other changes are allowed for strings.

RHYTHM & GROUPED HOMOPHONY
• Within each group, all instruments share the same onsets/durations in that bar.
  – Strings: enforced by the literal copy.
  – 2nd group: Winds and Trumpet: choose one pattern per bar; alto_flute, bass_clarinet and trumpet must match it exactly.
• Between groups: rhythms may differ.

ALLOWED  RHYTHMS (per bar; align to ticks {0,4,8}; single sustained notes only—no chained quarters)
• Dotted half — N=1, onset 0, duration 12.
• Half + Quarter — N=2, onsets 0 & 8; durations 8 & 4.
• Quarter + Half — N=2, onsets 0 & 4; durations 4 & 8.
• Half + Quarter rest — N=1, onset 0, duration 8.
• Quarter rest + Half — N=1, onset 4, duration 8 (set seeds.time = 4).
Rests are realized by omitting events.

RANGES (hard limits — stay inside)
• alto_flute: 53..81
• bass_clarinet: 43..74
• trumpet: 60..82
• violin: 55..88
• cello: 48..74
• double_bass: 31..55

HARMONY NOTES
Winds and trumpet enrich vertically with post-tonal/jazz colors (added 2/9, 4/11, 6/13, 7; quartal/quintal), with smooth voice-leading and readable spacing. Avoid blatant parallel perfect 5ths with the double_bass across successive changes.

SCHEMA REQUIREMENTS (strict)
• Top-level: "bars": [ … ] with exactly 12 bars (Bars 13–24).
• Each bar has exactly six features, in this exact instrument order:
  ["alto_flute", "bass_clarinet", "trumpet", "violin", "cello", "double_bass"].
• Each feature’s pt.dimensions list has six entries in this order:
  1) time, 2) duration, 3) pitch, 4) velocity, 5) numerator (add 0), 6) denominator (add 0).
• Include a run_plan with six entries, one per feature; run_plan[i].feature_name must equal that feature’s pt.name.
• All meter seeds set numerator=3, denominator=4.
• Last onset + duration ≤ 12 ticks in every feature.

PRECEDENCE LADDER (resolve conflicts in this order)
1. Exact numeric copy for strings from the REFERENCE block (bar mapping)
2. Schema/order requirements
3. Hard ranges
4. Group homophony rules
5. Wind and trumpet harmony/style guidance

MANDATORY SELF-CHECK BEFORE RETURNING
• Count bars == 12.
• For every string feature in Bars 12–24, confirm that its pt.dimensions array and run_plan (N + seeds) match bit-for-bit the mapped reference bar (except pt.name). If any mismatch, regenerate until identical.
• Winds and trumpet: confirm grouped homophony per bar and allowed rhythm usage only.
• All pitches within hard ranges; last onset+duration ≤ 12.

OUTPUT
Return one JSON object only (no prose).

fill the variables

This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{0,4,8}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo sunsetsobserver/chain-of-thoughts (no explicit license). A "Chain of Thoughts prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

sunsetsobserver/chain-of-thoughts · no explicit license