Methods
-
makeLinearSpace( start, stop, num ) → {Array}
-
Description
Returns evenly spaced samples, calculated over the interval [start, stop].
Parameters
Name Type Description start* The starting value of the sequence.
stop* The end value of the sequence
num* Number of samples to generate. Must be non-negative.
Returns
Details
-
create( featureArray, plotTitle, audioFrameSize, audioSampleRate )
-
Description
Create the single line plot with the given input array using Plotly.js
Parameters
Name Type Description featureArrayFloat32Array 1D feature input array
plotTitlestring title of the plot
audioFrameSizenumber length of input audio data in samples
audioSampleRatenumber sample rate of input audio
Details
-
destroy()
-
Description
Destroy the existing Plotly traces
Details