-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
We now have a C function that diffs the oscs of a current synth against the default osc state to yield a series of events that will restore that config.
We should provide a Python wrapper. It's clumsy to return the whole amy_event blobs, so we should add a function that converts each event to a wire code string (with sprint_event()) before returning.
Then we can add a Python wrapper that handles the prefixing and merging of the strings to make complete wire commands to setup synths, or define user-defined patches. E.g. wire_string = amy.get_synth_config(synth=1, target_patch=1024). Then, in this case, amy.send_raw(wire_string) would set up patch 1024 to reflect the current synth 1 config.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels