Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TrioConverter

Hierarchy

Index

Constructors

constructor

Properties

BASS_PROG_RANGE

BASS_PROG_RANGE: number[] = [32, 39]

MEL_PROG_RANGE

MEL_PROG_RANGE: number[] = [0, 31]

NUM_SPLITS

NUM_SPLITS: 3 = 3

SEGMENTED_BY_TRACK

SEGMENTED_BY_TRACK: boolean = false

bassConverter

bassConverter: MelodyConverter

depth

depth: number

drumsConverter

drumsConverter: DrumsConverter

endTensor

endTensor: tf.Tensor1D

melConverter

melConverter: MelodyConverter

numSegments

numSegments: number

numSteps

numSteps: number

Methods

tensorSteps

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

toNoteSequence

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

toTensor

  • toTensor(noteSequence: INoteSequence): tf.Tensor2D

Generated using TypeDoc