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