- play-sample sample #!key channel repeat fadein durationprocedure
Takes a sample pointer, which has been loaded with load-sample and plays it on channel. By default this is the next available channel. The sample will be repeated repeat times, which by default is #f, the sample will be played once only.
fadein and duration control how long the sample is played and the time that is used to fade in the sample to the channel. Both values represent milliseconds.