Hey guys, fairly new to the axoloti and have done some stuff with script objects for a previous project (hammond organ emulator using uart and midi for control interfaces) and want to try making an object to load and play sf2 files using the tinysoundfont library (short term goal is to implement tsf and load slender salamander grand piano). I can probably figure out the patch I/O part of the object definition, and the tsf implementation, but would tsf be technically feasible to implement and if so, how do I go about including tsf.h?
edit for clarity: tsf appears to require the inclusion of tsf.h, as well as another file like tsfi.h that implements tsf.h. I can probably figure out what to put in tsfi.h, but need to know where to put the 2 files, how to get the object to look for them, and how to get the object to look for an sf2 file in the current directory (though I can probably steal the last bit from the wav sample loading code).