Skip to content
Josh Stovall edited this page Nov 22, 2020 · 7 revisions

Oscilloscope.js

Example

var options = {
	type: "oscilloscope",
	color: "green",
	background: "black",
	framerate: 60
}
var myOscilloscope = new Oscilloscope(options);

Parameters

Name Type Options Default Description
type string oscilloscope, bars, spectrogram, XY oscilloscope Visual type
color color green Foreground color
background color black Background color
framerate int 1 to 120 24 How often to draw to the canvas (frames per second)
thickness float 0.01 to 10 10 Thickness of oscilloscope line or bar width
fade float 0 to 1 1 Adds a 'delay' to the animation
window float 1 to 10 2 Allows you to zoom in on an oscilloscope
direction string forward or backward forward Changes the direction for spectrogram
smoothing float 0 to 1 0.8 Changes the smoothingTimeConstant
fftSize int 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768 2048 Changes the fftSize
Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy