Methods
extract
extract( melody: Melody ) : tf.Tensor2D
Parameters
Returns tf.Tensor2D
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Runs here on the music hub · themed copy, behaviour unmodified · everything stays on this site
Source: github.com/magenta/magenta-js (text only, no off-site links) · Licence: Apache-2.0 · see NOTICE.txt
MelodyControl interface for extracting control signals from melodies. These control signals can be used as conditioning for melody generation, or can themselves be generated.
The dimension of the control signal at each step.