Jelle Raaijmakers
35ca7f82b0
LibWeb: Add BaseAudioContext::createScriptProcessor()
...
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Push notes / build (push) Waiting to run
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
This is a deprecated node, but it's still widely used on the web.
2025-07-25 11:48:04 +02:00
Ben Eidson
3aff12bbab
LibWeb/WebAudio: Implement AudioNode::disconnect()
...
Destubs AudioNode::disconnect() and its related overloads.
Ensures that inverse connections are properly removed
when disconnecting AudioNodeConnections. Adds associated
WPT but skips them for now because they rely on
OfflineRenderContext::start_rendering to be fully implemented.
2025-07-09 17:52:06 -06:00
Aliaksandr Kalenik
c2c9348636
LibWeb: Print FIXME instead of throwing NotSupportedError in WebAudio
...
CI / Lagom (arm64, Sanitizer_CI, false, macOS, macos-15, Clang) (push) Waiting to run
CI / Lagom (x86_64, Fuzzers_CI, false, Linux, blacksmith-16vcpu-ubuntu-2404, Clang) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, false, Linux, blacksmith-16vcpu-ubuntu-2404, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, Linux, blacksmith-16vcpu-ubuntu-2404, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macOS, macOS-universal2, macos-15) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, Linux, Linux-x86_64, blacksmith-8vcpu-ubuntu-2404) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
This allows us to browse https://pierre.co/ instead of being navigated
to error screen.
2025-05-28 20:37:35 +02:00
Tim Ledbetter
c4bc0842c1
LibWeb: Prevent AudioBuffer data being copied to or from a shared buffer
2025-02-09 14:13:46 +00:00
Tim Ledbetter
c87f80454b
LibWeb/WebAudio: Implement automation rate constraints
...
Some nodes have parameters whose automation rate is not allowed to be
changed. This change enforces that constraint for all parameters it
applies to.
2025-01-19 17:24:55 +01:00
Tim Ledbetter
5fd130b02d
LibWeb: Add BaseAudioContext.createStereoPanner() factory method
2025-01-18 10:20:41 +01:00
Tim Ledbetter
56907e2de6
LibWeb: Add StereoPannerNode interface
2025-01-18 10:20:41 +01:00
Tim Ledbetter
31532e36a8
LibWeb: Add AudioContext.createMediaElementSource() factory method
2025-01-17 19:04:47 +00:00
Noah Bright
6c6bf322ea
LibWeb/WebAudio: Define and partially implement AnalyserNode
...
https://webaudio.github.io/web-audio-api/#AnalyserNode
Most of the interface is naively implemented. Container types
probably need adjusted (Vector<double> is used for all the processing).
A Fourier Transform is needed, but that's waiting on either a 3rd
party library or a complex number type.
There are lots of simple miscellaneous filters that need to be applied.
It could be reasonable to implement from scratch, supposing that
it can be parallelized. It might be hard to find one library with
everything. Not my call though.
Some additional scaffolding around blocks and render quanta is
probably needed before this is developed much further, which
probably comes in at the level of the AudioNode.
Co-authored-by: Tim Ledbetter <tim.ledbetter@ladybird.org>
2025-01-17 10:11:24 +01:00
Tim Ledbetter
f01ccf5424
LibWeb: Align AudioContext constructor with current spec steps
2025-01-16 13:56:18 +00:00
Tim Ledbetter
3261f873c5
LibWeb: Validate parameters for source node start() and stop() methods
2025-01-10 23:35:20 +01:00
Tim Ledbetter
2edd0812ca
LibWeb: Validate AudioNode::connect() input and output arguments
2025-01-09 11:34:38 +00:00
Tim Ledbetter
e469c884d4
LibWeb: Use correct ranges for BiquadFilterNode parameters
2025-01-08 19:05:51 +00:00
Tim Ledbetter
6c4c925f02
LibWeb/WebAudio: Add DelayNode interface
2025-01-08 15:31:59 +00:00
Tim Ledbetter
a6ab9cc983
LibWeb: Initialize AudioBufferSourceNode with correct defaults
2025-01-08 14:45:51 +00:00
Tim Ledbetter
27dbe49f00
LibWeb: Initialize OfflineAudioContext with correct defaults
2025-01-08 11:24:08 +00:00
Tim Ledbetter
8c4e4ec31b
LibWeb: Implement OscillatorNode.setPeriodicWave()
2025-01-04 10:12:24 +00:00
Tim Ledbetter
a6f04506e4
LibWeb: Add BaseAudioContext.create_periodic_wave() factory method
2025-01-03 14:54:18 +01:00
Tim Ledbetter
72ca91ad1a
LibWeb: Flesh out AudioBufferSourceNode buffer setter steps
2025-01-03 11:14:47 +01:00
Tim Ledbetter
1b160044c4
LibWeb: Add ConstantSourceNode interface
2025-01-03 11:13:27 +01:00
Tim Ledbetter
e564d25ffb
LibWeb: Add ChannelSplitterNode interface
2025-01-02 11:39:23 +00:00
Pavel Shliak
9232dcbde5
LibWeb/WebAudio: Set all the params in PannerNode constructor
2024-12-18 10:19:46 +01:00
Pavel Shliak
884599f1df
LibWeb/WebAudio: Manage channelCountMode and channelCount for PannerNode
2024-12-18 10:19:46 +01:00