Samples are pre-recorded sound recordings subject to copyright protection which are incorporated into a new sound recording with different copyright owners. Samples also include the underlying composition, and both the owner of the sound recording and owner of the composition must license their applicable rights for a legal sample.

How Does A Music Synthesizer Work?
A music synthesizer makes sounds by using an electrical circuit as an oscillator to create and vary the frequency of sounds in order to produce different pitches.