Gets or creates the AudioContext. Creates the master gain node on first call.
Gets the current AudioContext, or null if not created.
Gets the master gain node, or null if context not created.
Gets the current master volume level.
Sets the master volume that affects all audio output.
Initializes the AudioContext and resumes it if suspended.
Resumes a suspended AudioContext.
Suspends the AudioContext to save resources.
Checks if the AudioContext is initialized and running.
Gets the current time from the AudioContext.
Disconnects the master gain from destination. Used when setting up effects bus routing.
Connects the master gain to a target node.
Destroys the context manager and releases resources.
Manages the Web Audio API AudioContext lifecycle. Handles context creation, master gain, and suspend/resume.