A piano patch in Logic's ESX-24 sampler:
1) a scale with all the notes at the same velocity;
2) a single note at varying velocities; and
3) the right hand part of Bach's Invention No. 1.
The boxes at the top represent the velocity zones and the boxes in the middle represent all the samples assigned to a given note (here they include four different velocities and pedal samples for each velocity). This instrument is chromatically sampled because there are separate samples for each note.