package
Version:
v1.0.13
Opens a new window with list of versions in this module.
Published: Mar 17, 2021
License: Unlicense
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Pos stores the integer and fractional portions of a position within a sample
Add increments the internal position values by the specified amount
SampleStream is an interface to a sample stream (aka: an instrument)
type Sampler interface {
GetPosition() Pos
Advance()
GetSample() volume.Matrix
}
Sampler is an interface to the sampling system
NewSampler creates a basic sampler that implements the Sampler interface
Source Files
¶
Click to show internal directories.
Click to hide internal directories.