Holds an audio sample.
More...
◆ fromFile()
static std::unique_ptr<Sample> Sample::fromFile |
( |
const juce::File & |
f | ) |
|
|
static |
◆ getLength()
int Sample::getLength |
( |
| ) |
|
◆ getRootNote()
int Sample::getRootNote |
( |
| ) |
|
◆ getSampleRate()
double Sample::getSampleRate |
( |
| ) |
|
◆ getSamples()
juce::AudioSampleBuffer& Sample::getSamples |
( |
| ) |
|
◆ read()
void Sample::read |
( |
juce::AudioSampleBuffer & |
buffer, |
|
|
int |
samplePos, |
|
|
int |
bufferPos = 0 , |
|
|
int |
length = -1 |
|
) |
| |
◆ readSamplesAt()
void Sample::readSamplesAt |
( |
int |
pos, |
|
|
float & |
lOut, |
|
|
float & |
rOut |
|
) |
| |
The documentation for this class was generated from the following file: