Constructors
constructor
- new Writer(tracks, options?): Writer
-
Parameters
-
tracks: any
-
options: {} = {}
Methods
base64
- base64(): string
-
Returns string
buildData
- buildData(): any[]
-
Returns any[]
buildFile
- buildFile(): Uint8Array
-
Returns Uint8Array
dataUri
- dataUri(): string
-
Returns string
setOption
- setOption(key, value): Writer
-
Parameters
-
key: string
-
value: string | number
stdout
- stdout(): boolean
-
Returns boolean
Object that puts together tracks and provides methods for file output.
Param
A single {Track} object or an array of {Track} objects.
Param
{middleC: 'C4'}
Returns