mwg API
Reference
Overview
Examples
Examples index
Getting started
Design
FAQ
Preparing search index...
index
Audio
GrooveConverterEngine
Interface GrooveConverterEngine
interface
GrooveConverterEngine
{
exportFormat
(
template
:
GrooveTemplate
,
format
:
GrooveFormat
,
)
:
Promise
<
string
|
Uint8Array
<
ArrayBufferLike
>
>
;
importFormat
(
data
:
string
|
Uint8Array
<
ArrayBufferLike
>
,
format
:
GrooveFormat
,
)
:
Promise
<
GrooveTemplate
>
;
}
Implemented by
GrooveConverter
Index
Methods
export
Format
import
Format
Methods
export
Format
exportFormat
(
template
:
GrooveTemplate
,
format
:
GrooveFormat
,
)
:
Promise
<
string
|
Uint8Array
<
ArrayBufferLike
>
>
json
and
midi
return bytes only where the format needs them (MIDI); JSON is text
Parameters
template
:
GrooveTemplate
format
:
GrooveFormat
Returns
Promise
<
string
|
Uint8Array
<
ArrayBufferLike
>
>
import
Format
importFormat
(
data
:
string
|
Uint8Array
<
ArrayBufferLike
>
,
format
:
GrooveFormat
,
)
:
Promise
<
GrooveTemplate
>
Parameters
data
:
string
|
Uint8Array
<
ArrayBufferLike
>
format
:
GrooveFormat
Returns
Promise
<
GrooveTemplate
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
export
Format
import
Format
Reference
Overview
Examples
Examples index
Getting started
Design
FAQ
mwg API
Loading...
jsonandmidireturn bytes only where the format needs them (MIDI); JSON is text