Sample library
A sample library is a collection of recordings of an instrument, or a set of instruments, prepared for playback on a sampler as a virtual instrument. Most virtual instruments are built this way, from recordings of the instrument being imitated.[1:1]
What a library records
Chris Korff, writing in Sound On Sound in 2024, describes how a sampled instrument grows. A sampler can pitch-shift one recording to play nearby notes, but only for a few semitones before it sounds unnatural; twenty years or so ago, when disk space was scarce, libraries recorded a note every octave or so, while most modern libraries record every note of the instrument's range.[1:1]
- Velocity layers. Each note is recorded at several loudnesses, and the sampler chooses among them by how hard the key is struck, crossfading between them so that no switch is heard. Drum libraries use many more layers, up to 80 per drum in BFD.[1:2]
- Round robins. Repeating the same recording on every repeated note gives a "machine gun" effect, most audible on drums, so each note is recorded several times and the sampler alternates between the takes; a full orchestral instrument may have half a dozen, some as many as 16.[1:3]
- Articulations. Playing techniques such as pizzicato cannot realistically be imitated by adjusting the playback, so they are recorded too, and libraries often switch between them with keyswitches, notes outside the instrument's range.[1:4]
- Microphones and rooms. Many large libraries record each note through several microphone positions, which the user can blend, often in renowned halls or in studios their makers bought.[1:4]
Korff's worked example, a single violin with these features, reaches around 18,000 audio files.[1:4]
Orchestral libraries
The first wave of orchestral sample libraries was dominated by strings, with brass following in the 1990s. The move from hardware to software sampling brought better connection between notes and crossfading between velocities, and round-robin sampling let repeated notes differ. Vienna Symphonic Library's "interval legato" sampling of 2002, which recorded the actual transition between two notes rather than joining separate recordings, changed what was expected.[2:1] Where a sampled orchestra once had to fit into 32 MB of memory, streaming samples from disk led developers to sample every orchestral instrument, ensemble and playing style. By 2022 Vienna Symphonic Library, founded in 2000 by Herb Tucmandl, had around 230 products and over six million samples, which Dave Stewart called the world's largest orchestral sample database.[3:1]
Formats
Sample libraries are distributed in a sampler's own format or in shared ones such as SoundFont, which packs samples and their playback settings into one binary file, and SFZ, a text file describing how separate sample files are to be played.[4:1]
Limits
Julius Smith notes that sampling's best feature is sound quality, limited only by the recordings, but that its dimensions of expression are limited: continuously controlled bowed, wind and brass instruments suffer most, and the interaction between player and instrument is lost.[5:1] Recording every combination of input and the instrument's internal state is prohibitive, which is one argument for physical modelling synthesis.[5:1]
- ^a ^b ↗ ko-basics ^ ↗ ko-velocity ^ ↗ ko-rr ^a ^b ^c ↗ ko-articulations Korff, Chris (2024-09). How Virtual Instruments Work. Sound On Sound. https://www.soundonsound.com/techniques/how-virtual-instruments-work.
- ^ ↗ sb-history Stewart, Dave (2015-11). Brass Instruments. Sound On Sound. https://www.soundonsound.com/reviews/brass-instruments.
- ^ ↗ sg-streaming Stewart, Dave (2022-03). Orchestral Sample Libraries: Buyer’s Guide. Sound On Sound. https://www.soundonsound.com/sound-advice/orchestral-sample-libraries-buyers-guide.
- ^ ↗ sz-what SFZFormat.com contributors. SFZFormat.com. SFZFormat.com. https://sfzformat.com/.
- ^a ^b ↗ pa-samples Smith III, Julius O. (2010). Physical Audio Signal Processing for Virtual Musical Instruments and Audio Effects. W3K Publishing. ISBN 978-0-9745607-2-4. https://ccrma.stanford.edu/~jos/pasp/.
Wikidata: Q7410139