Skip to main content
cngx-src documentation

ToneGeneratorDeps

Interface

projects/common/audio/tone-generator/tone-generator.ts

Import#

import { ToneGeneratorDeps } from '@cngx/common/audio'

Description#

Dependencies handed to the tone-generator factory by the engine.

Index#

Instance Properties#

context#function
Readonly

Lazy getter for the shared context — called per tone so the engine controls resume.

destination#function
Readonly

Node to connect each tone into (typically the engine's master-volume gain).