Modifier and Type | Class | Description |
---|---|---|
class |
SoundSampleBuilderImpl |
A
SoundSampleBuilder represents multiple amplitudes (one for each
channel,e.g. two in case we have classical stereo sound) assigned to an
according time positioning. |
Modifier and Type | Method | Description |
---|---|---|
static SoundSampleBuilder |
SoundSampleBuilder.build(double[] aSample) |
This is a convenience method for easily instantiating the according
builder.
|
default SoundSampleBuilder |
SoundSampleBuilder.withDecreaseIndex() |
|
default SoundSampleBuilder |
SoundSampleBuilder.withIncreaseIndex() |
|
default SoundSampleBuilder |
SoundSampleBuilder.withIndex(long aIndex) |
|
default SoundSampleBuilder |
SoundSampleBuilder.withSampleData(double[] aSampleData) |
Sets the sample's data for the sample property.
|
default SoundSampleBuilder |
SoundSampleBuilder.withSamplingRate(int aSamplingRate) |
Sets the sampling rate for the sampling rate property.
|
default SoundSampleBuilder |
SoundSampleBuilder.withTimeStamp(double aTimeInMillis) |
Sets the position in time of this sound sample in ms.
|
Copyright © 2021. All rights reserved.