Uses of Interface
org.refcodes.audio.SoundSampleBuilder
-
Uses of SoundSampleBuilder in org.refcodes.audio
Modifier and TypeClassDescriptionclass
ASoundSampleBuilder
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 TypeMethodDescriptionstatic 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 aTimeMillis) Sets the position in time of this sound sample in ms.