Skip to content

Jev directory

Jev Riffs

A music pattern ripper: it tokenizes a MIDI file into an interval string, mines repeating units in code, and has Jev grade each candidate's musical significance in one batched call, then draws and plays the results in a web UI with WAV and JSON export.
Stars
3
Language
TypeScript
License
MIT
Reading time
3 min
Published by
Community
Author
hazlema
Last verified
Oct 2026

hazlema/jev-riffs

User repository on GitHub

View on GitHub

Music pattern ripper: MIDI → interval tokens → code mines candidate motifs → Jev (TypeSafe System One) grades their significance. Web UI with piano roll, click-to-play, WAV export.

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

Highlights

  • Proven on Tchaikovsky: the Swan Lake theme surfaced as the top-ranked motif from a 17-track orchestral MIDI in one batched call, about 600 ms.
  • Interval tokenization is transposition-invariant, so a riff restated up a fourth produces the identical token substring.
  • Candidate mining is pure code - repeat counting by greedy non-overlapping scans - pruning shadows, periodic units, rotation echoes, and superstrings.
  • Jev grades each candidate 0 to 3, from incidental overlap to signature theme, returning a probability-weighted significance like 2.09.
  • The web UI draws the piano roll, highlights where each motif lives, plays the passage on click, and exports WAV or JSON.

Watch out

Grounded in the repository README and GitHub metadata reviewed on 2026-10-15; the README's significance-grading section was truncated, the roughly 600 ms figure comes from one Swan Lake run rather than a benchmark, and LIBRARY.md is referenced for the Jev client library but was not in the digest.

Questions about this entry

Short answers drawn from the linked project or page.

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai