scope - config
- align
- color
- thickness
- scale
- pos
- trigger
Renders an oscilloscope for the time domain of the audio signal.
s("sawtooth")._scope() aliases: tscope()
| parameter | type |
|---|---|
| config |
|
| optional config with options: | |
| align |
|
| if 1, the scope will be aligned to the first zero crossing. defaults to 1 | |
| color |
|
| line color as hex or color name. defaults to white. | |
| thickness |
|
| line thickness. defaults to 3 | |
| scale |
|
| scales the y-axis. Defaults to 0.25 | |
| pos |
|
| y-position relative to screen height. 0 = top, 1 = bottom of screen | |
| trigger |
|
| amplitude value that is used to align the scope. defaults to 0. | |