Skip to content

p5.sound Nodes Default to Disconnected #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 46 commits into
base: develop
Choose a base branch
from

Conversation

pparocza
Copy link

@pparocza pparocza commented Aug 1, 2025

DRAFT - DO NOT MERGE:

Dependent on changes made in PR 59: Abstract Common p5.sound.js Functionality

Changes

  • P5SoundNode constructor no longer connects ._output to audio destination.
  • P5SoundNode.disconnect() defaults to disconnecting from all connected nodes, with optional audioNode argument allowing disconnection from a specific node

pparocza and others added 11 commits July 31, 2025 13:36
create P5SoundObject

create P5SoundNode

create P5SoundParameter

create P5SoundSourceNode

create P5SoundEffectNode

create P5MixEffectNode

convert existing nodes

update imports

create p5.AudioOutput

remove old node files

create P5SoundAnalyzerNode

create P5SoundStartableSourceNode

analysis nodes extend P5SoundAnalyzerNode

effect nodes extend P5SoundEffectNode

extract P5SoundBiquad children to separate files

source nodes extend P5SoundSourceNode

extract P5SoundOscillator children to separate files

move P5SoundEnvelope to effect directory

move core classes to src directory

create P5SoundUtils

create P5SoundContext

update app.js imports

update imports

P5SoundAnalyzerNode._inputNode > analyzerInputNode

change P5SoundNode.connect console warning

fix mixEffectNode output type check

fix MixEffect io configuration

add TODOs

fix audio parameter getters

restore P5SoundNode connects to destination by default

remove unused import

P5SoundDelay uses new P5SoundMixEffectNode.configureWetIO method

P5SoundNode invalid node continues instead of returns

comment P5SoundNode connection logic

update TODOs

create P5SoundError

P5SoundNode invalid connection attempt error

create utilities folder
@ogbabydiesal ogbabydiesal marked this pull request as ready for review August 6, 2025 11:42
@pparocza pparocza changed the base branch from main to develop August 6, 2025 16:47
@pparocza pparocza marked this pull request as draft August 6, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants