gig2stereo
Converts Gigasampler (.gig) files from mono pairs to true stereo.
- Provided by: gigtools (Version: 4.5.2-2)
- Source: libgig
- Report a bug
Converts Gigasampler (.gig) files from mono pairs to true stereo.
gig2stereo [ OPTIONS ] FILE_OR_DIR1 [ FILE_OR_DIR2 ... ]
Takes a list of Gigasampler (.gig) files and / or directories as argument(s) and converts the individual Gigasampler files from two separate mono sample pairs to true stereo interleaved format. Given directories are scanned for .gig files. The Gigasampler files are directly modified, not copied. Since at this point the Gigasampler format only defines mono and stereo samples, this program currently also assumes all samples in the .gig files provided to be either mono or stereo.
Background: The Gigasampler/GigaStudio format allows one to create stereo instruments in two ways: either by referencing true stereo (interleaved) samples in the instruments, or by referencing a pair of (two) mono samples. Unfortunately LinuxSampler does not support the latter at the moment, thus if a gig instrument uses mono sample pairs, you will still hear it in mono. This tool was created to circumvent this issue by allowing to convert gig files to using real stereo (interlaved) samples instead. And even if LinuxSampler would add support for mono sample pairs, it would be less efficient than using real stereo samples, both concerning disk streaming as well as DSP processing after streaming input.
After conversion, you will find all newly created true stereo samples in separate new sample group(s), which will be postfixed with " STEREO" in their group names. So you should easily be able to distinguish the newly created true stereo samples (i.e. when editing the .gig file with gigedit(1) ) from old samples. Also, if the original (now replaced) mono samples were postfixed with a channel indicator in their sample names (i.e. "Spiccato D3 -L"), the new stereo samples will have a similar sample name, but without such an audio channel indicator at the end of their names. Thus in the mentioned example, the newly created stereo sample would be named "Spiccato D3" instead.
gig2mono(1), gigextract(1), gigdump(1), gigmerge(1), wav2gig(1)
Check and report bugs at http://bugs.linuxsampler.org
Application and manual page written by Christian Schoenebeck <cuse@users.sf.net>