Interface AudioBuffer

All Superinterfaces:
JSObject

public interface AudioBuffer extends JSObject
  • Method Details

    • getSampleRate

      float getSampleRate()
    • getLength

      int getLength()
    • getDuration

      double getDuration()
    • getNumberOfChannels

      int getNumberOfChannels()
    • getChannelData

      Float32Array getChannelData(int channel)
    • copyFromChannel

      void copyFromChannel(Float32Array destination, int channelNumber)
    • copyFromChannel

      void copyFromChannel(float[] destination, int channelNumber)
    • copyFromChannel

      void copyFromChannel(Float32Array destination, int channelNumber, int startInChannel)
    • copyFromChannel

      void copyFromChannel(float[] destination, int channelNumber, int startInChannel)
    • copyToChannel

      void copyToChannel(Float32Array source, int channelNumber)
    • copyToChannel

      void copyToChannel(float[] source, int channelNumber)
    • copyToChannel

      void copyToChannel(Float32Array source, int channelNumber, int startInChannel)
    • copyToChannel

      void copyToChannel(float[] source, int channelNumber, int startInChannel)