Skip to main content

AudioDataEventRaw

@siteed/audio-studio


@siteed/audio-studio / AudioDataEventRaw

Interface: AudioDataEventRaw

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

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: string | Float32Array<ArrayBufferLike> | Int16Array<ArrayBufferLike>

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

Audio data as base64 string (native), Float32Array (web), or Int16Array (web)


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?

optional streamFormat: "raw"

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


totalSize

totalSize: number

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

Total size of the recording so far in bytes

Inherited from

AudioDataEventBase.totalSize