Repository navigation
Conversation
Create filters, gains, mixers, reverb and noise; set any numeric or enum parameter by name through reflection; and wire nodes with explicit (source_port, destination_port) pairs. There is no implicit routing or channel mixing anywhere: nodes use NoAutoConnect so nothing is sent to a MainBus, and every edge is one the sketch made. A signal on channel 5 stays on channel 5, which matters for DC-coupled CV as much as for audio. The graph input and output have one port per device channel (at least 8).
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a generic audio node graph.
audio_node_create: volume, volume/pan, mix, SVF and one-pole filters (1 to 8 channels), freeverb, white and pink noise.audio_node_set/audio_node_set_variant/audio_node_get: set or read any numeric or enum parameter by field name, using reflection.audio_connect/audio_disconnect: always explicit(source_port, destination_port)pairs.audio_input/audio_output: the graph's I/O, with one port per device channel (at least 8).No implicit routing. Every node gets seedling's
NoAutoConnect, so nothing is sent to aMainBusand there is no automatic up/down-mixing. A signal on channel 5 stays on channel 5, which matters for DC-coupled CV as much as for audio.Review notes
graph.rs.for_channels!macro maps a runtime channel count onto the filters' const-generic width.Testing:
cargo test -p processing_audio(graph width, exact edges, port checks, parameters, no auto-connect).Stack created with GitHub Stacks CLI • Give Feedback 💬