Hi! 🎈 While tinkering with this beautiful thing and Processing Sound library I thought it should be not too hard to add some support for APIs of major libraries like this one. How do I proceed?
I reckon it should be possible to just write a stub (for this example, named processing.sound.pyi or maybe just sound.pyi in a folder processing) and it would work? I hadn’t tried to write stubs yet though I type-hint my own code quite extensively.
Probably better would be to have wrappers to get rid of JVM types where Python types (and numpy arrays etc.) are more homey, how you did here for the core itself; but I don’t know if it’s easy or not. What could I do to help?
Hi! 🎈 While tinkering with this beautiful thing and Processing
Soundlibrary I thought it should be not too hard to add some support for APIs of major libraries like this one. How do I proceed?I reckon it should be possible to just write a stub (for this example, named
processing.sound.pyior maybe justsound.pyiin a folderprocessing) and it would work? I hadn’t tried to write stubs yet though I type-hint my own code quite extensively.Probably better would be to have wrappers to get rid of JVM types where Python types (and numpy arrays etc.) are more homey, how you did here for the core itself; but I don’t know if it’s easy or not. What could I do to help?