AudioAnalysis
@siteed/expo-audio-studio / AudioAnalysis
Interface: AudioAnalysis
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:108
Represents the complete data from the audio analysis.
Properties
amplitudeRange
amplitudeRange:
object
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:130
max
max:
number
min
min:
number
bitDepth
bitDepth:
number
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:125
Bit depth used for audio analysis processing.
Important: This represents the internal processing bit depth, which may differ from the recording bit depth. Audio is typically converted to 32-bit float for analysis to ensure precision in calculations, regardless of the original recording format.
Platform behavior:
- iOS: Always 32 (float processing)
- Android: Always 32 (float processing)
- Web: Always 32 (Web Audio API standard)
The actual recorded file will maintain the requested bit depth (8, 16, or 32).
dataPoints
dataPoints:
DataPoint
[]
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:129
durationMs
durationMs:
number
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:110
extractionTimeMs
extractionTimeMs:
number
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:138
numberOfChannels
numberOfChannels:
number
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:127
rmsRange
rmsRange:
object
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:134
max
max:
number
min
min:
number
sampleRate
sampleRate:
number
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:128
samples
samples:
number
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:126
segmentDurationMs
segmentDurationMs:
number
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:109
speechAnalysis?
optional
speechAnalysis:object
Defined in: src/AudioAnalysis/AudioAnalysis.types.ts:140
speakerChanges
speakerChanges:
object
[]