MonoSample
, SamplingRateAccessor
, SoundSample
, org.refcodes.mixin.IndexAccessor
, org.refcodes.mixin.TimeStampAccessor
public class MonoSampleImpl extends SoundSampleImpl implements MonoSample
MonoSampleImpl
represents a single amplitude (one for the mono
channel) assigned to an according time positioning.org.refcodes.mixin.IndexAccessor.IndexBuilder<B extends org.refcodes.mixin.IndexAccessor.IndexBuilder<B>>, org.refcodes.mixin.IndexAccessor.IndexMutator, org.refcodes.mixin.IndexAccessor.IndexProperty
SamplingRateAccessor.SamplingRateBuilder<B extends SamplingRateAccessor.SamplingRateBuilder<B>>, SamplingRateAccessor.SamplingRateMutator, SamplingRateAccessor.SamplingRateProperty
org.refcodes.mixin.TimeStampAccessor.TimeStampBuilder<B extends org.refcodes.mixin.TimeStampAccessor.TimeStampBuilder<B>>, org.refcodes.mixin.TimeStampAccessor.TimeStampMutator, org.refcodes.mixin.TimeStampAccessor.TimeStampProperty
Constructor | Description |
---|---|
MonoSampleImpl(double aSample) |
Constructs a
MonoSample instance with the according time and
sample settings. |
MonoSampleImpl(double aTimeMillis,
double aSample) |
Constructs a
MonoSample instance with the according time and
sample settings. |
MonoSampleImpl(double aTimeMillis,
double aSample,
int aSamplingRate) |
Constructs a
MonoSample instance with the according time and
sample settings. |
MonoSampleImpl(double aSample,
int aSamplingRate) |
Constructs a
MonoSample instance with the according time and
sample settings. |
MonoSampleImpl(long aIndex,
double aSample) |
Constructs a
MonoSample instance with the according time and
sample settings. |
MonoSampleImpl(long aIndex,
double aTimeMillis,
double aSample) |
Constructs a
MonoSample instance with the according time and
sample settings. |
MonoSampleImpl(long aIndex,
double aTimeMillis,
double aSample,
int aSamplingRate) |
Constructs a
MonoSample instance with the according time and
sample settings. |
MonoSampleImpl(long aIndex,
double aSample,
int aSamplingRate) |
Constructs a
MonoSample instance with the according time and
sample settings. |
MonoSampleImpl(MonoSample aSample) |
Constructs a
MonoSample instance with the according sound
sample's settings |
Modifier and Type | Method | Description |
---|---|---|
String |
toString() |
getMonoData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSamplingRate
getChannelCount, getSampleData, getTimeStamp
getIndex, getSampleData, getSamplingRate, getTimeStamp
public MonoSampleImpl(MonoSample aSample)
MonoSample
instance with the according sound
sample's settingsaSample
- The mono sample (a single value representing the mono
channel) for the related time positioning.public MonoSampleImpl(double aSample)
MonoSample
instance with the according time and
sample settings.aSample
- The mono sample (a single value representing the mono
channel) for the related time positioning.public MonoSampleImpl(double aTimeMillis, double aSample)
MonoSample
instance with the according time and
sample settings.aTimeMillis
- The time positioning of this sound sample.aSample
- The mono sample (a single value representing the mono
channel) for the related time positioning.public MonoSampleImpl(double aTimeMillis, double aSample, int aSamplingRate)
MonoSample
instance with the according time and
sample settings.aTimeMillis
- The time positioning of this sound sample.aSample
- The mono sample (a single value representing the mono
channel) for the related time positioning.aSamplingRate
- The sampling rate for the given sample.public MonoSampleImpl(double aSample, int aSamplingRate)
MonoSample
instance with the according time and
sample settings.aSample
- The mono sample (a single value representing the mono
channel) for the related time positioning.aSamplingRate
- The sampling rate for the given sample.public MonoSampleImpl(long aIndex, double aSample)
MonoSample
instance with the according time and
sample settings.aIndex
- The index of the sample according to its position in the
sample sequence (e.g. sound file).aSample
- The mono sample (a single value representing the mono
channel) for the related time positioning.public MonoSampleImpl(long aIndex, double aSample, int aSamplingRate)
MonoSample
instance with the according time and
sample settings.aIndex
- The index of the sample according to its position in the
sample sequence (e.g. sound file).aSample
- The mono sample (a single value representing the mono
channel) for the related time positioning.aSamplingRate
- The sampling rate for the given sample.public MonoSampleImpl(long aIndex, double aTimeMillis, double aSample)
MonoSample
instance with the according time and
sample settings.aIndex
- The index of the sample according to its position in the
sample sequence (e.g. sound file).aTimeMillis
- The time positioning of this sound sample.aSample
- The mono sample (a single value representing the mono
channel) for the related time positioning.public MonoSampleImpl(long aIndex, double aTimeMillis, double aSample, int aSamplingRate)
MonoSample
instance with the according time and
sample settings.aIndex
- The index of the sample according to its position in the
sample sequence (e.g. sound file).aTimeMillis
- The time positioning of this sound sample.aSample
- The mono sample (a single value representing the mono
channel) for the related time positioning.aSamplingRate
- The sampling rate for the given sample.public String toString()
toString
in class SoundSampleImpl
Copyright © 2021. All rights reserved.