Hey all; I'm interesting in writing a program which can load multiple banks of sound samples based on a configuration file. For a given config file there might be 10 or 15 banks, and (probably) 24 samples per bank.
Faust, by design, doesn't have any provisions for this sort of thing as far as I can tell. So I'll need to do my sample loading outside of faust. What would be a recommended architecture for such a program? I can think of a couple of possibilities: 1) write a faust program with 24 slots for sounds. Have an external program put the sounds into faust via osc, perhaps (is this possible?). Each time the sample bank is changed, load new sounds into faust, replacing the old. 2) write a program which uses the faust-generated C++ code as a module. This program would load the samples into its memory, and handle streaming them (and perhaps external sound sources) into the faust code, and then routing the faust code results to an audio device. 3) ?? Option 2 certainly involves more responsibility, what with dealing with audio devices and so forth. Option 1 seems easier, but perhaps a little kludgy - switching from one sound bank to another would be comparatively slow. Anyway, any input would be appreciated! - Ben ------------------------------------------------------------------------------ _______________________________________________ Faudiostream-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
