MusicDataRawTransformer(uuid?: string, defaultValue?: IMusicData)
Requires:
@ray-js/panel-sdk≥1.0.0
Description
Music rhythm Raw-type DP protocol converter for bidirectional conversion between music rhythm data and the Raw DP hexadecimal protocol
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string | No | DP identifier, defaults to 'music_data_raw' |
| No | Default music data returned when parsing fails |
Return Value
Type: MusicDataRawTransformer
MusicDataRawTransformer instance
Methods
| Method | Description |
|---|---|
| parser | Parse a Raw DP hexadecimal string into a music rhythm data object |
| formatter | Format a music rhythm data object into a Raw DP hexadecimal string |