Skip to main content

AudioDataEventFloat32

@siteed/audio-studio


@siteed/audio-studio / AudioDataEventFloat32

Interface: AudioDataEventFloat32

Defined in: src/AudioStudio.types.ts:63

Extends

  • AudioDataEventBase

Properties

compression?

optional compression: CompressionInfo & object

Defined in: src/AudioStudio.types.ts:51

Information about compression if enabled, including the compressed data chunk

Type declaration

data?

optional data: string | Blob

Base64 (native) or Blob (web) encoded compressed data chunk

Inherited from

AudioDataEventBase.compression


data

data: Float32Array

Defined in: src/AudioStudio.types.ts:65

Audio data as Float32Array with samples in [-1, 1] range


eventDataSize

eventDataSize: number

Defined in: src/AudioStudio.types.ts:47

Size of the current data chunk in bytes

Inherited from

AudioDataEventBase.eventDataSize


fileUri

fileUri: string

Defined in: src/AudioStudio.types.ts:45

URI to the file being recorded

Inherited from

AudioDataEventBase.fileUri


position

position: number

Defined in: src/AudioStudio.types.ts:43

Current position in the audio stream in bytes

Inherited from

AudioDataEventBase.position


streamFormat

streamFormat: "float32"

Defined in: src/AudioStudio.types.ts:66


totalSize

totalSize: number

Defined in: src/AudioStudio.types.ts:49

Total size of the recording so far in bytes

Inherited from

AudioDataEventBase.totalSize