Sample-and-hold (S/H) is a function found in some synthesizers that allows the user to sample an input signal, such as an audio or control voltage, and hold the value for a certain period of time. This creates a kind of “snapshot” of the input signal, which can then be used to control various parameters of the synthesizer, such as the pitch or amplitude of the sound.
The process of sample-and-hold typically involves three stages: sampling, holding, and output. During the sampling stage, the input signal is captured and converted into a digital value. In the holding stage, the value is stored and held until the next sample is taken. Finally, in the output stage, the stored value is used to control various parameters of the synthesizer.
Sample-and-hold can be used to create a variety of different effects, such as randomizing the pitch or amplitude of the sound, creating repeating patterns in the sound, or creating complex modulations. It is also commonly used to create the “stuttering” or “glitchy” effects that are often heard in electronic music.
