Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TrioRhythmConverter

Hierarchy

Index

Constructors

constructor

Properties

NUM_SPLITS

NUM_SPLITS: 3 = 3

SEGMENTED_BY_TRACK

SEGMENTED_BY_TRACK: boolean = false

depth

depth: number

endTensor

endTensor: tf.Tensor1D

numSegments

numSegments: number

numSteps

numSteps: number

trioConverter

trioConverter: TrioConverter

Methods

tensorSteps

  • tensorSteps(tensor: tf.Tensor2D): tf.Scalar

toNoteSequence

  • toNoteSequence(tensor: tf.Tensor2D, stepsPerQuarter?: number, qpm?: number): Promise<NoteSequence>

toTensor

  • toTensor(noteSequence: INoteSequence): tf.Tensor2D

Generated using TypeDoc