.TH "wav2gig" "1" "03 Aug 2021" "libgig @VERSION@" "libgig tools" .SH NAME wav2gig \- Create GigaStudio (.gig) file from a set of WAV files. .SH SYNOPSIS .B wav2gig [ OPTIONS ] GIG_FILE WAV_FILE_OR_DIR_1 [ WAV_FILE_OR_DIR_2 ... ] .SH DESCRIPTION Takes a list of wave (.wav) files and / or directories containing wave files as argument(s) and creates one new GigaStudio / GigaSampler (.gig) file for those samples. The created GigaStudio (.gig) file will contain the given input samples. The samples' meta information like loop points are automatically extracted from the input wave files and applied accordingly. Additionally this tool creates exactly one instrument inside the newly created GigaStudio (.gig) file and tries to automatically map the samples in a meaningful way to that instrument. As the wave (.wav) format currently does not support many of the meta information required for this particular task, this tool tries to guess the required information from the individual sample's name for mapping the samples accordingly. See .BR SAMPLE .BR NAMES below for details on the currently supported and assumed naming scheme for the input sample files. .SH OPTIONS .TP .B \ GIG_FILE GigaStudio / GigaSampler (.gig) filename to be created .TP .B \ WAV_FILE_OR_DIR_1 Filename or directory containing wave (.wav) file(s) .TP .B \ WAV_FILE_OR_DIR_2 Filename or directory containing wave (.wav) file(s) .TP .B \ -r Recurse through all subdirectories of provided input WAV directories. .TP .B \ -f Overwrite output GigaStudio (.gig) file in case it already exists. .TP .B \ -v Print version and exit. .SH SAMPLE NAMES Right now this tool assumes the following sample naming scheme for being able to automatically map samples to regions on the keyboard, as well as mapping them to velocity splits adequately: .B NAME1 - NAME2 - VELOCITY_NR - NOTE_NR - NOTE_NAME Which are interpreted in the following way: .TP .B \ NAME1 Primary name of the sample (e.g. "Violin"). This is not interpreted for sample mapping, but it will be used to assemble the final sample name inside the GigaStudio (.gig) file. .TP .B \ NAME2 Secondary name of the sample (e.g. "Cresc"). This is currently ignored, but might be used in future. .TP .B \ VELOCITY_NR MIDI Velocity number of the sample (e.g. "18"). This informtion will be used to automatically create velocity splits. .TP .B \ NOTE_NR MIDI Note number of the sample (e.g. "021" for note a-1). This informtion will be used to automatically map the sample to a region on the keyboard. .TP .B \ NOTE_NAME Note name of the sample (e.g. "a-1"). This is not interpreted for sample mapping, but it will be used to assemble the final sample name inside the GigaStudio (.gig) file. .SH "SEE ALSO" .BR gig2mono(1), .BR gigextract(1), .BR gigdump(1), .BR gigmerge(1) .BR korg2gig(1) .SH "BUGS" Check and report bugs at http://bugs.linuxsampler.org .SH "Author" Application and manual page written by Christian Schoenebeck