Updated csoundm to use the register facility . #303
Merged
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.
I'm trying this pull request again. If you don't want this just say so.
The logic you had for using an external instance of Csound was not suited to my use cases, and would have failed in use. The external Csound will, usually, already have compiled an external orchestra and be running, so the csound.mjs module should not call compile or start on an external instance of Csound.
I updated the csoundm function to use the new 'register' function for Patterns. I also updated csoundm to convey the Strudel signals in the same way as the existing csound function.