StudioSoundAudioType

@IntDef(value = [StudioSoundAudioType.UNSPECIFIED, StudioSoundAudioType.SPEECH, StudioSoundAudioType.CROWD, StudioSoundAudioType.MUSIC, StudioSoundAudioType.NATURE, StudioSoundAudioType.WIND, StudioSoundAudioType.NOISE])
@Retention(value = RetentionPolicy.SOURCE)
@Target(value = [ElementType.TYPE_USE, ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE])
public annotation StudioSoundAudioType


Audio types representing specific sound categories isolated from an audio stream.

Used in getAudioType to identify the type of isolated sound contained in a processed audio buffer.

Summary

Constants

static final int
CROWD = 2

Isolated crowd noise, background chatter, or murmur.

static final int
MUSIC = 3

Isolated background music and musical accompaniment.

static final int
NATURE = 4

Isolated nature sounds, such as birds, rustling leaves, or water.

static final int
NOISE = 6

Isolated ambient non-speech background noise.

static final int
SPEECH = 1

Isolated speech and vocal audio track.

static final int

Unspecified or unknown audio type.

static final int
WIND = 5

Isolated wind noise and air turbulence.

Constants

CROWD

public static final int CROWD = 2

Isolated crowd noise, background chatter, or murmur.

MUSIC

public static final int MUSIC = 3

Isolated background music and musical accompaniment.

NATURE

public static final int NATURE = 4

Isolated nature sounds, such as birds, rustling leaves, or water.

NOISE

public static final int NOISE = 6

Isolated ambient non-speech background noise.

SPEECH

public static final int SPEECH = 1

Isolated speech and vocal audio track.

UNSPECIFIED

public static final int UNSPECIFIED = 0

Unspecified or unknown audio type.

WIND

public static final int WIND = 5

Isolated wind noise and air turbulence.