ChordEncoder that outputs (concatenated) a one-hot encoding over chord root pitch class, a binary vector indicating the pitch classes contained in the chord, and a one-hot encoding over chord bass pitch class.
Encode a chord progression over a specified number of steps.
An array of chord symbol strings.
Number of steps to use.
A 2D tensor containing the encoded chord progression.
Generated using TypeDoc
ChordEncoder that outputs (concatenated) a one-hot encoding over chord root pitch class, a binary vector indicating the pitch classes contained in the chord, and a one-hot encoding over chord bass pitch class.