Interface MonoSample

All Superinterfaces:
org.refcodes.mixin.IndexAccessor, SamplingRateAccessor, SoundSample, org.refcodes.mixin.TimeStampAccessor
All Known Subinterfaces:
MonoSampleBuilder
All Known Implementing Classes:
MonoSampleBuilderImpl, MonoSampleImpl

public interface MonoSample extends SoundSample
A MonoSample is a SoundSample supporting just one single channel.
  • Method Details

    • getMonoData

      default double getMonoData()
      Returns the sample's data for the according time positioning. A sample is a value or set of values at a point in time. In case of mono audio, a sample represents a single value, in case of stereo audio, a sample represents a set of values, one value represents one channel (e.g. two channels when we have a left and a right speaker).
      Returns:
      The sample's data for the according time positioning.