Skip to content

FEATURE REQUEST: change-tonality shows original chord and changed chord in brackets #22

Description

@Sytoplis

I am using this library right now to write chords over some lyrics using the chordify functionality, which works great :)
Now i would like to play my song with multiple instruments, including a guitar and a piano, where the guitar would put a capo to some fret, but the piano would still want to play the original chords. I was hoping, that i would only have to write the chords once and could then use the change-tonality feature to not only change the tonality, but create a duplicate chord in brackets in order to have chords for both transposed and non-transposed instruments. To give an example of what i would like the functionality to be:

#import "@preview/conchord:0.4.0" as cc
#show cc.chordify.with(line-chord: inlinechord)
#cc.change-tonality(2, show-shifted-tonality: show-shifted-tonality-in-bracket)
This is my [C] songtext

which would then result in:
This is my [C (D)] songtext

In the best case you could then choose with the show-shifted-tonality argument, how you want to display the original (in brackets, not at all or before the brackets and having the transposed chord in brackets). Default would be disabled.

This should be fairly easy to implement, given that changing the tonality already works. If it helps then I would even get my hand dirty myself and maybe create a pull request or just put the code here, but I wont do that, if this repo is dead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions