Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
    
    
  
  
    
    
  
  
  Provides classes that manage audio effects implemented in the media framework.
  
  
    
Interfaces
    
  
  
  
  
    Classes
    
  
  
    
      
        | AcousticEchoCanceler | 
        
          Acoustic Echo Canceler (AEC). 
          
    
         | 
      
      
    
      
        | AudioEffect | 
        
          AudioEffect is the base class for controlling audio effects provided by the android audio
 framework. 
          
    
         | 
      
      
    
      
        | AudioEffect.Descriptor | 
        
          The effect descriptor contains information on a particular effect implemented in the
 audio framework: 
 
  - type: UUID identifying the effect type. 
          
    
        
   | 
      
      
    
      
        | AutomaticGainControl | 
        
          Automatic Gain Control (AGC). 
          
    
         | 
      
      
    
      
        | BassBoost | 
        
          Bass boost is an audio effect to boost or amplify low frequencies of the sound. 
          
    
         | 
      
      
    
      
        | BassBoost.Settings | 
        
          The Settings class regroups all bass boost parameters. 
          
    
         | 
      
      
    
      
        | DynamicsProcessing | 
        
          DynamicsProcessing is an audio effect for equalizing and changing dynamic range properties of the
 sound. 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.BandBase | 
        
          Base class for bands 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.BandStage | 
        
          Base class for stages that hold bands 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.Channel | 
        
          Class for Channel configuration parameters. 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.Config | 
        
          Class for Config object, used by DynamicsProcessing to configure and update the audio effect. 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.Config.Builder | 
        
           
          
    
         | 
      
      
    
      
        | DynamicsProcessing.Eq | 
        
          Class for Equalizer stage 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.EqBand | 
        
          Class for Equalizer Bands
 Equalizer bands have three controllable parameters: enabled/disabled, cutoffFrequency and
 gain 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.Limiter | 
        
          Class for Limiter Stage
 Limiter is a single band compressor at the end of the processing chain, commonly used to
 protect the signal from overloading and distortion. 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.Mbc | 
        
          Class for Multi-Band Compressor (MBC) stage 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.MbcBand | 
        
          Class for Multi-Band compressor bands
 MBC bands have multiple controllable parameters: enabled/disabled, cutoffFrequency,
 attackTime, releaseTime, ratio, threshold, kneeWidth, noiseGateThreshold, expanderRatio,
 preGain and postGain. 
          
    
         | 
      
      
    
      
        | DynamicsProcessing.Stage | 
        
          base class for the different stages. 
          
    
         | 
      
      
    
      
        | EnvironmentalReverb | 
        
          A sound generated within a room travels in many directions. 
          
    
         | 
      
      
    
      
        | EnvironmentalReverb.Settings | 
        
          The Settings class regroups all environmental reverb parameters. 
          
    
         | 
      
      
    
      
        | Equalizer | 
        
          An Equalizer is used to alter the frequency response of a particular music source or of the main
 output mix. 
          
    
         | 
      
      
    
      
        | Equalizer.Settings | 
        
          The Settings class regroups all equalizer parameters. 
          
    
         | 
      
      
    
      
        | HapticGenerator | 
        
          Haptic Generator(HG). 
          
    
         | 
      
      
    
      
        | LoudnessEnhancer | 
        
          LoudnessEnhancer is an audio effect for increasing audio loudness. 
          
    
         | 
      
      
    
      
        | NoiseSuppressor | 
        
          Noise Suppressor (NS). 
          
    
         | 
      
      
    
      
        | PresetReverb | 
        
          A sound generated within a room travels in many directions. 
          
    
         | 
      
      
    
      
        | PresetReverb.Settings | 
        
          The Settings class regroups all preset reverb parameters. 
          
    
         | 
      
      
    
      
        | Virtualizer | 
        
          
      This class was deprecated
      in API level 35.
    use the Spatializer class to query the capabilities of the
     platform with regards to spatialization, a different name for audio channel virtualization,
     and the AudioAttributes.Builder.setSpatializationBehavior(int) to
     characterize how you want your content to be played when spatialization is supported. 
          
    
         | 
      
      
    
      
        | Virtualizer.Settings | 
        
          The Settings class regroups all virtualizer parameters. 
          
    
         | 
      
      
    
      
        | Visualizer | 
        
          The Visualizer class enables application to retrieve part of the currently playing audio for
 visualization purpose. 
          
    
         | 
      
      
    
      
        | Visualizer.MeasurementPeakRms | 
        
          A class to store peak and RMS values. 
          
    
         | 
      
      
    
  
  
  
  
  
 
 
  
  
    
  
 
  
    
      
      
    
    
      
    
    
  
       
    
    
      
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]