Converts between a quantized NoteSequence containing a drum sequence and the Tensor objects used by MusicVAE.
NoteSequence
Tensor
MusicVAE
The Tensor output by toTensor is the same 2D "drum roll" as in DrumsConverter.
toTensor
DrumsConverter
The expected Tensor in toNoteSequence is the same as the "drum roll", excluding the final NOR column.
toNoteSequence
The output NoteSequence uses quantized time and only the first pitch in pitch class are used.
Generated using TypeDoc
Converts between a quantized
NoteSequence
containing a drum sequence and theTensor
objects used byMusicVAE
.The
Tensor
output bytoTensor
is the same 2D "drum roll" as inDrumsConverter
.The expected
Tensor
intoNoteSequence
is the same as the "drum roll", excluding the final NOR column.The output
NoteSequence
uses quantized time and only the first pitch in pitch class are used.