Conversation
| Platform.userExtensionDir ++ "/SC3Plugins/StkInst/rawwaves", | ||
| Platform.systemExtensionDir ++ "/SC3plugins/StkInst/rawwaves", | ||
| Platform.systemExtensionDir ++ "/SC3plugins/StkInst/rawwaves" | ||
| ].select({ |possiblePath| File.exists(possiblePath) }).first; |
There was a problem hiding this comment.
There's probably a more pragmatic way to handle this.
Also, I think the folder got renamed at some point in the history of these plugins.
There was a problem hiding this comment.
the lines 35 and 36 as well as 37 and 37 seem to be the same?
There was a problem hiding this comment.
@telephon - They're extremely similar. The only difference is the case of p/P.
There was a problem hiding this comment.
I've seen these paths declared in multiple ways and I'm wondering if the path has changed over time with the codebase. Is there a "correct" version of this filepath for the most updated version of SC?
There was a problem hiding this comment.
I'm not sure it's "correct", but previously I used the ".filenameSymbol" method to get the path of the class file, which allowed me to get a reference to where the class is installed, without any assumptions as to where the extension is installed.
Here we could do
var path = StkInst.filenameSymbol.asString.dirname.dirname +/+ "rawwaves";79c9bf0 to
6d803cb
Compare
StkInst is a different wrapping than StkUGens (It was done because of StkUGens failures) . In StkInst help you should get a working |
|
Is this ready to be reviewed or are you still working on this @tdug ? |
I've pushed one more change to this, but don't plan to contribute these docs further in the near future.. Sorry for the forever-taking reply, I've been quite busy. I'm happy with this being reviewed as-is, as I believe it's a net contribution. |
More changes to come on this, mostly filling out more docs.
I haven't yet gotten a working version of
StkBowed... I think there's a glitch in the.cppto sort out.