MCPcopy Index your code
hub / github.com/egradman/scales-chords

github.com/egradman/scales-chords @1.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.0.1 ↗ · + Follow
19 symbols 27 edges 2 files 0 documented · 0% updated 4y ago1.0.1 · 2021-09-18★ 386 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Scales and Chords

This is a plugin to allow you to capture guitar and piano tabs in your Obsidian vault.

To use this plugin, use a fenced code block like this:

Verse
G         Am             G/B     G %
Blackbird singing in the dead of night
C          C#dim       D    D#dim    Em   D# %
Take these broken wings and learn to fly
D   C#dim   C    Cm %
All your    life
G/B             A7               D7         G %
You were only waiting for this moment to arise

The % at the end of a line indicates that the line contains chords. In preview mode, each chord is displayed in bold, and is clickable. Clicking a chord brings up a modal containing a visual rendition of the chord (as supplied by ScalesChords).

Lines that don't end in % will be rendered unmodified.

In addition, every chord captured by the plugin will be rendered in a big stack below the tab block. This allows you to open two edit views and keep all the song's chords in view.

You can change the instrument in the settings. Just type in one of: - guitar - piano - ukelele - mandolin - banjo

Caveats

  • This is my first plugin.
  • I can't play piano or guitar. I'm learning, and writing a plugin is how I procrastinate practice.

Thanks to the fine folks at ScalesChords who provided an API for generating these images!

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 9
Class 6
Function 3
Interface 1

Languages

TypeScript100%

Modules by API surface

main.ts19 symbols

For agents

$ claude mcp add scales-chords \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page