This worker processes frequency data for the VisualizerFrequency component. It receives messages from the main thread to initialize the worker, resize the offscreen canvas, or render frequency data.
- Version
- 1.0.0
- License
- MIT
- Requires
- math
- VisualizerBarRender
- Source
- VisualizerBarWorker.js, line 13
Methods
inner onmessage(event)
Global message handler for the worker. Processes messages from the main thread based on the message type.
| Name | Type | Description |
|---|---|---|
event |
MessageEvent |
The message event from the main thread. |
- Listens
- event:MessageEvent
- Source
- VisualizerBarWorker.js, line 23