Skip to content

About

Synchronized chord-diagram overlay plugin for FeedBack

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

FeedBack Plugin: Chords Strip

Validate Release License: MIT

Chords Strip is a plugin for FeedBack that displays upcoming chord diagrams in a compact overlay while a song is playing.

Compatibility

Requires FeedBack 0.3.0-alpha.1 or newer. The plugin uses the v3 player-control slot and the public highway overlay APIs introduced for the 0.3 series.

Screenshot

Chords Strip running in FeedBack

Features

  • Live chord strip — shows the current and upcoming chord shapes along a time-based strip
  • Chord diagrams — renders frets, fingers, open and muted strings, and barre hints
  • Arrangement aware — follows the active string count, left-handed and inverted views, and difficulty-filtered chords
  • Summary panel — a Summary button on the strip opens a panel listing chords found in the current arrangement
  • Print summary — a Print button in the Summary panel opens a print-friendly sheet with song header metadata and chord diagrams
  • Main player and split screen — supports the standard player and individual split-screen panels
  • Toggle on/off — provides an explicit Chords: on / Chords: off control in the FeedBack player plugin controls
  • Persistent preference — remembers whether the overlay is enabled

Installation

cd /path/to/feedBack/plugins
git clone https://github.com/glferrari1969/feedBack-plugin-chordsstrip.git chordsstrip
docker compose restart

A "Chords" button appears in the player plugin controls when a song is available.

The control is labelled Chords: off while disabled and Chords: on while enabled.

How It Works

The plugin reads filtered chord events and chord templates through FeedBack's public highway API. The Summary panel reads chords from the active highway instance, so it always reflects the current arrangement without a separate arrangement selector. It uses its own canvas and animation loop, so it remains independent of the selected highway renderer. The overlay is removed and its animation is stopped when disabled.

The animation also stops when the player or highway is hidden. Chord diagrams and summaries follow the active difficulty, string count, inversion, and left-handed setting.

Privacy and Permissions

Chords Strip is a client-side plugin. It:

  • does not install Python packages or add server routes;
  • does not contact external services;
  • reads chart data through FeedBack's public highway APIs;
  • uses FeedBack's local song-information endpoint for printable metadata; and
  • stores only the on/off preference in browser localStorage.

Known Limitation

The strip currently displays events exposed through FeedBack's public chord APIs. Arpeggios authored exclusively as handShapes, without corresponding chord events, are not displayed because FeedBack does not currently expose a public handshape getter for renderer-independent overlay plugins. Templates that provide displayName are supported.

Printing From Summary

From the Summary panel, click Print to generate a print layout that includes:

  • Song title, artist, album/year, and arrangement plus tuning
  • Monochrome (black on white) chord diagrams
  • A compact multi-column diagram grid for paper/PDF output

Development

Run the lifecycle regression tests with:

node --check screen.js
node --test tests/runtime.test.js

Validate the manifest with the reference validator from feedBack-plugin-spec:

python path/to/feedBack-plugin-spec/tools/validate.py path/to/chordsstrip

The GitHub Actions workflow runs all three checks on every push and pull request.

Support

Report bugs and compatibility problems through the repository's issue tracker. Please include the FeedBack version, plugin version, arrangement name, and browser console errors when applicable.

License

Released under the MIT License.

Author

Developed and maintained by glferrari.

About

Synchronized chord-diagram overlay plugin for FeedBack

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages