ModPlug Central

OpenMPT => Help and Questions => Topic started by: moltres_rider on July 20, 2012, 21:50:48

Title: why does midi import create multiple samples for one instrument???
Post by: moltres_rider on July 20, 2012, 21:50:48
I noticed that when importing midi there are like 8 samples for one instrument... like 8 sample for electric guitar when there is only 1 electric guitar instrument. during playback it only uses the first sample...


why does Modplug have the need to create multiple samples for each instrument if it only uses one???
Title: Re: why does midi import create multiple samples for one instrument???
Post by: Saga Musix on July 20, 2012, 22:26:02
OpenMPT fetches its samples from Windows' built-in soundfont (GM.DLS) be default. Like in most soundfonts, every instrument there is multi-sampled, meaning that several samples are used, depending on the note that is played (for example for C-5 to B-5 it might use samples 1, for C-6 to B-6 it might use sample 2...) - OpenMPT has to import all of these samples of course since I won't know in advance which samples of an instrument will be used, so it just keeps them all.
Title: Re: why does midi import create multiple samples for one instrument???
Post by: moltres_rider on August 01, 2012, 15:00:46
quick question about that...


will the 'cleanup' option in the 'edit' menu remove the midi samples it doesn't use???
Title: Re: why does midi import create multiple samples for one instrument???
Post by: Saga Musix on August 01, 2012, 15:58:04
Why don't you try it yourself? If you choose to use "remove unused samples", it will do so.
Title: Re: why does midi import create multiple samples for one instrument???
Post by: moltres_rider on August 02, 2012, 10:27:15
will cleaning up unused reduce the module file size when saving???
Title: Re: why does midi import create multiple samples for one instrument???
Post by: Saga Musix on August 02, 2012, 13:11:41
Take a guess.