Skip to content
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

add id function #62

Open
felixroos opened this issue Feb 7, 2025 · 0 comments
Open

add id function #62

felixroos opened this issue Feb 7, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@felixroos
Copy link
Owner

to tag a node with an id. on update, all new nodes that have a matching id in the set of old nodes, we don't create a new node, but instead only copy over the reference. this will preserve state. it will also be very helpful when a ui is used that has ids for nodes for example.

impulse(4).seq(100,200,300).id('myseq').sine().out()

maybe ids can also tag all nodes that came before, dfs style?

impulse(4).seq(100,200,300).sine().id('myseq').out()

it will also be very useful for delay lines, to preserve the buffer (which is currently solved manually, just for delay)

@felixroos felixroos added the enhancement New feature or request label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant