Preparing search index...
The search index is not available
Octra libraries - v2.0.0
Octra libraries
@octra/web-media
MusicMetadataFormat
ClassMusicMetadataFormat
Hierarchy (
view full
)
AudioFormat
MusicMetadataFormat
Index
Constructors
constructor
Properties
_bits
Per
Sample
_byte
Rate
_channels
_decoder
_duration
_filename
_mime
Type
_sample
Rate
_supported
Formats
format
Constructor
Accessors
bits
Per
Sample
byte
Rate
channels
decoder
duration
filename
mime
Type
sample
Rate
supported
Formats
Methods
init
is
Valid
read
Audio
Information
Constructors
constructor
new
Music
Metadata
Format
(
)
:
MusicMetadataFormat
Returns
MusicMetadataFormat
Properties
Protected
_bits
Per
Sample
_bits
Per
Sample
:
number
Protected
_byte
Rate
_byte
Rate
:
number
Protected
_channels
_channels
:
number
Protected
_decoder
_decoder
:
"web-audio"
|
"octra"
= 'web-audio'
Protected
_duration
_duration
:
{
samples
:
number
;
seconds
:
number
;
}
Protected
_filename
_filename
:
string
Protected
_mime
Type
_mime
Type
:
string
Protected
_sample
Rate
_sample
Rate
:
number
Protected
_supported
Formats
_supported
Formats
:
SupportedAudioFormat
[]
format
Constructor
format
Constructor
:
Uint8ArrayConstructor
|
Int16ArrayConstructor
|
Int32ArrayConstructor
Accessors
bits
Per
Sample
get
bitsPerSample
(
)
:
number
Returns
number
byte
Rate
get
byteRate
(
)
:
number
Returns
number
channels
get
channels
(
)
:
number
Returns
number
decoder
get
decoder
(
)
:
"web-audio"
|
"octra"
Returns
"web-audio"
|
"octra"
duration
get
duration
(
)
:
{
samples
:
number
;
seconds
:
number
;
}
Returns
{
samples
:
number
;
seconds
:
number
;
}
samples
:
number
seconds
:
number
filename
get
filename
(
)
:
string
Returns
string
mime
Type
get
mimeType
(
)
:
string
Returns
string
sample
Rate
get
sampleRate
(
)
:
number
Returns
number
supported
Formats
get
supportedFormats
(
)
:
SupportedAudioFormat
[]
Returns
SupportedAudioFormat
[]
Methods
init
init
(
filename
,
mimeType
,
buffer
)
:
Promise
<
void
>
Parameters
filename
:
string
mimeType
:
string
buffer
:
ArrayBuffer
Returns
Promise
<
void
>
is
Valid
is
Valid
(
buffer
)
:
boolean
Parameters
buffer
:
ArrayBuffer
Returns
boolean
read
Audio
Information
read
Audio
Information
(
buffer
)
:
Promise
<
void
>
Parameters
buffer
:
ArrayBuffer
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_bits
Per
Sample
_byte
Rate
_channels
_decoder
_duration
_filename
_mime
Type
_sample
Rate
_supported
Formats
format
Constructor
Accessors
bits
Per
Sample
byte
Rate
channels
decoder
duration
filename
mime
Type
sample
Rate
supported
Formats
Methods
init
is
Valid
read
Audio
Information
Octra libraries - v2.0.0
Loading...