On Saturday 10 March 2012 19:52:21 David Robillard wrote: > > > > Those are so called "extension files" of the Giga format. Those were > > > > introduced by Tascam to circumvent the 2GB file size limit of the > > > > RIFF format, on which the Giga format is based on. > > > > > > > > See method: > > > > > > > > void File::LoadSamples(progress_t* pProgress); > > > > > > > > in src/gig.cpp of the libgig sources. > > > > > > Thanks. I'll wade around and figure out how to get at this information > > > from LS. > > > > You mean how to retrieve in the LV2 plugin code whether a .gig file > > "wants" extensions files and the list of those extension files? Or what > > else do you need exactly? > > Yes, essentially I need to enumerate *all* files that are used.
Really? What is the purpose to enumerate all used files in the LV2 session? Because from sampler perspective, only the "main" instrument file name has to be passed when loading a session. The sampler (or in this case libgig) will then automatically detect and retrieve the list of extension files from the main gig file and load the extension files automatically. Anyway, if you really need to enumerate all files, tell me, then I will patch libgig for this task. > > > > (That 32-bit limit really sucks...) > > > > Not thaaat bad. ;-) The workaround with extension files is a bit ugly, > > but it works on all systems. And I'm sure it will be easily resolved for > > LV2 as well. > > Well, it's pretty annoying/ugly here (these *%*^&% non-self-contained > sample banks will be the death of me), but I mean in general. I've > looked in to using RIFF for things before realizing the 32-bit limit > ruins that idea... oh well. Depends for what you want to use it. If its a custom application you can also just use 64 bit RIFF chunk offsets instead of 32 bit ones of the original RIFF format and that's it. Some people also did it like this: they placed all RIFF chunks into the first 2 GB of the file, and e.g. placed their huge audio sample data after all those RIFF chunks and used 64 bit file offsets to reference the sample data from RIFF chunks. However Tascam decided not to do that for the Gig format, in favor of the extension files solution, because there are many systems which still have a 2 GB file size limit in general. CU Christian ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel