Transpose a chord symbol by a number of semitones.
The chord symbol text.
Signed semitone offset to apply to the root and bass.
Optional
Formatting options for the result; see formatChordSymbol.
The transposed chord symbol text.
If text does not parse as a chord symbol.
text
import { transposeChordSymbol } from '@libraz/libcantus';transposeChordSymbol('C/G', 2); // 'D/A' Copy
import { transposeChordSymbol } from '@libraz/libcantus';transposeChordSymbol('C/G', 2); // 'D/A'
Transpose a chord symbol by a number of semitones.