diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1adb51f..ba1c7dd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,11 +1,11 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: "nuget" # See documentation for possible values - directory: "./LtDotNet" # Location of package manifests - schedule: - interval: "weekly" +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "nuget" # See documentation for possible values + directory: "./LtDotNet" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 85c2e02..79cd122 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,27 +1,25 @@ -# This workflow will build a .NET project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net -name: .NET -on: - push: - branches: [ "main", "develop" ] - pull_request: - branches: [ "main", "develop" ] -jobs: - build: - runs-on: windows-latest - steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 6.0.x - - name: Restore dependencies - run: dotnet restore - working-directory: ./LtDotNet - - name: Build - run: dotnet build --no-restore - working-directory: ./LtDotNet -# tests are disabled until the mocked amplifier is complete -# - name: Test -# run: dotnet test --no-build --verbosity normal -# working-directory: ./LtDotNet +# This workflow will build a .NET project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net +name: .NET +on: + push: + pull_request: + branches: [ "main", "develop" ] +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + - name: Restore dependencies + run: dotnet restore + working-directory: ./LtAmpDotNet + - name: Build + run: dotnet build --no-restore + working-directory: ./LtAmpDotNet + - name: Test + run: dotnet test --no-build --verbosity normal + working-directory: ./LtAmpDotNet diff --git a/LtDotNet/.gitignore b/.gitignore similarity index 89% rename from LtDotNet/.gitignore rename to .gitignore index f8771ad..052619c 100644 --- a/LtDotNet/.gitignore +++ b/.gitignore @@ -1,43 +1,43 @@ -*.swp -*.*~ -project.lock.json -.DS_Store -*.pyc -nupkg/ - -# Visual Studio Code -.vscode/ - -# Rider -.idea/ - -# Visual Studio -.vs/ - -# Fleet -.fleet/ - -# Code Rush -.cr/ - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -build/ -bld/ -[Bb]in/ -[Oo]bj/ -[Oo]ut/ -msbuild.log -msbuild.err +*.swp +*.*~ +project.lock.json +.DS_Store +*.pyc +nupkg/ + +# Visual Studio Code +.vscode/ + +# Rider +.idea/ + +# Visual Studio +.vs/ + +# Fleet +.fleet/ + +# Code Rush +.cr/ + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +build/ +bld/ +[Bb]in/ +[Oo]bj/ +[Oo]ut/ +msbuild.log +msbuild.err msbuild.wrn \ No newline at end of file diff --git a/Docs/json.md b/Docs/json.md index 2ef236c..1ac0ea0 100644 --- a/Docs/json.md +++ b/Docs/json.md @@ -1,68 +1,68 @@ -# JSON Preset format - -## Preset - -| Property | Type | Description | -| -------- | ---- | ----------- | -| nodeId | string | "preset" | -| nodeType | string | "preset" | -| version | string | firmware version for the preset? Only seen "1.1" | -| numInputs | integer | Number of inputs (assuming this refers to L/R stereo?). Only seen 2 as a value | -| numOutputs | integer | Number of outputs (assuming this refers to L/R stereo?). Only seen 2 as a value | -| info | Object | Metadata about the preset | -| audioGraph | Object | Audio settings for the preset | - -## Info - -| Property | Type | Description | -| -------- | ---- | ----------- | -| displayName | string | Name to be displayed on the amp. 16 characters, displayed on the amp in two 8-charachter lines | -| product_id | string | Product ID this preset is compatible with. -| author | string | Author of the preset? I've only seen empty strings | -| timestamp | integer | Unix timestamp of the preset. Not sure if this is created or modified time | -| created_at | integer | Unix timestamp of created time? Only seen 0 | -| bpm | integer | BPM value for effects that utilize this (certain delays and reverbs, etc.) | -| preset_id | guid | All presets I've seen have the same id (82701e3e-caf7-11e7-b721-171e6c7d3090), or an empty string | -| source_id | string | unknown; all presets I've seen are blank | -| is_factory_default | boolean | Strangely, I've only seen this set to true | - -## AudioGraph - -| Property | Type | Description | -| -------- | ---- | ----------- | -| connections | Array(Object) | The connection graph for the DSP nodes. Pretty much the same for every preset; unsure if changing this has any effect | -| nodes | Array(Object) | The specific DSP units for the preset | - -## Connections - -This connection graph traces the linkage between the DSP units, from Preset to Amp. I've only seen the same connection graph for each preset, and the default is this: - -Preset -> Stomp -> Mod -> Amp -> Delay -> Reverb -> Preset - -| Property | Type | Description | -| -------- | ---- | ----------- | -| input | Object | the input point for this connection -| output | Object | the output point for this connection - - -### Input/Output - -| Property | Type | Description | -| -------- | ---- | ----------- | -| index | integer | index of input or output; assuming it refers to L/R in a stereo connection, so I've only seen 0 and 1 | -| nodeId | string | ID of node pertaining to this connection (amp, stomp, mod, delay, reverb) | - -## Nodes - -| Property | Type | Description | -| -------- | ---- | ----------- | -| nodeId | string | type of DSP Unit (amp, stomp, mod, delay, reverb) | -| nodeType | string | always "dspUnit" | -| FenderId | string | FenderID of the DSP unit | -| dspUnitParameters | Object | Parameters for the DSP Unit | - -### dspUnitParameters - -Each DSP unit has it's own set of parameters, with their own data types. They are all stored in a simple "key": "value" form, and are all one of integer, float, boolean, or string. - -For stomp, mod, delay, and reverb DSP units, their are two common parameters: "bypass" and "bypassType". +# JSON Preset format + +## Preset + +| Property | Type | Description | +| -------- | ---- | ----------- | +| nodeId | string | "preset" | +| nodeType | string | "preset" | +| version | string | firmware version for the preset? Only seen "1.1" | +| numInputs | integer | Number of inputs (assuming this refers to L/R stereo?). Only seen 2 as a value | +| numOutputs | integer | Number of outputs (assuming this refers to L/R stereo?). Only seen 2 as a value | +| info | Object | Metadata about the preset | +| audioGraph | Object | Audio settings for the preset | + +## Info + +| Property | Type | Description | +| -------- | ---- | ----------- | +| displayName | string | Name to be displayed on the amp. 16 characters, displayed on the amp in two 8-charachter lines | +| product_id | string | Product ID this preset is compatible with. +| author | string | Author of the preset? I've only seen empty strings | +| timestamp | integer | Unix timestamp of the preset. Not sure if this is created or modified time | +| created_at | integer | Unix timestamp of created time? Only seen 0 | +| bpm | integer | BPM value for effects that utilize this (certain delays and reverbs, etc.) | +| preset_id | guid | All presets I've seen have the same id (82701e3e-caf7-11e7-b721-171e6c7d3090), or an empty string | +| source_id | string | unknown; all presets I've seen are blank | +| is_factory_default | boolean | Strangely, I've only seen this set to true | + +## AudioGraph + +| Property | Type | Description | +| -------- | ---- | ----------- | +| connections | Array(Object) | The connection graph for the DSP nodes. Pretty much the same for every preset; unsure if changing this has any effect | +| nodes | Array(Object) | The specific DSP units for the preset | + +## Connections + +This connection graph traces the linkage between the DSP units, from Preset to Amp. I've only seen the same connection graph for each preset, and the default is this: + +Preset -> Stomp -> Mod -> Amp -> Delay -> Reverb -> Preset + +| Property | Type | Description | +| -------- | ---- | ----------- | +| input | Object | the input point for this connection +| output | Object | the output point for this connection + + +### Input/Output + +| Property | Type | Description | +| -------- | ---- | ----------- | +| index | integer | index of input or output; assuming it refers to L/R in a stereo connection, so I've only seen 0 and 1 | +| nodeId | string | ID of node pertaining to this connection (amp, stomp, mod, delay, reverb) | + +## Nodes + +| Property | Type | Description | +| -------- | ---- | ----------- | +| nodeId | string | type of DSP Unit (amp, stomp, mod, delay, reverb) | +| nodeType | string | always "dspUnit" | +| FenderId | string | FenderID of the DSP unit | +| dspUnitParameters | Object | Parameters for the DSP Unit | + +### dspUnitParameters + +Each DSP unit has it's own set of parameters, with their own data types. They are all stored in a simple "key": "value" form, and are all one of integer, float, boolean, or string. + +For stomp, mod, delay, and reverb DSP units, their are two common parameters: "bypass" and "bypassType". diff --git a/Docs/protobuf.md b/Docs/protobuf.md index f767f00..c84ea0c 100644 --- a/Docs/protobuf.md +++ b/Docs/protobuf.md @@ -1,755 +1,755 @@ -# Protocol Documentation - -The arrows indicate the direction the message goes. -- ← indicates the message is sent from the amp to the computer -- → indicates the message is sent from the computer to the amp - -### FenderMessageLT -(← →) -Base message type used to communicate with the amp - -All messages are of this type, and encapsulate the actual message - -| Field | Type | Label | Description | Direction | -| ----- | ---- | ----- | ----------- | --------- | -| responseType | [ResponseType](#ResponseType) | required | Response type. All messages from the host to the amp are UNSOLICITED Default: UNSOLICITED | ← → | -| processorUtilizationRequest | [ProcessorUtilizationRequest](#ProcessorUtilizationRequest) | optional | | → | -| processorUtilization | [ProcessorUtilization](#ProcessorUtilization) | optional | | -| memoryUsageRequest | [MemoryUsageRequest](#MemoryUsageRequest) | optional | | → | -| memoryUsageStatus | [MemoryUsageStatus](#MemoryUsageStatus) | optional | | → | -| presetJSONMessageRequest_LT | [PresetJSONMessageRequest_LT](#PresetJSONMessageRequest_LT) | optional | | -| presetJSONMessage | [PresetJSONMessage](#PresetJSONMessage) | optional | | -| currentPresetStatus | [CurrentPresetStatus](#CurrentPresetStatus) | optional | | -| loadPreset | [LoadPreset](#LoadPreset) | optional | | → | -| setDspUnitParameter | [SetDspUnitParameter](#SetDspUnitParameter) | optional | | → | -| setDspUnitParameterStatus | [SetDspUnitParameterStatus](#SetDspUnitParameterStatus) | optional | | -| dspUnitParameterStatus | [DspUnitParameterStatus](#DspUnitParameterStatus) | optional | | -| currentLoadedPresetIndexStatus | [CurrentLoadedPresetIndexStatus](#CurrentLoadedPresetIndexStatus) | optional | | -| presetEditedStatus | [PresetEditedStatus](#PresetEditedStatus) | optional | | -| replaceNode | [ReplaceNode](#ReplaceNode) | optional | | → | -| replaceNodeStatus | [ReplaceNodeStatus](#ReplaceNodeStatus) | optional | | -| shiftPreset | [ShiftPreset](#ShiftPreset) | optional | | → | -| shiftPresetStatus | [ShiftPresetStatus](#ShiftPresetStatus) | optional | | -| swapPreset | [SwapPreset](#SwapPreset) | optional | | → | -| swapPresetStatus | [SwapPresetStatus](#SwapPresetStatus) | optional | | -| currentPresetSet | [CurrentPresetSet](#CurrentPresetSet) | optional | | -| currentLoadedPresetIndexBypassStatus | [CurrentLoadedPresetIndexBypassStatus](#CurrentLoadedPresetIndexBypassStatus) | optional | | -| currentDisplayedPresetIndexStatus | [CurrentDisplayedPresetIndexStatus](#CurrentDisplayedPresetIndexStatus) | optional | | -| presetSavedStatus | [PresetSavedStatus](#PresetSavedStatus) | optional | | -| clearPreset | [ClearPreset](#ClearPreset) | optional | | → | -| clearPresetStatus | [ClearPresetStatus](#ClearPresetStatus) | optional | | -| saveCurrentPreset | [SaveCurrentPreset](#SaveCurrentPreset) | optional | | → | -| saveCurrentPresetTo | [SaveCurrentPresetTo](#SaveCurrentPresetTo) | optional | | → | -| savePresetAs | [SavePresetAs](#SavePresetAs) | optional | | → | -| newPresetSavedStatus | [NewPresetSavedStatus](#NewPresetSavedStatus) | optional | | -| renamePresetAt | [RenamePresetAt](#RenamePresetAt) | optional | | → | -| auditionPreset | [AuditionPreset](#AuditionPreset) | optional | | → | -| auditionPresetStatus | [AuditionPresetStatus](#AuditionPresetStatus) | optional | | -| exitAuditionPreset | [ExitAuditionPreset](#ExitAuditionPreset) | optional | | → | -| exitAuditionPresetStatus | [ExitAuditionPresetStatus](#ExitAuditionPresetStatus) | optional | | -| auditionStateRequest | [AuditionStateRequest](#AuditionStateRequest) | optional | | → | -| auditionStateStatus | [AuditionStateStatus](#AuditionStateStatus) | optional | | -| productIdentificationStatus | [ProductIdentificationStatus](#ProductIdentificationStatus) | optional | | -| productIdentificationRequest | [ProductIdentificationRequest](#ProductIdentificationRequest) | optional | | → | -| firmwareVersionRequest | [FirmwareVersionRequest](#FirmwareVersionRequest) | optional | | → | -| firmwareVersionStatus | [FirmwareVersionStatus](#FirmwareVersionStatus) | optional | | -| currentPresetRequest | [CurrentPresetRequest](#CurrentPresetRequest) | optional | | → | -| retrievePreset | [RetrievePreset](#RetrievePreset) | optional | | → | -| usbGainRequest | [UsbGainRequest](#UsbGainRequest) | optional | | → | -| usbGainStatus | [UsbGainStatus](#UsbGainStatus) | optional | | -| qASlotsRequest | [QASlotsRequest](#QASlotsRequest) | optional | | → | -| qASlotsStatus | [QASlotsStatus](#QASlotsStatus) | optional | | -| lineOutGainRequest | [LineOutGainRequest](#LineOutGainRequest) | optional | | → | -| lineOutGainStatus | [LineOutGainStatus](#LineOutGainStatus) | optional | | -| modalStatusMessage | [ModalStatusMessage](#ModalStatusMessage) | optional | | -| usbGainSet | [UsbGainSet](#UsbGainSet) | optional | | → | -| lineOutGainSet | [LineOutGainSet](#LineOutGainSet) | optional | | → | -| qASlotsSet | [QASlotsSet](#QASlotsSet) | optional | | → | -| unsupportedMessageStatus | [UnsupportedMessageStatus](#UnsupportedMessageStatus) | optional | | -| heartbeat | [Heartbeat](#Heartbeat) | optional | | → | -| connectionStatusRequest | [ConnectionStatusRequest](#ConnectionStatusRequest) | optional | | → | -| connectionStatus | [ConnectionStatus](#ConnectionStatus) | optional | | -| indexPot | [IndexPot](#IndexPot) | optional | | | -| indexButton | [IndexButton](#IndexButton) | optional | | | -| indexEncoder | [IndexEncoder](#IndexEncoder) | optional | | | -| activeDisplay | [ActiveDisplay](#ActiveDisplay) | optional | | | -| frameBufferMessageRequest | [FrameBufferMessageRequest](#FrameBufferMessageRequest) | optional | | → | -| frameBufferMessage | [FrameBufferMessage](#FrameBufferMessage) | optional | | -| lt4FootswitchModeRequest | [LT4FootswitchModeRequest](#LT4FootswitchModeRequest) | optional | | → | -| lt4FootswitchModeStatus | [LT4FootswitchModeStatus](#LT4FootswitchModeStatus) | optional | | -| loadPreset_TestSuite | [LoadPreset_TestSuite](#LoadPreset_TestSuite) | optional | | -| loopbackTest | [LoopbackTest](#LoopbackTest) | optional | | - -#### ResponseType -Message response type - -| Name | Number | Description | -| ---- | ------ | ----------- | -| UNSOLICITED | 0 | Message sent not as the result of a command | -| NOT_LAST_ACK | 1 | Message sent as the result of a command, but NOT the last message in the batch | -| IS_LAST_ACK | 2 | Message sent as the last result of a command | - -## Auditioning - -### AuditionPreset -(→) -Sends a preset to the amp to be "auditioned" - -response: [AuditionPresetStatus](#auditionpresetstatus) message containing the preset data loaded to the amp - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| presetData | [string](#string) | required | [JSON](json.md) string conaining the preset to be auditioned | - -### AuditionPresetStatus -(←) -Response to an [AuditionPreset](#auditionpreset) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| presetData | [string](#string) | required | [JSON data](json.md) conatining preset data being auditioned | - -### AuditionStateRequest -(→) -Queries the amp for its audition state - -response: [AuditionStateStatus](#auditionstatestatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### AuditionStateStatus -(←) -The current audition state of the amp. Resposne to an [AuditionStateRequest](#auditionstaterequest) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| isAuditioning | [bool](#bool) | required | True if the amp is in audition mode | - -### ExitAuditionPreset -(→) -Leaves audition mode - -response: [ExitAuditionPresetStatus](#exitauditionpresetstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| exit | [bool](#bool) | required | True to exit audition mode | - -### ExitAuditionPresetStatus -(←) -Result message for an [ExitAuditionPreset](#exitauditionpreset) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| isSuccess | [bool](#bool) | required | True if audition mode was exited successfully | - -## Preset management - -### CurrentPresetRequest -(→) -Requests the current preset from the amp - -response: [CurrentPresetStatus](#currentpresetstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### CurrentPresetSet -(→) -Sets the current preset of the amp - -response: [CurrentPresetStatus](#currentpresetstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| currentPresetData | [string](#string) | required | [JSON data](json.md) conatining preset data | - -### CurrentPresetStatus -(←) -Returns the state of the current preset - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| currentPresetData | [string](#string) | required | [JSON data](json.md) conatining current preset data | -| currentSlotIndex | [int32](#int32) | required | Current preset bank number | -| currentPresetDirtyStatus | [bool](#bool) | required | True if current preset has been edited and not saved | - -### LoadPreset -(→) -Switches the amp to the specified preset number - -response: [CurrentLoadedPresetIndexStatus](#currentloadedpresetindexstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| presetIndex | [int32](#int32) | required | Preset bank number currently loaded | - -### CurrentDisplayedPresetIndexStatus -(←) -The current preset displayed on the amp. Sent when the preset is changed at the amp - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| currentDisplayedPresetIndex | [int32](#int32) | required | The current preset bank number | - -### CurrentLoadedPresetIndexStatus -(←) -The current preset displayed on the amp. Sent when the preset is changed at the amp or via a [LoadPreset](#loadpreset) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| currentLoadedPresetIndex | [int32](#int32) | required | The current preset bank number | - -### RetrievePreset -(←) -Queries the amp on the stored presets - -response: [PresetJsonMessage](#presetjsonmessage) - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| slot | [int32](#int32) | required | Preset bank to retrieve | - -### PresetJSONMessage -(←) -Saved preset data - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| data | [string](#string) | required | [JSON data](json.md) conatining preset data for requested preset bank | -| slotIndex | [int32](#int32) | required | Preset bank this preset is stored in | - -### ShiftPreset -(→) -Moves a preset to the specified point, shifting all other presets - -response: [ShiftPresetStatus](#shiftpresetstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| indexToShiftFrom | [int32](#int32) | required | Preset to shift | -| indexToShiftTo | [int32](#int32) | required | Destination of preset to shift | - -### ShiftPresetStatus -(←) -Response to a [ShiftPreset](#shiftpreset) message with the status of the command - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| indexToShiftFrom | [int32](#int32) | required | Preset shifted | -| indexToShiftTo | [int32](#int32) | required | Destination | - -### SwapPreset -(→) -Swaps the presets in indexA and indexB - -response: [SwapPresetStatus](#swappresetstatus) message -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| indexA | [int32](#int32) | required | | -| indexB | [int32](#int32) | required | | - -### SwapPresetStatus -(←) -result of a [SwapPreset](#swappreset) message -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| indexA | [int32](#int32) | required | | -| indexB | [int32](#int32) | required | | - -### SaveCurrentPreset -(→) -saves the current preset - -response: [PresetSavedStatus](#presetsavedstatus) - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| save | [bool](#bool) | required | | - -### SaveCurrentPresetTo -(→) -response: [PresetSavedStatus](#presetsavedstatus) - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| presetName | [string](#string) | required | | -| presetSlot | [int32](#int32) | required | | - -### SavePresetAs -(→) -response: [PresetSavedStatus](#presetsavedstatus) -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| presetData | [string](#string) | required | | -| isLoadPreset | [bool](#bool) | required | | -| presetSlot | [int32](#int32) | required | | - -### PresetSavedStatus -(←) -Result of a [SaveCurrentPreset](#savecurrentpreset), [SaveCurrentPresetTo](#savecurrentpresetto), or [SavePresetAs](#savepresetas) message. Also sent when the preset is saved on the amp. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| name | [string](#string) | required | Name of the preset saved | -| slot | [int32](#int32) | required | Preset bank of the saved preset | - -### RenamePresetAt -(→) -Renames a preset - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| presetName | [string](#string) | required | new preset name | -| presetSlot | [int32](#int32) | required | slot index to rename | - -### NewPresetSavedStatus -(←) - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| presetData | [string](#string) | required | | -| presetSlot | [int32](#int32) | required | | - -### ClearPreset -(→) -Clears a preset in the amp - -response: [ClearPresetStatus](#clearpresetstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| slotIndex | [int32](#int32) | required | Preset bank to clear | -| isLoadPreset | [bool](#bool) | required | ??? the Tone app sets this to true when clearing the preset | - -### ClearPresetStatus -(←) -Response to a [ClearPreset](#clearpreset) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| slotIndex | [int32](#int32) | required | bank number cleared | - -### ReplaceNode -(→) -Swaps out a node (amp, stomp, mod, delay, or reverb) - -response: [ReplaceNodeStatus](#replacenodestatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| nodeIdToReplace | [string](#string) | required | nodeid to replace (amp, stomp, mod, delay, or reverb) | -| fenderIdToReplaceWith | [string](#string) | required | FenderId of node to set | - -### ReplaceNodeStatus -(←) -Status of a [ReplaceNode](#replacenode) message; also sent when the node is changed at the amp - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| nodeIdReplaced | [string](#string) | required | node replaced (amp, stomp, mod, delay, or reverb) | -| fenderIdReplaced | [string](#string) | required | FenderId of node set | - -### SetDspUnitParameter -(→) -Changes the parameters of the DSP units - -response: [SetDspUnitParameterStatus](#setdspunitparameterstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| nodeId | [string](#string) | required | string id of the node to change (one of amp, stomp, mod, delay, reverb) | -| parameterId | [string](#string) | required | string id of the parameter to change | -| floatParameter | [float](#float) | optional | | -| stringParameter | [string](#string) | optional | | -| sint32Parameter | [sint32](#sint32) | optional | | -| boolParameter | [bool](#bool) | optional | | - -### SetDspUnitParameterStatus -(←) -Status of the [SetDspUnitParameter](#setdspunitparameter) message. Also sent when parameters are adjusted on the amp - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| nodeId | [string](#string) | required | string id of the node changed (one of amp, stomp, mod, delay, reverb) | -| parameterId | [string](#string) | required | string id of the parameter to change | -| floatParameter | [float](#float) | optional | | -| stringParameter | [string](#string) | optional | | -| sint32Parameter | [sint32](#sint32) | optional | | -| boolParameter | [bool](#bool) | optional | | - -### PresetEditedStatus -(←) - -Editing status of the current preset - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| presetEdited | [bool](#bool) | required | True if the preset is in editing state Default: false | - -## System Messages - -### ModalStatusMessage (← →) -Changes the state of the amp - -response: A [ModalStatusMessage](#modalstatusmessage) with the result of the request - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| context | [ModalContext](#ModalContext) | required | Context to switch to | -| state | [ModalState](#ModalState) | required | The result of the request. Requests to the amp are sent with an OK state | - -#### ModalContext - -| Name | Number | Description | -| ---- | ------ | ----------- | -| SYNC_BEGIN | 0 | Used during the initialization of the connection | -| SYNC_END | 1 | Used during the initialization of the connection | -| BACKUP_BEGIN | 2 | | -| BACKUP_END | 3 | | -| RESTORE_BEGIN | 4 | | -| RESTORE_END | 5 | | -| TUNER_ENABLE | 6 | Enables the tuner | -| TUNER_DISABLE | 7 | Disables the tuner | -| FACTORY_RESTORE_BEGIN | 8 | | -| FACTORY_RESTORE_END | 9 | | -| TONE_BUSY_BEGIN | 10 | | -| TONE_BUSY_END | 11 | | - -#### ModalState - -| Name | Number | Description | -| ---- | ------ | ----------- | -| OK | 0 | Success; also the default when sending this message to the amp | -| FAIL | 1 | Failure | - -### ConnectionStatusRequest -Queries the connection status of the amp - -response: [ConnectionStatus](#connectionstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### ConnectionStatus -(←) -The current connection state of the amp. Response to a [ConnectionStatusRequest](#connectionstatusrequest) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| isConnected | [bool](#bool) | required | True if the amp is connected | - -### FirmwareVersionRequest -(→) -Requests the current filrware version - -response: [FirmwareVersionStatus](#firmwareversionstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### FirmwareVersionStatus -(←) -The firmware version of the amp - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| version | [string](#string) | required | Firmware Version | - -### Heartbeat -(→) -Heartbeat message sent every second to keep the connection alive - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| dummyField | [bool](#bool) | required | | - -### MemoryUsageRequest -(→) -Requests memory usage statistics from the amp - -response: [MemoryUsageStatus](#memoryusagestatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### MemoryUsageStatus -(←) -Message conainting current memory usage statistics - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| stack | [int32](#int32) | required | | -| heap | [int32](#int32) | required | | - -### ProcessorUtilizationRequest -(→) -Requests processor statistics from the amp - -response: [ProcessorUtilization](#processorutilization) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### ProcessorUtilization -(←) -Current processor utilization statistics - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| percent | [float](#float) | required | | -| minPercent | [float](#float) | required | | -| maxPercent | [float](#float) | required | | - -### ProductIdentificationRequest -(→) - -Identifies the amplifier - -response: [ProductIdentificationStatus](#productidentificationstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### ProductIdentificationStatus -(←) - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | required | | - -## Footswitch settings control - -### QASlotsRequest -(→) -Requests the settings of the footswitch presets - -response: [QASlotsStatus](#qaslotsstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### QASlotsSet -(→) -Assigns preset banks to the footswitch - -response: [QASlotsStatus](#qaslotsstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| slots | [uint32](#uint32) | repeated | Preset banks to assign to the footswitch | - -### QASlotsStatus -(←) -The current settings of the footswitch presets - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| slots | [uint32](#uint32) | repeated | The preset banks assigned to the footswitch | - -## USB Gain Control - -### UsbGainRequest -(→) -Gets the current USB Gain settings - -response: [UsbGainStatus](#usbgainstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | | - -### UsbGainSet -(→) -Sets the gain for the USB audio device - -response: [UsbGainStatus](#usbgainstatus) message - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| valueDB | [float](#float) | required | gain in dB | - -### UsbGainStatus -(←) -The current setting of the gain for the USB audio device - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| valueDB | [float](#float) | required | gain in dB | - -### UnsupportedMessageStatus (← →) - -Sent when a message is invalid - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| status | [ErrorType](#ErrorType) | required | | - -#### ErrorType - -| Name | Number | Description | -| ---- | ------ | ----------- | -| UNSUPPORTED | 0 | | -| FAILED | 1 | | -| INVALID_PARAM | 2 | | -| INVALID_NODE_ID | 3 | | -| PARAM_OUT_OF_BOUNDS | 4 | | -| FACTORY_RESTORE_IN_PROGRESS | 5 | | - -## Scalar Value Types - -| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | -| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- | -| double | | double | double | float | float64 | double | float | Float | -| float | | float | float | float | float32 | float | float | Float | -| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | -| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum | -| uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) | -| uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) | -| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | -| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum | -| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) | -| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum | -| sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | -| sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum | -| bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | -| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | -| bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) | - - - -## Unknown messages - -### ActiveDisplay - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| pageName | [string](#string) | required | | - -### CurrentLoadedPresetIndexBypassStatus -The bypass status of the DSP units. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| currentLoadedPresetIndex | [int32](#int32) | required | | -| bypassStatus | [bool](#bool) | repeated | Indicates whether the DSP unit is bypassed or not | - -### DspUnitParameterStatus - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| nodeId | [string](#string) | required | | -| parameterId | [string](#string) | required | | -| floatParameter | [float](#float) | optional | | -| stringParameter | [string](#string) | optional | | -| sint32Parameter | [sint32](#sint32) | optional | | -| boolParameter | [bool](#bool) | optional | | - -### FrameBufferMessage - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| data | [bytes](#bytes) | required | | - -### FrameBufferMessageRequest - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### IndexButton - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| index | [int32](#int32) | required | | -| event | [IndexButton.Event](#IndexButton-Event) | required | | -| timestamp_ms | [uint32](#uint32) | optional | | - -#### IndexButton.Event - -| Name | Number | Description | -| ---- | ------ | ----------- | -| EVENT_ERROR | 0 | | -| BUTTON_DOWN | 1 | | -| BUTTON_UP | 2 | | -| BUTTON_HELD | 3 | | - -### IndexEncoder - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| index | [int32](#int32) | required | | -| ticks | [int32](#int32) | required | | - -### IndexPot - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| index | [int32](#int32) | required | | -| position | [float](#float) | required | | - -### LT4FootswitchModeRequest - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### LT4FootswitchModeStatus - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| currentMode | [LT4FtswModes](#LT4FtswModes) | required | Default: LT4_FTSW_MODE_OFF | - -#### LT4FtswModes - -| Name | Number | Description | -| ---- | ------ | ----------- | -| LT4_FTSW_MODE_OFF | 0 | | -| LT4_FTSW_MODE_BANK1 | 1 | | -| LT4_FTSW_MODE_BANK2 | 2 | | -| LT4_FTSW_MODE_FX | 3 | | - -### LineOutGainRequest - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [bool](#bool) | required | Always true on requests | - -### LineOutGainSet - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| valueDB | [float](#float) | required | | - -### LineOutGainStatus - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| valueDB | [float](#float) | required | | - -### LoadPreset_TestSuite - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| presetIndex | [int32](#int32) | required | | - -### LoopbackTest - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| data | [string](#string) | required | | - -### PresetJSONMessageRequest_LT - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request | [int32](#int32) | required | | +# Protocol Documentation + +The arrows indicate the direction the message goes. +- ← indicates the message is sent from the amp to the computer +- → indicates the message is sent from the computer to the amp + +### FenderMessageLT +(← →) +Base message type used to communicate with the amp + +All messages are of this type, and encapsulate the actual message + +| Field | Type | Label | Description | Direction | +| ----- | ---- | ----- | ----------- | --------- | +| responseType | [ResponseType](#ResponseType) | required | Response type. All messages from the host to the amp are UNSOLICITED Default: UNSOLICITED | ← → | +| processorUtilizationRequest | [ProcessorUtilizationRequest](#ProcessorUtilizationRequest) | optional | | → | +| processorUtilization | [ProcessorUtilization](#ProcessorUtilization) | optional | | +| memoryUsageRequest | [MemoryUsageRequest](#MemoryUsageRequest) | optional | | → | +| memoryUsageStatus | [MemoryUsageStatus](#MemoryUsageStatus) | optional | | → | +| presetJSONMessageRequest_LT | [PresetJSONMessageRequest_LT](#PresetJSONMessageRequest_LT) | optional | | +| presetJSONMessage | [PresetJSONMessage](#PresetJSONMessage) | optional | | +| currentPresetStatus | [CurrentPresetStatus](#CurrentPresetStatus) | optional | | +| loadPreset | [LoadPreset](#LoadPreset) | optional | | → | +| setDspUnitParameter | [SetDspUnitParameter](#SetDspUnitParameter) | optional | | → | +| setDspUnitParameterStatus | [SetDspUnitParameterStatus](#SetDspUnitParameterStatus) | optional | | +| dspUnitParameterStatus | [DspUnitParameterStatus](#DspUnitParameterStatus) | optional | | +| currentLoadedPresetIndexStatus | [CurrentLoadedPresetIndexStatus](#CurrentLoadedPresetIndexStatus) | optional | | +| presetEditedStatus | [PresetEditedStatus](#PresetEditedStatus) | optional | | +| replaceNode | [ReplaceNode](#ReplaceNode) | optional | | → | +| replaceNodeStatus | [ReplaceNodeStatus](#ReplaceNodeStatus) | optional | | +| shiftPreset | [ShiftPreset](#ShiftPreset) | optional | | → | +| shiftPresetStatus | [ShiftPresetStatus](#ShiftPresetStatus) | optional | | +| swapPreset | [SwapPreset](#SwapPreset) | optional | | → | +| swapPresetStatus | [SwapPresetStatus](#SwapPresetStatus) | optional | | +| currentPresetSet | [CurrentPresetSet](#CurrentPresetSet) | optional | | +| currentLoadedPresetIndexBypassStatus | [CurrentLoadedPresetIndexBypassStatus](#CurrentLoadedPresetIndexBypassStatus) | optional | | +| currentDisplayedPresetIndexStatus | [CurrentDisplayedPresetIndexStatus](#CurrentDisplayedPresetIndexStatus) | optional | | +| presetSavedStatus | [PresetSavedStatus](#PresetSavedStatus) | optional | | +| clearPreset | [ClearPreset](#ClearPreset) | optional | | → | +| clearPresetStatus | [ClearPresetStatus](#ClearPresetStatus) | optional | | +| saveCurrentPreset | [SaveCurrentPreset](#SaveCurrentPreset) | optional | | → | +| saveCurrentPresetTo | [SaveCurrentPresetTo](#SaveCurrentPresetTo) | optional | | → | +| savePresetAs | [SavePresetAs](#SavePresetAs) | optional | | → | +| newPresetSavedStatus | [NewPresetSavedStatus](#NewPresetSavedStatus) | optional | | +| renamePresetAt | [RenamePresetAt](#RenamePresetAt) | optional | | → | +| auditionPreset | [AuditionPreset](#AuditionPreset) | optional | | → | +| auditionPresetStatus | [AuditionPresetStatus](#AuditionPresetStatus) | optional | | +| exitAuditionPreset | [ExitAuditionPreset](#ExitAuditionPreset) | optional | | → | +| exitAuditionPresetStatus | [ExitAuditionPresetStatus](#ExitAuditionPresetStatus) | optional | | +| auditionStateRequest | [AuditionStateRequest](#AuditionStateRequest) | optional | | → | +| auditionStateStatus | [AuditionStateStatus](#AuditionStateStatus) | optional | | +| productIdentificationStatus | [ProductIdentificationStatus](#ProductIdentificationStatus) | optional | | +| productIdentificationRequest | [ProductIdentificationRequest](#ProductIdentificationRequest) | optional | | → | +| firmwareVersionRequest | [FirmwareVersionRequest](#FirmwareVersionRequest) | optional | | → | +| firmwareVersionStatus | [FirmwareVersionStatus](#FirmwareVersionStatus) | optional | | +| currentPresetRequest | [CurrentPresetRequest](#CurrentPresetRequest) | optional | | → | +| retrievePreset | [RetrievePreset](#RetrievePreset) | optional | | → | +| usbGainRequest | [UsbGainRequest](#UsbGainRequest) | optional | | → | +| usbGainStatus | [UsbGainStatus](#UsbGainStatus) | optional | | +| qASlotsRequest | [QASlotsRequest](#QASlotsRequest) | optional | | → | +| qASlotsStatus | [QASlotsStatus](#QASlotsStatus) | optional | | +| lineOutGainRequest | [LineOutGainRequest](#LineOutGainRequest) | optional | | → | +| lineOutGainStatus | [LineOutGainStatus](#LineOutGainStatus) | optional | | +| modalStatusMessage | [ModalStatusMessage](#ModalStatusMessage) | optional | | +| usbGainSet | [UsbGainSet](#UsbGainSet) | optional | | → | +| lineOutGainSet | [LineOutGainSet](#LineOutGainSet) | optional | | → | +| qASlotsSet | [QASlotsSet](#QASlotsSet) | optional | | → | +| unsupportedMessageStatus | [UnsupportedMessageStatus](#UnsupportedMessageStatus) | optional | | +| heartbeat | [Heartbeat](#Heartbeat) | optional | | → | +| connectionStatusRequest | [ConnectionStatusRequest](#ConnectionStatusRequest) | optional | | → | +| connectionStatus | [ConnectionStatus](#ConnectionStatus) | optional | | +| indexPot | [IndexPot](#IndexPot) | optional | | | +| indexButton | [IndexButton](#IndexButton) | optional | | | +| indexEncoder | [IndexEncoder](#IndexEncoder) | optional | | | +| activeDisplay | [ActiveDisplay](#ActiveDisplay) | optional | | | +| frameBufferMessageRequest | [FrameBufferMessageRequest](#FrameBufferMessageRequest) | optional | | → | +| frameBufferMessage | [FrameBufferMessage](#FrameBufferMessage) | optional | | +| lt4FootswitchModeRequest | [LT4FootswitchModeRequest](#LT4FootswitchModeRequest) | optional | | → | +| lt4FootswitchModeStatus | [LT4FootswitchModeStatus](#LT4FootswitchModeStatus) | optional | | +| loadPreset_TestSuite | [LoadPreset_TestSuite](#LoadPreset_TestSuite) | optional | | +| loopbackTest | [LoopbackTest](#LoopbackTest) | optional | | + +#### ResponseType +Message response type + +| Name | Number | Description | +| ---- | ------ | ----------- | +| UNSOLICITED | 0 | Message sent not as the result of a command | +| NOT_LAST_ACK | 1 | Message sent as the result of a command, but NOT the last message in the batch | +| IS_LAST_ACK | 2 | Message sent as the last result of a command | + +## Auditioning + +### AuditionPreset +(→) +Sends a preset to the amp to be "auditioned" + +response: [AuditionPresetStatus](#auditionpresetstatus) message containing the preset data loaded to the amp + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| presetData | [string](#string) | required | [JSON](json.md) string conaining the preset to be auditioned | + +### AuditionPresetStatus +(←) +Response to an [AuditionPreset](#auditionpreset) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| presetData | [string](#string) | required | [JSON data](json.md) conatining preset data being auditioned | + +### AuditionStateRequest +(→) +Queries the amp for its audition state + +response: [AuditionStateStatus](#auditionstatestatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### AuditionStateStatus +(←) +The current audition state of the amp. Resposne to an [AuditionStateRequest](#auditionstaterequest) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| isAuditioning | [bool](#bool) | required | True if the amp is in audition mode | + +### ExitAuditionPreset +(→) +Leaves audition mode + +response: [ExitAuditionPresetStatus](#exitauditionpresetstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| exit | [bool](#bool) | required | True to exit audition mode | + +### ExitAuditionPresetStatus +(←) +Result message for an [ExitAuditionPreset](#exitauditionpreset) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| isSuccess | [bool](#bool) | required | True if audition mode was exited successfully | + +## Preset management + +### CurrentPresetRequest +(→) +Requests the current preset from the amp + +response: [CurrentPresetStatus](#currentpresetstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### CurrentPresetSet +(→) +Sets the current preset of the amp + +response: [CurrentPresetStatus](#currentpresetstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| currentPresetData | [string](#string) | required | [JSON data](json.md) conatining preset data | + +### CurrentPresetStatus +(←) +Returns the state of the current preset + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| currentPresetData | [string](#string) | required | [JSON data](json.md) conatining current preset data | +| currentSlotIndex | [int32](#int32) | required | Current preset bank number | +| currentPresetDirtyStatus | [bool](#bool) | required | True if current preset has been edited and not saved | + +### LoadPreset +(→) +Switches the amp to the specified preset number + +response: [CurrentLoadedPresetIndexStatus](#currentloadedpresetindexstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| presetIndex | [int32](#int32) | required | Preset bank number currently loaded | + +### CurrentDisplayedPresetIndexStatus +(←) +The current preset displayed on the amp. Sent when the preset is changed at the amp + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| currentDisplayedPresetIndex | [int32](#int32) | required | The current preset bank number | + +### CurrentLoadedPresetIndexStatus +(←) +The current preset displayed on the amp. Sent when the preset is changed at the amp or via a [LoadPreset](#loadpreset) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| currentLoadedPresetIndex | [int32](#int32) | required | The current preset bank number | + +### RetrievePreset +(←) +Queries the amp on the stored presets + +response: [PresetJsonMessage](#presetjsonmessage) + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| slot | [int32](#int32) | required | Preset bank to retrieve | + +### PresetJSONMessage +(←) +Saved preset data + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| data | [string](#string) | required | [JSON data](json.md) conatining preset data for requested preset bank | +| slotIndex | [int32](#int32) | required | Preset bank this preset is stored in | + +### ShiftPreset +(→) +Moves a preset to the specified point, shifting all other presets + +response: [ShiftPresetStatus](#shiftpresetstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| indexToShiftFrom | [int32](#int32) | required | Preset to shift | +| indexToShiftTo | [int32](#int32) | required | Destination of preset to shift | + +### ShiftPresetStatus +(←) +Response to a [ShiftPreset](#shiftpreset) message with the status of the command + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| indexToShiftFrom | [int32](#int32) | required | Preset shifted | +| indexToShiftTo | [int32](#int32) | required | Destination | + +### SwapPreset +(→) +Swaps the presets in indexA and indexB + +response: [SwapPresetStatus](#swappresetstatus) message +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| indexA | [int32](#int32) | required | | +| indexB | [int32](#int32) | required | | + +### SwapPresetStatus +(←) +result of a [SwapPreset](#swappreset) message +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| indexA | [int32](#int32) | required | | +| indexB | [int32](#int32) | required | | + +### SaveCurrentPreset +(→) +saves the current preset + +response: [PresetSavedStatus](#presetsavedstatus) + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| save | [bool](#bool) | required | | + +### SaveCurrentPresetTo +(→) +response: [PresetSavedStatus](#presetsavedstatus) + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| presetName | [string](#string) | required | | +| presetSlot | [int32](#int32) | required | | + +### SavePresetAs +(→) +response: [PresetSavedStatus](#presetsavedstatus) +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| presetData | [string](#string) | required | | +| isLoadPreset | [bool](#bool) | required | | +| presetSlot | [int32](#int32) | required | | + +### PresetSavedStatus +(←) +Result of a [SaveCurrentPreset](#savecurrentpreset), [SaveCurrentPresetTo](#savecurrentpresetto), or [SavePresetAs](#savepresetas) message. Also sent when the preset is saved on the amp. + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| name | [string](#string) | required | Name of the preset saved | +| slot | [int32](#int32) | required | Preset bank of the saved preset | + +### RenamePresetAt +(→) +Renames a preset + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| presetName | [string](#string) | required | new preset name | +| presetSlot | [int32](#int32) | required | slot index to rename | + +### NewPresetSavedStatus +(←) + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| presetData | [string](#string) | required | | +| presetSlot | [int32](#int32) | required | | + +### ClearPreset +(→) +Clears a preset in the amp + +response: [ClearPresetStatus](#clearpresetstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| slotIndex | [int32](#int32) | required | Preset bank to clear | +| isLoadPreset | [bool](#bool) | required | ??? the Tone app sets this to true when clearing the preset | + +### ClearPresetStatus +(←) +Response to a [ClearPreset](#clearpreset) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| slotIndex | [int32](#int32) | required | bank number cleared | + +### ReplaceNode +(→) +Swaps out a node (amp, stomp, mod, delay, or reverb) + +response: [ReplaceNodeStatus](#replacenodestatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| nodeIdToReplace | [string](#string) | required | nodeid to replace (amp, stomp, mod, delay, or reverb) | +| fenderIdToReplaceWith | [string](#string) | required | FenderId of node to set | + +### ReplaceNodeStatus +(←) +Status of a [ReplaceNode](#replacenode) message; also sent when the node is changed at the amp + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| nodeIdReplaced | [string](#string) | required | node replaced (amp, stomp, mod, delay, or reverb) | +| fenderIdReplaced | [string](#string) | required | FenderId of node set | + +### SetDspUnitParameter +(→) +Changes the parameters of the DSP units + +response: [SetDspUnitParameterStatus](#setdspunitparameterstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| nodeId | [string](#string) | required | string id of the node to change (one of amp, stomp, mod, delay, reverb) | +| parameterId | [string](#string) | required | string id of the parameter to change | +| floatParameter | [float](#float) | optional | | +| stringParameter | [string](#string) | optional | | +| sint32Parameter | [sint32](#sint32) | optional | | +| boolParameter | [bool](#bool) | optional | | + +### SetDspUnitParameterStatus +(←) +Status of the [SetDspUnitParameter](#setdspunitparameter) message. Also sent when parameters are adjusted on the amp + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| nodeId | [string](#string) | required | string id of the node changed (one of amp, stomp, mod, delay, reverb) | +| parameterId | [string](#string) | required | string id of the parameter to change | +| floatParameter | [float](#float) | optional | | +| stringParameter | [string](#string) | optional | | +| sint32Parameter | [sint32](#sint32) | optional | | +| boolParameter | [bool](#bool) | optional | | + +### PresetEditedStatus +(←) + +Editing status of the current preset + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| presetEdited | [bool](#bool) | required | True if the preset is in editing state Default: false | + +## System Messages + +### ModalStatusMessage (← →) +Changes the state of the amp + +response: A [ModalStatusMessage](#modalstatusmessage) with the result of the request + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| context | [ModalContext](#ModalContext) | required | Context to switch to | +| state | [ModalState](#ModalState) | required | The result of the request. Requests to the amp are sent with an OK state | + +#### ModalContext + +| Name | Number | Description | +| ---- | ------ | ----------- | +| SYNC_BEGIN | 0 | Used during the initialization of the connection | +| SYNC_END | 1 | Used during the initialization of the connection | +| BACKUP_BEGIN | 2 | | +| BACKUP_END | 3 | | +| RESTORE_BEGIN | 4 | | +| RESTORE_END | 5 | | +| TUNER_ENABLE | 6 | Enables the tuner | +| TUNER_DISABLE | 7 | Disables the tuner | +| FACTORY_RESTORE_BEGIN | 8 | | +| FACTORY_RESTORE_END | 9 | | +| TONE_BUSY_BEGIN | 10 | | +| TONE_BUSY_END | 11 | | + +#### ModalState + +| Name | Number | Description | +| ---- | ------ | ----------- | +| OK | 0 | Success; also the default when sending this message to the amp | +| FAIL | 1 | Failure | + +### ConnectionStatusRequest +Queries the connection status of the amp + +response: [ConnectionStatus](#connectionstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### ConnectionStatus +(←) +The current connection state of the amp. Response to a [ConnectionStatusRequest](#connectionstatusrequest) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| isConnected | [bool](#bool) | required | True if the amp is connected | + +### FirmwareVersionRequest +(→) +Requests the current filrware version + +response: [FirmwareVersionStatus](#firmwareversionstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### FirmwareVersionStatus +(←) +The firmware version of the amp + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| version | [string](#string) | required | Firmware Version | + +### Heartbeat +(→) +Heartbeat message sent every second to keep the connection alive + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| dummyField | [bool](#bool) | required | | + +### MemoryUsageRequest +(→) +Requests memory usage statistics from the amp + +response: [MemoryUsageStatus](#memoryusagestatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### MemoryUsageStatus +(←) +Message conainting current memory usage statistics + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| stack | [int32](#int32) | required | | +| heap | [int32](#int32) | required | | + +### ProcessorUtilizationRequest +(→) +Requests processor statistics from the amp + +response: [ProcessorUtilization](#processorutilization) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### ProcessorUtilization +(←) +Current processor utilization statistics + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| percent | [float](#float) | required | | +| minPercent | [float](#float) | required | | +| maxPercent | [float](#float) | required | | + +### ProductIdentificationRequest +(→) + +Identifies the amplifier + +response: [ProductIdentificationStatus](#productidentificationstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### ProductIdentificationStatus +(←) + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| id | [string](#string) | required | | + +## Footswitch settings control + +### QASlotsRequest +(→) +Requests the settings of the footswitch presets + +response: [QASlotsStatus](#qaslotsstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### QASlotsSet +(→) +Assigns preset banks to the footswitch + +response: [QASlotsStatus](#qaslotsstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| slots | [uint32](#uint32) | repeated | Preset banks to assign to the footswitch | + +### QASlotsStatus +(←) +The current settings of the footswitch presets + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| slots | [uint32](#uint32) | repeated | The preset banks assigned to the footswitch | + +## USB Gain Control + +### UsbGainRequest +(→) +Gets the current USB Gain settings + +response: [UsbGainStatus](#usbgainstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | | + +### UsbGainSet +(→) +Sets the gain for the USB audio device + +response: [UsbGainStatus](#usbgainstatus) message + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| valueDB | [float](#float) | required | gain in dB | + +### UsbGainStatus +(←) +The current setting of the gain for the USB audio device + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| valueDB | [float](#float) | required | gain in dB | + +### UnsupportedMessageStatus (← →) + +Sent when a message is invalid + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| status | [ErrorType](#ErrorType) | required | | + +#### ErrorType + +| Name | Number | Description | +| ---- | ------ | ----------- | +| UNSUPPORTED | 0 | | +| FAILED | 1 | | +| INVALID_PARAM | 2 | | +| INVALID_NODE_ID | 3 | | +| PARAM_OUT_OF_BOUNDS | 4 | | +| FACTORY_RESTORE_IN_PROGRESS | 5 | | + +## Scalar Value Types + +| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | +| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- | +| double | | double | double | float | float64 | double | float | Float | +| float | | float | float | float | float32 | float | float | Float | +| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | +| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum | +| uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) | +| uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) | +| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | +| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum | +| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) | +| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum | +| sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | +| sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum | +| bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | +| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | +| bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) | + + + +## Unknown messages + +### ActiveDisplay + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| pageName | [string](#string) | required | | + +### CurrentLoadedPresetIndexBypassStatus +The bypass status of the DSP units. + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| currentLoadedPresetIndex | [int32](#int32) | required | | +| bypassStatus | [bool](#bool) | repeated | Indicates whether the DSP unit is bypassed or not | + +### DspUnitParameterStatus + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| nodeId | [string](#string) | required | | +| parameterId | [string](#string) | required | | +| floatParameter | [float](#float) | optional | | +| stringParameter | [string](#string) | optional | | +| sint32Parameter | [sint32](#sint32) | optional | | +| boolParameter | [bool](#bool) | optional | | + +### FrameBufferMessage + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| data | [bytes](#bytes) | required | | + +### FrameBufferMessageRequest + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### IndexButton + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| index | [int32](#int32) | required | | +| event | [IndexButton.Event](#IndexButton-Event) | required | | +| timestamp_ms | [uint32](#uint32) | optional | | + +#### IndexButton.Event + +| Name | Number | Description | +| ---- | ------ | ----------- | +| EVENT_ERROR | 0 | | +| BUTTON_DOWN | 1 | | +| BUTTON_UP | 2 | | +| BUTTON_HELD | 3 | | + +### IndexEncoder + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| index | [int32](#int32) | required | | +| ticks | [int32](#int32) | required | | + +### IndexPot + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| index | [int32](#int32) | required | | +| position | [float](#float) | required | | + +### LT4FootswitchModeRequest + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### LT4FootswitchModeStatus + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| currentMode | [LT4FtswModes](#LT4FtswModes) | required | Default: LT4_FTSW_MODE_OFF | + +#### LT4FtswModes + +| Name | Number | Description | +| ---- | ------ | ----------- | +| LT4_FTSW_MODE_OFF | 0 | | +| LT4_FTSW_MODE_BANK1 | 1 | | +| LT4_FTSW_MODE_BANK2 | 2 | | +| LT4_FTSW_MODE_FX | 3 | | + +### LineOutGainRequest + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [bool](#bool) | required | Always true on requests | + +### LineOutGainSet + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| valueDB | [float](#float) | required | | + +### LineOutGainStatus + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| valueDB | [float](#float) | required | | + +### LoadPreset_TestSuite + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| presetIndex | [int32](#int32) | required | | + +### LoopbackTest + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| data | [string](#string) | required | | + +### PresetJSONMessageRequest_LT + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| request | [int32](#int32) | required | | diff --git a/LtAmpDotNet/.gitignore b/LtAmpDotNet/.gitignore new file mode 100644 index 0000000..052619c --- /dev/null +++ b/LtAmpDotNet/.gitignore @@ -0,0 +1,43 @@ +*.swp +*.*~ +project.lock.json +.DS_Store +*.pyc +nupkg/ + +# Visual Studio Code +.vscode/ + +# Rider +.idea/ + +# Visual Studio +.vs/ + +# Fleet +.fleet/ + +# Code Rush +.cr/ + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +build/ +bld/ +[Bb]in/ +[Oo]bj/ +[Oo]ut/ +msbuild.log +msbuild.err +msbuild.wrn \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Lib/AmplifierEventHandlers.cs b/LtAmpDotNet/LtAmpDotNet.Lib/AmplifierEventHandlers.cs similarity index 56% rename from LtDotNet/LtDotNet.Lib/AmplifierEventHandlers.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/AmplifierEventHandlers.cs index 1b530be..fbf33f9 100644 --- a/LtDotNet/LtDotNet.Lib/AmplifierEventHandlers.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/AmplifierEventHandlers.cs @@ -1,155 +1,155 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib -{ - public partial class LtDevice - { - #region Library events - - public delegate void DeviceConnectedEventHandler(object sender, EventArgs e); - public event DeviceConnectedEventHandler DeviceConnected; - - public delegate void DeviceDisconnectedEventHandler(object sender, EventArgs e); - public event DeviceDisconnectedEventHandler DeviceDisconnected; - - public delegate void MessageSentEventHandler(FenderMessageLT message); - public event MessageSentEventHandler MessageSent; - - public delegate void MessageReceivedEventHandler(FenderMessageLT message); - public event MessageReceivedEventHandler MessageReceived; - - public delegate void UnknownMessageReceivedEventHandler(FenderMessageLT message); - public event UnknownMessageReceivedEventHandler UnknownMessageReceived; - - #endregion - - #region Known amplifier messages - - public delegate void AuditionPresetStatusHandler(AuditionPresetStatus message); - public event AuditionPresetStatusHandler AuditionPresetStatusMessageReceived; - - public delegate void AuditionStateStatusHandler(AuditionStateStatus message); - public event AuditionStateStatusHandler AuditionStateStatusMessageReceived; - - public delegate void ClearPresetStatusHandler(ClearPresetStatus message); - public event ClearPresetStatusHandler ClearPresetStatusMessageReceived; - - public delegate void ConnectionStatusHandler(ConnectionStatus message); - public event ConnectionStatusHandler ConnectionStatusMessageReceived; - - public delegate void CurrentDisplayedPresetIndexStatusHandler(CurrentDisplayedPresetIndexStatus message); - public event CurrentDisplayedPresetIndexStatusHandler CurrentDisplayedPresetIndexStatusMessageReceived; - - public delegate void CurrentLoadedPresetIndexBypassStatusHandler(CurrentLoadedPresetIndexBypassStatus message); - public event CurrentLoadedPresetIndexBypassStatusHandler CurrentLoadedPresetIndexBypassStatusMessageReceived; - - public delegate void CurrentLoadedPresetIndexStatusHandler(CurrentLoadedPresetIndexStatus message); - public event CurrentLoadedPresetIndexStatusHandler CurrentLoadedPresetIndexStatusMessageReceived; - - public delegate void CurrentPresetRequestHandler(CurrentPresetRequest message); - public delegate void CurrentPresetSetHandler(CurrentPresetSet message); - - public delegate void CurrentPresetStatusHandler(CurrentPresetStatus message); - public event CurrentPresetStatusHandler CurrentPresetStatusMessageReceived; - - public delegate void DspUnitParameterStatusHandler(DspUnitParameterStatus message); - public event DspUnitParameterStatusHandler DspUnitParameterStatusMessageReceived; - - public delegate void ExitAuditionPresetStatusHandler(ExitAuditionPresetStatus message); - public event ExitAuditionPresetStatusHandler ExitAuditionPresetStatusMessageReceived; - - public delegate void FirmwareVersionStatusHandler(FirmwareVersionStatus message); - public event FirmwareVersionStatusHandler FirmwareVersionStatusMessageReceived; - - public delegate void HeartbeatHandler(Heartbeat message); - public event HeartbeatHandler HeartbeatMessageReceived; - - public delegate void MemoryUsageStatusHandler(MemoryUsageStatus message); - public event MemoryUsageStatusHandler MemoryUsageStatusMessageReceived; - - public delegate void ModalStatusMessageHandler(ModalStatusMessage message); - public event ModalStatusMessageHandler ModalStatusMessageMessageReceived; - - public delegate void NewPresetSavedStatusHandler(NewPresetSavedStatus message); - public event NewPresetSavedStatusHandler NewPresetSavedStatusMessageReceived; - - public delegate void PresetEditedStatusHandler(PresetEditedStatus message); - public event PresetEditedStatusHandler PresetEditedStatusMessageReceived; - - public delegate void PresetJSONMessageHandler(PresetJSONMessage message); - public event PresetJSONMessageHandler PresetJSONMessageReceived; - - public delegate void PresetSavedStatusHandler(PresetSavedStatus message); - public event PresetSavedStatusHandler PresetSavedStatusMessageReceived; - - public delegate void ProcessorUtilizationHandler(ProcessorUtilization message); - public event ProcessorUtilizationHandler ProcessorUtilizationMessageReceived; - - public delegate void ProcessorUtilizationRequestHandler(ProcessorUtilizationRequest message); - public delegate void ProductIdentificationRequestHandler(ProductIdentificationRequest message); - - public delegate void ProductIdentificationStatusHandler(ProductIdentificationStatus message); - public event ProductIdentificationStatusHandler ProductIdentificationStatusMessageReceived; - - public delegate void QASlotsStatusHandler(QASlotsStatus message); - public event QASlotsStatusHandler QASlotsStatusMessageReceived; - - public delegate void RenamePresetAtHandler(RenamePresetAt message); - public delegate void ReplaceNodeHandler(ReplaceNode message); - - public delegate void ReplaceNodeStatusHandler(ReplaceNodeStatus message); - public event ReplaceNodeStatusHandler ReplaceNodeStatusMessageReceived; - - public delegate void SetDspUnitParameterStatusHandler(SetDspUnitParameterStatus message); - public event SetDspUnitParameterStatusHandler SetDspUnitParameterStatusMessageReceived; - - public delegate void ShiftPresetStatusHandler(ShiftPresetStatus message); - public event ShiftPresetStatusHandler ShiftPresetStatusMessageReceived; - - public delegate void SwapPresetStatusHandler(SwapPresetStatus message); - public event SwapPresetStatusHandler SwapPresetStatusMessageReceived; - - public delegate void UnsupportedMessageStatusHandler(UnsupportedMessageStatus message); - public event UnsupportedMessageStatusHandler UnsupportedMessageStatusReceived; - - public delegate void UsbGainStatusHandler(UsbGainStatus message); - public event UsbGainStatusHandler UsbGainStatusMessageReceived; - - #endregion - - #region Unknown messages - - public delegate void ActiveDisplayHandler(ActiveDisplay message); - public event ActiveDisplayHandler ActiveDisplayMessageReceived; - - public delegate void IndexButtonHandler(IndexButton message); - public event IndexButtonHandler IndexButtonMessageReceived; - - public delegate void IndexEncoderHandler(IndexEncoder message); - public event IndexEncoderHandler IndexEncoderMessageReceived; - - public delegate void IndexPotHandler(IndexPot message); - public event IndexPotHandler IndexPotMessageReceived; - - public delegate void FrameBufferMessageHandler(FrameBufferMessage message); - public event FrameBufferMessageHandler FrameBufferMessageReceived; - - public delegate void LT4FootswitchModeStatusHandler(LT4FootswitchModeStatus message); - public event LT4FootswitchModeStatusHandler LT4FootswitchModeStatusMessageReceived; - - public delegate void LineOutGainStatusHandler(LineOutGainStatus message); - public event LineOutGainStatusHandler LineOutGainStatusMessageReceived; - - public delegate void LoadPreset_TestSuiteHandler(LoadPreset_TestSuite message); - public event LoadPreset_TestSuiteHandler LoadPreset_TestSuiteMessageReceived; - - public delegate void LoopbackTestHandler(LoopbackTest message); - public event LoopbackTestHandler LoopbackTestMessageReceived; - - #endregion - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib +{ + public partial class LtAmpDevice + { + #region Library events + + public delegate void DeviceConnectedEventHandler(object sender, EventArgs e); + public event DeviceConnectedEventHandler? DeviceConnected; + + public delegate void DeviceDisconnectedEventHandler(object sender, EventArgs e); + public event DeviceDisconnectedEventHandler? DeviceDisconnected; + + public delegate void MessageSentEventHandler(FenderMessageLT message); + public event MessageSentEventHandler? MessageSent; + + public delegate void MessageReceivedEventHandler(FenderMessageLT message); + public event MessageReceivedEventHandler? MessageReceived; + + public delegate void UnknownMessageReceivedEventHandler(FenderMessageLT message); + public event UnknownMessageReceivedEventHandler? UnknownMessageReceived; + + #endregion + + #region Known amplifier messages + + public delegate void AuditionPresetStatusHandler(AuditionPresetStatus message); + public event AuditionPresetStatusHandler? AuditionPresetStatusMessageReceived; + + public delegate void AuditionStateStatusHandler(AuditionStateStatus message); + public event AuditionStateStatusHandler? AuditionStateStatusMessageReceived; + + public delegate void ClearPresetStatusHandler(ClearPresetStatus message); + public event ClearPresetStatusHandler? ClearPresetStatusMessageReceived; + + public delegate void ConnectionStatusHandler(ConnectionStatus message); + public event ConnectionStatusHandler? ConnectionStatusMessageReceived; + + public delegate void CurrentDisplayedPresetIndexStatusHandler(CurrentDisplayedPresetIndexStatus message); + public event CurrentDisplayedPresetIndexStatusHandler? CurrentDisplayedPresetIndexStatusMessageReceived; + + public delegate void CurrentLoadedPresetIndexBypassStatusHandler(CurrentLoadedPresetIndexBypassStatus message); + public event CurrentLoadedPresetIndexBypassStatusHandler? CurrentLoadedPresetIndexBypassStatusMessageReceived; + + public delegate void CurrentLoadedPresetIndexStatusHandler(CurrentLoadedPresetIndexStatus message); + public event CurrentLoadedPresetIndexStatusHandler? CurrentLoadedPresetIndexStatusMessageReceived; + + public delegate void CurrentPresetRequestHandler(CurrentPresetRequest message); + public delegate void CurrentPresetSetHandler(CurrentPresetSet message); + + public delegate void CurrentPresetStatusHandler(CurrentPresetStatus message); + public event CurrentPresetStatusHandler? CurrentPresetStatusMessageReceived; + + public delegate void DspUnitParameterStatusHandler(DspUnitParameterStatus message); + public event DspUnitParameterStatusHandler? DspUnitParameterStatusMessageReceived; + + public delegate void ExitAuditionPresetStatusHandler(ExitAuditionPresetStatus message); + public event ExitAuditionPresetStatusHandler? ExitAuditionPresetStatusMessageReceived; + + public delegate void FirmwareVersionStatusHandler(FirmwareVersionStatus message); + public event FirmwareVersionStatusHandler? FirmwareVersionStatusMessageReceived; + + public delegate void HeartbeatHandler(Heartbeat message); + public event HeartbeatHandler? HeartbeatMessageReceived; + + public delegate void MemoryUsageStatusHandler(MemoryUsageStatus message); + public event MemoryUsageStatusHandler? MemoryUsageStatusMessageReceived; + + public delegate void ModalStatusMessageHandler(ModalStatusMessage message); + public event ModalStatusMessageHandler? ModalStatusMessageMessageReceived; + + public delegate void NewPresetSavedStatusHandler(NewPresetSavedStatus message); + public event NewPresetSavedStatusHandler? NewPresetSavedStatusMessageReceived; + + public delegate void PresetEditedStatusHandler(PresetEditedStatus message); + public event PresetEditedStatusHandler? PresetEditedStatusMessageReceived; + + public delegate void PresetJSONMessageHandler(PresetJSONMessage message); + public event PresetJSONMessageHandler? PresetJSONMessageReceived; + + public delegate void PresetSavedStatusHandler(PresetSavedStatus message); + public event PresetSavedStatusHandler? PresetSavedStatusMessageReceived; + + public delegate void ProcessorUtilizationHandler(ProcessorUtilization message); + public event ProcessorUtilizationHandler? ProcessorUtilizationMessageReceived; + + public delegate void ProcessorUtilizationRequestHandler(ProcessorUtilizationRequest message); + public delegate void ProductIdentificationRequestHandler(ProductIdentificationRequest message); + + public delegate void ProductIdentificationStatusHandler(ProductIdentificationStatus message); + public event ProductIdentificationStatusHandler? ProductIdentificationStatusMessageReceived; + + public delegate void QASlotsStatusHandler(QASlotsStatus message); + public event QASlotsStatusHandler? QASlotsStatusMessageReceived; + + public delegate void RenamePresetAtHandler(RenamePresetAt message); + public delegate void ReplaceNodeHandler(ReplaceNode message); + + public delegate void ReplaceNodeStatusHandler(ReplaceNodeStatus message); + public event ReplaceNodeStatusHandler? ReplaceNodeStatusMessageReceived; + + public delegate void SetDspUnitParameterStatusHandler(SetDspUnitParameterStatus message); + public event SetDspUnitParameterStatusHandler? SetDspUnitParameterStatusMessageReceived; + + public delegate void ShiftPresetStatusHandler(ShiftPresetStatus message); + public event ShiftPresetStatusHandler? ShiftPresetStatusMessageReceived; + + public delegate void SwapPresetStatusHandler(SwapPresetStatus message); + public event SwapPresetStatusHandler? SwapPresetStatusMessageReceived; + + public delegate void UnsupportedMessageStatusHandler(UnsupportedMessageStatus message); + public event UnsupportedMessageStatusHandler? UnsupportedMessageStatusReceived; + + public delegate void UsbGainStatusHandler(UsbGainStatus message); + public event UsbGainStatusHandler? UsbGainStatusMessageReceived; + + #endregion + + #region Unknown messages + + public delegate void ActiveDisplayHandler(ActiveDisplay message); + public event ActiveDisplayHandler? ActiveDisplayMessageReceived; + + public delegate void IndexButtonHandler(IndexButton message); + public event IndexButtonHandler? IndexButtonMessageReceived; + + public delegate void IndexEncoderHandler(IndexEncoder message); + public event IndexEncoderHandler? IndexEncoderMessageReceived; + + public delegate void IndexPotHandler(IndexPot message); + public event IndexPotHandler? IndexPotMessageReceived; + + public delegate void FrameBufferMessageHandler(FrameBufferMessage message); + public event FrameBufferMessageHandler? FrameBufferMessageReceived; + + public delegate void LT4FootswitchModeStatusHandler(LT4FootswitchModeStatus message); + public event LT4FootswitchModeStatusHandler? LT4FootswitchModeStatusMessageReceived; + + public delegate void LineOutGainStatusHandler(LineOutGainStatus message); + public event LineOutGainStatusHandler? LineOutGainStatusMessageReceived; + + public delegate void LoadPreset_TestSuiteHandler(LoadPreset_TestSuite message); + public event LoadPreset_TestSuiteHandler? LoadPreset_TestSuiteMessageReceived; + + public delegate void LoopbackTestHandler(LoopbackTest message); + public event LoopbackTestHandler? LoopbackTestMessageReceived; + + #endregion + } +} diff --git a/LtAmpDotNet/LtAmpDotNet.Lib/Device/IUsbAmpDevice.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Device/IUsbAmpDevice.cs new file mode 100644 index 0000000..c5a8f29 --- /dev/null +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Device/IUsbAmpDevice.cs @@ -0,0 +1,31 @@ +using HidSharp.Reports; +using HidSharp; +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using static LtAmpDotNet.Lib.LtAmpDevice; + +namespace LtAmpDotNet.Lib.Device +{ + public interface IUsbAmpDevice : IDisposable + { + public bool IsOpen { get; } + public int? ReportLength { get; } + + + public event EventHandler? Closed; + public event MessageReceivedEventHandler? MessageReceived; + public event MessageSentEventHandler? MessageSent; + public void Open(); + public void Close(); + + //public void Read(); + //public void Write(byte[] buffer); + + public void Write(FenderMessageLT message); + + } +} diff --git a/LtAmpDotNet/LtAmpDotNet.Lib/Device/UsbAmpDevice.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Device/UsbAmpDevice.cs new file mode 100644 index 0000000..f89d8ab --- /dev/null +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Device/UsbAmpDevice.cs @@ -0,0 +1,142 @@ +using Google.Protobuf.Reflection; +using HidSharp; +using HidSharp.Reports; +using HidSharp.Reports.Input; +using LtAmpDotNet.Lib.Extensions; +using LtAmpDotNet.Lib.Model.Preset; +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Reflection.Metadata.Ecma335; +using System.Text; +using System.Threading.Tasks; +using static LtAmpDotNet.Lib.LtAmpDevice; + +namespace LtAmpDotNet.Lib.Device +{ + public class UsbAmpDevice : IUsbAmpDevice + { + public const int VENDOR_ID = 0x1ed8; + public const int PRODUCT_ID = 0x0037; + + private HidDevice? _device; + private HidStream? _stream; + private HidDeviceInputReceiver? _inputReceiver; + private byte[] _dataBuffer = Array.Empty(); + private bool _isOpen = false; + private bool _disposedValue; + public event EventHandler? Closed; + public event MessageReceivedEventHandler? MessageReceived; + public event MessageSentEventHandler? MessageSent; + + public int? ReportLength => _device?.GetMaxInputReportLength(); + public bool IsOpen => _isOpen; + + public UsbAmpDevice() + { + + } + + public UsbAmpDevice(HidDevice device) + { + _device = device; + } + + public void Open() + { + if (_device == null) + { + _device = DeviceList.Local.GetHidDeviceOrNull(VENDOR_ID, PRODUCT_ID); + } + if (_device != null && _stream == null) + { + _inputReceiver = _device.GetReportDescriptor().CreateHidDeviceInputReceiver(); + _inputReceiver.Received += InputReceiver_Received; + _stream = _device.Open(); + if (_stream == null) + { + throw new IOException("Could not open connection to device"); + } + _stream.Closed += _stream_Closed; ; + _inputReceiver.Start(_stream); + } + else + { + DeviceList.Local.Changed += UsbDevices_Changed; + } + } + + public void Close() + { + _stream?.Close(); + } + + public void Dispose(bool disposing) + { + if (!_disposedValue) + { + if (disposing) + { + if (_stream != null) + { + _stream.Close(); + _stream.Dispose(); + } + } + _disposedValue = true; + } + } + + public void Dispose() + { + // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method + Dispose(disposing: true); + GC.SuppressFinalize(this); + } + + public void Write(FenderMessageLT message) + { + foreach (var packet in message.ToUsbMessage()) + { + _stream?.Write(packet); + } + if (message.TypeCase != FenderMessageLT.TypeOneofCase.Heartbeat) + { + MessageSent?.Invoke(message); + } + } + + private void UsbDevices_Changed(object? sender, DeviceListChangedEventArgs e) + { + Open(); + } + + private void _stream_Closed(object? sender, EventArgs e) + { + _isOpen = false; + Closed?.Invoke(this, e); + } + + private void InputReceiver_Received(object? sender, EventArgs e) + { + + while ((_inputReceiver?.Stream.CanRead).GetValueOrDefault()) + { + var inputBuffer = _inputReceiver?.Stream.Read(); + var tag = inputBuffer?[2]; + var length = inputBuffer?[3]; + var bufferStart = _dataBuffer.Length; + Array.Resize(ref _dataBuffer, _dataBuffer.Length + length.GetValueOrDefault()); + Buffer.BlockCopy(inputBuffer!, 4, _dataBuffer, bufferStart, length.GetValueOrDefault()); + if (tag == (byte)UsbHidMessageTag.End) + { + var message = FenderMessageLT.Parser.ParseFrom(_dataBuffer); + MessageReceived?.Invoke(message); + _dataBuffer = new byte[0]; + } + inputBuffer = new byte[ReportLength.GetValueOrDefault()]; + } + } + } +} \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Lib/Extensions/JsonConverters/DspUnitParameterCollectionConverter.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Extensions/JsonConverters/DspUnitParameterCollectionConverter.cs similarity index 84% rename from LtDotNet/LtDotNet.Lib/Extensions/JsonConverters/DspUnitParameterCollectionConverter.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Extensions/JsonConverters/DspUnitParameterCollectionConverter.cs index 2dbac55..20bb142 100644 --- a/LtDotNet/LtDotNet.Lib/Extensions/JsonConverters/DspUnitParameterCollectionConverter.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Extensions/JsonConverters/DspUnitParameterCollectionConverter.cs @@ -1,53 +1,53 @@ -using Newtonsoft.Json.Linq; -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using HidSharp.Utility; -using LtDotNet.Lib.Model.Preset; - -namespace LtDotNet.Lib.Extensions.JsonConverters -{ - [JsonConverter(typeof(DspUnitParameterCollectionConverter))] - public class DspUnitParameterCollectionConverter : JsonConverter> - { - public override void WriteJson(JsonWriter writer, List value, JsonSerializer serializer) - { - JToken t = JToken.FromObject(value); - - if (t.Type != JTokenType.Object) - { - t.WriteTo(writer); - } - else - { - JObject o = (JObject)t; - IList propertyNames = o.Properties().Select(p => p.Name).ToList(); - - o.AddFirst(new JProperty("Keys", new JArray(propertyNames))); - - o.WriteTo(writer); - } - } - - public override List? ReadJson(JsonReader reader, Type objectType, List? existingValue, bool hasExistingValue, JsonSerializer serializer) - { - JObject jObject = JObject.Load(reader); - - List parameters = new List(); - foreach (var prop in jObject) - { - parameters.Add(new DspUnitParameter() { Name = prop.Key, Value = prop.Value }); - } - - if (jObject != null && jObject.Count > 1) - { - return parameters; - } - - return null; - } - } -} +using Newtonsoft.Json.Linq; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using HidSharp.Utility; +using LtAmpDotNet.Lib.Model.Preset; + +namespace LtAmpDotNet.Lib.Extensions.JsonConverters +{ + [JsonConverter(typeof(DspUnitParameterCollectionConverter))] + public class DspUnitParameterCollectionConverter : JsonConverter> + { + public override void WriteJson(JsonWriter writer, List? value, JsonSerializer serializer) + { + JToken t = JToken.FromObject(value!); + + if (t.Type != JTokenType.Object) + { + t.WriteTo(writer); + } + else + { + JObject o = (JObject)t; + IList propertyNames = o.Properties().Select(p => p.Name).ToList(); + + o.AddFirst(new JProperty("Keys", new JArray(propertyNames))); + + o.WriteTo(writer); + } + } + + public override List? ReadJson(JsonReader reader, Type objectType, List? existingValue, bool hasExistingValue, JsonSerializer serializer) + { + JObject jObject = JObject.Load(reader); + + List parameters = new List(); + foreach (var prop in jObject) + { + parameters.Add(new DspUnitParameter() { Name = prop.Key, Value = prop.Value! }); + } + + if (jObject != null && jObject.Count > 1) + { + return parameters; + } + + return null; + } + } +} diff --git a/LtDotNet/LtDotNet.Lib/Extensions/JsonConverters/DspUnitParameterConverter.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Extensions/JsonConverters/DspUnitParameterConverter.cs similarity index 74% rename from LtDotNet/LtDotNet.Lib/Extensions/JsonConverters/DspUnitParameterConverter.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Extensions/JsonConverters/DspUnitParameterConverter.cs index 76b348f..3d9b4e9 100644 --- a/LtDotNet/LtDotNet.Lib/Extensions/JsonConverters/DspUnitParameterConverter.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Extensions/JsonConverters/DspUnitParameterConverter.cs @@ -1,38 +1,38 @@ -using Newtonsoft.Json.Linq; -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using HidSharp.Utility; -using LtDotNet.Lib.Model.Preset; - -namespace LtDotNet.Lib.Extensions.JsonConverters -{ - [JsonConverter(typeof(DspUnitParameterConverter))] - public class DspUnitParameterConverter : JsonConverter - { - public override void WriteJson(JsonWriter writer, DspUnitParameter value, JsonSerializer serializer) - { - if(value.ParameterType == DspUnitParameterType.String) - { - writer.WriteRaw($"{value.Name}: \"{value.Value}\""); - } - else - { - writer.WriteRaw($"{value.Name}: {value.Value.ToString()}"); - } - } - - public override DspUnitParameter? ReadJson(JsonReader reader, Type objectType, DspUnitParameter? existingValue, bool hasExistingValue, JsonSerializer serializer) - { - JObject jObject = JObject.Load(reader); - DspUnitParameter parameters = new DspUnitParameter(); - foreach(var prop in jObject) { - parameters = new DspUnitParameter() { Name = prop.Key, Value = prop.Value }; - } - return parameters; - } - } +using Newtonsoft.Json.Linq; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using HidSharp.Utility; +using LtAmpDotNet.Lib.Model.Preset; + +namespace LtAmpDotNet.Lib.Extensions.JsonConverters +{ + [JsonConverter(typeof(DspUnitParameterConverter))] + public class DspUnitParameterConverter : JsonConverter + { + public override void WriteJson(JsonWriter writer, DspUnitParameter? value, JsonSerializer serializer) + { + if(value?.ParameterType == DspUnitParameterType.String) + { + writer.WriteRaw($"{value.Name}: \"{value.Value}\""); + } + else + { + writer.WriteRaw($"{value?.Name}: {value?.Value.ToString()}"); + } + } + + public override DspUnitParameter? ReadJson(JsonReader reader, Type objectType, DspUnitParameter? existingValue, bool hasExistingValue, JsonSerializer serializer) + { + JObject jObject = JObject.Load(reader); + DspUnitParameter parameters = new DspUnitParameter(); + foreach(var prop in jObject) { + parameters = new DspUnitParameter() { Name = prop.Key, Value = prop.Value! }; + } + return parameters; + } + } } \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Lib/Extensions/MessageExtensions.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Extensions/MessageExtensions.cs similarity index 91% rename from LtDotNet/LtDotNet.Lib/Extensions/MessageExtensions.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Extensions/MessageExtensions.cs index af8d0e2..69be0f6 100644 --- a/LtDotNet/LtDotNet.Lib/Extensions/MessageExtensions.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Extensions/MessageExtensions.cs @@ -1,45 +1,45 @@ -using Google.Protobuf; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Data; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Extensions -{ - public static class Commands - { - public static byte[][] ToUsbMessage(this IMessage message) - { - byte[] data = message.ToByteArray(); - var chunks = data.Split(61).ToList(); - byte[][] packets = new byte[chunks.Count()][]; - for (int i = 0; i < chunks.Count(); i++) - { - packets[i] = new byte[65]; - if (i + 1 == chunks.Count()) - { - packets[i][1] = 0x35; - } - else if (i == 0 && i + 1 < chunks.Count()) - { - packets[i][1] = 0x33; - } - else - { - packets[i][1] = 0x34; - } - packets[i][2] = Convert.ToByte(chunks[i].Count()); - chunks[i].ToArray().CopyTo(packets[i], 3); - } - return packets; - } - - public static IEnumerable> Split(this T[] arr, int size) - { - return arr.Select((s, i) => arr.Skip(i * size).Take(size)).Where(a => a.Any()); - } - } -} +using Google.Protobuf; +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations.Schema; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Extensions +{ + public static class MessageExtensions + { + public static byte[][] ToUsbMessage(this IMessage message) + { + byte[] data = message.ToByteArray(); + var chunks = data.Split(61).ToList(); + byte[][] packets = new byte[chunks.Count()][]; + for (int i = 0; i < chunks.Count(); i++) + { + packets[i] = new byte[65]; + if (i + 1 == chunks.Count()) + { + packets[i][1] = 0x35; + } + else if (i == 0 && i + 1 < chunks.Count()) + { + packets[i][1] = 0x33; + } + else + { + packets[i][1] = 0x34; + } + packets[i][2] = Convert.ToByte(chunks[i].Count()); + chunks[i].ToArray().CopyTo(packets[i], 3); + } + return packets; + } + + public static IEnumerable> Split(this T[] arr, int size) + { + return arr.Select((s, i) => arr.Skip(i * size).Take(size)).Where(a => a.Any()); + } + } +} diff --git a/LtDotNet/LtDotNet.Lib/JsonDefinitions/mustang/default_presets.json b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/mustang/default_presets.json similarity index 95% rename from LtDotNet/LtDotNet.Lib/JsonDefinitions/mustang/default_presets.json rename to LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/mustang/default_presets.json index fe50e45..f9ab668 100644 --- a/LtDotNet/LtDotNet.Lib/JsonDefinitions/mustang/default_presets.json +++ b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/mustang/default_presets.json @@ -1,20948 +1,20948 @@ -[ - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "60S FUZZ ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_VariFuzz", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.100000, - "gain": 1, - "tone": "normal" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Plexi87", - "dspUnitParameters": { - "volume": -8.539506, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g2", - "gain": 0.407227, - "treb": 0.422222, - "mid": 0.855556, - "bass": 0.983398, - "sag": "match", - "bias": 0.500000, - "presence": 0.500000, - "blend": 0.500000 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.156400, - "dlyTime": 0.315751, - "tapTimeBPM": 120, - "noteDivision": "off", - "feedback": 0.250000, - "stereoSpread": 0, - "wowLevel": 0.722222 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargePlate", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.344444, - "decay": 0.500000, - "dwell": 0.500000, - "diffuse": 0.500000, - "tone": 0.500000 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "ACOUSTICSIM ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "none", - "treb": 0.611111, - "mid": 0, - "volume": -2.06803, - "gateDetectorPosition": "jack", - "gain": 0.5, - "gatePreset": "off", - "bass": 0.322222 - }, - "FenderId": "DUBS_LinearGain", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.722222, - "decay": 0.2, - "level": 0.3562, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.0222 - }, - "FenderId": "DUBS_LargeHallReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "highmid": 0, - "lowmid": 2.5, - "mid": -12, - "high": 12, - "low": 12, - "bypass": false, - "gain": 0 - }, - "FenderId": "DUBS_MustangFiveBandEq1", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "ANGRY CHAMP ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "57champ", - "treb": 0.498039, - "sag": "match", - "mid": 0.5, - "volume": -12.935837, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.466667, - "gatePreset": "off", - "bass": 0.5 - }, - "FenderId": "DUBS_Champ57", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.333, - "gain": 0.388889, - "bypass": false, - "level": -30 - }, - "FenderId": "DUBS_Blackbox", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.5, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 0.5, - "feedback": 0.25, - "tapTimeBPM": 120, - "dlyTime": 0.4, - "bypass": false, - "wetLvl": 0.1453, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "BACK IN BLACK ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Plexi87", - "dspUnitParameters": { - "volume": -13.573416, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g2", - "gain": 0.188889, - "treb": 0.377778, - "mid": 0.788889, - "bass": 0.333333, - "sag": "match", - "bias": 0.5, - "presence": 0.5, - "blend": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_MustangFiveBandEq1", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "low": 12, - "lowmid": 12, - "mid": 12, - "highmid": 12, - "high": 12, - "gain": 0 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.5, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "BLACK DOG ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Ac30Tb", - "dspUnitParameters": { - "volume": -8.263186, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "2x12c", - "gain": 1, - "treb": 0.777778, - "mid": 0.711111, - "bass": 0.555556, - "sag": "match", - "bias": 0.5, - "master": 0.376471, - "cut": 0.5, - "bright": true - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.252829, - "rateHz": 0.106745, - "tapTimeBPM": 120, - "noteDivision": "off", - "depth": 0.966667, - "lrPhase": 0.5, - "avgDelay": 0.22 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.477778, - "time": 0.092, - "tapTimeBPM": 120, - "noteDivision": "off", - "feedback": 0, - "brite": 0.466667, - "attenuate": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.2785, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "type": "high" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "BLUES LEAD ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.666667, - "level": -12, - "gain": 0.69, - "bypass": false, - "blend": 0.844444 - }, - "FenderId": "DUBS_Greenbox", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": {}, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "cabsimType": "57dlx", - "treb": 0.72, - "sag": "match", - "mid": 0.5, - "volume": -8.573037, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.6, - "gatePreset": "off", - "bass": 0.5 - }, - "FenderId": "DUBS_Deluxe57", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": {}, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 1, - "decay": 1, - "level": 0.5, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "BLUES LEAD 2 ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "65dlx", - "treb": 0.560784, - "sag": "match", - "mid": 0.444444, - "volume": -12.380827, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.254883, - "gatePreset": "off", - "bass": 0.411111 - }, - "FenderId": "DUBS_Deluxe65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.722222, - "level": -8.4, - "gain": 0.533333, - "bypass": false, - "blend": 0.844444 - }, - "FenderId": "DUBS_Greenbox", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.4339, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "BRIGHT PRINCE ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "65prince", - "treb": 0.777778, - "sag": "match", - "mid": 0.233333, - "volume": -6.229831, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.311111, - "gatePreset": "off", - "bass": 0.144444 - }, - "FenderId": "DUBS_Princeton65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 1, - "decay": 0.388889, - "bypass": false, - "wetLvl": 0.6, - "dwell": 0.28889, - "diffuse": 1 - }, - "FenderId": "DUBS_Spring65", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "BRIT 64 RHYTHM ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Ac30Tb", - "dspUnitParameters": { - "volume": -0.799366, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "2x12c", - "gain": 0.322222, - "treb": 0.783447, - "mid": 0.633333, - "bass": 0.700000, - "sag": "match", - "bias": 0.500000, - "master": 0.376471, - "cut": 0.500000, - "bright": true - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargePlate", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.311111, - "decay": 0.500000, - "dwell": 0.500000, - "diffuse": 0.500000, - "tone": 0.500000 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "BROKEN DREAMS ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Jcm800", - "dspUnitParameters": { - "volume": -10.902829, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m", - "gain": 0.822222, - "treb": 0.5, - "mid": 0.5, - "bass": 0.5, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.5, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_SineTremolo", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 1, - "rate": 5.65, - "tapTimeBPM": 120, - "noteDivision": "off", - "duty": 0.5, - "dist": 0, - "shape": 0 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "CAMBODIAHOLIDAY ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin65", - "dspUnitParameters": { - "volume": -18.763546, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.337255, - "treb": 0.788889, - "mid": 0.533333, - "bass": 0.422222, - "sag": "match", - "bias": 0.5, - "bright": true - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Blackbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -30.833332, - "gain": 0.277778, - "tone": 0.333 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_SineTremolo", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.471335, - "rate": 4.2, - "tapTimeBPM": 120, - "noteDivision": "off", - "duty": 0.5, - "dist": 0, - "shape": 0 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.888889, - "decay": 1, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.788889 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "CHICAGO BLUES ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Bassman59", - "dspUnitParameters": { - "volume": -14.413998, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "59bman", - "gain": 0.555556, - "treb": 0.377778, - "mid": 0.490000, - "bass": 0.620000, - "sag": "match", - "bias": 0.500000, - "presence": 0.620000, - "blend": 0.620000 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.288889, - "time": 0.095000, - "tapTimeBPM": 631.578857, - "noteDivision": "off", - "feedback": 0.222222, - "brite": 0.500000, - "attenuate": 0.500000 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.311800, - "decay": 0.500000, - "dwell": 0.500000, - "diffuse": 0.500000, - "tone": 0.500000 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "CHOPPY DELUXE ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "65dlx", - "treb": 0.560784, - "sag": "match", - "mid": 0.611111, - "volume": -13.193704, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.447059, - "gatePreset": "off", - "bass": 0.227451 - }, - "FenderId": "DUBS_Deluxe65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "treble": 0.5, - "bypassType": "Post", - "outputLevel": 0.744444, - "gain": 0.222222, - "bypass": false - }, - "FenderId": "DUBS_MythicDrive", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "duty": 0.5, - "noteDivision": "off", - "bypassType": "Post", - "dist": 0, - "level": 0.770832, - "shape": 0, - "tapTimeBPM": 120, - "rate": 5.65, - "bypass": false - }, - "FenderId": "DUBS_SineTremolo", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 0.5, - "feedback": 0.25, - "tapTimeBPM": 120, - "dlyTime": 0.445371, - "bypass": false, - "wetLvl": 0.1786, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.54444, - "bypass": false, - "wetLvl": 0.5, - "dwell": 0.28889, - "diffuse": 1 - }, - "FenderId": "DUBS_Spring65", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "CLASSIC ROCK ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12g", - "presence": 0.5, - "treb": 1, - "sag": "match", - "mid": -4.400125, - "volume": -6.506824, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.766667, - "gatePreset": "low", - "blend": 0.5, - "bass": 0.466667 - }, - "FenderId": "DUBS_Plexi87", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.744444, - "decay": 0.677778, - "level": 0.166667, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_LargePlate", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "CLEAN DELAY ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "type": "super" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.833000, - "rateHz": 0.680000, - "tapTimeBPM": 120, - "noteDivision": "off", - "depth": 0.278000, - "lrPhase": 0.500000, - "avgDelay": 0.220000 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_DR103", - "dspUnitParameters": { - "volume": -2.068030, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v", - "gain": 0.300000, - "treb": 0.721569, - "mid": 0.643137, - "bass": 0.698039, - "sag": "match", - "bias": 0.500000, - "master": 1, - "presence": 0.500000 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.500500, - "dlyTime": 0.398236, - "tapTimeBPM": 120, - "noteDivision": "off", - "feedback": 0.111111, - "stereoSpread": 0, - "wowLevel": 0.033333 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.200800, - "decay": 0.500000, - "dwell": 0.500000, - "diffuse": 0.500000, - "tone": 0.500000 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "COUNTRY PICKING ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "65dlx", - "treb": 0.560784, - "sag": "match", - "mid": 0.744444, - "volume": -15.752095, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.254883, - "gatePreset": "off", - "bass": 0.344444 - }, - "FenderId": "DUBS_Deluxe65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "type": "medium", - "bypass": false - }, - "FenderId": "DUBS_SimpleCompressor", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 0.5, - "feedback": 0.211111, - "tapTimeBPM": 120, - "dlyTime": 0.138998, - "bypass": false, - "wetLvl": 0.1675, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "CROSS ROADS ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Jcm800", - "dspUnitParameters": { - "volume": -10.884403, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m", - "gain": 0.888889, - "treb": 0.777778, - "mid": 0.555556, - "bass": 0.555556, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargePlate", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.333333, - "decay": 0.277778, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.666667 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "DARK ANDCLEAN ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_MustangFiveBandEq1", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "low": 12, - "lowmid": 0, - "mid": 0, - "highmid": -9, - "high": -12, - "gain": 0 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_LinearGain", - "dspUnitParameters": { - "volume": 0, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "none", - "gain": 0.744444, - "treb": 0, - "mid": 0.5, - "bass": 0.666667 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "DESERT ROCK ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "57champ", - "treb": 0.766667, - "sag": "match", - "mid": 0.666667, - "volume": -7.691092, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.133333, - "gatePreset": "off", - "bass": 0.444444 - }, - "FenderId": "DUBS_Champ57", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": "loose", - "gain": 1, - "bypass": false, - "level": 0.063338 - }, - "FenderId": "DUBS_VariFuzz", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.566667, - "decay": 0.111111, - "bypass": false, - "wetLvl": 0.222222, - "dwell": 0.28889, - "diffuse": 1 - }, - "FenderId": "DUBS_Spring65", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "DIRTY VIBE ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Blackbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -30, - "gain": 0.077778, - "tone": 0.333 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Vibratone", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.96, - "rotor": 5.67, - "tapTimeBPM": 340.200012, - "noteDivision": "off", - "depth": 0.18, - "feedback": 0.944444, - "phase": 0.52 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin57", - "dspUnitParameters": { - "volume": -23.047628, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.5, - "treb": 0.7, - "mid": 0.72, - "bass": 0.62, - "sag": "match", - "bias": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.445, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.666667 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "DOOM ANDGLOOM ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12m2", - "treb": 0.67, - "sag": "match", - "mid": 0.313726, - "volume": -10.551273, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.498039, - "gain": 0.566162, - "gatePreset": "off", - "bass": 0.505882 - }, - "FenderId": "DUBS_Or120", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "level": 0.5, - "mid": 0.5, - "high": 0.5, - "low": 0.5, - "bypass": false, - "gain": 0.5 - }, - "FenderId": "DUBS_Overdrive", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 0.5, - "feedback": 0.25, - "tapTimeBPM": 120, - "dlyTime": 0.4, - "bypass": false, - "wetLvl": 0.2563, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.7, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_LargePlate", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "DREAMY ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "bright": true, - "cabsimType": "65twn", - "treb": 0.717647, - "sag": "match", - "mid": 0.780392, - "volume": -14.413998, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.337255, - "gatePreset": "off", - "bass": 0.662745 - }, - "FenderId": "DUBS_Twin65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "rotor": 1.07, - "bypassType": "Post", - "feedback": 0.68, - "noteDivision": "off", - "level": 0.96, - "tapTimeBPM": 120, - "depth": 0.18, - "bypass": false, - "phase": 0.52 - }, - "FenderId": "DUBS_Vibratone", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 0.5, - "feedback": 0.211111, - "tapTimeBPM": 120, - "dlyTime": 0.253888, - "bypass": false, - "wetLvl": 0.4672, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.833333, - "decay": 0.5, - "level": 0.433333, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_LargePlate", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "type": "high", - "bypass": false - }, - "FenderId": "DUBS_SimpleCompressor", - "nodeType": "dspUnit", - "nodeId": "stomp" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "DR DOUG VIBRATO", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "type": "medium" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Vibratone", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.40877, - "rotor": 2.950861, - "tapTimeBPM": 177.051666, - "noteDivision": "off", - "depth": 0.18, - "feedback": 0.233333, - "phase": 0.5 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_LinearGain", - "dspUnitParameters": { - "volume": -2.06803, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "none", - "gain": 0.555556, - "treb": 0.898238, - "mid": 0.438043, - "bass": 0.424895 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.577778, - "decay": 0.54444, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.5 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "EARLY ZZ ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "57dlx", - "treb": 0.655556, - "sag": "match", - "mid": 0.6, - "volume": -11.626897, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 1, - "gatePreset": "off", - "bass": 0.5 - }, - "FenderId": "DUBS_Deluxe57", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "treble": 0.5, - "bypassType": "Post", - "outputLevel": 0.577778, - "gain": 0.444444, - "bypass": false - }, - "FenderId": "DUBS_MythicDrive", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.388889, - "decay": 0.6, - "level": 0.4672, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "ELECTRICLOVE ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12m", - "presence": 0.5, - "treb": 0.622222, - "sag": "match", - "mid": 0.4, - "volume": -5.509386, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.5, - "gain": 0.99, - "gatePreset": "low", - "bass": 0.75 - }, - "FenderId": "DUBS_Jcm800", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "treble": 0.5, - "bypassType": "Post", - "outputLevel": 0.5, - "gain": 0.344444, - "bypass": false - }, - "FenderId": "DUBS_MythicDrive", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "lrPhase": 0.5, - "level": 0.833, - "rateHz": 0.68, - "tapTimeBPM": 120, - "depth": 0.155556, - "avgDelay": 0.22, - "bypass": false - }, - "FenderId": "DUBS_ChorusTriangle", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.211111, - "level": 0.7, - "attenuate": 0.5, - "tapTimeBPM": 120, - "bypass": false, - "time": 0.439479, - "brite": 0.5 - }, - "FenderId": "DUBS_MonoDelay", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.6888, - "decay": 0.2444, - "level": 0.3111, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.0222 - }, - "FenderId": "DUBS_LargeHallReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "ENTER SANDMAN ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Rect2", - "dspUnitParameters": { - "volume": -13.884403, - "gatePreset": "high", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v2", - "gain": 0.888889, - "treb": 0.888889, - "mid": 0.055556, - "bass": 0.455556, - "sag": "match", - "bias": 0.5, - "master": 0.380392, - "presence": 0.392157 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.5, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "EVERLONG ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Rect2", - "dspUnitParameters": { - "volume": -11.999981, - "gatePreset": "high", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v2", - "gain": 0.333333, - "treb": 0.666667, - "mid": 0.433333, - "bass": 0.322222, - "sag": "match", - "bias": 0.5, - "master": 0.380392, - "presence": 0.392157 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "FEAR THEREAPER ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Deluxe65", - "dspUnitParameters": { - "volume": -15.295096, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65dlx", - "gain": 0.333333, - "treb": 0.566667, - "mid": 0.777778, - "bass": 0.227451, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.3007, - "dlyTime": 0.1, - "tapTimeBPM": 599.999939, - "noteDivision": "off", - "feedback": 0, - "stereoSpread": 0, - "wowLevel": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargePlate", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.277778, - "decay": 0.444444, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "FENDER CLEAN ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "type": "medium" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin65", - "dspUnitParameters": { - "volume": -11.126740, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.337255, - "treb": 0.342816, - "mid": 0.500000, - "bass": 0.555556, - "sag": "match", - "bias": 0.500000, - "bright": true - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.500000, - "decay": 0.388889, - "dwell": 0.288890, - "diffuse": 1, - "tone": 1 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "GARAGE FUZZ ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_BigFuzz", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -24.711111, - "gain": 0.311111, - "tone": 0.566667 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Excelsior", - "dspUnitParameters": { - "volume": -16.220806, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "exlsr", - "gain": 0.233333, - "bright": true, - "sag": "match", - "bias": 0.500000, - "treb": 0.222222, - "mid": 0.500000, - "bass": 0.922222 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargePlate", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.122222, - "decay": 0.500000, - "dwell": 0.500000, - "diffuse": 0.500000, - "tone": 0.500000 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "GATED METAL ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12r", - "presence": 0.392157, - "treb": 0.511111, - "sag": "match", - "mid": 0.255556, - "volume": -10.206342, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.380392, - "gain": 0.733333, - "gatePreset": "super", - "bass": 0.564697 - }, - "FenderId": "DUBS_MetalRect2", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "attenuation": -120, - "hysteresis": 2.5, - "gateDetectorPosition": "jack", - "bypass": false, - "threshold": -46.444443 - }, - "FenderId": "DUBS_ChromeGate", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "GONNA BEMY GIRL ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Blackbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -20.933332, - "gain": 0.444444, - "tone": 0.711111 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin65", - "dspUnitParameters": { - "volume": -17.195896, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.3, - "treb": 0.722222, - "mid": 0.780392, - "bass": 0.722222, - "sag": "match", - "bias": 0.5, - "bright": true - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "HANDLE AROPE ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Overdrive", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.255556, - "gain": 0.91681, - "low": 0.5, - "mid": 0.311111, - "high": 0.7 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Excelsior", - "dspUnitParameters": { - "volume": -18.763546, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "exlsr", - "gain": 0.355556, - "bright": true, - "sag": "match", - "bias": 0.5, - "treb": 0.555556, - "mid": 0.255556, - "bass": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "HASH PIPE ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Rect2", - "dspUnitParameters": { - "volume": -13.884403, - "gatePreset": "high", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v2", - "gain": 0.777778, - "treb": 0.766667, - "mid": 0.466667, - "bass": 0.777778, - "sag": "match", - "bias": 0.5, - "master": 0.380392, - "presence": 0.392157 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "HEART BREAKER ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Plexi87", - "dspUnitParameters": { - "volume": -9.867807, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g2", - "gain": 0.5, - "treb": 0.322222, - "mid": 0.5, - "bass": 0.466667, - "sag": "match", - "bias": 0.5, - "presence": 0.5, - "blend": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_MustangFiveBandEq1", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "low": 0, - "lowmid": 7, - "mid": 10.5, - "highmid": -5.5, - "high": -3.5, - "gain": 0 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.556, - "decay": 0.2444, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.6888 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "HEAVY BLUES ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin57", - "dspUnitParameters": { - "volume": -17.703659, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.944444, - "treb": 0.388889, - "mid": 0.72, - "bass": 0.444444, - "sag": "match", - "bias": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Greenbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -13.5, - "gain": 0.933333, - "tone": 0.388889, - "blend": 1 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.3, - "decay": 0.577778, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.333333 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "HEAVY SHOEGAZE", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12v", - "presence": 0.5, - "treb": 0.721569, - "sag": "match", - "mid": 0.388889, - "volume": -3.909305, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 1, - "gain": 0.50708, - "gatePreset": "off", - "bass": 0.352734 - }, - "FenderId": "DUBS_DR103", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.6888, - "decay": 0.2444, - "level": 0.667, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.0222 - }, - "FenderId": "DUBS_LargeHallReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.6667, - "gain": 0.4444, - "bypass": false, - "level": -18 - }, - "FenderId": "DUBS_BigFuzz", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.72, - "level": 0.133333, - "depth": 0.022222, - "shape": "sine", - "tapTimeBPM": 120, - "rate": 0.376297, - "bypass": false - }, - "FenderId": "DUBS_Phaser", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.3, - "level": 0.1675, - "attenuate": 1, - "tapTimeBPM": 120, - "bypass": false, - "time": 0.313592, - "chase": 0.65 - }, - "FenderId": "DUBS_ReverseDelay", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "HERECOMEYOUR MAN", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.458346, - "rateHz": 0.68, - "tapTimeBPM": 40.799999, - "noteDivision": "off", - "depth": 0.311111, - "lrPhase": 0.5, - "avgDelay": 0.22 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin57", - "dspUnitParameters": { - "volume": -13.988875, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.222222, - "treb": 0.7, - "mid": 0.666667, - "bass": 0.733333, - "sag": "match", - "bias": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.445, - "dlyTime": 0.032, - "tapTimeBPM": 1875.000122, - "noteDivision": "off", - "feedback": 0.25, - "stereoSpread": 0, - "wowLevel": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.388889, - "decay": 0.666667, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.5 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "HER RHAPSODY", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "bright": true, - "cut": 0.5, - "cabsimType": "2x12c", - "treb": 0.655556, - "sag": "match", - "mid": 0.622222, - "volume": -2.736965, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.376471, - "gain": 0.433333, - "gatePreset": "off", - "bass": 0.377778 - }, - "FenderId": "DUBS_Ac30Tb", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.5, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.755556, - "gain": 0.377778, - "bypass": false, - "level": -21.866667 - }, - "FenderId": "DUBS_BigFuzz", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.433333, - "level": 0.71614, - "depth": 0.511111, - "tapTimeBPM": 120, - "rate": 0.269562, - "bypass": false, - "phase": 0.25 - }, - "FenderId": "DUBS_TriangleFlanger", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "IRON MAN ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_SuperSonic", - "dspUnitParameters": { - "volume": -14.818684, - "gatePreset": "mid", - "gateDetectorPosition": "jack", - "cabsimType": "1x12ss", - "gain": 0.588889, - "treb": 0.311111, - "mid": 0.5, - "bass": 0.777778, - "sag": "match", - "bias": 0.5, - "master": 0.360784, - "gain2": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Blackbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -27.9, - "gain": 0.311111, - "tone": 0.477778 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.8668, - "decay": 0.588889, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.411111 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "JAZZ AMP ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "none", - "treb": 0.5, - "mid": 0.5, - "volume": -2.06803, - "gateDetectorPosition": "jack", - "gain": 0.5, - "gatePreset": "off", - "bass": 0.5 - }, - "FenderId": "DUBS_LinearGain", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "type": "medium", - "bypass": false - }, - "FenderId": "DUBS_SimpleCompressor", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.2896, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "JUST ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Plexi87", - "dspUnitParameters": { - "volume": -11.999981, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g2", - "gain": 1, - "treb": 0.826519, - "mid": 0.742051, - "bass": 0.444444, - "sag": "match", - "bias": 0.5, - "presence": 0.5, - "blend": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Greenbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -19.5, - "gain": 0.69, - "tone": 0.555556, - "blend": 1 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "KELLS BELLS ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Phaser", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.333333, - "rate": 0.640873, - "tapTimeBPM": 38.452408, - "noteDivision": "off", - "depth": 0.688889, - "feedback": 0.72, - "shape": "sine" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Princeton65", - "dspUnitParameters": { - "volume": -11.712391, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65prince", - "gain": 0.337255, - "treb": 0.766667, - "mid": 0.839216, - "bass": 0.422222, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.556, - "decay": 0.322222, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.822222 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "KILL EM ALL ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Jcm800", - "dspUnitParameters": { - "volume": -10.884403, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m", - "gain": 0.666667, - "treb": 0.888889, - "mid": 0.111111, - "bass": 0.555556, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Blackbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -30, - "gain": 0.688889, - "tone": 0.333 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "LAST NIGHT ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Bassman59", - "dspUnitParameters": { - "volume": -16.701855, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "59bman", - "gain": 0.65, - "treb": 0.5, - "mid": 0.5, - "bass": 0.577778, - "sag": "match", - "bias": 0.5, - "presence": 0.62, - "blend": 0.62 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "type": "medium" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "LITTLE CHAMP ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "57champ", - "treb": 1, - "sag": "match", - "mid": 0.477778, - "volume": -15.295096, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.243137, - "gatePreset": "off", - "bass": 0 - }, - "FenderId": "DUBS_Champ57", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 0.5, - "feedback": 0.1, - "tapTimeBPM": 120, - "dlyTime": 0.157, - "bypass": false, - "wetLvl": 0.0898, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.112, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "type": "low", - "bypass": false - }, - "FenderId": "DUBS_SimpleCompressor", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "LUMPY ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Blackbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -27.9, - "gain": 0, - "tone": 0.522222 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Bassman59", - "dspUnitParameters": { - "volume": -14.403923, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "59bman", - "gain": 0.333333, - "treb": 0.566667, - "mid": 0.666667, - "bass": 0.355556, - "sag": "match", - "bias": 0.5, - "presence": 0.62, - "blend": 0.62 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "MALIBU POINT ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Deluxe65", - "dspUnitParameters": { - "volume": -9.867807, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65dlx", - "gain": 0.111111, - "treb": 0.677778, - "mid": 0.533333, - "bass": 0.333333, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 1, - "decay": 0.444444, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.777778 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_SineTremolo", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.752257, - "rate": 4.006667, - "tapTimeBPM": 120, - "noteDivision": "off", - "duty": 0.5, - "dist": 0, - "shape": 0 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "MAYBE GOT BLUE", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Ac30Tb", - "dspUnitParameters": { - "volume": 0, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "2x12c", - "gain": 0.488889, - "treb": 0.633333, - "mid": 0.422222, - "bass": 0.655556, - "sag": "match", - "bias": 0.5, - "master": 0.376471, - "cut": 0.5, - "bright": true - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_EcFilter", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.333333, - "mode": "High Up", - "type": "Band Pass", - "q": 0.533333, - "thresh": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.444444, - "time": 0.377991, - "tapTimeBPM": 158.734039, - "noteDivision": "off", - "feedback": 0.244444, - "brite": 0.777778, - "attenuate": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargePlate", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.255556, - "decay": 0.255556, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 1 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "METAL LEAD ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.458346, - "rateHz": 0.080000, - "tapTimeBPM": 4.800000, - "noteDivision": "off", - "depth": 1, - "lrPhase": 0.500000, - "avgDelay": 0.220000 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_MetalRect2", - "dspUnitParameters": { - "volume": -10.206342, - "gatePreset": "super", - "gateDetectorPosition": "jack", - "cabsimType": "4x12r", - "gain": 0.769145, - "treb": 0.602199, - "mid": 0.135629, - "bass": 0.857598, - "sag": "match", - "bias": 0.500000, - "master": 0.380392, - "presence": 0.392157 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.288889, - "time": 0.475195, - "tapTimeBPM": 126.263870, - "noteDivision": "off", - "feedback": 0.144444, - "brite": 0, - "attenuate": 0.500000 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "MODERN METAL ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12g2", - "presence": 0.5, - "treb": 0.733333, - "sag": "match", - "mid": 0.688889, - "volume": -15.752095, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.5, - "gain": 0.333333, - "gatePreset": "high", - "bass": 0.388889 - }, - "FenderId": "DUBS_Evh3", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "attenuation": -120, - "hysteresis": 2.5, - "gateDetectorPosition": "jack", - "bypass": false, - "threshold": -47.777779 - }, - "FenderId": "DUBS_ChromeGate", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "MORE BLUES ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin57", - "dspUnitParameters": { - "volume": -20.478304, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.555556, - "treb": 0.666667, - "mid": 0.466667, - "bass": 0.155556, - "sag": "match", - "bias": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Overdrive", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.5, - "gain": 0.5, - "low": 0.5, - "mid": 0.5, - "high": 0.5 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.067863, - "rateHz": 1.526731, - "tapTimeBPM": 91.603889, - "noteDivision": "off", - "depth": 0.288889, - "lrPhase": 0.5, - "avgDelay": 0.22 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.112, - "dlyTime": 0.3, - "tapTimeBPM": 199.999985, - "noteDivision": "off", - "feedback": 0.25, - "stereoSpread": 0, - "wowLevel": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.334, - "decay": 0.566667, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "MYTHIC CRUNCH ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12g2", - "presence": 0.5, - "treb": 1, - "sag": "match", - "mid": 1, - "volume": -9.867807, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 1, - "gatePreset": "low", - "blend": 0.5, - "bass": 0 - }, - "FenderId": "DUBS_Plexi87", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "treble": 0.777778, - "bypassType": "Post", - "outputLevel": 0.5, - "gain": 0.5, - "bypass": false - }, - "FenderId": "DUBS_MythicDrive", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "NICE FLANGER ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "type": "low" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_TriangleFlanger", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 1, - "rate": 0.106745, - "tapTimeBPM": 120, - "noteDivision": "off", - "depth": 0.666667, - "feedback": 0.777778, - "phase": 0.250000 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Princeton65", - "dspUnitParameters": { - "volume": -13.167182, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65prince", - "gain": 0.233333, - "treb": 1, - "mid": 0.839216, - "bass": 0.337255, - "sag": "match", - "bias": 0.500000 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.555556, - "time": 0.280000, - "tapTimeBPM": 120, - "noteDivision": "off", - "feedback": 0.133333, - "brite": 1, - "attenuate": 0.500000 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "OBSTACLEONE ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_SineTremolo", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.209897, - "rate": 6.133333, - "tapTimeBPM": 368, - "noteDivision": "off", - "duty": 0.5, - "dist": 0, - "shape": 0 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Deluxe65", - "dspUnitParameters": { - "volume": -11.999981, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65dlx", - "gain": 0.277778, - "treb": 0.5, - "mid": 0.722222, - "bass": 0.227451, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.1897, - "dlyTime": 0.139, - "tapTimeBPM": 431.654633, - "noteDivision": "off", - "feedback": 0.166667, - "stereoSpread": 0, - "wowLevel": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.166667, - "decay": 0.388889, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.777778 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "OCTOBOT ONE NOTE", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Octobot", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.500000, - "octdown": 1, - "octup": 1 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Jcm800", - "dspUnitParameters": { - "volume": -11.999981, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m", - "gain": 0.990000, - "treb": 0.670000, - "mid": 0.400000, - "bass": 0.750000, - "sag": "match", - "bias": 0.500000, - "master": 0.500000, - "presence": 0.500000 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 1, - "time": 0.439479, - "tapTimeBPM": 120, - "noteDivision": "off", - "feedback": 0.177778, - "brite": 0.500000, - "attenuate": 0.500000 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "OLD 15 SPEAKER ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "exlsr", - "treb": 0.3, - "sag": "match", - "gateDetectorPosition": "jack", - "mid": 0.5, - "volume": -22.370665, - "bright": true, - "bias": 0.5, - "gain": 1, - "gatePreset": "off", - "bass": 1 - }, - "FenderId": "DUBS_Excelsior", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "type": "low", - "bypass": false - }, - "FenderId": "DUBS_SimpleCompressor", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.1786, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 0.366667, - "feedback": 0.122222, - "tapTimeBPM": 120, - "dlyTime": 0.156, - "bypass": false, - "wetLvl": 0.1009, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "OVERCAST ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Bassman59", - "dspUnitParameters": { - "volume": -13.573416, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "59bman", - "gain": 0.444444, - "treb": 0.411111, - "mid": 0.666667, - "bass": 0.722222, - "sag": "match", - "bias": 0.5, - "presence": 0.62, - "blend": 0.62 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_VariFuzz", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.122822, - "gain": 0.3, - "tone": "loose" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Vibratone", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.78976, - "rotor": 5.37746, - "tapTimeBPM": 322.647552, - "noteDivision": "off", - "depth": 0.222222, - "feedback": 0.666667, - "phase": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.112, - "dlyTime": 0.317993, - "tapTimeBPM": 188.683304, - "noteDivision": "off", - "feedback": 0.355556, - "stereoSpread": 0, - "wowLevel": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.6, - "decay": 0.344444, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.5 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "PARANOIDANDROID ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Deluxe65", - "dspUnitParameters": { - "volume": -15.752095, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65dlx", - "gain": 0.447059, - "treb": 0.355556, - "mid": 0.455556, - "bass": 0.5, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Blackbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -30, - "gain": 0.8, - "tone": 0.666667 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Phaser", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.077778, - "rate": 0.201639, - "tapTimeBPM": 120, - "noteDivision": "off", - "depth": 0.033333, - "feedback": 0.72, - "shape": "sine" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.0454, - "decay": 0.1, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 1 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "PEACE SELLS ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Plexi87", - "dspUnitParameters": { - "volume": -11.999981, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g2", - "gain": 1, - "treb": 0.766667, - "mid": 1, - "bass": 0.588889, - "sag": "match", - "bias": 0.5, - "presence": 0.5, - "blend": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_MustangFiveBandEq1", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "low": 0, - "lowmid": 0, - "mid": 7.5, - "highmid": -1.5, - "high": 0, - "gain": 0 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.63158, - "rateHz": 0.08, - "tapTimeBPM": 4.8, - "noteDivision": "off", - "depth": 0.366667, - "lrPhase": 0.5, - "avgDelay": 0.22 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargePlate", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.311111, - "decay": 0.833333, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.477778 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "PHASER SWIRL ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "bright": true, - "cabsimType": "65twn", - "treb": 0.555556, - "sag": "match", - "mid": 0.5, - "volume": -14.849238, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.337255, - "gatePreset": "off", - "bass": 0.555556 - }, - "FenderId": "DUBS_Twin65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "type": "medium", - "bypass": false - }, - "FenderId": "DUBS_SimpleCompressor", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 1, - "decay": 0.388889, - "bypass": false, - "wetLvl": 0.5, - "dwell": 0.28889, - "diffuse": 1 - }, - "FenderId": "DUBS_Spring65", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.72, - "level": 0.99, - "depth": 0.99, - "shape": "sine", - "tapTimeBPM": 120, - "rate": 0.46695, - "bypass": false - }, - "FenderId": "DUBS_Phaser", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "PINK OF THE MOON", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_DR103", - "dspUnitParameters": { - "volume": -11.626897, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v", - "gain": 0.50708, - "treb": 0.721569, - "mid": 0.643137, - "bass": 0.698039, - "sag": "match", - "bias": 0.5, - "master": 1, - "presence": 0.5 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.261912, - "rateHz": 0.68, - "tapTimeBPM": 120, - "noteDivision": "off", - "depth": 0.278, - "lrPhase": 0.5, - "avgDelay": 0.22 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.2119, - "dlyTime": 0.417, - "tapTimeBPM": 120, - "noteDivision": "off", - "feedback": 0.322222, - "stereoSpread": 0, - "wowLevel": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_ArenaReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.244444, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_BigFuzz", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -18, - "gain": 0.377778, - "tone": 0.533333 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "POLICE THE AREA", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Princeton65", - "dspUnitParameters": { - "volume": -13.167182, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65prince", - "gain": 0.233333, - "treb": 1, - "mid": 0.839216, - "bass": 0.337255, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_TriangleFlanger", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 1, - "rate": 0.106745, - "tapTimeBPM": 120, - "noteDivision": "off", - "depth": 0.666667, - "feedback": 0.777778, - "phase": 0.25 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.555556, - "time": 0.28, - "tapTimeBPM": 120, - "noteDivision": "off", - "feedback": 0.133333, - "brite": 1, - "attenuate": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.5, - "decay": 0.54444, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "type": "low" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "POST PUNK ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "bright": true, - "cabsimType": "65twn", - "treb": 0.717647, - "sag": "match", - "mid": 0.780392, - "volume": -4.400125, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0, - "gatePreset": "off", - "bass": 0.662745 - }, - "FenderId": "DUBS_Twin65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.666667, - "level": -7.499999, - "gain": 0, - "bypass": false, - "blend": 1 - }, - "FenderId": "DUBS_Greenbox", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.6888, - "decay": 0.2444, - "level": 0.3111, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.0222 - }, - "FenderId": "DUBS_LargeHallReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.777778, - "level": 0.809048, - "depth": 0.666667, - "tapTimeBPM": 120, - "rate": 0.25462, - "bypass": false, - "phase": 0.25 - }, - "FenderId": "DUBS_TriangleFlanger", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.022222, - "level": 0.0454, - "attenuate": 1, - "tapTimeBPM": 120, - "bypass": false, - "time": 0.251878, - "chase": 0.65 - }, - "FenderId": "DUBS_ReverseDelay", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "POWER PUNCH ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Or120", - "dspUnitParameters": { - "volume": -10.206342, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m2", - "gain": 0.5, - "treb": 0.588889, - "mid": 0.611111, - "bass": 0.666667, - "sag": "match", - "bias": 0.5, - "master": 0.498039 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Greenbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -6, - "gain": 0.288889, - "tone": 0.144444, - "blend": 1 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.1675, - "decay": 0.277778, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.633333 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "PUMPKIN FUZZ ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_BigFuzz", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -25.777779, - "gain": 0.555556, - "tone": 0.288889 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Phaser", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.122222, - "rate": 0.122209, - "tapTimeBPM": 7.332527, - "noteDivision": "off", - "depth": 0.511111, - "feedback": 0.72, - "shape": "sine" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Jcm800", - "dspUnitParameters": { - "volume": -7.07374, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m", - "gain": 0.088889, - "treb": 0.666667, - "mid": 0.155556, - "bass": 0.666667, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "RAINING BLOOD ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Jcm800", - "dspUnitParameters": { - "volume": -11.626897, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m", - "gain": 0.688889, - "treb": 0.777778, - "mid": 0, - "bass": 0.955556, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_MythicDrive", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "outputLevel": 0.5, - "gain": 1, - "treble": 0.777778 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.666667, - "time": 0.072, - "tapTimeBPM": 120, - "noteDivision": "off", - "feedback": 0, - "brite": 0.5, - "attenuate": 0.5 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "REDBONE ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Overdrive", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.833333, - "gain": 0.161285, - "low": 0.333333, - "mid": 0.333333, - "high": 0.777778 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_EcFilter", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.722222, - "mode": "Low Up", - "type": "High Pass", - "q": 0.577778, - "thresh": 0.777778 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_LinearGain", - "dspUnitParameters": { - "volume": -1.004791, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "none", - "gain": 0.5, - "treb": 0.666667, - "mid": 0.388889, - "bass": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.333333, - "decay": 0.211111, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.633333 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "RICK MARYJANE", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin65", - "dspUnitParameters": { - "volume": -9.867807, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.222222, - "treb": 0.555556, - "mid": 0.266667, - "bass": 0.666667, - "sag": "match", - "bias": 0.5, - "bright": true - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.511111, - "decay": 0.5, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.655556 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "ROCKIN RHYTHM ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Bassman59", - "dspUnitParameters": { - "volume": -12.380827, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "59bman", - "gain": 0.466667, - "treb": 0.505882, - "mid": 0.777778, - "bass": 0.62, - "sag": "match", - "bias": 0.5, - "presence": 0.62, - "blend": 0.62 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.3111, - "decay": 0, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.6888 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "ROCK A BILLY ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "65twn", - "presence": 0.5, - "treb": 0.7, - "sag": "match", - "mid": 0.544444, - "volume": -12.769779, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.322222, - "gatePreset": "off", - "bass": 0.62 - }, - "FenderId": "DUBS_Twin57", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 0, - "feedback": 0.111111, - "tapTimeBPM": 120, - "dlyTime": 0.14489, - "bypass": false, - "wetLvl": 0.2341, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.5, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "ROCK STRUM ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Deluxe57", - "dspUnitParameters": { - "volume": -5.68811, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "57dlx", - "gain": 0.388889, - "treb": 0.72, - "mid": 0.5, - "bass": 0.5, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.3111, - "decay": 0.2444, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.6888 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "ROUND N ROUND ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Greenbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -13.5, - "gain": 0.666667, - "tone": 0.377778, - "blend": 1 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Jcm800", - "dspUnitParameters": { - "volume": -9.208964, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m", - "gain": 0.99, - "treb": 0.67, - "mid": 0.333333, - "bass": 0.555556, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.223, - "decay": 0.177778, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.555556 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "ROYAL MAJESTY ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Silvertone", - "dspUnitParameters": { - "volume": -23.047628, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "57dlx", - "gain": 1, - "treb": 0.67, - "mid": 0.898039, - "bass": 0.662745, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.5, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_MustangFiveBandEq1", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "low": 0, - "lowmid": 2.5, - "mid": 11.000001, - "highmid": 1.5, - "high": 0, - "gain": 0 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.5, - "dlyTime": 0.038, - "tapTimeBPM": 120, - "noteDivision": "off", - "feedback": 0.25, - "stereoSpread": 0, - "wowLevel": 0.5 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "SILKY SOLO ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "bypassType": "Post", - "level": 0.444444, - "mid": 0.5, - "high": 0.5, - "low": 0.5, - "bypass": false, - "gain": 0.653935 - }, - "FenderId": "DUBS_Overdrive", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": {}, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "gain2": 0.5, - "cabsimType": "1x12ss", - "treb": 0.722222, - "sag": "match", - "mid": 0.722222, - "volume": -14.849238, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.360784, - "gain": 0.333333, - "gatePreset": "mid", - "bass": 0.666667 - }, - "FenderId": "DUBS_SuperSonic", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 1, - "feedback": 0.044444, - "tapTimeBPM": 120, - "dlyTime": 0.18, - "bypass": false, - "wetLvl": 0.223, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 1, - "decay": 0.133333, - "bypass": false, - "wetLvl": 0.277778, - "dwell": 0.28889, - "diffuse": 1 - }, - "FenderId": "DUBS_Spring65", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "SKATE PUNK ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Rect2", - "dspUnitParameters": { - "volume": -12.769779, - "gatePreset": "high", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v2", - "gain": 0.600000, - "treb": 0.533333, - "mid": 0.200000, - "bass": 0.644444, - "sag": "match", - "bias": 0.500000, - "master": 0.380392, - "presence": 0.392157 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "SLOW SPIN ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "65twn", - "presence": 0.5, - "treb": 0.7, - "sag": "match", - "mid": 0.72, - "volume": -3.048052, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.25293, - "gatePreset": "off", - "bass": 0.266602 - }, - "FenderId": "DUBS_Twin57", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "PostNoPreKill", - "outputLevel": 0.5, - "sensitivity": 0.5, - "bypass": false - }, - "FenderId": "DUBS_Sustain", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "rotor": 0.67, - "bypassType": "Post", - "feedback": 0.68, - "noteDivision": "off", - "level": 1, - "tapTimeBPM": 120, - "depth": 0.433333, - "bypass": false, - "phase": 0.52 - }, - "FenderId": "DUBS_Vibratone", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.5, - "level": 0.0898, - "attenuate": 1, - "tapTimeBPM": 120, - "bypass": false, - "time": 0.4, - "chase": 0.65 - }, - "FenderId": "DUBS_ReverseDelay", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.54444, - "bypass": false, - "wetLvl": 0.5, - "dwell": 0.28889, - "diffuse": 1 - }, - "FenderId": "DUBS_Spring65", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "SOLO MIDBOOST", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_MustangFiveBandEq1", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "low": 0, - "lowmid": 2.500000, - "mid": 11.000001, - "highmid": 1.500000, - "high": 0, - "gain": 0 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Silvertone", - "dspUnitParameters": { - "volume": -18.225922, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "57dlx", - "gain": 1, - "treb": 0.670000, - "mid": 0.898039, - "bass": 0.662745, - "sag": "match", - "bias": 0.500000 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.500000, - "dlyTime": 0.060000, - "tapTimeBPM": 999.999939, - "noteDivision": "off", - "feedback": 0.250000, - "stereoSpread": 0, - "wowLevel": 0.500000 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.400600, - "decay": 0.500000, - "dwell": 0.500000, - "diffuse": 0.500000, - "tone": 0.500000 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "SONG 2 ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Plexi87", - "dspUnitParameters": { - "volume": -11.999981, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g2", - "gain": 0.377778, - "treb": 0.744444, - "mid": 0.722222, - "bass": 0.388889, - "sag": "match", - "bias": 0.5, - "presence": 0.5, - "blend": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_BigFuzz", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -21.866667, - "gain": 0.366667, - "tone": 0.222222 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "SOUR TIMES ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_MythicDrive", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "outputLevel": 0.611111, - "gain": 0.222222, - "treble": 0.766667 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Vibratone", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.78976, - "rotor": 5.24597, - "tapTimeBPM": 314.758179, - "noteDivision": "off", - "depth": 0.377778, - "feedback": 0.68, - "phase": 0.52 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Excelsior", - "dspUnitParameters": { - "volume": -14.413998, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "exlsr", - "gain": 0.333333, - "bright": true, - "sag": "match", - "bias": 0.5, - "treb": 0.611111, - "mid": 0.333333, - "bass": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.422222, - "decay": 0.422222, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.5 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "SPACE TRAVEL ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "65dlx", - "treb": 0.560784, - "sag": "match", - "mid": 0.913726, - "volume": -25.243275, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.447059, - "gatePreset": "off", - "bass": 0.227451 - }, - "FenderId": "DUBS_Deluxe65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "octup": 1, - "octdown": 1, - "bypassType": "Post", - "bypass": false, - "level": 0.5 - }, - "FenderId": "DUBS_Octobot", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.177778, - "level": 1, - "attenuate": 0.5, - "tapTimeBPM": 120, - "bypass": false, - "time": 0.404128, - "brite": 0.5 - }, - "FenderId": "DUBS_MonoDelay", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "level": 0.733333, - "tapTimeBPM": 120, - "rate": 5.07, - "hiFrq": 0.5, - "bypass": false, - "reson": 0.5, - "loFrq": 0.5 - }, - "FenderId": "DUBS_StepFilter", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.4, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_ArenaReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "SPARKLE DELAY ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "type": "super" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.833, - "rateHz": 0.68, - "tapTimeBPM": 120, - "noteDivision": "off", - "depth": 0.278, - "lrPhase": 0.5, - "avgDelay": 0.22 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin65", - "dspUnitParameters": { - "volume": -18.763546, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.337255, - "treb": 0.717647, - "mid": 0.780392, - "bass": 0.662745, - "sag": "match", - "bias": 0.5, - "bright": true - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "wetLvl": 0.4894, - "dlyTime": 0.405, - "tapTimeBPM": 148.148148, - "noteDivision": "off", - "feedback": 0.122222, - "stereoSpread": 0, - "wowLevel": 0.033333 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.4894, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "STRIPES FUZZ ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Silvertone", - "dspUnitParameters": { - "volume": -17.195892, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "57dlx", - "gain": 0.433333, - "treb": 0.544444, - "mid": 0.898039, - "bass": 0.662745, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.5, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_BigFuzz", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -21.866667, - "gain": 0.377778, - "tone": 0.6667 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "SUPER DRYCLEAN", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "none", - "treb": 1, - "mid": 0.644444, - "volume": -3.196921, - "gateDetectorPosition": "jack", - "gain": 0.588889, - "gatePreset": "off", - "bass": 0.5 - }, - "FenderId": "DUBS_LinearGain", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "PostNoPreKill", - "outputLevel": 0.577778, - "sensitivity": 0.5, - "bypass": false - }, - "FenderId": "DUBS_Sustain", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "SUPER ROCK ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12m", - "presence": 0.5, - "treb": 0.633333, - "sag": "match", - "mid": 0.4, - "volume": -9.208964, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.5, - "gain": 0.99, - "gatePreset": "low", - "bass": 0.75 - }, - "FenderId": "DUBS_Jcm800", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "type": "medium", - "bypass": false - }, - "FenderId": "DUBS_SimpleCompressor", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.1, - "level": 0.322222, - "attenuate": 0.5, - "tapTimeBPM": 120, - "bypass": false, - "time": 0.547, - "brite": 0.5 - }, - "FenderId": "DUBS_MonoDelay", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "SURF MUSIC ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "59bman", - "presence": 0.62, - "treb": 0.566667, - "sag": "match", - "mid": 0.49, - "volume": -11.261283, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.4, - "gatePreset": "off", - "blend": 0.62, - "bass": 0.62 - }, - "FenderId": "DUBS_Bassman59", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.144444, - "level": 0.455556, - "attenuate": 0.5, - "tapTimeBPM": 120, - "bypass": false, - "time": 0.103647, - "brite": 0.977778 - }, - "FenderId": "DUBS_MonoDelay", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.844444, - "decay": 1, - "bypass": false, - "wetLvl": 0.8, - "dwell": 0.28889, - "diffuse": 1 - }, - "FenderId": "DUBS_Spring65", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "SWEEPINGFLANGER ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12v", - "presence": 0.5, - "treb": 0.721569, - "sag": "match", - "mid": 0.643137, - "volume": -3.416215, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 1, - "gain": 0.455556, - "gatePreset": "off", - "bass": 0.698039 - }, - "FenderId": "DUBS_DR103", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.333, - "gain": 0.233333, - "bypass": false, - "level": -30 - }, - "FenderId": "DUBS_Blackbox", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.711111, - "level": 1, - "depth": 1, - "tapTimeBPM": 120, - "rate": 0.099561, - "bypass": false, - "phase": 0.25 - }, - "FenderId": "DUBS_TriangleFlanger", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "TAME PSYCH ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "exlsr", - "treb": 0.288889, - "sag": "match", - "gateDetectorPosition": "jack", - "mid": 0.5, - "volume": -16.220806, - "bright": true, - "bias": 0.5, - "gain": 0.3, - "gatePreset": "off", - "bass": 0.5 - }, - "FenderId": "DUBS_Excelsior", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "PostNoPreKill", - "outputLevel": 0.5, - "sensitivity": 0.777778, - "bypass": false - }, - "FenderId": "DUBS_Sustain", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.6888, - "decay": 0.2444, - "level": 0.3111, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.0222 - }, - "FenderId": "DUBS_LargeHallReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 1, - "feedback": 0.388889, - "tapTimeBPM": 120, - "dlyTime": 0.225, - "bypass": false, - "wetLvl": 0.5, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.72, - "level": 0.99, - "depth": 1, - "shape": "sine", - "tapTimeBPM": 120, - "rate": 0.08, - "bypass": false - }, - "FenderId": "DUBS_Phaser", - "nodeType": "dspUnit", - "nodeId": "mod" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "TEEN SPIRIT ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Rect2", - "dspUnitParameters": { - "volume": -13.884403, - "gatePreset": "high", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v2", - "gain": 0.666667, - "treb": 0.666667, - "mid": 0.333333, - "bass": 0.111111, - "sag": "match", - "bias": 0.5, - "master": 0.380392, - "presence": 0.392157 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Overdrive", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.411111, - "gain": 0.7, - "low": 0.666667, - "mid": 0.444444, - "high": 0.444444 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.471335, - "rateHz": 0.158058, - "tapTimeBPM": 120, - "noteDivision": "off", - "depth": 0.444444, - "lrPhase": 0.5, - "avgDelay": 0.22 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "THE BOYSARE BACK", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Phaser", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.188889, - "rate": 0.189933, - "tapTimeBPM": 11.395989, - "noteDivision": "off", - "depth": 0.555556, - "feedback": 0.72, - "shape": "sine" - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Plexi87", - "dspUnitParameters": { - "volume": -9.867807, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g2", - "gain": 0.5, - "treb": 0.333333, - "mid": 0.722222, - "bass": 0.611111, - "sag": "match", - "bias": 0.5, - "presence": 0.5, - "blend": 0.5 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.1675, - "decay": 0.222222, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.644444 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "THRASH OVERKILL", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12frd", - "presence": 0.5, - "treb": 0.785082, - "sag": "match", - "mid": 0.188889, - "volume": -13.988875, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.5, - "gain": 0.77273, - "gatePreset": "super", - "bass": 0.078254 - }, - "FenderId": "DUBS_MetalEvh3", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "attenuation": -120, - "hysteresis": 2.5, - "gateDetectorPosition": "jack", - "bypass": false, - "threshold": -65.555557 - }, - "FenderId": "DUBS_ChromeGate", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "TOOL ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Rect2", - "dspUnitParameters": { - "volume": -13.884403, - "gatePreset": "high", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v2", - "gain": 0.611111, - "treb": 0.633333, - "mid": 0.811111, - "bass": 0.522222, - "sag": "match", - "bias": 0.5, - "master": 0.380392, - "presence": 0.392157 - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.5, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "TOOL TWO ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Rect2", - "dspUnitParameters": { - "volume": -13.884403, - "gatePreset": "high", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v2", - "gain": 0.995855, - "treb": 0.626504, - "mid": 0.205355, - "bass": 0.996652, - "sag": "match", - "bias": 0.5, - "master": 0.380392, - "presence": 0.392157 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Greenbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -12, - "gain": 0.733333, - "tone": 0.455556, - "blend": 0.3 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.1342, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "TORTUREDTELE ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "65prince", - "treb": 1, - "sag": "match", - "mid": 1, - "volume": -19.317455, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 1, - "gatePreset": "off", - "bass": 0.144444 - }, - "FenderId": "DUBS_Princeton65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "highmid": 4.5, - "lowmid": 0, - "mid": 3, - "high": 0, - "low": 0, - "bypass": false, - "gain": 0 - }, - "FenderId": "DUBS_MustangFiveBandEq1", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 1, - "decay": 1, - "bypass": false, - "wetLvl": 0.6, - "dwell": 0.28889, - "diffuse": 1 - }, - "FenderId": "DUBS_Spring65", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "TOUCH WAH ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "57dlx", - "treb": 0.844444, - "sag": "match", - "mid": 0.5, - "volume": -9.208964, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.722222, - "gatePreset": "off", - "bass": 0.5 - }, - "FenderId": "DUBS_Deluxe57", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "level": 0.811111, - "q": 0.5, - "thresh": 0.5, - "mode": "High Up", - "bypass": false, - "type": "Band Pass" - }, - "FenderId": "DUBS_EcFilter", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.5, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "VASOLEEN ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Champ57", - "dspUnitParameters": { - "volume": -14.413998, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "57champ", - "gain": 0.855556, - "treb": 0.633333, - "mid": 0.322222, - "bass": 0.822222, - "sag": "match", - "bias": 0.5 - } - }, - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Greenbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -12, - "gain": 0.588889, - "tone": 0.611111, - "blend": 1 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post" - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.9445, - "decay": 0.766667, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "VH BROWNSOUND ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "4x12m", - "presence": 0.5, - "treb": 0.6, - "sag": "match", - "mid": 0.233333, - "volume": -12.380827, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.5, - "gain": 0.99, - "gatePreset": "low", - "bass": 0.644444 - }, - "FenderId": "DUBS_Jcm800", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.333, - "gain": 0.333333, - "bypass": false, - "level": -26.799999 - }, - "FenderId": "DUBS_Blackbox", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.633333, - "decay": 0.277778, - "level": 0.1675, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.0222 - }, - "FenderId": "DUBS_LargeHallReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0.72, - "level": 0.355556, - "depth": 0.133333, - "shape": "sine", - "tapTimeBPM": 120, - "rate": 0.106745, - "bypass": false - }, - "FenderId": "DUBS_Phaser", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "feedback": 0, - "level": 0.144444, - "attenuate": 0.5, - "tapTimeBPM": 120, - "bypass": false, - "time": 0.354, - "brite": 0.5 - }, - "FenderId": "DUBS_MonoDelay", - "nodeType": "dspUnit", - "nodeId": "delay" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "nodeType": "preset", - "nodeId": "preset", - "version": "1.1", - "numInputs": 2, - "numOutputs": 2, - "info": { - "displayName": "VIBRA DOOM ", - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "author": "", - "source_id": "", - "timestamp": 1510855005, - "created_at": 0, - "product_id": "mustang-lt", - "is_factory_default": true, - "bpm": 0 - }, - "audioGraph": { - "nodes": [ - { - "nodeId": "stomp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Greenbox", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": -6, - "gain": 0.288889, - "tone": 0.144444, - "blend": 1 - } - }, - { - "nodeId": "mod", - "nodeType": "dspUnit", - "FenderId": "DUBS_Vibratone", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.960000, - "rotor": 5.048129, - "tapTimeBPM": 302.887726, - "noteDivision": "off", - "depth": 0.277778, - "feedback": 0.680000, - "phase": 0.520000 - } - }, - { - "nodeId": "amp", - "nodeType": "dspUnit", - "FenderId": "DUBS_Or120", - "dspUnitParameters": { - "volume": -7.073740, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m2", - "gain": 0.500000, - "treb": 0.588889, - "mid": 0.611111, - "bass": 0.666667, - "sag": "match", - "bias": 0.500000, - "master": 0.498039 - } - }, - { - "nodeId": "delay", - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre" - } - }, - { - "nodeId": "reverb", - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "dspUnitParameters": { - "bypass": false, - "bypassType": "Pre", - "level": 0.167500, - "decay": 0.277778, - "dwell": 0.500000, - "diffuse": 0.022200, - "tone": 0.633333 - } - } - ], - "connections": [ - { - "input": { - "nodeId": "preset", - "index": 0 - }, - "output": { - "nodeId": "stomp", - "index": 0 - } - }, - { - "input": { - "nodeId": "preset", - "index": 1 - }, - "output": { - "nodeId": "stomp", - "index": 1 - } - }, - { - "input": { - "nodeId": "amp", - "index": 0 - }, - "output": { - "nodeId": "delay", - "index": 0 - } - }, - { - "input": { - "nodeId": "amp", - "index": 1 - }, - "output": { - "nodeId": "delay", - "index": 1 - } - }, - { - "input": { - "nodeId": "delay", - "index": 0 - }, - "output": { - "nodeId": "reverb", - "index": 0 - } - }, - { - "input": { - "nodeId": "delay", - "index": 1 - }, - "output": { - "nodeId": "reverb", - "index": 1 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 0 - }, - "output": { - "nodeId": "preset", - "index": 0 - } - }, - { - "input": { - "nodeId": "reverb", - "index": 1 - }, - "output": { - "nodeId": "preset", - "index": 1 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 0 - }, - "output": { - "nodeId": "mod", - "index": 0 - } - }, - { - "input": { - "nodeId": "stomp", - "index": 1 - }, - "output": { - "nodeId": "mod", - "index": 1 - } - }, - { - "input": { - "nodeId": "mod", - "index": 0 - }, - "output": { - "nodeId": "amp", - "index": 0 - } - }, - { - "input": { - "nodeId": "mod", - "index": 1 - }, - "output": { - "nodeId": "amp", - "index": 1 - } - } - ] - } - }, - { - "info": { - "displayName": "VINTAGE TREMOLO ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "cabsimType": "65dlx", - "treb": 0.560784, - "sag": "match", - "mid": 0.913726, - "volume": -15.295096, - "gateDetectorPosition": "jack", - "bias": 0.5, - "gain": 0.447059, - "gatePreset": "off", - "bass": 0.227451 - }, - "FenderId": "DUBS_Deluxe65", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "duty": 0.5, - "noteDivision": "off", - "bypassType": "Post", - "dist": 0, - "level": 0.78976, - "shape": 0, - "tapTimeBPM": 120, - "rate": 5.07, - "bypass": false - }, - "FenderId": "DUBS_SineTremolo", - "nodeType": "dspUnit", - "nodeId": "mod" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "reverb" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - }, - { - "info": { - "displayName": "YOU TOO ANTHEM ", - "product_id": "mustang-lt", - "author": "", - "timestamp": 1510855005, - "created_at": 0, - "bpm": 0, - "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", - "source_id": "", - "is_factory_default": true - }, - "nodeType": "preset", - "audioGraph": { - "connections": [ - { - "input": { - "index": 0, - "nodeId": "preset" - }, - "output": { - "index": 0, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 1, - "nodeId": "preset" - }, - "output": { - "index": 1, - "nodeId": "stomp" - } - }, - { - "input": { - "index": 0, - "nodeId": "stomp" - }, - "output": { - "index": 0, - "nodeId": "mod" - } - }, - { - "input": { - "index": 1, - "nodeId": "stomp" - }, - "output": { - "index": 1, - "nodeId": "mod" - } - }, - { - "input": { - "index": 0, - "nodeId": "mod" - }, - "output": { - "index": 0, - "nodeId": "amp" - } - }, - { - "input": { - "index": 1, - "nodeId": "mod" - }, - "output": { - "index": 1, - "nodeId": "amp" - } - }, - { - "input": { - "index": 0, - "nodeId": "amp" - }, - "output": { - "index": 0, - "nodeId": "delay" - } - }, - { - "input": { - "index": 1, - "nodeId": "amp" - }, - "output": { - "index": 1, - "nodeId": "delay" - } - }, - { - "input": { - "index": 0, - "nodeId": "delay" - }, - "output": { - "index": 0, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 1, - "nodeId": "delay" - }, - "output": { - "index": 1, - "nodeId": "reverb" - } - }, - { - "input": { - "index": 0, - "nodeId": "reverb" - }, - "output": { - "index": 0, - "nodeId": "preset" - } - }, - { - "input": { - "index": 1, - "nodeId": "reverb" - }, - "output": { - "index": 1, - "nodeId": "preset" - } - } - ], - "nodes": [ - { - "dspUnitParameters": { - "bright": true, - "cut": 0.5, - "cabsimType": "2x12c", - "treb": 0.677778, - "sag": "match", - "mid": 0.5, - "volume": -2.06803, - "gateDetectorPosition": "jack", - "bias": 0.5, - "master": 0.376471, - "gain": 0.333333, - "gatePreset": "off", - "bass": 0.511111 - }, - "FenderId": "DUBS_Ac30Tb", - "nodeType": "dspUnit", - "nodeId": "amp" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "type": "low", - "bypass": false - }, - "FenderId": "DUBS_SimpleCompressor", - "nodeType": "dspUnit", - "nodeId": "stomp" - }, - { - "dspUnitParameters": { - "noteDivision": "off", - "bypassType": "Post", - "wowLevel": 1, - "feedback": 0.466667, - "tapTimeBPM": 120, - "dlyTime": 0.35994, - "bypass": false, - "wetLvl": 0.889, - "stereoSpread": 0 - }, - "FenderId": "DUBS_TapeDelayLite", - "nodeType": "dspUnit", - "nodeId": "delay" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "tone": 0.5, - "decay": 0.5, - "level": 0.5, - "bypass": false, - "dwell": 0.5, - "diffuse": 0.5 - }, - "FenderId": "DUBS_SmallRoomReverb", - "nodeType": "dspUnit", - "nodeId": "reverb" - }, - { - "dspUnitParameters": { - "bypassType": "Post", - "bypass": false - }, - "FenderId": "DUBS_Passthru", - "nodeType": "dspUnit", - "nodeId": "mod" - } - ] - }, - "nodeId": "preset", - "version": "1.1", - "numOutputs": 2, - "numInputs": 2 - } +[ + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "60S FUZZ ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_VariFuzz", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.100000, + "gain": 1, + "tone": "normal" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Plexi87", + "dspUnitParameters": { + "volume": -8.539506, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g2", + "gain": 0.407227, + "treb": 0.422222, + "mid": 0.855556, + "bass": 0.983398, + "sag": "match", + "bias": 0.500000, + "presence": 0.500000, + "blend": 0.500000 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.156400, + "dlyTime": 0.315751, + "tapTimeBPM": 120, + "noteDivision": "off", + "feedback": 0.250000, + "stereoSpread": 0, + "wowLevel": 0.722222 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargePlate", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.344444, + "decay": 0.500000, + "dwell": 0.500000, + "diffuse": 0.500000, + "tone": 0.500000 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "ACOUSTICSIM ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "none", + "treb": 0.611111, + "mid": 0, + "volume": -2.06803, + "gateDetectorPosition": "jack", + "gain": 0.5, + "gatePreset": "off", + "bass": 0.322222 + }, + "FenderId": "DUBS_LinearGain", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.722222, + "decay": 0.2, + "level": 0.3562, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.0222 + }, + "FenderId": "DUBS_LargeHallReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "highmid": 0, + "lowmid": 2.5, + "mid": -12, + "high": 12, + "low": 12, + "bypass": false, + "gain": 0 + }, + "FenderId": "DUBS_MustangFiveBandEq1", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "ANGRY CHAMP ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "57champ", + "treb": 0.498039, + "sag": "match", + "mid": 0.5, + "volume": -12.935837, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.466667, + "gatePreset": "off", + "bass": 0.5 + }, + "FenderId": "DUBS_Champ57", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.333, + "gain": 0.388889, + "bypass": false, + "level": -30 + }, + "FenderId": "DUBS_Blackbox", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.5, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 0.5, + "feedback": 0.25, + "tapTimeBPM": 120, + "dlyTime": 0.4, + "bypass": false, + "wetLvl": 0.1453, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "BACK IN BLACK ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Plexi87", + "dspUnitParameters": { + "volume": -13.573416, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g2", + "gain": 0.188889, + "treb": 0.377778, + "mid": 0.788889, + "bass": 0.333333, + "sag": "match", + "bias": 0.5, + "presence": 0.5, + "blend": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_MustangFiveBandEq1", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "low": 12, + "lowmid": 12, + "mid": 12, + "highmid": 12, + "high": 12, + "gain": 0 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.5, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "BLACK DOG ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Ac30Tb", + "dspUnitParameters": { + "volume": -8.263186, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "2x12c", + "gain": 1, + "treb": 0.777778, + "mid": 0.711111, + "bass": 0.555556, + "sag": "match", + "bias": 0.5, + "master": 0.376471, + "cut": 0.5, + "bright": true + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.252829, + "rateHz": 0.106745, + "tapTimeBPM": 120, + "noteDivision": "off", + "depth": 0.966667, + "lrPhase": 0.5, + "avgDelay": 0.22 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.477778, + "time": 0.092, + "tapTimeBPM": 120, + "noteDivision": "off", + "feedback": 0, + "brite": 0.466667, + "attenuate": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.2785, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "type": "high" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "BLUES LEAD ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.666667, + "level": -12, + "gain": 0.69, + "bypass": false, + "blend": 0.844444 + }, + "FenderId": "DUBS_Greenbox", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": {}, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "cabsimType": "57dlx", + "treb": 0.72, + "sag": "match", + "mid": 0.5, + "volume": -8.573037, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.6, + "gatePreset": "off", + "bass": 0.5 + }, + "FenderId": "DUBS_Deluxe57", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": {}, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 1, + "decay": 1, + "level": 0.5, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "BLUES LEAD 2 ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "65dlx", + "treb": 0.560784, + "sag": "match", + "mid": 0.444444, + "volume": -12.380827, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.254883, + "gatePreset": "off", + "bass": 0.411111 + }, + "FenderId": "DUBS_Deluxe65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.722222, + "level": -8.4, + "gain": 0.533333, + "bypass": false, + "blend": 0.844444 + }, + "FenderId": "DUBS_Greenbox", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.4339, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "BRIGHT PRINCE ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "65prince", + "treb": 0.777778, + "sag": "match", + "mid": 0.233333, + "volume": -6.229831, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.311111, + "gatePreset": "off", + "bass": 0.144444 + }, + "FenderId": "DUBS_Princeton65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 1, + "decay": 0.388889, + "bypass": false, + "wetLvl": 0.6, + "dwell": 0.28889, + "diffuse": 1 + }, + "FenderId": "DUBS_Spring65", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "BRIT 64 RHYTHM ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Ac30Tb", + "dspUnitParameters": { + "volume": -0.799366, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "2x12c", + "gain": 0.322222, + "treb": 0.783447, + "mid": 0.633333, + "bass": 0.700000, + "sag": "match", + "bias": 0.500000, + "master": 0.376471, + "cut": 0.500000, + "bright": true + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargePlate", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.311111, + "decay": 0.500000, + "dwell": 0.500000, + "diffuse": 0.500000, + "tone": 0.500000 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "BROKEN DREAMS ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Jcm800", + "dspUnitParameters": { + "volume": -10.902829, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m", + "gain": 0.822222, + "treb": 0.5, + "mid": 0.5, + "bass": 0.5, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.5, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_SineTremolo", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 1, + "rate": 5.65, + "tapTimeBPM": 120, + "noteDivision": "off", + "duty": 0.5, + "dist": 0, + "shape": 0 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "CAMBODIAHOLIDAY ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin65", + "dspUnitParameters": { + "volume": -18.763546, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.337255, + "treb": 0.788889, + "mid": 0.533333, + "bass": 0.422222, + "sag": "match", + "bias": 0.5, + "bright": true + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Blackbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -30.833332, + "gain": 0.277778, + "tone": 0.333 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_SineTremolo", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.471335, + "rate": 4.2, + "tapTimeBPM": 120, + "noteDivision": "off", + "duty": 0.5, + "dist": 0, + "shape": 0 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.888889, + "decay": 1, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.788889 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "CHICAGO BLUES ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Bassman59", + "dspUnitParameters": { + "volume": -14.413998, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "59bman", + "gain": 0.555556, + "treb": 0.377778, + "mid": 0.490000, + "bass": 0.620000, + "sag": "match", + "bias": 0.500000, + "presence": 0.620000, + "blend": 0.620000 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.288889, + "time": 0.095000, + "tapTimeBPM": 631.578857, + "noteDivision": "off", + "feedback": 0.222222, + "brite": 0.500000, + "attenuate": 0.500000 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.311800, + "decay": 0.500000, + "dwell": 0.500000, + "diffuse": 0.500000, + "tone": 0.500000 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "CHOPPY DELUXE ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "65dlx", + "treb": 0.560784, + "sag": "match", + "mid": 0.611111, + "volume": -13.193704, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.447059, + "gatePreset": "off", + "bass": 0.227451 + }, + "FenderId": "DUBS_Deluxe65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "treble": 0.5, + "bypassType": "Post", + "outputLevel": 0.744444, + "gain": 0.222222, + "bypass": false + }, + "FenderId": "DUBS_MythicDrive", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "duty": 0.5, + "noteDivision": "off", + "bypassType": "Post", + "dist": 0, + "level": 0.770832, + "shape": 0, + "tapTimeBPM": 120, + "rate": 5.65, + "bypass": false + }, + "FenderId": "DUBS_SineTremolo", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 0.5, + "feedback": 0.25, + "tapTimeBPM": 120, + "dlyTime": 0.445371, + "bypass": false, + "wetLvl": 0.1786, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.54444, + "bypass": false, + "wetLvl": 0.5, + "dwell": 0.28889, + "diffuse": 1 + }, + "FenderId": "DUBS_Spring65", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "CLASSIC ROCK ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12g", + "presence": 0.5, + "treb": 1, + "sag": "match", + "mid": -4.400125, + "volume": -6.506824, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.766667, + "gatePreset": "low", + "blend": 0.5, + "bass": 0.466667 + }, + "FenderId": "DUBS_Plexi87", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.744444, + "decay": 0.677778, + "level": 0.166667, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_LargePlate", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "CLEAN DELAY ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "type": "super" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.833000, + "rateHz": 0.680000, + "tapTimeBPM": 120, + "noteDivision": "off", + "depth": 0.278000, + "lrPhase": 0.500000, + "avgDelay": 0.220000 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_DR103", + "dspUnitParameters": { + "volume": -2.068030, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v", + "gain": 0.300000, + "treb": 0.721569, + "mid": 0.643137, + "bass": 0.698039, + "sag": "match", + "bias": 0.500000, + "master": 1, + "presence": 0.500000 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.500500, + "dlyTime": 0.398236, + "tapTimeBPM": 120, + "noteDivision": "off", + "feedback": 0.111111, + "stereoSpread": 0, + "wowLevel": 0.033333 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.200800, + "decay": 0.500000, + "dwell": 0.500000, + "diffuse": 0.500000, + "tone": 0.500000 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "COUNTRY PICKING ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "65dlx", + "treb": 0.560784, + "sag": "match", + "mid": 0.744444, + "volume": -15.752095, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.254883, + "gatePreset": "off", + "bass": 0.344444 + }, + "FenderId": "DUBS_Deluxe65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "type": "medium", + "bypass": false + }, + "FenderId": "DUBS_SimpleCompressor", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 0.5, + "feedback": 0.211111, + "tapTimeBPM": 120, + "dlyTime": 0.138998, + "bypass": false, + "wetLvl": 0.1675, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "CROSS ROADS ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Jcm800", + "dspUnitParameters": { + "volume": -10.884403, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m", + "gain": 0.888889, + "treb": 0.777778, + "mid": 0.555556, + "bass": 0.555556, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargePlate", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.333333, + "decay": 0.277778, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.666667 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "DARK ANDCLEAN ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_MustangFiveBandEq1", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "low": 12, + "lowmid": 0, + "mid": 0, + "highmid": -9, + "high": -12, + "gain": 0 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_LinearGain", + "dspUnitParameters": { + "volume": 0, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "none", + "gain": 0.744444, + "treb": 0, + "mid": 0.5, + "bass": 0.666667 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "DESERT ROCK ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "57champ", + "treb": 0.766667, + "sag": "match", + "mid": 0.666667, + "volume": -7.691092, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.133333, + "gatePreset": "off", + "bass": 0.444444 + }, + "FenderId": "DUBS_Champ57", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": "loose", + "gain": 1, + "bypass": false, + "level": 0.063338 + }, + "FenderId": "DUBS_VariFuzz", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.566667, + "decay": 0.111111, + "bypass": false, + "wetLvl": 0.222222, + "dwell": 0.28889, + "diffuse": 1 + }, + "FenderId": "DUBS_Spring65", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "DIRTY VIBE ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Blackbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -30, + "gain": 0.077778, + "tone": 0.333 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Vibratone", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.96, + "rotor": 5.67, + "tapTimeBPM": 340.200012, + "noteDivision": "off", + "depth": 0.18, + "feedback": 0.944444, + "phase": 0.52 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin57", + "dspUnitParameters": { + "volume": -23.047628, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.5, + "treb": 0.7, + "mid": 0.72, + "bass": 0.62, + "sag": "match", + "bias": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.445, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.666667 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "DOOM ANDGLOOM ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12m2", + "treb": 0.67, + "sag": "match", + "mid": 0.313726, + "volume": -10.551273, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.498039, + "gain": 0.566162, + "gatePreset": "off", + "bass": 0.505882 + }, + "FenderId": "DUBS_Or120", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "level": 0.5, + "mid": 0.5, + "high": 0.5, + "low": 0.5, + "bypass": false, + "gain": 0.5 + }, + "FenderId": "DUBS_Overdrive", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 0.5, + "feedback": 0.25, + "tapTimeBPM": 120, + "dlyTime": 0.4, + "bypass": false, + "wetLvl": 0.2563, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.7, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_LargePlate", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "DREAMY ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "bright": true, + "cabsimType": "65twn", + "treb": 0.717647, + "sag": "match", + "mid": 0.780392, + "volume": -14.413998, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.337255, + "gatePreset": "off", + "bass": 0.662745 + }, + "FenderId": "DUBS_Twin65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "rotor": 1.07, + "bypassType": "Post", + "feedback": 0.68, + "noteDivision": "off", + "level": 0.96, + "tapTimeBPM": 120, + "depth": 0.18, + "bypass": false, + "phase": 0.52 + }, + "FenderId": "DUBS_Vibratone", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 0.5, + "feedback": 0.211111, + "tapTimeBPM": 120, + "dlyTime": 0.253888, + "bypass": false, + "wetLvl": 0.4672, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.833333, + "decay": 0.5, + "level": 0.433333, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_LargePlate", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "type": "high", + "bypass": false + }, + "FenderId": "DUBS_SimpleCompressor", + "nodeType": "dspUnit", + "nodeId": "stomp" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "DR DOUG VIBRATO", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "type": "medium" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Vibratone", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.40877, + "rotor": 2.950861, + "tapTimeBPM": 177.051666, + "noteDivision": "off", + "depth": 0.18, + "feedback": 0.233333, + "phase": 0.5 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_LinearGain", + "dspUnitParameters": { + "volume": -2.06803, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "none", + "gain": 0.555556, + "treb": 0.898238, + "mid": 0.438043, + "bass": 0.424895 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.577778, + "decay": 0.54444, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.5 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "EARLY ZZ ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "57dlx", + "treb": 0.655556, + "sag": "match", + "mid": 0.6, + "volume": -11.626897, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 1, + "gatePreset": "off", + "bass": 0.5 + }, + "FenderId": "DUBS_Deluxe57", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "treble": 0.5, + "bypassType": "Post", + "outputLevel": 0.577778, + "gain": 0.444444, + "bypass": false + }, + "FenderId": "DUBS_MythicDrive", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.388889, + "decay": 0.6, + "level": 0.4672, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "ELECTRICLOVE ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12m", + "presence": 0.5, + "treb": 0.622222, + "sag": "match", + "mid": 0.4, + "volume": -5.509386, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.5, + "gain": 0.99, + "gatePreset": "low", + "bass": 0.75 + }, + "FenderId": "DUBS_Jcm800", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "treble": 0.5, + "bypassType": "Post", + "outputLevel": 0.5, + "gain": 0.344444, + "bypass": false + }, + "FenderId": "DUBS_MythicDrive", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "lrPhase": 0.5, + "level": 0.833, + "rateHz": 0.68, + "tapTimeBPM": 120, + "depth": 0.155556, + "avgDelay": 0.22, + "bypass": false + }, + "FenderId": "DUBS_ChorusTriangle", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.211111, + "level": 0.7, + "attenuate": 0.5, + "tapTimeBPM": 120, + "bypass": false, + "time": 0.439479, + "brite": 0.5 + }, + "FenderId": "DUBS_MonoDelay", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.6888, + "decay": 0.2444, + "level": 0.3111, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.0222 + }, + "FenderId": "DUBS_LargeHallReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "ENTER SANDMAN ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Rect2", + "dspUnitParameters": { + "volume": -13.884403, + "gatePreset": "high", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v2", + "gain": 0.888889, + "treb": 0.888889, + "mid": 0.055556, + "bass": 0.455556, + "sag": "match", + "bias": 0.5, + "master": 0.380392, + "presence": 0.392157 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.5, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "EVERLONG ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Rect2", + "dspUnitParameters": { + "volume": -11.999981, + "gatePreset": "high", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v2", + "gain": 0.333333, + "treb": 0.666667, + "mid": 0.433333, + "bass": 0.322222, + "sag": "match", + "bias": 0.5, + "master": 0.380392, + "presence": 0.392157 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "FEAR THEREAPER ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Deluxe65", + "dspUnitParameters": { + "volume": -15.295096, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65dlx", + "gain": 0.333333, + "treb": 0.566667, + "mid": 0.777778, + "bass": 0.227451, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.3007, + "dlyTime": 0.1, + "tapTimeBPM": 599.999939, + "noteDivision": "off", + "feedback": 0, + "stereoSpread": 0, + "wowLevel": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargePlate", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.277778, + "decay": 0.444444, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "FENDER CLEAN ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "type": "medium" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin65", + "dspUnitParameters": { + "volume": -11.126740, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.337255, + "treb": 0.342816, + "mid": 0.500000, + "bass": 0.555556, + "sag": "match", + "bias": 0.500000, + "bright": true + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.500000, + "decay": 0.388889, + "dwell": 0.288890, + "diffuse": 1, + "tone": 1 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "GARAGE FUZZ ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_BigFuzz", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -24.711111, + "gain": 0.311111, + "tone": 0.566667 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Excelsior", + "dspUnitParameters": { + "volume": -16.220806, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "exlsr", + "gain": 0.233333, + "bright": true, + "sag": "match", + "bias": 0.500000, + "treb": 0.222222, + "mid": 0.500000, + "bass": 0.922222 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargePlate", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.122222, + "decay": 0.500000, + "dwell": 0.500000, + "diffuse": 0.500000, + "tone": 0.500000 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "GATED METAL ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12r", + "presence": 0.392157, + "treb": 0.511111, + "sag": "match", + "mid": 0.255556, + "volume": -10.206342, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.380392, + "gain": 0.733333, + "gatePreset": "super", + "bass": 0.564697 + }, + "FenderId": "DUBS_MetalRect2", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "attenuation": -120, + "hysteresis": 2.5, + "gateDetectorPosition": "jack", + "bypass": false, + "threshold": -46.444443 + }, + "FenderId": "DUBS_ChromeGate", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "GONNA BEMY GIRL ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Blackbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -20.933332, + "gain": 0.444444, + "tone": 0.711111 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin65", + "dspUnitParameters": { + "volume": -17.195896, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.3, + "treb": 0.722222, + "mid": 0.780392, + "bass": 0.722222, + "sag": "match", + "bias": 0.5, + "bright": true + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "HANDLE AROPE ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Overdrive", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.255556, + "gain": 0.91681, + "low": 0.5, + "mid": 0.311111, + "high": 0.7 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Excelsior", + "dspUnitParameters": { + "volume": -18.763546, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "exlsr", + "gain": 0.355556, + "bright": true, + "sag": "match", + "bias": 0.5, + "treb": 0.555556, + "mid": 0.255556, + "bass": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "HASH PIPE ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Rect2", + "dspUnitParameters": { + "volume": -13.884403, + "gatePreset": "high", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v2", + "gain": 0.777778, + "treb": 0.766667, + "mid": 0.466667, + "bass": 0.777778, + "sag": "match", + "bias": 0.5, + "master": 0.380392, + "presence": 0.392157 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "HEART BREAKER ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Plexi87", + "dspUnitParameters": { + "volume": -9.867807, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g2", + "gain": 0.5, + "treb": 0.322222, + "mid": 0.5, + "bass": 0.466667, + "sag": "match", + "bias": 0.5, + "presence": 0.5, + "blend": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_MustangFiveBandEq1", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "low": 0, + "lowmid": 7, + "mid": 10.5, + "highmid": -5.5, + "high": -3.5, + "gain": 0 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.556, + "decay": 0.2444, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.6888 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "HEAVY BLUES ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin57", + "dspUnitParameters": { + "volume": -17.703659, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.944444, + "treb": 0.388889, + "mid": 0.72, + "bass": 0.444444, + "sag": "match", + "bias": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Greenbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -13.5, + "gain": 0.933333, + "tone": 0.388889, + "blend": 1 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.3, + "decay": 0.577778, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.333333 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "HEAVY SHOEGAZE", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12v", + "presence": 0.5, + "treb": 0.721569, + "sag": "match", + "mid": 0.388889, + "volume": -3.909305, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 1, + "gain": 0.50708, + "gatePreset": "off", + "bass": 0.352734 + }, + "FenderId": "DUBS_DR103", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.6888, + "decay": 0.2444, + "level": 0.667, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.0222 + }, + "FenderId": "DUBS_LargeHallReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.6667, + "gain": 0.4444, + "bypass": false, + "level": -18 + }, + "FenderId": "DUBS_BigFuzz", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.72, + "level": 0.133333, + "depth": 0.022222, + "shape": "sine", + "tapTimeBPM": 120, + "rate": 0.376297, + "bypass": false + }, + "FenderId": "DUBS_Phaser", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.3, + "level": 0.1675, + "attenuate": 1, + "tapTimeBPM": 120, + "bypass": false, + "time": 0.313592, + "chase": 0.65 + }, + "FenderId": "DUBS_ReverseDelay", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "HERECOMEYOUR MAN", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.458346, + "rateHz": 0.68, + "tapTimeBPM": 40.799999, + "noteDivision": "off", + "depth": 0.311111, + "lrPhase": 0.5, + "avgDelay": 0.22 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin57", + "dspUnitParameters": { + "volume": -13.988875, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.222222, + "treb": 0.7, + "mid": 0.666667, + "bass": 0.733333, + "sag": "match", + "bias": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.445, + "dlyTime": 0.032, + "tapTimeBPM": 1875.000122, + "noteDivision": "off", + "feedback": 0.25, + "stereoSpread": 0, + "wowLevel": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.388889, + "decay": 0.666667, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.5 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "HER RHAPSODY", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "bright": true, + "cut": 0.5, + "cabsimType": "2x12c", + "treb": 0.655556, + "sag": "match", + "mid": 0.622222, + "volume": -2.736965, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.376471, + "gain": 0.433333, + "gatePreset": "off", + "bass": 0.377778 + }, + "FenderId": "DUBS_Ac30Tb", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.5, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.755556, + "gain": 0.377778, + "bypass": false, + "level": -21.866667 + }, + "FenderId": "DUBS_BigFuzz", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.433333, + "level": 0.71614, + "depth": 0.511111, + "tapTimeBPM": 120, + "rate": 0.269562, + "bypass": false, + "phase": 0.25 + }, + "FenderId": "DUBS_TriangleFlanger", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "IRON MAN ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_SuperSonic", + "dspUnitParameters": { + "volume": -14.818684, + "gatePreset": "mid", + "gateDetectorPosition": "jack", + "cabsimType": "1x12ss", + "gain": 0.588889, + "treb": 0.311111, + "mid": 0.5, + "bass": 0.777778, + "sag": "match", + "bias": 0.5, + "master": 0.360784, + "gain2": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Blackbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -27.9, + "gain": 0.311111, + "tone": 0.477778 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.8668, + "decay": 0.588889, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.411111 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "JAZZ AMP ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "none", + "treb": 0.5, + "mid": 0.5, + "volume": -2.06803, + "gateDetectorPosition": "jack", + "gain": 0.5, + "gatePreset": "off", + "bass": 0.5 + }, + "FenderId": "DUBS_LinearGain", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "type": "medium", + "bypass": false + }, + "FenderId": "DUBS_SimpleCompressor", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.2896, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "JUST ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Plexi87", + "dspUnitParameters": { + "volume": -11.999981, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g2", + "gain": 1, + "treb": 0.826519, + "mid": 0.742051, + "bass": 0.444444, + "sag": "match", + "bias": 0.5, + "presence": 0.5, + "blend": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Greenbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -19.5, + "gain": 0.69, + "tone": 0.555556, + "blend": 1 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "KELLS BELLS ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Phaser", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.333333, + "rate": 0.640873, + "tapTimeBPM": 38.452408, + "noteDivision": "off", + "depth": 0.688889, + "feedback": 0.72, + "shape": "sine" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Princeton65", + "dspUnitParameters": { + "volume": -11.712391, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65prince", + "gain": 0.337255, + "treb": 0.766667, + "mid": 0.839216, + "bass": 0.422222, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.556, + "decay": 0.322222, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.822222 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "KILL EM ALL ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Jcm800", + "dspUnitParameters": { + "volume": -10.884403, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m", + "gain": 0.666667, + "treb": 0.888889, + "mid": 0.111111, + "bass": 0.555556, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Blackbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -30, + "gain": 0.688889, + "tone": 0.333 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "LAST NIGHT ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Bassman59", + "dspUnitParameters": { + "volume": -16.701855, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "59bman", + "gain": 0.65, + "treb": 0.5, + "mid": 0.5, + "bass": 0.577778, + "sag": "match", + "bias": 0.5, + "presence": 0.62, + "blend": 0.62 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "type": "medium" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "LITTLE CHAMP ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "57champ", + "treb": 1, + "sag": "match", + "mid": 0.477778, + "volume": -15.295096, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.243137, + "gatePreset": "off", + "bass": 0 + }, + "FenderId": "DUBS_Champ57", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 0.5, + "feedback": 0.1, + "tapTimeBPM": 120, + "dlyTime": 0.157, + "bypass": false, + "wetLvl": 0.0898, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.112, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "type": "low", + "bypass": false + }, + "FenderId": "DUBS_SimpleCompressor", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "LUMPY ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Blackbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -27.9, + "gain": 0, + "tone": 0.522222 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Bassman59", + "dspUnitParameters": { + "volume": -14.403923, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "59bman", + "gain": 0.333333, + "treb": 0.566667, + "mid": 0.666667, + "bass": 0.355556, + "sag": "match", + "bias": 0.5, + "presence": 0.62, + "blend": 0.62 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "MALIBU POINT ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Deluxe65", + "dspUnitParameters": { + "volume": -9.867807, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65dlx", + "gain": 0.111111, + "treb": 0.677778, + "mid": 0.533333, + "bass": 0.333333, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 1, + "decay": 0.444444, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.777778 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_SineTremolo", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.752257, + "rate": 4.006667, + "tapTimeBPM": 120, + "noteDivision": "off", + "duty": 0.5, + "dist": 0, + "shape": 0 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "MAYBE GOT BLUE", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Ac30Tb", + "dspUnitParameters": { + "volume": 0, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "2x12c", + "gain": 0.488889, + "treb": 0.633333, + "mid": 0.422222, + "bass": 0.655556, + "sag": "match", + "bias": 0.5, + "master": 0.376471, + "cut": 0.5, + "bright": true + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_EcFilter", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.333333, + "mode": "High Up", + "type": "Band Pass", + "q": 0.533333, + "thresh": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.444444, + "time": 0.377991, + "tapTimeBPM": 158.734039, + "noteDivision": "off", + "feedback": 0.244444, + "brite": 0.777778, + "attenuate": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargePlate", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.255556, + "decay": 0.255556, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 1 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "METAL LEAD ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.458346, + "rateHz": 0.080000, + "tapTimeBPM": 4.800000, + "noteDivision": "off", + "depth": 1, + "lrPhase": 0.500000, + "avgDelay": 0.220000 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_MetalRect2", + "dspUnitParameters": { + "volume": -10.206342, + "gatePreset": "super", + "gateDetectorPosition": "jack", + "cabsimType": "4x12r", + "gain": 0.769145, + "treb": 0.602199, + "mid": 0.135629, + "bass": 0.857598, + "sag": "match", + "bias": 0.500000, + "master": 0.380392, + "presence": 0.392157 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.288889, + "time": 0.475195, + "tapTimeBPM": 126.263870, + "noteDivision": "off", + "feedback": 0.144444, + "brite": 0, + "attenuate": 0.500000 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "MODERN METAL ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12g2", + "presence": 0.5, + "treb": 0.733333, + "sag": "match", + "mid": 0.688889, + "volume": -15.752095, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.5, + "gain": 0.333333, + "gatePreset": "high", + "bass": 0.388889 + }, + "FenderId": "DUBS_Evh3", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "attenuation": -120, + "hysteresis": 2.5, + "gateDetectorPosition": "jack", + "bypass": false, + "threshold": -47.777779 + }, + "FenderId": "DUBS_ChromeGate", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "MORE BLUES ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin57", + "dspUnitParameters": { + "volume": -20.478304, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.555556, + "treb": 0.666667, + "mid": 0.466667, + "bass": 0.155556, + "sag": "match", + "bias": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Overdrive", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.5, + "gain": 0.5, + "low": 0.5, + "mid": 0.5, + "high": 0.5 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.067863, + "rateHz": 1.526731, + "tapTimeBPM": 91.603889, + "noteDivision": "off", + "depth": 0.288889, + "lrPhase": 0.5, + "avgDelay": 0.22 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.112, + "dlyTime": 0.3, + "tapTimeBPM": 199.999985, + "noteDivision": "off", + "feedback": 0.25, + "stereoSpread": 0, + "wowLevel": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.334, + "decay": 0.566667, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "MYTHIC CRUNCH ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12g2", + "presence": 0.5, + "treb": 1, + "sag": "match", + "mid": 1, + "volume": -9.867807, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 1, + "gatePreset": "low", + "blend": 0.5, + "bass": 0 + }, + "FenderId": "DUBS_Plexi87", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "treble": 0.777778, + "bypassType": "Post", + "outputLevel": 0.5, + "gain": 0.5, + "bypass": false + }, + "FenderId": "DUBS_MythicDrive", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "NICE FLANGER ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "type": "low" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_TriangleFlanger", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 1, + "rate": 0.106745, + "tapTimeBPM": 120, + "noteDivision": "off", + "depth": 0.666667, + "feedback": 0.777778, + "phase": 0.250000 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Princeton65", + "dspUnitParameters": { + "volume": -13.167182, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65prince", + "gain": 0.233333, + "treb": 1, + "mid": 0.839216, + "bass": 0.337255, + "sag": "match", + "bias": 0.500000 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.555556, + "time": 0.280000, + "tapTimeBPM": 120, + "noteDivision": "off", + "feedback": 0.133333, + "brite": 1, + "attenuate": 0.500000 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "OBSTACLEONE ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_SineTremolo", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.209897, + "rate": 6.133333, + "tapTimeBPM": 368, + "noteDivision": "off", + "duty": 0.5, + "dist": 0, + "shape": 0 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Deluxe65", + "dspUnitParameters": { + "volume": -11.999981, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65dlx", + "gain": 0.277778, + "treb": 0.5, + "mid": 0.722222, + "bass": 0.227451, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.1897, + "dlyTime": 0.139, + "tapTimeBPM": 431.654633, + "noteDivision": "off", + "feedback": 0.166667, + "stereoSpread": 0, + "wowLevel": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.166667, + "decay": 0.388889, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.777778 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "OCTOBOT ONE NOTE", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Octobot", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.500000, + "octdown": 1, + "octup": 1 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Jcm800", + "dspUnitParameters": { + "volume": -11.999981, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m", + "gain": 0.990000, + "treb": 0.670000, + "mid": 0.400000, + "bass": 0.750000, + "sag": "match", + "bias": 0.500000, + "master": 0.500000, + "presence": 0.500000 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 1, + "time": 0.439479, + "tapTimeBPM": 120, + "noteDivision": "off", + "feedback": 0.177778, + "brite": 0.500000, + "attenuate": 0.500000 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "OLD 15 SPEAKER ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "exlsr", + "treb": 0.3, + "sag": "match", + "gateDetectorPosition": "jack", + "mid": 0.5, + "volume": -22.370665, + "bright": true, + "bias": 0.5, + "gain": 1, + "gatePreset": "off", + "bass": 1 + }, + "FenderId": "DUBS_Excelsior", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "type": "low", + "bypass": false + }, + "FenderId": "DUBS_SimpleCompressor", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.1786, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 0.366667, + "feedback": 0.122222, + "tapTimeBPM": 120, + "dlyTime": 0.156, + "bypass": false, + "wetLvl": 0.1009, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "OVERCAST ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Bassman59", + "dspUnitParameters": { + "volume": -13.573416, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "59bman", + "gain": 0.444444, + "treb": 0.411111, + "mid": 0.666667, + "bass": 0.722222, + "sag": "match", + "bias": 0.5, + "presence": 0.62, + "blend": 0.62 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_VariFuzz", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.122822, + "gain": 0.3, + "tone": "loose" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Vibratone", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.78976, + "rotor": 5.37746, + "tapTimeBPM": 322.647552, + "noteDivision": "off", + "depth": 0.222222, + "feedback": 0.666667, + "phase": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.112, + "dlyTime": 0.317993, + "tapTimeBPM": 188.683304, + "noteDivision": "off", + "feedback": 0.355556, + "stereoSpread": 0, + "wowLevel": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.6, + "decay": 0.344444, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.5 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "PARANOIDANDROID ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Deluxe65", + "dspUnitParameters": { + "volume": -15.752095, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65dlx", + "gain": 0.447059, + "treb": 0.355556, + "mid": 0.455556, + "bass": 0.5, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Blackbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -30, + "gain": 0.8, + "tone": 0.666667 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Phaser", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.077778, + "rate": 0.201639, + "tapTimeBPM": 120, + "noteDivision": "off", + "depth": 0.033333, + "feedback": 0.72, + "shape": "sine" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.0454, + "decay": 0.1, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 1 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "PEACE SELLS ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Plexi87", + "dspUnitParameters": { + "volume": -11.999981, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g2", + "gain": 1, + "treb": 0.766667, + "mid": 1, + "bass": 0.588889, + "sag": "match", + "bias": 0.5, + "presence": 0.5, + "blend": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_MustangFiveBandEq1", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "low": 0, + "lowmid": 0, + "mid": 7.5, + "highmid": -1.5, + "high": 0, + "gain": 0 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.63158, + "rateHz": 0.08, + "tapTimeBPM": 4.8, + "noteDivision": "off", + "depth": 0.366667, + "lrPhase": 0.5, + "avgDelay": 0.22 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargePlate", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.311111, + "decay": 0.833333, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.477778 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "PHASER SWIRL ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "bright": true, + "cabsimType": "65twn", + "treb": 0.555556, + "sag": "match", + "mid": 0.5, + "volume": -14.849238, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.337255, + "gatePreset": "off", + "bass": 0.555556 + }, + "FenderId": "DUBS_Twin65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "type": "medium", + "bypass": false + }, + "FenderId": "DUBS_SimpleCompressor", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 1, + "decay": 0.388889, + "bypass": false, + "wetLvl": 0.5, + "dwell": 0.28889, + "diffuse": 1 + }, + "FenderId": "DUBS_Spring65", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.72, + "level": 0.99, + "depth": 0.99, + "shape": "sine", + "tapTimeBPM": 120, + "rate": 0.46695, + "bypass": false + }, + "FenderId": "DUBS_Phaser", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "PINK OF THE MOON", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_DR103", + "dspUnitParameters": { + "volume": -11.626897, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v", + "gain": 0.50708, + "treb": 0.721569, + "mid": 0.643137, + "bass": 0.698039, + "sag": "match", + "bias": 0.5, + "master": 1, + "presence": 0.5 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.261912, + "rateHz": 0.68, + "tapTimeBPM": 120, + "noteDivision": "off", + "depth": 0.278, + "lrPhase": 0.5, + "avgDelay": 0.22 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.2119, + "dlyTime": 0.417, + "tapTimeBPM": 120, + "noteDivision": "off", + "feedback": 0.322222, + "stereoSpread": 0, + "wowLevel": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_ArenaReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.244444, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_BigFuzz", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -18, + "gain": 0.377778, + "tone": 0.533333 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "POLICE THE AREA", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Princeton65", + "dspUnitParameters": { + "volume": -13.167182, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65prince", + "gain": 0.233333, + "treb": 1, + "mid": 0.839216, + "bass": 0.337255, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_TriangleFlanger", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 1, + "rate": 0.106745, + "tapTimeBPM": 120, + "noteDivision": "off", + "depth": 0.666667, + "feedback": 0.777778, + "phase": 0.25 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.555556, + "time": 0.28, + "tapTimeBPM": 120, + "noteDivision": "off", + "feedback": 0.133333, + "brite": 1, + "attenuate": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.5, + "decay": 0.54444, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "type": "low" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "POST PUNK ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "bright": true, + "cabsimType": "65twn", + "treb": 0.717647, + "sag": "match", + "mid": 0.780392, + "volume": -4.400125, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0, + "gatePreset": "off", + "bass": 0.662745 + }, + "FenderId": "DUBS_Twin65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.666667, + "level": -7.499999, + "gain": 0, + "bypass": false, + "blend": 1 + }, + "FenderId": "DUBS_Greenbox", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.6888, + "decay": 0.2444, + "level": 0.3111, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.0222 + }, + "FenderId": "DUBS_LargeHallReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.777778, + "level": 0.809048, + "depth": 0.666667, + "tapTimeBPM": 120, + "rate": 0.25462, + "bypass": false, + "phase": 0.25 + }, + "FenderId": "DUBS_TriangleFlanger", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.022222, + "level": 0.0454, + "attenuate": 1, + "tapTimeBPM": 120, + "bypass": false, + "time": 0.251878, + "chase": 0.65 + }, + "FenderId": "DUBS_ReverseDelay", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "POWER PUNCH ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Or120", + "dspUnitParameters": { + "volume": -10.206342, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m2", + "gain": 0.5, + "treb": 0.588889, + "mid": 0.611111, + "bass": 0.666667, + "sag": "match", + "bias": 0.5, + "master": 0.498039 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Greenbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -6, + "gain": 0.288889, + "tone": 0.144444, + "blend": 1 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.1675, + "decay": 0.277778, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.633333 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "PUMPKIN FUZZ ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_BigFuzz", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -25.777779, + "gain": 0.555556, + "tone": 0.288889 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Phaser", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.122222, + "rate": 0.122209, + "tapTimeBPM": 7.332527, + "noteDivision": "off", + "depth": 0.511111, + "feedback": 0.72, + "shape": "sine" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Jcm800", + "dspUnitParameters": { + "volume": -7.07374, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m", + "gain": 0.088889, + "treb": 0.666667, + "mid": 0.155556, + "bass": 0.666667, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "RAINING BLOOD ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Jcm800", + "dspUnitParameters": { + "volume": -11.626897, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m", + "gain": 0.688889, + "treb": 0.777778, + "mid": 0, + "bass": 0.955556, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_MythicDrive", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "outputLevel": 0.5, + "gain": 1, + "treble": 0.777778 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.666667, + "time": 0.072, + "tapTimeBPM": 120, + "noteDivision": "off", + "feedback": 0, + "brite": 0.5, + "attenuate": 0.5 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "REDBONE ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Overdrive", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.833333, + "gain": 0.161285, + "low": 0.333333, + "mid": 0.333333, + "high": 0.777778 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_EcFilter", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.722222, + "mode": "Low Up", + "type": "High Pass", + "q": 0.577778, + "thresh": 0.777778 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_LinearGain", + "dspUnitParameters": { + "volume": -1.004791, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "none", + "gain": 0.5, + "treb": 0.666667, + "mid": 0.388889, + "bass": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.333333, + "decay": 0.211111, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.633333 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "RICK MARYJANE", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin65", + "dspUnitParameters": { + "volume": -9.867807, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.222222, + "treb": 0.555556, + "mid": 0.266667, + "bass": 0.666667, + "sag": "match", + "bias": 0.5, + "bright": true + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.511111, + "decay": 0.5, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.655556 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "ROCKIN RHYTHM ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Bassman59", + "dspUnitParameters": { + "volume": -12.380827, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "59bman", + "gain": 0.466667, + "treb": 0.505882, + "mid": 0.777778, + "bass": 0.62, + "sag": "match", + "bias": 0.5, + "presence": 0.62, + "blend": 0.62 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.3111, + "decay": 0, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.6888 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "ROCK A BILLY ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "65twn", + "presence": 0.5, + "treb": 0.7, + "sag": "match", + "mid": 0.544444, + "volume": -12.769779, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.322222, + "gatePreset": "off", + "bass": 0.62 + }, + "FenderId": "DUBS_Twin57", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 0, + "feedback": 0.111111, + "tapTimeBPM": 120, + "dlyTime": 0.14489, + "bypass": false, + "wetLvl": 0.2341, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.5, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "ROCK STRUM ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Deluxe57", + "dspUnitParameters": { + "volume": -5.68811, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "57dlx", + "gain": 0.388889, + "treb": 0.72, + "mid": 0.5, + "bass": 0.5, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.3111, + "decay": 0.2444, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.6888 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "ROUND N ROUND ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Greenbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -13.5, + "gain": 0.666667, + "tone": 0.377778, + "blend": 1 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Jcm800", + "dspUnitParameters": { + "volume": -9.208964, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m", + "gain": 0.99, + "treb": 0.67, + "mid": 0.333333, + "bass": 0.555556, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.223, + "decay": 0.177778, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.555556 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "ROYAL MAJESTY ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Silvertone", + "dspUnitParameters": { + "volume": -23.047628, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "57dlx", + "gain": 1, + "treb": 0.67, + "mid": 0.898039, + "bass": 0.662745, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.5, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_MustangFiveBandEq1", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "low": 0, + "lowmid": 2.5, + "mid": 11.000001, + "highmid": 1.5, + "high": 0, + "gain": 0 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.5, + "dlyTime": 0.038, + "tapTimeBPM": 120, + "noteDivision": "off", + "feedback": 0.25, + "stereoSpread": 0, + "wowLevel": 0.5 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "SILKY SOLO ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "bypassType": "Post", + "level": 0.444444, + "mid": 0.5, + "high": 0.5, + "low": 0.5, + "bypass": false, + "gain": 0.653935 + }, + "FenderId": "DUBS_Overdrive", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": {}, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "gain2": 0.5, + "cabsimType": "1x12ss", + "treb": 0.722222, + "sag": "match", + "mid": 0.722222, + "volume": -14.849238, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.360784, + "gain": 0.333333, + "gatePreset": "mid", + "bass": 0.666667 + }, + "FenderId": "DUBS_SuperSonic", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 1, + "feedback": 0.044444, + "tapTimeBPM": 120, + "dlyTime": 0.18, + "bypass": false, + "wetLvl": 0.223, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 1, + "decay": 0.133333, + "bypass": false, + "wetLvl": 0.277778, + "dwell": 0.28889, + "diffuse": 1 + }, + "FenderId": "DUBS_Spring65", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "SKATE PUNK ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Rect2", + "dspUnitParameters": { + "volume": -12.769779, + "gatePreset": "high", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v2", + "gain": 0.600000, + "treb": 0.533333, + "mid": 0.200000, + "bass": 0.644444, + "sag": "match", + "bias": 0.500000, + "master": 0.380392, + "presence": 0.392157 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "SLOW SPIN ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "65twn", + "presence": 0.5, + "treb": 0.7, + "sag": "match", + "mid": 0.72, + "volume": -3.048052, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.25293, + "gatePreset": "off", + "bass": 0.266602 + }, + "FenderId": "DUBS_Twin57", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "PostNoPreKill", + "outputLevel": 0.5, + "sensitivity": 0.5, + "bypass": false + }, + "FenderId": "DUBS_Sustain", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "rotor": 0.67, + "bypassType": "Post", + "feedback": 0.68, + "noteDivision": "off", + "level": 1, + "tapTimeBPM": 120, + "depth": 0.433333, + "bypass": false, + "phase": 0.52 + }, + "FenderId": "DUBS_Vibratone", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.5, + "level": 0.0898, + "attenuate": 1, + "tapTimeBPM": 120, + "bypass": false, + "time": 0.4, + "chase": 0.65 + }, + "FenderId": "DUBS_ReverseDelay", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.54444, + "bypass": false, + "wetLvl": 0.5, + "dwell": 0.28889, + "diffuse": 1 + }, + "FenderId": "DUBS_Spring65", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "SOLO MIDBOOST", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_MustangFiveBandEq1", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "low": 0, + "lowmid": 2.500000, + "mid": 11.000001, + "highmid": 1.500000, + "high": 0, + "gain": 0 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Silvertone", + "dspUnitParameters": { + "volume": -18.225922, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "57dlx", + "gain": 1, + "treb": 0.670000, + "mid": 0.898039, + "bass": 0.662745, + "sag": "match", + "bias": 0.500000 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.500000, + "dlyTime": 0.060000, + "tapTimeBPM": 999.999939, + "noteDivision": "off", + "feedback": 0.250000, + "stereoSpread": 0, + "wowLevel": 0.500000 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.400600, + "decay": 0.500000, + "dwell": 0.500000, + "diffuse": 0.500000, + "tone": 0.500000 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "SONG 2 ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Plexi87", + "dspUnitParameters": { + "volume": -11.999981, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g2", + "gain": 0.377778, + "treb": 0.744444, + "mid": 0.722222, + "bass": 0.388889, + "sag": "match", + "bias": 0.5, + "presence": 0.5, + "blend": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_BigFuzz", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -21.866667, + "gain": 0.366667, + "tone": 0.222222 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "SOUR TIMES ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_MythicDrive", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "outputLevel": 0.611111, + "gain": 0.222222, + "treble": 0.766667 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Vibratone", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.78976, + "rotor": 5.24597, + "tapTimeBPM": 314.758179, + "noteDivision": "off", + "depth": 0.377778, + "feedback": 0.68, + "phase": 0.52 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Excelsior", + "dspUnitParameters": { + "volume": -14.413998, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "exlsr", + "gain": 0.333333, + "bright": true, + "sag": "match", + "bias": 0.5, + "treb": 0.611111, + "mid": 0.333333, + "bass": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.422222, + "decay": 0.422222, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.5 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "SPACE TRAVEL ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "65dlx", + "treb": 0.560784, + "sag": "match", + "mid": 0.913726, + "volume": -25.243275, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.447059, + "gatePreset": "off", + "bass": 0.227451 + }, + "FenderId": "DUBS_Deluxe65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "octup": 1, + "octdown": 1, + "bypassType": "Post", + "bypass": false, + "level": 0.5 + }, + "FenderId": "DUBS_Octobot", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.177778, + "level": 1, + "attenuate": 0.5, + "tapTimeBPM": 120, + "bypass": false, + "time": 0.404128, + "brite": 0.5 + }, + "FenderId": "DUBS_MonoDelay", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "level": 0.733333, + "tapTimeBPM": 120, + "rate": 5.07, + "hiFrq": 0.5, + "bypass": false, + "reson": 0.5, + "loFrq": 0.5 + }, + "FenderId": "DUBS_StepFilter", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.4, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_ArenaReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "SPARKLE DELAY ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "type": "super" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.833, + "rateHz": 0.68, + "tapTimeBPM": 120, + "noteDivision": "off", + "depth": 0.278, + "lrPhase": 0.5, + "avgDelay": 0.22 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin65", + "dspUnitParameters": { + "volume": -18.763546, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.337255, + "treb": 0.717647, + "mid": 0.780392, + "bass": 0.662745, + "sag": "match", + "bias": 0.5, + "bright": true + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "wetLvl": 0.4894, + "dlyTime": 0.405, + "tapTimeBPM": 148.148148, + "noteDivision": "off", + "feedback": 0.122222, + "stereoSpread": 0, + "wowLevel": 0.033333 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.4894, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "STRIPES FUZZ ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Silvertone", + "dspUnitParameters": { + "volume": -17.195892, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "57dlx", + "gain": 0.433333, + "treb": 0.544444, + "mid": 0.898039, + "bass": 0.662745, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.5, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_BigFuzz", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -21.866667, + "gain": 0.377778, + "tone": 0.6667 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "SUPER DRYCLEAN", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "none", + "treb": 1, + "mid": 0.644444, + "volume": -3.196921, + "gateDetectorPosition": "jack", + "gain": 0.588889, + "gatePreset": "off", + "bass": 0.5 + }, + "FenderId": "DUBS_LinearGain", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "PostNoPreKill", + "outputLevel": 0.577778, + "sensitivity": 0.5, + "bypass": false + }, + "FenderId": "DUBS_Sustain", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "SUPER ROCK ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12m", + "presence": 0.5, + "treb": 0.633333, + "sag": "match", + "mid": 0.4, + "volume": -9.208964, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.5, + "gain": 0.99, + "gatePreset": "low", + "bass": 0.75 + }, + "FenderId": "DUBS_Jcm800", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "type": "medium", + "bypass": false + }, + "FenderId": "DUBS_SimpleCompressor", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.1, + "level": 0.322222, + "attenuate": 0.5, + "tapTimeBPM": 120, + "bypass": false, + "time": 0.547, + "brite": 0.5 + }, + "FenderId": "DUBS_MonoDelay", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "SURF MUSIC ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "59bman", + "presence": 0.62, + "treb": 0.566667, + "sag": "match", + "mid": 0.49, + "volume": -11.261283, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.4, + "gatePreset": "off", + "blend": 0.62, + "bass": 0.62 + }, + "FenderId": "DUBS_Bassman59", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.144444, + "level": 0.455556, + "attenuate": 0.5, + "tapTimeBPM": 120, + "bypass": false, + "time": 0.103647, + "brite": 0.977778 + }, + "FenderId": "DUBS_MonoDelay", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.844444, + "decay": 1, + "bypass": false, + "wetLvl": 0.8, + "dwell": 0.28889, + "diffuse": 1 + }, + "FenderId": "DUBS_Spring65", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "SWEEPINGFLANGER ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12v", + "presence": 0.5, + "treb": 0.721569, + "sag": "match", + "mid": 0.643137, + "volume": -3.416215, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 1, + "gain": 0.455556, + "gatePreset": "off", + "bass": 0.698039 + }, + "FenderId": "DUBS_DR103", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.333, + "gain": 0.233333, + "bypass": false, + "level": -30 + }, + "FenderId": "DUBS_Blackbox", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.711111, + "level": 1, + "depth": 1, + "tapTimeBPM": 120, + "rate": 0.099561, + "bypass": false, + "phase": 0.25 + }, + "FenderId": "DUBS_TriangleFlanger", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "TAME PSYCH ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "exlsr", + "treb": 0.288889, + "sag": "match", + "gateDetectorPosition": "jack", + "mid": 0.5, + "volume": -16.220806, + "bright": true, + "bias": 0.5, + "gain": 0.3, + "gatePreset": "off", + "bass": 0.5 + }, + "FenderId": "DUBS_Excelsior", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "PostNoPreKill", + "outputLevel": 0.5, + "sensitivity": 0.777778, + "bypass": false + }, + "FenderId": "DUBS_Sustain", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.6888, + "decay": 0.2444, + "level": 0.3111, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.0222 + }, + "FenderId": "DUBS_LargeHallReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 1, + "feedback": 0.388889, + "tapTimeBPM": 120, + "dlyTime": 0.225, + "bypass": false, + "wetLvl": 0.5, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.72, + "level": 0.99, + "depth": 1, + "shape": "sine", + "tapTimeBPM": 120, + "rate": 0.08, + "bypass": false + }, + "FenderId": "DUBS_Phaser", + "nodeType": "dspUnit", + "nodeId": "mod" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "TEEN SPIRIT ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Rect2", + "dspUnitParameters": { + "volume": -13.884403, + "gatePreset": "high", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v2", + "gain": 0.666667, + "treb": 0.666667, + "mid": 0.333333, + "bass": 0.111111, + "sag": "match", + "bias": 0.5, + "master": 0.380392, + "presence": 0.392157 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Overdrive", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.411111, + "gain": 0.7, + "low": 0.666667, + "mid": 0.444444, + "high": 0.444444 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.471335, + "rateHz": 0.158058, + "tapTimeBPM": 120, + "noteDivision": "off", + "depth": 0.444444, + "lrPhase": 0.5, + "avgDelay": 0.22 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "THE BOYSARE BACK", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Phaser", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.188889, + "rate": 0.189933, + "tapTimeBPM": 11.395989, + "noteDivision": "off", + "depth": 0.555556, + "feedback": 0.72, + "shape": "sine" + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Plexi87", + "dspUnitParameters": { + "volume": -9.867807, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g2", + "gain": 0.5, + "treb": 0.333333, + "mid": 0.722222, + "bass": 0.611111, + "sag": "match", + "bias": 0.5, + "presence": 0.5, + "blend": 0.5 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.1675, + "decay": 0.222222, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.644444 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "THRASH OVERKILL", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12frd", + "presence": 0.5, + "treb": 0.785082, + "sag": "match", + "mid": 0.188889, + "volume": -13.988875, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.5, + "gain": 0.77273, + "gatePreset": "super", + "bass": 0.078254 + }, + "FenderId": "DUBS_MetalEvh3", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "attenuation": -120, + "hysteresis": 2.5, + "gateDetectorPosition": "jack", + "bypass": false, + "threshold": -65.555557 + }, + "FenderId": "DUBS_ChromeGate", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "TOOL ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Rect2", + "dspUnitParameters": { + "volume": -13.884403, + "gatePreset": "high", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v2", + "gain": 0.611111, + "treb": 0.633333, + "mid": 0.811111, + "bass": 0.522222, + "sag": "match", + "bias": 0.5, + "master": 0.380392, + "presence": 0.392157 + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.5, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "TOOL TWO ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Rect2", + "dspUnitParameters": { + "volume": -13.884403, + "gatePreset": "high", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v2", + "gain": 0.995855, + "treb": 0.626504, + "mid": 0.205355, + "bass": 0.996652, + "sag": "match", + "bias": 0.5, + "master": 0.380392, + "presence": 0.392157 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Greenbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -12, + "gain": 0.733333, + "tone": 0.455556, + "blend": 0.3 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.1342, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "TORTUREDTELE ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "65prince", + "treb": 1, + "sag": "match", + "mid": 1, + "volume": -19.317455, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 1, + "gatePreset": "off", + "bass": 0.144444 + }, + "FenderId": "DUBS_Princeton65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "highmid": 4.5, + "lowmid": 0, + "mid": 3, + "high": 0, + "low": 0, + "bypass": false, + "gain": 0 + }, + "FenderId": "DUBS_MustangFiveBandEq1", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 1, + "decay": 1, + "bypass": false, + "wetLvl": 0.6, + "dwell": 0.28889, + "diffuse": 1 + }, + "FenderId": "DUBS_Spring65", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "TOUCH WAH ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "57dlx", + "treb": 0.844444, + "sag": "match", + "mid": 0.5, + "volume": -9.208964, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.722222, + "gatePreset": "off", + "bass": 0.5 + }, + "FenderId": "DUBS_Deluxe57", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "level": 0.811111, + "q": 0.5, + "thresh": 0.5, + "mode": "High Up", + "bypass": false, + "type": "Band Pass" + }, + "FenderId": "DUBS_EcFilter", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.5, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "VASOLEEN ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Champ57", + "dspUnitParameters": { + "volume": -14.413998, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "57champ", + "gain": 0.855556, + "treb": 0.633333, + "mid": 0.322222, + "bass": 0.822222, + "sag": "match", + "bias": 0.5 + } + }, + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Greenbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -12, + "gain": 0.588889, + "tone": 0.611111, + "blend": 1 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post" + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.9445, + "decay": 0.766667, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "VH BROWNSOUND ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "4x12m", + "presence": 0.5, + "treb": 0.6, + "sag": "match", + "mid": 0.233333, + "volume": -12.380827, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.5, + "gain": 0.99, + "gatePreset": "low", + "bass": 0.644444 + }, + "FenderId": "DUBS_Jcm800", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.333, + "gain": 0.333333, + "bypass": false, + "level": -26.799999 + }, + "FenderId": "DUBS_Blackbox", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.633333, + "decay": 0.277778, + "level": 0.1675, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.0222 + }, + "FenderId": "DUBS_LargeHallReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0.72, + "level": 0.355556, + "depth": 0.133333, + "shape": "sine", + "tapTimeBPM": 120, + "rate": 0.106745, + "bypass": false + }, + "FenderId": "DUBS_Phaser", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "feedback": 0, + "level": 0.144444, + "attenuate": 0.5, + "tapTimeBPM": 120, + "bypass": false, + "time": 0.354, + "brite": 0.5 + }, + "FenderId": "DUBS_MonoDelay", + "nodeType": "dspUnit", + "nodeId": "delay" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "nodeType": "preset", + "nodeId": "preset", + "version": "1.1", + "numInputs": 2, + "numOutputs": 2, + "info": { + "displayName": "VIBRA DOOM ", + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "author": "", + "source_id": "", + "timestamp": 1510855005, + "created_at": 0, + "product_id": "mustang-lt", + "is_factory_default": true, + "bpm": 0 + }, + "audioGraph": { + "nodes": [ + { + "nodeId": "stomp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Greenbox", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": -6, + "gain": 0.288889, + "tone": 0.144444, + "blend": 1 + } + }, + { + "nodeId": "mod", + "nodeType": "dspUnit", + "FenderId": "DUBS_Vibratone", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.960000, + "rotor": 5.048129, + "tapTimeBPM": 302.887726, + "noteDivision": "off", + "depth": 0.277778, + "feedback": 0.680000, + "phase": 0.520000 + } + }, + { + "nodeId": "amp", + "nodeType": "dspUnit", + "FenderId": "DUBS_Or120", + "dspUnitParameters": { + "volume": -7.073740, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m2", + "gain": 0.500000, + "treb": 0.588889, + "mid": 0.611111, + "bass": 0.666667, + "sag": "match", + "bias": 0.500000, + "master": 0.498039 + } + }, + { + "nodeId": "delay", + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre" + } + }, + { + "nodeId": "reverb", + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "dspUnitParameters": { + "bypass": false, + "bypassType": "Pre", + "level": 0.167500, + "decay": 0.277778, + "dwell": 0.500000, + "diffuse": 0.022200, + "tone": 0.633333 + } + } + ], + "connections": [ + { + "input": { + "nodeId": "preset", + "index": 0 + }, + "output": { + "nodeId": "stomp", + "index": 0 + } + }, + { + "input": { + "nodeId": "preset", + "index": 1 + }, + "output": { + "nodeId": "stomp", + "index": 1 + } + }, + { + "input": { + "nodeId": "amp", + "index": 0 + }, + "output": { + "nodeId": "delay", + "index": 0 + } + }, + { + "input": { + "nodeId": "amp", + "index": 1 + }, + "output": { + "nodeId": "delay", + "index": 1 + } + }, + { + "input": { + "nodeId": "delay", + "index": 0 + }, + "output": { + "nodeId": "reverb", + "index": 0 + } + }, + { + "input": { + "nodeId": "delay", + "index": 1 + }, + "output": { + "nodeId": "reverb", + "index": 1 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 0 + }, + "output": { + "nodeId": "preset", + "index": 0 + } + }, + { + "input": { + "nodeId": "reverb", + "index": 1 + }, + "output": { + "nodeId": "preset", + "index": 1 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 0 + }, + "output": { + "nodeId": "mod", + "index": 0 + } + }, + { + "input": { + "nodeId": "stomp", + "index": 1 + }, + "output": { + "nodeId": "mod", + "index": 1 + } + }, + { + "input": { + "nodeId": "mod", + "index": 0 + }, + "output": { + "nodeId": "amp", + "index": 0 + } + }, + { + "input": { + "nodeId": "mod", + "index": 1 + }, + "output": { + "nodeId": "amp", + "index": 1 + } + } + ] + } + }, + { + "info": { + "displayName": "VINTAGE TREMOLO ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "cabsimType": "65dlx", + "treb": 0.560784, + "sag": "match", + "mid": 0.913726, + "volume": -15.295096, + "gateDetectorPosition": "jack", + "bias": 0.5, + "gain": 0.447059, + "gatePreset": "off", + "bass": 0.227451 + }, + "FenderId": "DUBS_Deluxe65", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "duty": 0.5, + "noteDivision": "off", + "bypassType": "Post", + "dist": 0, + "level": 0.78976, + "shape": 0, + "tapTimeBPM": 120, + "rate": 5.07, + "bypass": false + }, + "FenderId": "DUBS_SineTremolo", + "nodeType": "dspUnit", + "nodeId": "mod" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "reverb" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + }, + { + "info": { + "displayName": "YOU TOO ANTHEM ", + "product_id": "mustang-lt", + "author": "", + "timestamp": 1510855005, + "created_at": 0, + "bpm": 0, + "preset_id": "82701e3e-caf7-11e7-b721-171e6c7d3090", + "source_id": "", + "is_factory_default": true + }, + "nodeType": "preset", + "audioGraph": { + "connections": [ + { + "input": { + "index": 0, + "nodeId": "preset" + }, + "output": { + "index": 0, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 1, + "nodeId": "preset" + }, + "output": { + "index": 1, + "nodeId": "stomp" + } + }, + { + "input": { + "index": 0, + "nodeId": "stomp" + }, + "output": { + "index": 0, + "nodeId": "mod" + } + }, + { + "input": { + "index": 1, + "nodeId": "stomp" + }, + "output": { + "index": 1, + "nodeId": "mod" + } + }, + { + "input": { + "index": 0, + "nodeId": "mod" + }, + "output": { + "index": 0, + "nodeId": "amp" + } + }, + { + "input": { + "index": 1, + "nodeId": "mod" + }, + "output": { + "index": 1, + "nodeId": "amp" + } + }, + { + "input": { + "index": 0, + "nodeId": "amp" + }, + "output": { + "index": 0, + "nodeId": "delay" + } + }, + { + "input": { + "index": 1, + "nodeId": "amp" + }, + "output": { + "index": 1, + "nodeId": "delay" + } + }, + { + "input": { + "index": 0, + "nodeId": "delay" + }, + "output": { + "index": 0, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 1, + "nodeId": "delay" + }, + "output": { + "index": 1, + "nodeId": "reverb" + } + }, + { + "input": { + "index": 0, + "nodeId": "reverb" + }, + "output": { + "index": 0, + "nodeId": "preset" + } + }, + { + "input": { + "index": 1, + "nodeId": "reverb" + }, + "output": { + "index": 1, + "nodeId": "preset" + } + } + ], + "nodes": [ + { + "dspUnitParameters": { + "bright": true, + "cut": 0.5, + "cabsimType": "2x12c", + "treb": 0.677778, + "sag": "match", + "mid": 0.5, + "volume": -2.06803, + "gateDetectorPosition": "jack", + "bias": 0.5, + "master": 0.376471, + "gain": 0.333333, + "gatePreset": "off", + "bass": 0.511111 + }, + "FenderId": "DUBS_Ac30Tb", + "nodeType": "dspUnit", + "nodeId": "amp" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "type": "low", + "bypass": false + }, + "FenderId": "DUBS_SimpleCompressor", + "nodeType": "dspUnit", + "nodeId": "stomp" + }, + { + "dspUnitParameters": { + "noteDivision": "off", + "bypassType": "Post", + "wowLevel": 1, + "feedback": 0.466667, + "tapTimeBPM": 120, + "dlyTime": 0.35994, + "bypass": false, + "wetLvl": 0.889, + "stereoSpread": 0 + }, + "FenderId": "DUBS_TapeDelayLite", + "nodeType": "dspUnit", + "nodeId": "delay" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "tone": 0.5, + "decay": 0.5, + "level": 0.5, + "bypass": false, + "dwell": 0.5, + "diffuse": 0.5 + }, + "FenderId": "DUBS_SmallRoomReverb", + "nodeType": "dspUnit", + "nodeId": "reverb" + }, + { + "dspUnitParameters": { + "bypassType": "Post", + "bypass": false + }, + "FenderId": "DUBS_Passthru", + "nodeType": "dspUnit", + "nodeId": "mod" + } + ] + }, + "nodeId": "preset", + "version": "1.1", + "numOutputs": 2, + "numInputs": 2 + } ] \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Lib/JsonDefinitions/mustang/dsp_units.json b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/mustang/dsp_units.json similarity index 96% rename from LtDotNet/LtDotNet.Lib/JsonDefinitions/mustang/dsp_units.json rename to LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/mustang/dsp_units.json index 6a722de..dfe7d15 100644 --- a/LtDotNet/LtDotNet.Lib/JsonDefinitions/mustang/dsp_units.json +++ b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/mustang/dsp_units.json @@ -1,5597 +1,5597 @@ -[ - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Ac30Tb", - "defaultDspUnitParameters": { - "volume": -1.170975, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "2x12c", - "gain": 0.565918, - "treb": 0.783447, - "mid": 0.5, - "bass": 0.7, - "sag": "match", - "bias": 0.5, - "master": 0.376471, - "cut": 0.5, - "bright": true - }, - "info": { - "displayName": "60S UK CLEAN", - "audioGuiObjectNameMinimized": "60S UK CLEAN", - "audioGuiObjectNameMaximized": "60S UK CLEAN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "displayType": "knob", - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_ArenaReverb", - "defaultDspUnitParameters": { - "bypass": false, - "level": 1, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - }, - "info": { - "displayName": "ARENA", - "audioGuiObjectNameMinimized": "ARENA", - "audioGuiObjectNameMaximized": "ARENA", - "category": "effect", - "subcategory": "reverb" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DECAY", - "paramGuiObjectNameMaximized": "DECAY", - "displayType": "knob", - "controlId": "decay", - "displayName": "DECAY", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "TONE", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Bassman59", - "defaultDspUnitParameters": { - "volume": -14.403923, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "59bman", - "gain": 0.65, - "treb": 0.505882, - "mid": 0.49, - "bass": 0.62, - "sag": "match", - "bias": 0.5, - "presence": 0.62, - "blend": 0.62 - }, - "info": { - "displayName": "BASSMAN", - "audioGuiObjectNameMinimized": "BASSMAN", - "audioGuiObjectNameMaximized": "BASSMAN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_BigFuzz", - "defaultDspUnitParameters": { - "bypass": false, - "level": -18, - "tone": 0.6667, - "gain": 0.4444 - }, - "info": { - "displayName": "BIG FUZZ", - "audioGuiObjectNameMinimized": "BIG FUZZ", - "audioGuiObjectNameMaximized": "BIG FUZZ", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "Level", - "units": "dB", - "min": -40, - "max": -8, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "Tone", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SUSTAIN", - "paramGuiObjectNameMaximized": "SUSTAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "Gain", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Blackbox", - "defaultDspUnitParameters": { - "bypass": false, - "level": -30, - "gain": 0.5, - "tone": 0.333 - }, - "info": { - "displayName": "ROCK DIRT", - "audioGuiObjectNameMinimized": "ROCK DIRT", - "audioGuiObjectNameMaximized": "ROCK DIRT", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "units": "dB", - "min": -40, - "max": -7, - "taper": "t50", - "numTicks": 91, - "remap": { - "units": "", - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DISTORT", - "paramGuiObjectNameMaximized": "DISTORT", - "displayType": "knob", - "controlId": "gain", - "displayName": "DISTORT", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FILTER", - "paramGuiObjectNameMaximized": "FILTER", - "displayType": "knob", - "controlId": "tone", - "displayName": "FILTER", - "min": 0, - "max": 1, - "numTicks": 91, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Champ57", - "defaultDspUnitParameters": { - "volume": -11.884403, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "57champ", - "gain": 0.243137, - "treb": 0.498039, - "mid": 0.5, - "bass": 0.5, - "sag": "match", - "bias": 0.5 - }, - "info": { - "displayName": "CHAMPION", - "audioGuiObjectNameMinimized": "CHAMPION", - "audioGuiObjectNameMaximized": "CHAMPION", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.833, - "rateHz": 0.68, - "depth": 0.278, - "avgDelay": 0.22, - "lrPhase": 0.5 - }, - "info": { - "displayName": "CHORUS", - "audioGuiObjectNameMinimized": "CHORUS", - "audioGuiObjectNameMaximized": "CHORUS", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "hasTap": false, - "tapParameter": "rateHz", - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t30", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rateHz", - "displayName": "SPEED", - "units": "Hz", - "min": 0.08, - "max": 10, - "numTicks": 91, - "taper": "t10", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10i", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DEPTH", - "paramGuiObjectNameMaximized": "DEPTH", - "displayType": "knob", - "controlId": "depth", - "displayName": "DEPTH", - "min": 0, - "max": 1, - "numTicks": 91, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_ChromeGate", - "defaultDspUnitParameters": { - "bypass": false, - "threshold": -55, - "hysteresis": 2.5, - "attenuation": -120, - "gateDetectorPosition": "jack" - }, - "info": { - "displayName": "METAL GATE", - "audioGuiObjectNameMinimized": "METAL GATE", - "audioGuiObjectNameMaximized": "METAL GATE", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "THRESH", - "paramGuiObjectNameMaximized": "THRESH", - "displayType": "knob", - "controlId": "threshold", - "displayName": "THRESH", - "units": "dB", - "numTicks": 91, - "min": -70, - "max": -30, - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_DR103", - "defaultDspUnitParameters": { - "volume": -0.012894, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v", - "gain": 0.50708, - "treb": 0.721569, - "mid": 0.643137, - "bass": 0.698039, - "sag": "match", - "bias": 0.5, - "master": 1, - "presence": 0.5 - }, - "info": { - "displayName": "70S UK CLEAN", - "audioGuiObjectNameMinimized": "70S UK CLEAN", - "audioGuiObjectNameMaximized": "70S UK CLEAN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Deluxe57", - "defaultDspUnitParameters": { - "volume": -6.41317, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "57dlx", - "gain": 0.6, - "treb": 0.72, - "mid": 0.5, - "bass": 0.5, - "sag": "match", - "bias": 0.5 - }, - "info": { - "displayName": "DELUXE DIRT", - "audioGuiObjectNameMinimized": "DELUXE DIRT", - "audioGuiObjectNameMaximized": "DELUXE DIRT", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "units": "", - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Deluxe65", - "defaultDspUnitParameters": { - "volume": -13.167182, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65dlx", - "gain": 0.288889, - "treb": 0.5, - "mid": 0.333333, - "bass": 0.655556, - "sag": "match", - "bias": 0.5 - }, - "info": { - "displayName": "DELUXE CLN", - "audioGuiObjectNameMinimized": "DELUXE CLN", - "audioGuiObjectNameMaximized": "DELUXE CLN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "units": "", - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_EcFilter", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.7, - "mode": "High Up", - "type": "Band Pass", - "q": 0.5, - "thresh": 0.5 - }, - "info": { - "displayName": "TOUCH WAH", - "audioGuiObjectNameMinimized": "TOUCH WAH", - "audioGuiObjectNameMaximized": "TOUCH WAH", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "THRESH", - "paramGuiObjectNameMaximized": "THRESH", - "displayType": "knob", - "controlId": "thresh", - "displayName": "THRESH", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "list", - "paramGuiObjectNameMinimized": "MODE", - "paramGuiObjectNameMaximized": "MODE", - "displayType": "multi", - "controlId": "mode", - "displayName": "MODE", - "listItems": [ "Low Up", "Low Down", "High Up", "High Down" ], - "remap": { "listItems": [ "LO-UP", "LO-DOWN", "HI-UP", "HI-DOWN" ] }, - "remapMinimized": { "listItems": [ "LO-UP", "LO-DOWN", "HI-UP", "HI-DOWN" ] } - }, - { - "controlType": "list", - "paramGuiObjectNameMinimized": "FILTER", - "paramGuiObjectNameMaximized": "FILTER", - "displayType": "multi", - "controlId": "type", - "displayName": "FILTER", - "listItems": [ "Low Pass", "Band Pass", "High Pass" ], - "remap": { "listItems": [ "LPF", "BPF", "HPF" ] }, - "remapMinimized": { "listItems": [ "LPF", "BPF", "HPF" ] } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "PEAK", - "paramGuiObjectNameMaximized": "PEAK", - "displayType": "knob", - "controlId": "q", - "displayName": "PEAK", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Evh3", - "defaultDspUnitParameters": { - "volume": -13.884403, - "gatePreset": "high", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g2", - "gain": 0.505859, - "treb": 0.67, - "mid": 0.5, - "bass": 0.509033, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - }, - "info": { - "displayName": "METAL 2000", - "audioGuiObjectNameMinimized": "METAL 2000", - "audioGuiObjectNameMaximized": "METAL 2000", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Excelsior", - "defaultDspUnitParameters": { - "gain": 0.3, - "volume": -15, - "treb": 0.5, - "mid": 0.5, - "bass": 0.5, - "gatePreset": "off", - "bias": 0.5, - "bypass": false, - "cabsimType": "exlsr", - "bright": true, - "sag": "match" - }, - "info": { - "displayName": "EXCELSIOR", - "audioGuiObjectNameMinimized": "EXCELSIOR", - "audioGuiObjectNameMaximized": "EXCELSIOR", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Greenbox", - "defaultDspUnitParameters": { - "bypass": false, - "level": -12, - "gain": 0.69, - "tone": 0.54, - "blend": 1 - }, - "info": { - "displayName": "BLUES DRIVE", - "audioGuiObjectNameMinimized": "BLUES DRIVE", - "audioGuiObjectNameMaximized": "BLUES DRIVE", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "units": "dB", - "min": -27, - "max": 0, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "TONE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BLEND", - "paramGuiObjectNameMaximized": "BLEND", - "displayType": "knob", - "controlId": "blend", - "displayName": "BLEND", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Jcm800", - "defaultDspUnitParameters": { - "volume": -10.884403, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m", - "gain": 0.99, - "treb": 0.67, - "mid": 0.4, - "bass": 0.75, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - }, - "info": { - "displayName": "80S ROCK", - "audioGuiObjectNameMinimized": "80S ROCK", - "audioGuiObjectNameMaximized": "80S ROCK", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.3111, - "decay": 0.2444, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.6888 - }, - "info": { - "displayName": "LARGE HALL", - "audioGuiObjectNameMinimized": "LARGE HALL", - "audioGuiObjectNameMaximized": "LARGE HALL", - "category": "effect", - "subcategory": "reverb" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DECAY", - "paramGuiObjectNameMaximized": "DECAY", - "displayType": "knob", - "controlId": "decay", - "displayName": "DECAY", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "TONE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_LargePlate", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.7, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - }, - "info": { - "displayName": "PLATE", - "audioGuiObjectNameMinimized": "PLATE", - "audioGuiObjectNameMaximized": "PLATE", - "category": "effect", - "subcategory": "reverb" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DECAY", - "paramGuiObjectNameMaximized": "DECAY", - "displayType": "knob", - "controlId": "decay", - "displayName": "DECAY", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "TONE", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_LinearGain", - "defaultDspUnitParameters": { - "volume": 0, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "none", - "gain": 0.5, - "treb": 0.5, - "mid": 0.5, - "bass": 0.5 - }, - "info": { - "displayName": "SUPER CLEAN", - "audioGuiObjectNameMinimized": "SUPER CLEAN", - "audioGuiObjectNameMaximized": "SUPER CLEAN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_MetalEvh3", - "defaultDspUnitParameters": { - "volume": -15.884403, - "gatePreset": "super", - "gateDetectorPosition": "jack", - "cabsimType": "4x12frd", - "gain": 0.505859, - "treb": 0.67, - "mid": 0.5, - "bass": 0.509033, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - }, - "info": { - "displayName": "SUPER HEAVY", - "audioGuiObjectNameMinimized": "SUPER HEAVY", - "audioGuiObjectNameMaximized": "SUPER HEAVY", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "units": "", - "format": "%0.1f", - "min": 1, - "max": 10, - "taper": "t20ri" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_MetalRect2", - "defaultDspUnitParameters": { - "volume": -11.884403, - "gatePreset": "super", - "gateDetectorPosition": "jack", - "cabsimType": "4x12r", - "gain": 0.55, - "treb": 0.65, - "mid": 0.15, - "bass": 0.564697, - "sag": "match", - "bias": 0.5, - "master": 0.380392, - "presence": 0.392157 - }, - "info": { - "displayName": "ALT METAL", - "audioGuiObjectNameMinimized": "ALT METAL", - "audioGuiObjectNameMaximized": "ALT METAL", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "units": "", - "format": "%0.1f", - "min": 1, - "max": 10, - "taper": "t20ri" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 1, - "time": 0.4, - "feedback": 0.5, - "brite": 0.5, - "attenuate": 0.5 - }, - "info": { - "displayName": "DELAY", - "audioGuiObjectNameMinimized": "DELAY", - "audioGuiObjectNameMaximized": "DELAY", - "category": "effect", - "subcategory": "delay" - }, - "ui": { - "hasBypass": true, - "hasTap": true, - "tapParameter": "time", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TIME", - "paramGuiObjectNameMaximized": "TIME", - "displayType": "multi", - "controlId": "time", - "displayName": "TIME", - "units": "ms", - "min": 0.03, - "max": 1, - "numTicks": 971, - "taper": "t50", - "remap": { - "format": "%0.0f", - "min": 30, - "max": 1000, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "brite", - "displayName": "TONE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_MustangFiveBandEq1", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "low": 0, - "lowmid": 0, - "mid": 0, - "highmid": 0, - "high": 0, - "gain": 0 - }, - "info": { - "displayName": "5-BAND EQ", - "audioGuiObjectNameMinimized": "5-BAND EQ", - "audioGuiObjectNameMaximized": "5-BAND EQ", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LOW", - "paramGuiObjectNameMaximized": "LOW", - "displayType": "slider-vertical", - "controlId": "low", - "displayName": "LOW", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LOW MID", - "paramGuiObjectNameMaximized": "LOW MID", - "displayType": "slider-vertical", - "controlId": "lowmid", - "displayName": "LOW MID", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MID", - "paramGuiObjectNameMaximized": "MID", - "displayType": "slider-vertical", - "controlId": "mid", - "displayName": "MID", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "HIGH MID", - "paramGuiObjectNameMaximized": "HIGH MID", - "displayType": "slider-vertical", - "controlId": "highmid", - "displayName": "HIGH MID", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "HIGH", - "paramGuiObjectNameMaximized": "HIGH", - "displayType": "slider-vertical", - "controlId": "high", - "displayName": "HIGH", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - } - ] - } - }, - - { - "nodeType": "dspUnit", - "FenderId": "DUBS_MythicDrive", - "defaultDspUnitParameters": { - "bypass": false, - "outputLevel": 0.5, - "gain": 0.5, - "treble": 0.5 - }, - "info": { - "displayName": "MYTHIC DRIVE", - "audioGuiObjectNameMinimized": "MYTHIC DRIVE", - "audioGuiObjectNameMaximized": "MYTHIC DRIVE", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "outputLevel", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treble", - "displayName": "TREBLE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Octobot", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.5, - "octdown": 1, - "octup": 1 - }, - "info": { - "displayName": "OCTOBOT", - "audioGuiObjectNameMinimized": "OCTOBOT", - "audioGuiObjectNameMaximized": "OCTOBOT", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DIRECT", - "paramGuiObjectNameMaximized": "DIRECT", - "displayName": "DIRECT", - "controlId": "level", - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DOWN", - "paramGuiObjectNameMaximized": "DOWN", - "displayName": "DOWN", - "controlId": "octdown", - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SIZZLE", - "paramGuiObjectNameMaximized": "SIZZLE", - "displayName": "SIZZLE", - "controlId": "octup", - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Or120", - "defaultDspUnitParameters": { - "volume": -11.884403, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m2", - "gain": 0.566162, - "treb": 0.67, - "mid": 0.313726, - "bass": 0.505882, - "sag": "match", - "bias": 0.5, - "master": 0.498039 - }, - "info": { - "displayName": "DOOM METAL", - "audioGuiObjectNameMinimized": "DOOM METAL", - "audioGuiObjectNameMaximized": "DOOM METAL", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Overdrive", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.5, - "gain": 0.5, - "low": 0.5, - "mid": 0.5, - "high": 0.5 - }, - "info": { - "displayName": "OVERDRIVE", - "audioGuiObjectNameMinimized": "OVERDRIVE", - "audioGuiObjectNameMaximized": "OVERDRIVE", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t30r", - "remap": { - "min": 1, - "max": 10, - "taper": "t30ri", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LOW", - "paramGuiObjectNameMaximized": "LOW", - "displayType": "knob", - "controlId": "low", - "displayName": "LOW", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MID", - "paramGuiObjectNameMaximized": "MID", - "displayType": "knob", - "controlId": "mid", - "displayName": "MID", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "HIGH", - "paramGuiObjectNameMaximized": "HIGH", - "displayType": "knob", - "controlId": "high", - "displayName": "HIGH", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "defaultDspUnitParameters": {}, - "info": { - "audioGuiObjectNameMinimized": "EMPTY", - "audioGuiObjectNameMaximized": "EMPTY", - "displayName": "EMPTY", - "category": "utility", - "subcategory": "utility" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "Left" - }, - { - "index": 1, - "displayName": "Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Left" - }, - { - "index": 1, - "displayName": "Right" - } - ], - "uiParameters": [] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Phaser", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.99, - "rate": 0.376297, - "depth": 0.99, - "feedback": 0.72, - "shape": "sine" - }, - "info": { - "displayName": "PHASER", - "audioGuiObjectNameMinimized": "PHASER", - "audioGuiObjectNameMaximized": "PHASER", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "tapParameter": "rate", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "Level", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rate", - "displayName": "SPEED", - "units": "Hz", - "min": 0.08, - "max": 10, - "numTicks": 91, - "taper": "t10", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10i", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DEPTH", - "paramGuiObjectNameMaximized": "DEPTH", - "displayType": "knob", - "controlId": "depth", - "displayName": "DEPTH", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Plexi87", - "defaultDspUnitParameters": { - "volume": -9.208964, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g2", - "gain": 0.877778, - "treb": 0.788889, - "mid": 0.777778, - "bass": 0.144444, - "sag": "match", - "bias": 0.5, - "presence": 0.5, - "blend": 0.5 - }, - "info": { - "displayName": "70S ROCK", - "audioGuiObjectNameMinimized": "70S ROCK", - "audioGuiObjectNameMaximized": "70S ROCK", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "Bass", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Princeton65", - "defaultDspUnitParameters": { - "volume": -8.263186, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65prince", - "gain": 0.322222, - "treb": 0.555556, - "mid": 0.122222, - "bass": 0, - "sag": "match", - "bias": 0.5 - }, - "info": { - "displayName": "PRINCETON", - "audioGuiObjectNameMinimized": "PRINCETON", - "audioGuiObjectNameMaximized": "PRINCETON", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Rect2", - "defaultDspUnitParameters": { - "volume": -13.884403, - "gatePreset": "high", - "gateDetectorPosition": "jack", - "cabsimType": "4x12v2", - "gain": 0.55, - "treb": 0.65, - "mid": 0.15, - "bass": 0.564697, - "sag": "match", - "bias": 0.5, - "master": 0.380392, - "presence": 0.392157 - }, - "info": { - "displayName": "90S ROCK", - "audioGuiObjectNameMinimized": "90S ROCK", - "audioGuiObjectNameMaximized": "90S ROCK", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_ReverseDelay", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.75, - "time": 0.4, - "feedback": 0.3, - "attenuate": 1, - "chase": 0.65 - }, - "info": { - "displayName": "REVERSE", - "audioGuiObjectNameMinimized": "REVERSE", - "audioGuiObjectNameMaximized": "REVERSE", - "category": "effect", - "subcategory": "delay" - }, - "ui": { - "hasBypass": true, - "hasTap": true, - "tapParameter": "time", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "numTicks": 91, - "remap": { - "taper": "t50", - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TIME", - "paramGuiObjectNameMaximized": "TIME", - "displayType": "multi", - "controlId": "time", - "displayName": "TIME", - "units": "ms", - "min": 0.03, - "max": 1, - "numTicks": 971, - "remap": { - "units": "ms", - "format": "%0.0f", - "min": 30, - "max": 1000 - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Silvertone", - "defaultDspUnitParameters": { - "volume": -15.827492, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "57dlx", - "gain": 0.569336, - "treb": 0.67, - "mid": 0.898039, - "bass": 0.662745, - "sag": "match", - "bias": 0.5 - }, - "info": { - "displayName": "SMALLTONE", - "audioGuiObjectNameMinimized": "SMALLTONE", - "audioGuiObjectNameMaximized": "SMALLTONE", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "defaultDspUnitParameters": { - "bypass": false, - "type": "medium" - }, - "info": { - "displayName": "COMPRESSOR", - "audioGuiObjectNameMinimized": "COMPRESSOR", - "audioGuiObjectNameMaximized": "COMPRESSOR", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "list", - "paramGuiObjectNameMinimized": "TYPE", - "paramGuiObjectNameMaximized": "TYPE", - "controlId": "type", - "displayName": "TYPE", - "displayType": "multi", - "listItems": [ "low", "medium", "high", "super" ], - "remap": { "listItems": [ "LOW", "MID", "HIGH", "MAX" ] }, - "remapMinimized": { "listItems": [ "LOW", "MID", "HIGH", "MAX" ] } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_SineTremolo", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.86, - "rate": 6.56, - "duty": 0.5, - "dist": 0, - "shape": 0 - }, - "info": { - "displayName": "TREMOLO", - "audioGuiObjectNameMinimized": "TREMOLO", - "audioGuiObjectNameMaximized": "TREMOLO", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "tapParameter": "rate", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t30", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rate", - "displayName": "SPEED", - "units": "Hz", - "min": 1.3, - "max": 10, - "numTicks": 91, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t50", - "units": "" - } - } - ] - } - }, - { - "fixme": "//FIXME: This file is an auto-generated stub, and someone needs to go through it", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.5, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - }, - "info": { - "displayName": "SMALL ROOM", - "audioGuiObjectNameMinimized": "SMALL ROOM", - "audioGuiObjectNameMaximized": "SMALL ROOM", - "category": "effect", - "subcategory": "reverb" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DECAY", - "paramGuiObjectNameMaximized": "DECAY", - "displayType": "knob", - "controlId": "decay", - "displayName": "DECAY", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "TONE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Spring65", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "wetLvl": 0.5, - "decay": 0.54444, - "dwell": 0.28889, - "diffuse": 1, - "tone": 0.5 - }, - "info": { - "displayName": "SPRING 65", - "audioGuiObjectNameMinimized": "SPRING 65", - "audioGuiObjectNameMaximized": "SPRING 65", - "category": "effect", - "subcategory": "reverb" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "wetLvl", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DECAY", - "paramGuiObjectNameMaximized": "DECAY", - "displayType": "knob", - "controlId": "decay", - "displayName": "DECAY", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "TONE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_StepFilter", - "defaultDspUnitParameters": { - "bypass": false, - "level": 1, - "rate": 5.07, - "reson": 0.5, - "loFrq": 0.5, - "hiFrq": 0.5 - }, - "info": { - "displayName": "STEP FILTER", - "audioGuiObjectNameMinimized": "STEP FILTER", - "audioGuiObjectNameMaximized": "STEP FILTER", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "hasTap": false, - "tapParameter": "rate", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rate", - "displayName": "SPEED", - "units": "Hz", - "min": 0.08, - "max": 10, - "numTicks": 91, - "taper": "t10", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10i", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "RESONATE", - "paramGuiObjectNameMaximized": "RESONATE", - "displayType": "knob", - "controlId": "reson", - "displayName": "RESONATE", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LOW FREQ", - "paramGuiObjectNameMaximized": "LOW FREQ", - "displayType": "knob", - "controlId": "loFrq", - "displayName": "LOW FREQ", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "HI FREQ", - "paramGuiObjectNameMaximized": "HI FREQ", - "displayType": "knob", - "controlId": "hiFrq", - "displayName": "HI FREQ", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_SuperSonic", - "defaultDspUnitParameters": { - "volume": -14.818684, - "gatePreset": "mid", - "gateDetectorPosition": "jack", - "cabsimType": "1x12ss", - "gain": 0.717647, - "treb": 0.67, - "mid": 0.647059, - "bass": 0.61, - "sag": "match", - "bias": 0.5, - "master": 0.360784, - "gain2": 0.5 - }, - "info": { - "displayName": "BURN", - "audioGuiObjectNameMinimized": "BURN", - "audioGuiObjectNameMaximized": "BURN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Sustain", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "PostNoPreKill", - "sensitivity": 0.5, - "outputLevel": 0.5 - }, - "info": { - "displayName": "Sustain", - "audioGuiObjectNameMinimized": "SUSTAIN", - "audioGuiObjectNameMaximized": "SUSTAIN", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SENSE", - "paramGuiObjectNameMaximized": "SENSE", - "displayType": "knob", - "controlId": "sensitivity", - "displayName": "SENSE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "outputLevel", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "wetLvl": 0.5, - "dlyTime": 0.4, - "feedback": 0.25, - "wowLevel": 0.5 - }, - "info": { - "displayName": "ECHO", - "audioGuiObjectNameMinimized": "ECHO", - "audioGuiObjectNameMaximized": "ECHO", - "category": "effect", - "subcategory": "delay" - }, - "ui": { - "hasBypass": true, - "hasTap": true, - "tapParameter": "dlyTime", - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "wetLvl", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TIME", - "paramGuiObjectNameMaximized": "TIME", - "displayType": "multi", - "controlId": "dlyTime", - "displayName": "TIME", - "units": "ms", - "min": 0.03, - "max": 1, - "numTicks": 971, - "taper": "t50", - "remap": { - "format": "%0.0f", - "min": 30, - "max": 1000, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "WOW", - "paramGuiObjectNameMaximized": "WOW", - "displayType": "knob", - "controlId": "wowLevel", - "displayName": "WOW", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_TriangleFlanger", - "defaultDspUnitParameters": { - "bypass": false, - "level": 1, - "rate": 0.269562, - "depth": 0.666667, - "feedback": 0.777778, - "phase": 0.25 - }, - "info": { - "displayName": "FLANGER", - "audioGuiObjectNameMinimized": "FLANGER", - "audioGuiObjectNameMaximized": "FLANGER", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "tapParameter": "rate", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t30", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f", - "taper": "t30i" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rate", - "displayName": "SPEED", - "units": "Hz", - "min": 0.08, - "max": 10, - "numTicks": 91, - "taper": "t10", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10i", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DEPTH", - "paramGuiObjectNameMaximized": "DEPTH", - "displayType": "knob", - "controlId": "depth", - "displayName": "DEPTH", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin57", - "defaultDspUnitParameters": { - "presence": 0.5, - "bias": 0.5, - "sag": "match", - "bypass": false, - "cabsimType": "65twn", - "gatePreset": "off", - "volume": -15, - "gain": 0.5, - "treb": 0.7, - "mid": 0.72, - "bass": 0.62 - }, - "info": { - "displayName": "50S TWIN", - "audioGuiObjectNameMinimized": "50S TWIN", - "audioGuiObjectNameMaximized": "50S TWIN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Twin65", - "defaultDspUnitParameters": { - "volume": -8.573037, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "65twn", - "gain": 0.211111, - "treb": 0.488889, - "mid": 0.377778, - "bass": 0.788889, - "sag": "match", - "bias": 0.5, - "bright": true - }, - "info": { - "displayName": "TWIN CLEAN", - "audioGuiObjectNameMinimized": "TWIN CLEAN", - "audioGuiObjectNameMaximized": "TWIN CLEAN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_VariFuzz", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.1, - "tone": "loose", - "gain": 1 - }, - "info": { - "displayName": "FUZZ", - "audioGuiObjectNameMinimized": "FUZZ", - "audioGuiObjectNameMaximized": "FUZZ", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "taper": "t30", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t30", - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "list", - "paramGuiObjectNameMinimized": "VARI", - "paramGuiObjectNameMaximized": "VARI", - "displayType": "multi", - "controlId": "tone", - "displayName": "VARI", - "listItems": [ "tight", "normal", "loose" ], - "remap": { "listItems": [ "TIGHT", "NORMAL", "LOOSE" ] }, - "remapMinimized": { "listItems": [ "TIGHT", "NORMAL", "LOOSE" ] } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Vibratone", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.96, - "rotor": 5.67, - "depth": 0.18, - "feedback": 0.68, - "phase": 0.52 - }, - "info": { - "displayName": "VIBRATONE", - "audioGuiObjectNameMinimized": "VIBRATONE", - "audioGuiObjectNameMaximized": "VIBRATONE", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "numTicks": 91, - "taper": "t30", - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rotor", - "displayName": "SPEED", - "units": "Hz", - "min": 0.67, - "max": 5.67, - "numTicks": 91, - "taper": "t10r", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10ri", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DEPTH", - "paramGuiObjectNameMaximized": "DEPTH", - "displayType": "knob", - "controlId": "depth", - "displayName": "DEPTH", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "PHASE", - "paramGuiObjectNameMaximized": "PHASE", - "displayType": "knob", - "controlId": "phase", - "displayName": "PHASE", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "Default", - "defaultDspUnitParameters": {}, - "info": { - "audioGuiObjectNameMinimized": "", - "audioGuiObjectNameMaximized": "", - "displayName": "unknown", - "category": "utility", - "subcategory": "utility" - }, - "ui": { - "inputs": [], - "outputs": [], - "uiParameters": [ - { - "controlId": "bypass", - "controlType": "listBool", - "displayType": "knob", - "displayName": "Bypass", - "paramGuiObjectNameMinimized": "Bypass", - "paramGuiObjectNameMaximized": "Bypass" - }, - { - "controlId": "bypassType", - "displayType": "multi", - "displayName": "Bypass Type", - "paramGuiObjectNameMinimized": "Bypass Type", - "paramGuiObjectNameMaximized": "Bypass Type", - "controlType": "list", - "listItems": [ "Pre", "Post" ] - }, - { - "controlId": "clipState", - "displayType": "knob", - "displayName": "Clip", - "paramGuiObjectNameMinimized": "Clip", - "paramGuiObjectNameMaximized": "Clip", - "controlType": "listBool" - }, - { - "controlId": "tapTime", - "displayType": "knob", - "displayName": "Tap", - "paramGuiObjectNameMinimized": "Tap", - "paramGuiObjectNameMaximized": "Tap", - "controlType": "continuous", - "min": 0, - "max": 1 - }, - { - "controlId": "muteInput", - "displayType": "multi", - "displayName": "Mute Input", - "paramGuiObjectNameMinimized": "Mute Input", - "paramGuiObjectNameMaximized": "Mute Input", - "controlType": "listBool" - }, - { - "controlId": "muteOutput", - "displayType": "multi", - "displayName": "Mute Output", - "paramGuiObjectNameMinimized": "Mute Output", - "paramGuiObjectNameMaximized": "Mute Output", - "controlType": "listBool" - } - ] - } - } +[ + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Ac30Tb", + "defaultDspUnitParameters": { + "volume": -1.170975, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "2x12c", + "gain": 0.565918, + "treb": 0.783447, + "mid": 0.5, + "bass": 0.7, + "sag": "match", + "bias": 0.5, + "master": 0.376471, + "cut": 0.5, + "bright": true + }, + "info": { + "displayName": "60S UK CLEAN", + "audioGuiObjectNameMinimized": "60S UK CLEAN", + "audioGuiObjectNameMaximized": "60S UK CLEAN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "displayType": "knob", + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_ArenaReverb", + "defaultDspUnitParameters": { + "bypass": false, + "level": 1, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + }, + "info": { + "displayName": "ARENA", + "audioGuiObjectNameMinimized": "ARENA", + "audioGuiObjectNameMaximized": "ARENA", + "category": "effect", + "subcategory": "reverb" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DECAY", + "paramGuiObjectNameMaximized": "DECAY", + "displayType": "knob", + "controlId": "decay", + "displayName": "DECAY", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "TONE", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Bassman59", + "defaultDspUnitParameters": { + "volume": -14.403923, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "59bman", + "gain": 0.65, + "treb": 0.505882, + "mid": 0.49, + "bass": 0.62, + "sag": "match", + "bias": 0.5, + "presence": 0.62, + "blend": 0.62 + }, + "info": { + "displayName": "BASSMAN", + "audioGuiObjectNameMinimized": "BASSMAN", + "audioGuiObjectNameMaximized": "BASSMAN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_BigFuzz", + "defaultDspUnitParameters": { + "bypass": false, + "level": -18, + "tone": 0.6667, + "gain": 0.4444 + }, + "info": { + "displayName": "BIG FUZZ", + "audioGuiObjectNameMinimized": "BIG FUZZ", + "audioGuiObjectNameMaximized": "BIG FUZZ", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "Level", + "units": "dB", + "min": -40, + "max": -8, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "Tone", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SUSTAIN", + "paramGuiObjectNameMaximized": "SUSTAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "Gain", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Blackbox", + "defaultDspUnitParameters": { + "bypass": false, + "level": -30, + "gain": 0.5, + "tone": 0.333 + }, + "info": { + "displayName": "ROCK DIRT", + "audioGuiObjectNameMinimized": "ROCK DIRT", + "audioGuiObjectNameMaximized": "ROCK DIRT", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "units": "dB", + "min": -40, + "max": -7, + "taper": "t50", + "numTicks": 91, + "remap": { + "units": "", + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DISTORT", + "paramGuiObjectNameMaximized": "DISTORT", + "displayType": "knob", + "controlId": "gain", + "displayName": "DISTORT", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FILTER", + "paramGuiObjectNameMaximized": "FILTER", + "displayType": "knob", + "controlId": "tone", + "displayName": "FILTER", + "min": 0, + "max": 1, + "numTicks": 91, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Champ57", + "defaultDspUnitParameters": { + "volume": -11.884403, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "57champ", + "gain": 0.243137, + "treb": 0.498039, + "mid": 0.5, + "bass": 0.5, + "sag": "match", + "bias": 0.5 + }, + "info": { + "displayName": "CHAMPION", + "audioGuiObjectNameMinimized": "CHAMPION", + "audioGuiObjectNameMaximized": "CHAMPION", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.833, + "rateHz": 0.68, + "depth": 0.278, + "avgDelay": 0.22, + "lrPhase": 0.5 + }, + "info": { + "displayName": "CHORUS", + "audioGuiObjectNameMinimized": "CHORUS", + "audioGuiObjectNameMaximized": "CHORUS", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "hasTap": false, + "tapParameter": "rateHz", + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t30", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rateHz", + "displayName": "SPEED", + "units": "Hz", + "min": 0.08, + "max": 10, + "numTicks": 91, + "taper": "t10", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10i", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DEPTH", + "paramGuiObjectNameMaximized": "DEPTH", + "displayType": "knob", + "controlId": "depth", + "displayName": "DEPTH", + "min": 0, + "max": 1, + "numTicks": 91, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_ChromeGate", + "defaultDspUnitParameters": { + "bypass": false, + "threshold": -55, + "hysteresis": 2.5, + "attenuation": -120, + "gateDetectorPosition": "jack" + }, + "info": { + "displayName": "METAL GATE", + "audioGuiObjectNameMinimized": "METAL GATE", + "audioGuiObjectNameMaximized": "METAL GATE", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "THRESH", + "paramGuiObjectNameMaximized": "THRESH", + "displayType": "knob", + "controlId": "threshold", + "displayName": "THRESH", + "units": "dB", + "numTicks": 91, + "min": -70, + "max": -30, + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_DR103", + "defaultDspUnitParameters": { + "volume": -0.012894, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v", + "gain": 0.50708, + "treb": 0.721569, + "mid": 0.643137, + "bass": 0.698039, + "sag": "match", + "bias": 0.5, + "master": 1, + "presence": 0.5 + }, + "info": { + "displayName": "70S UK CLEAN", + "audioGuiObjectNameMinimized": "70S UK CLEAN", + "audioGuiObjectNameMaximized": "70S UK CLEAN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Deluxe57", + "defaultDspUnitParameters": { + "volume": -6.41317, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "57dlx", + "gain": 0.6, + "treb": 0.72, + "mid": 0.5, + "bass": 0.5, + "sag": "match", + "bias": 0.5 + }, + "info": { + "displayName": "DELUXE DIRT", + "audioGuiObjectNameMinimized": "DELUXE DIRT", + "audioGuiObjectNameMaximized": "DELUXE DIRT", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "units": "", + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Deluxe65", + "defaultDspUnitParameters": { + "volume": -13.167182, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65dlx", + "gain": 0.288889, + "treb": 0.5, + "mid": 0.333333, + "bass": 0.655556, + "sag": "match", + "bias": 0.5 + }, + "info": { + "displayName": "DELUXE CLN", + "audioGuiObjectNameMinimized": "DELUXE CLN", + "audioGuiObjectNameMaximized": "DELUXE CLN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "units": "", + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_EcFilter", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.7, + "mode": "High Up", + "type": "Band Pass", + "q": 0.5, + "thresh": 0.5 + }, + "info": { + "displayName": "TOUCH WAH", + "audioGuiObjectNameMinimized": "TOUCH WAH", + "audioGuiObjectNameMaximized": "TOUCH WAH", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "THRESH", + "paramGuiObjectNameMaximized": "THRESH", + "displayType": "knob", + "controlId": "thresh", + "displayName": "THRESH", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "list", + "paramGuiObjectNameMinimized": "MODE", + "paramGuiObjectNameMaximized": "MODE", + "displayType": "multi", + "controlId": "mode", + "displayName": "MODE", + "listItems": [ "Low Up", "Low Down", "High Up", "High Down" ], + "remap": { "listItems": [ "LO-UP", "LO-DOWN", "HI-UP", "HI-DOWN" ] }, + "remapMinimized": { "listItems": [ "LO-UP", "LO-DOWN", "HI-UP", "HI-DOWN" ] } + }, + { + "controlType": "list", + "paramGuiObjectNameMinimized": "FILTER", + "paramGuiObjectNameMaximized": "FILTER", + "displayType": "multi", + "controlId": "type", + "displayName": "FILTER", + "listItems": [ "Low Pass", "Band Pass", "High Pass" ], + "remap": { "listItems": [ "LPF", "BPF", "HPF" ] }, + "remapMinimized": { "listItems": [ "LPF", "BPF", "HPF" ] } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "PEAK", + "paramGuiObjectNameMaximized": "PEAK", + "displayType": "knob", + "controlId": "q", + "displayName": "PEAK", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Evh3", + "defaultDspUnitParameters": { + "volume": -13.884403, + "gatePreset": "high", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g2", + "gain": 0.505859, + "treb": 0.67, + "mid": 0.5, + "bass": 0.509033, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + }, + "info": { + "displayName": "METAL 2000", + "audioGuiObjectNameMinimized": "METAL 2000", + "audioGuiObjectNameMaximized": "METAL 2000", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Excelsior", + "defaultDspUnitParameters": { + "gain": 0.3, + "volume": -15, + "treb": 0.5, + "mid": 0.5, + "bass": 0.5, + "gatePreset": "off", + "bias": 0.5, + "bypass": false, + "cabsimType": "exlsr", + "bright": true, + "sag": "match" + }, + "info": { + "displayName": "EXCELSIOR", + "audioGuiObjectNameMinimized": "EXCELSIOR", + "audioGuiObjectNameMaximized": "EXCELSIOR", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Greenbox", + "defaultDspUnitParameters": { + "bypass": false, + "level": -12, + "gain": 0.69, + "tone": 0.54, + "blend": 1 + }, + "info": { + "displayName": "BLUES DRIVE", + "audioGuiObjectNameMinimized": "BLUES DRIVE", + "audioGuiObjectNameMaximized": "BLUES DRIVE", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "units": "dB", + "min": -27, + "max": 0, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "TONE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BLEND", + "paramGuiObjectNameMaximized": "BLEND", + "displayType": "knob", + "controlId": "blend", + "displayName": "BLEND", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Jcm800", + "defaultDspUnitParameters": { + "volume": -10.884403, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m", + "gain": 0.99, + "treb": 0.67, + "mid": 0.4, + "bass": 0.75, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + }, + "info": { + "displayName": "80S ROCK", + "audioGuiObjectNameMinimized": "80S ROCK", + "audioGuiObjectNameMaximized": "80S ROCK", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.3111, + "decay": 0.2444, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.6888 + }, + "info": { + "displayName": "LARGE HALL", + "audioGuiObjectNameMinimized": "LARGE HALL", + "audioGuiObjectNameMaximized": "LARGE HALL", + "category": "effect", + "subcategory": "reverb" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DECAY", + "paramGuiObjectNameMaximized": "DECAY", + "displayType": "knob", + "controlId": "decay", + "displayName": "DECAY", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "TONE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_LargePlate", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.7, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + }, + "info": { + "displayName": "PLATE", + "audioGuiObjectNameMinimized": "PLATE", + "audioGuiObjectNameMaximized": "PLATE", + "category": "effect", + "subcategory": "reverb" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DECAY", + "paramGuiObjectNameMaximized": "DECAY", + "displayType": "knob", + "controlId": "decay", + "displayName": "DECAY", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "TONE", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_LinearGain", + "defaultDspUnitParameters": { + "volume": 0, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "none", + "gain": 0.5, + "treb": 0.5, + "mid": 0.5, + "bass": 0.5 + }, + "info": { + "displayName": "SUPER CLEAN", + "audioGuiObjectNameMinimized": "SUPER CLEAN", + "audioGuiObjectNameMaximized": "SUPER CLEAN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_MetalEvh3", + "defaultDspUnitParameters": { + "volume": -15.884403, + "gatePreset": "super", + "gateDetectorPosition": "jack", + "cabsimType": "4x12frd", + "gain": 0.505859, + "treb": 0.67, + "mid": 0.5, + "bass": 0.509033, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + }, + "info": { + "displayName": "SUPER HEAVY", + "audioGuiObjectNameMinimized": "SUPER HEAVY", + "audioGuiObjectNameMaximized": "SUPER HEAVY", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "units": "", + "format": "%0.1f", + "min": 1, + "max": 10, + "taper": "t20ri" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_MetalRect2", + "defaultDspUnitParameters": { + "volume": -11.884403, + "gatePreset": "super", + "gateDetectorPosition": "jack", + "cabsimType": "4x12r", + "gain": 0.55, + "treb": 0.65, + "mid": 0.15, + "bass": 0.564697, + "sag": "match", + "bias": 0.5, + "master": 0.380392, + "presence": 0.392157 + }, + "info": { + "displayName": "ALT METAL", + "audioGuiObjectNameMinimized": "ALT METAL", + "audioGuiObjectNameMaximized": "ALT METAL", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "units": "", + "format": "%0.1f", + "min": 1, + "max": 10, + "taper": "t20ri" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 1, + "time": 0.4, + "feedback": 0.5, + "brite": 0.5, + "attenuate": 0.5 + }, + "info": { + "displayName": "DELAY", + "audioGuiObjectNameMinimized": "DELAY", + "audioGuiObjectNameMaximized": "DELAY", + "category": "effect", + "subcategory": "delay" + }, + "ui": { + "hasBypass": true, + "hasTap": true, + "tapParameter": "time", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TIME", + "paramGuiObjectNameMaximized": "TIME", + "displayType": "multi", + "controlId": "time", + "displayName": "TIME", + "units": "ms", + "min": 0.03, + "max": 1, + "numTicks": 971, + "taper": "t50", + "remap": { + "format": "%0.0f", + "min": 30, + "max": 1000, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "brite", + "displayName": "TONE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_MustangFiveBandEq1", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "low": 0, + "lowmid": 0, + "mid": 0, + "highmid": 0, + "high": 0, + "gain": 0 + }, + "info": { + "displayName": "5-BAND EQ", + "audioGuiObjectNameMinimized": "5-BAND EQ", + "audioGuiObjectNameMaximized": "5-BAND EQ", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LOW", + "paramGuiObjectNameMaximized": "LOW", + "displayType": "slider-vertical", + "controlId": "low", + "displayName": "LOW", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LOW MID", + "paramGuiObjectNameMaximized": "LOW MID", + "displayType": "slider-vertical", + "controlId": "lowmid", + "displayName": "LOW MID", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MID", + "paramGuiObjectNameMaximized": "MID", + "displayType": "slider-vertical", + "controlId": "mid", + "displayName": "MID", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "HIGH MID", + "paramGuiObjectNameMaximized": "HIGH MID", + "displayType": "slider-vertical", + "controlId": "highmid", + "displayName": "HIGH MID", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "HIGH", + "paramGuiObjectNameMaximized": "HIGH", + "displayType": "slider-vertical", + "controlId": "high", + "displayName": "HIGH", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + } + ] + } + }, + + { + "nodeType": "dspUnit", + "FenderId": "DUBS_MythicDrive", + "defaultDspUnitParameters": { + "bypass": false, + "outputLevel": 0.5, + "gain": 0.5, + "treble": 0.5 + }, + "info": { + "displayName": "MYTHIC DRIVE", + "audioGuiObjectNameMinimized": "MYTHIC DRIVE", + "audioGuiObjectNameMaximized": "MYTHIC DRIVE", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "outputLevel", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treble", + "displayName": "TREBLE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Octobot", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.5, + "octdown": 1, + "octup": 1 + }, + "info": { + "displayName": "OCTOBOT", + "audioGuiObjectNameMinimized": "OCTOBOT", + "audioGuiObjectNameMaximized": "OCTOBOT", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DIRECT", + "paramGuiObjectNameMaximized": "DIRECT", + "displayName": "DIRECT", + "controlId": "level", + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DOWN", + "paramGuiObjectNameMaximized": "DOWN", + "displayName": "DOWN", + "controlId": "octdown", + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SIZZLE", + "paramGuiObjectNameMaximized": "SIZZLE", + "displayName": "SIZZLE", + "controlId": "octup", + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Or120", + "defaultDspUnitParameters": { + "volume": -11.884403, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m2", + "gain": 0.566162, + "treb": 0.67, + "mid": 0.313726, + "bass": 0.505882, + "sag": "match", + "bias": 0.5, + "master": 0.498039 + }, + "info": { + "displayName": "DOOM METAL", + "audioGuiObjectNameMinimized": "DOOM METAL", + "audioGuiObjectNameMaximized": "DOOM METAL", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Overdrive", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.5, + "gain": 0.5, + "low": 0.5, + "mid": 0.5, + "high": 0.5 + }, + "info": { + "displayName": "OVERDRIVE", + "audioGuiObjectNameMinimized": "OVERDRIVE", + "audioGuiObjectNameMaximized": "OVERDRIVE", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t30r", + "remap": { + "min": 1, + "max": 10, + "taper": "t30ri", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LOW", + "paramGuiObjectNameMaximized": "LOW", + "displayType": "knob", + "controlId": "low", + "displayName": "LOW", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MID", + "paramGuiObjectNameMaximized": "MID", + "displayType": "knob", + "controlId": "mid", + "displayName": "MID", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "HIGH", + "paramGuiObjectNameMaximized": "HIGH", + "displayType": "knob", + "controlId": "high", + "displayName": "HIGH", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "defaultDspUnitParameters": {}, + "info": { + "audioGuiObjectNameMinimized": "EMPTY", + "audioGuiObjectNameMaximized": "EMPTY", + "displayName": "EMPTY", + "category": "utility", + "subcategory": "utility" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "Left" + }, + { + "index": 1, + "displayName": "Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Left" + }, + { + "index": 1, + "displayName": "Right" + } + ], + "uiParameters": [] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Phaser", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.99, + "rate": 0.376297, + "depth": 0.99, + "feedback": 0.72, + "shape": "sine" + }, + "info": { + "displayName": "PHASER", + "audioGuiObjectNameMinimized": "PHASER", + "audioGuiObjectNameMaximized": "PHASER", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "tapParameter": "rate", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "Level", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rate", + "displayName": "SPEED", + "units": "Hz", + "min": 0.08, + "max": 10, + "numTicks": 91, + "taper": "t10", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10i", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DEPTH", + "paramGuiObjectNameMaximized": "DEPTH", + "displayType": "knob", + "controlId": "depth", + "displayName": "DEPTH", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Plexi87", + "defaultDspUnitParameters": { + "volume": -9.208964, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g2", + "gain": 0.877778, + "treb": 0.788889, + "mid": 0.777778, + "bass": 0.144444, + "sag": "match", + "bias": 0.5, + "presence": 0.5, + "blend": 0.5 + }, + "info": { + "displayName": "70S ROCK", + "audioGuiObjectNameMinimized": "70S ROCK", + "audioGuiObjectNameMaximized": "70S ROCK", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "Bass", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Princeton65", + "defaultDspUnitParameters": { + "volume": -8.263186, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65prince", + "gain": 0.322222, + "treb": 0.555556, + "mid": 0.122222, + "bass": 0, + "sag": "match", + "bias": 0.5 + }, + "info": { + "displayName": "PRINCETON", + "audioGuiObjectNameMinimized": "PRINCETON", + "audioGuiObjectNameMaximized": "PRINCETON", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Rect2", + "defaultDspUnitParameters": { + "volume": -13.884403, + "gatePreset": "high", + "gateDetectorPosition": "jack", + "cabsimType": "4x12v2", + "gain": 0.55, + "treb": 0.65, + "mid": 0.15, + "bass": 0.564697, + "sag": "match", + "bias": 0.5, + "master": 0.380392, + "presence": 0.392157 + }, + "info": { + "displayName": "90S ROCK", + "audioGuiObjectNameMinimized": "90S ROCK", + "audioGuiObjectNameMaximized": "90S ROCK", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_ReverseDelay", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.75, + "time": 0.4, + "feedback": 0.3, + "attenuate": 1, + "chase": 0.65 + }, + "info": { + "displayName": "REVERSE", + "audioGuiObjectNameMinimized": "REVERSE", + "audioGuiObjectNameMaximized": "REVERSE", + "category": "effect", + "subcategory": "delay" + }, + "ui": { + "hasBypass": true, + "hasTap": true, + "tapParameter": "time", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "numTicks": 91, + "remap": { + "taper": "t50", + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TIME", + "paramGuiObjectNameMaximized": "TIME", + "displayType": "multi", + "controlId": "time", + "displayName": "TIME", + "units": "ms", + "min": 0.03, + "max": 1, + "numTicks": 971, + "remap": { + "units": "ms", + "format": "%0.0f", + "min": 30, + "max": 1000 + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Silvertone", + "defaultDspUnitParameters": { + "volume": -15.827492, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "57dlx", + "gain": 0.569336, + "treb": 0.67, + "mid": 0.898039, + "bass": 0.662745, + "sag": "match", + "bias": 0.5 + }, + "info": { + "displayName": "SMALLTONE", + "audioGuiObjectNameMinimized": "SMALLTONE", + "audioGuiObjectNameMaximized": "SMALLTONE", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "defaultDspUnitParameters": { + "bypass": false, + "type": "medium" + }, + "info": { + "displayName": "COMPRESSOR", + "audioGuiObjectNameMinimized": "COMPRESSOR", + "audioGuiObjectNameMaximized": "COMPRESSOR", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "list", + "paramGuiObjectNameMinimized": "TYPE", + "paramGuiObjectNameMaximized": "TYPE", + "controlId": "type", + "displayName": "TYPE", + "displayType": "multi", + "listItems": [ "low", "medium", "high", "super" ], + "remap": { "listItems": [ "LOW", "MID", "HIGH", "MAX" ] }, + "remapMinimized": { "listItems": [ "LOW", "MID", "HIGH", "MAX" ] } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_SineTremolo", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.86, + "rate": 6.56, + "duty": 0.5, + "dist": 0, + "shape": 0 + }, + "info": { + "displayName": "TREMOLO", + "audioGuiObjectNameMinimized": "TREMOLO", + "audioGuiObjectNameMaximized": "TREMOLO", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "tapParameter": "rate", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t30", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rate", + "displayName": "SPEED", + "units": "Hz", + "min": 1.3, + "max": 10, + "numTicks": 91, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t50", + "units": "" + } + } + ] + } + }, + { + "fixme": "//FIXME: This file is an auto-generated stub, and someone needs to go through it", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.5, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + }, + "info": { + "displayName": "SMALL ROOM", + "audioGuiObjectNameMinimized": "SMALL ROOM", + "audioGuiObjectNameMaximized": "SMALL ROOM", + "category": "effect", + "subcategory": "reverb" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DECAY", + "paramGuiObjectNameMaximized": "DECAY", + "displayType": "knob", + "controlId": "decay", + "displayName": "DECAY", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "TONE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Spring65", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "wetLvl": 0.5, + "decay": 0.54444, + "dwell": 0.28889, + "diffuse": 1, + "tone": 0.5 + }, + "info": { + "displayName": "SPRING 65", + "audioGuiObjectNameMinimized": "SPRING 65", + "audioGuiObjectNameMaximized": "SPRING 65", + "category": "effect", + "subcategory": "reverb" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "wetLvl", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DECAY", + "paramGuiObjectNameMaximized": "DECAY", + "displayType": "knob", + "controlId": "decay", + "displayName": "DECAY", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "TONE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_StepFilter", + "defaultDspUnitParameters": { + "bypass": false, + "level": 1, + "rate": 5.07, + "reson": 0.5, + "loFrq": 0.5, + "hiFrq": 0.5 + }, + "info": { + "displayName": "STEP FILTER", + "audioGuiObjectNameMinimized": "STEP FILTER", + "audioGuiObjectNameMaximized": "STEP FILTER", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "hasTap": false, + "tapParameter": "rate", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rate", + "displayName": "SPEED", + "units": "Hz", + "min": 0.08, + "max": 10, + "numTicks": 91, + "taper": "t10", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10i", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "RESONATE", + "paramGuiObjectNameMaximized": "RESONATE", + "displayType": "knob", + "controlId": "reson", + "displayName": "RESONATE", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LOW FREQ", + "paramGuiObjectNameMaximized": "LOW FREQ", + "displayType": "knob", + "controlId": "loFrq", + "displayName": "LOW FREQ", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "HI FREQ", + "paramGuiObjectNameMaximized": "HI FREQ", + "displayType": "knob", + "controlId": "hiFrq", + "displayName": "HI FREQ", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_SuperSonic", + "defaultDspUnitParameters": { + "volume": -14.818684, + "gatePreset": "mid", + "gateDetectorPosition": "jack", + "cabsimType": "1x12ss", + "gain": 0.717647, + "treb": 0.67, + "mid": 0.647059, + "bass": 0.61, + "sag": "match", + "bias": 0.5, + "master": 0.360784, + "gain2": 0.5 + }, + "info": { + "displayName": "BURN", + "audioGuiObjectNameMinimized": "BURN", + "audioGuiObjectNameMaximized": "BURN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Sustain", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "PostNoPreKill", + "sensitivity": 0.5, + "outputLevel": 0.5 + }, + "info": { + "displayName": "Sustain", + "audioGuiObjectNameMinimized": "SUSTAIN", + "audioGuiObjectNameMaximized": "SUSTAIN", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SENSE", + "paramGuiObjectNameMaximized": "SENSE", + "displayType": "knob", + "controlId": "sensitivity", + "displayName": "SENSE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "outputLevel", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "wetLvl": 0.5, + "dlyTime": 0.4, + "feedback": 0.25, + "wowLevel": 0.5 + }, + "info": { + "displayName": "ECHO", + "audioGuiObjectNameMinimized": "ECHO", + "audioGuiObjectNameMaximized": "ECHO", + "category": "effect", + "subcategory": "delay" + }, + "ui": { + "hasBypass": true, + "hasTap": true, + "tapParameter": "dlyTime", + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "wetLvl", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TIME", + "paramGuiObjectNameMaximized": "TIME", + "displayType": "multi", + "controlId": "dlyTime", + "displayName": "TIME", + "units": "ms", + "min": 0.03, + "max": 1, + "numTicks": 971, + "taper": "t50", + "remap": { + "format": "%0.0f", + "min": 30, + "max": 1000, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "WOW", + "paramGuiObjectNameMaximized": "WOW", + "displayType": "knob", + "controlId": "wowLevel", + "displayName": "WOW", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_TriangleFlanger", + "defaultDspUnitParameters": { + "bypass": false, + "level": 1, + "rate": 0.269562, + "depth": 0.666667, + "feedback": 0.777778, + "phase": 0.25 + }, + "info": { + "displayName": "FLANGER", + "audioGuiObjectNameMinimized": "FLANGER", + "audioGuiObjectNameMaximized": "FLANGER", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "tapParameter": "rate", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t30", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f", + "taper": "t30i" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rate", + "displayName": "SPEED", + "units": "Hz", + "min": 0.08, + "max": 10, + "numTicks": 91, + "taper": "t10", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10i", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DEPTH", + "paramGuiObjectNameMaximized": "DEPTH", + "displayType": "knob", + "controlId": "depth", + "displayName": "DEPTH", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin57", + "defaultDspUnitParameters": { + "presence": 0.5, + "bias": 0.5, + "sag": "match", + "bypass": false, + "cabsimType": "65twn", + "gatePreset": "off", + "volume": -15, + "gain": 0.5, + "treb": 0.7, + "mid": 0.72, + "bass": 0.62 + }, + "info": { + "displayName": "50S TWIN", + "audioGuiObjectNameMinimized": "50S TWIN", + "audioGuiObjectNameMaximized": "50S TWIN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Twin65", + "defaultDspUnitParameters": { + "volume": -8.573037, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "65twn", + "gain": 0.211111, + "treb": 0.488889, + "mid": 0.377778, + "bass": 0.788889, + "sag": "match", + "bias": 0.5, + "bright": true + }, + "info": { + "displayName": "TWIN CLEAN", + "audioGuiObjectNameMinimized": "TWIN CLEAN", + "audioGuiObjectNameMaximized": "TWIN CLEAN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_VariFuzz", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.1, + "tone": "loose", + "gain": 1 + }, + "info": { + "displayName": "FUZZ", + "audioGuiObjectNameMinimized": "FUZZ", + "audioGuiObjectNameMaximized": "FUZZ", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "taper": "t30", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t30", + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "list", + "paramGuiObjectNameMinimized": "VARI", + "paramGuiObjectNameMaximized": "VARI", + "displayType": "multi", + "controlId": "tone", + "displayName": "VARI", + "listItems": [ "tight", "normal", "loose" ], + "remap": { "listItems": [ "TIGHT", "NORMAL", "LOOSE" ] }, + "remapMinimized": { "listItems": [ "TIGHT", "NORMAL", "LOOSE" ] } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Vibratone", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.96, + "rotor": 5.67, + "depth": 0.18, + "feedback": 0.68, + "phase": 0.52 + }, + "info": { + "displayName": "VIBRATONE", + "audioGuiObjectNameMinimized": "VIBRATONE", + "audioGuiObjectNameMaximized": "VIBRATONE", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "numTicks": 91, + "taper": "t30", + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rotor", + "displayName": "SPEED", + "units": "Hz", + "min": 0.67, + "max": 5.67, + "numTicks": 91, + "taper": "t10r", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10ri", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DEPTH", + "paramGuiObjectNameMaximized": "DEPTH", + "displayType": "knob", + "controlId": "depth", + "displayName": "DEPTH", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "PHASE", + "paramGuiObjectNameMaximized": "PHASE", + "displayType": "knob", + "controlId": "phase", + "displayName": "PHASE", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "Default", + "defaultDspUnitParameters": {}, + "info": { + "audioGuiObjectNameMinimized": "", + "audioGuiObjectNameMaximized": "", + "displayName": "unknown", + "category": "utility", + "subcategory": "utility" + }, + "ui": { + "inputs": [], + "outputs": [], + "uiParameters": [ + { + "controlId": "bypass", + "controlType": "listBool", + "displayType": "knob", + "displayName": "Bypass", + "paramGuiObjectNameMinimized": "Bypass", + "paramGuiObjectNameMaximized": "Bypass" + }, + { + "controlId": "bypassType", + "displayType": "multi", + "displayName": "Bypass Type", + "paramGuiObjectNameMinimized": "Bypass Type", + "paramGuiObjectNameMaximized": "Bypass Type", + "controlType": "list", + "listItems": [ "Pre", "Post" ] + }, + { + "controlId": "clipState", + "displayType": "knob", + "displayName": "Clip", + "paramGuiObjectNameMinimized": "Clip", + "paramGuiObjectNameMaximized": "Clip", + "controlType": "listBool" + }, + { + "controlId": "tapTime", + "displayType": "knob", + "displayName": "Tap", + "paramGuiObjectNameMinimized": "Tap", + "paramGuiObjectNameMaximized": "Tap", + "controlType": "continuous", + "min": 0, + "max": 1 + }, + { + "controlId": "muteInput", + "displayType": "multi", + "displayName": "Mute Input", + "paramGuiObjectNameMinimized": "Mute Input", + "paramGuiObjectNameMaximized": "Mute Input", + "controlType": "listBool" + }, + { + "controlId": "muteOutput", + "displayType": "multi", + "displayName": "Mute Output", + "paramGuiObjectNameMinimized": "Mute Output", + "paramGuiObjectNameMaximized": "Mute Output", + "controlType": "listBool" + } + ] + } + } ] \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Lib/JsonDefinitions/mustang/profile.json b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/mustang/profile.json similarity index 95% rename from LtDotNet/LtDotNet.Lib/JsonDefinitions/mustang/profile.json rename to LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/mustang/profile.json index 9c167f0..2efb66f 100644 --- a/LtDotNet/LtDotNet.Lib/JsonDefinitions/mustang/profile.json +++ b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/mustang/profile.json @@ -1,232 +1,232 @@ -{ - "productFamily": "mustang", - "effectCategories": [ - { - "categoryName": "stomp", - "menuName18Max": "STOMP", - "dspUnits": [ - { - "FenderId": "DUBS_Passthru", - "menuName18Max": "NONE" - }, - { - "FenderId": "DUBS_Overdrive", - "menuName18Max": "OVERDRIVE" - }, - { - "FenderId": "DUBS_Greenbox", - "menuName18Max": "BLUES DRIVE" - }, - { - "FenderId": "DUBS_MythicDrive", - "menuName18Max": "MYTH DRIVE" - }, - { - "FenderId": "DUBS_Blackbox", - "menuName18Max": "ROCK DIRT" - }, - { - "FenderId": "DUBS_VariFuzz", - "menuName18Max": "FUZZ" - }, - { - "FenderId": "DUBS_BigFuzz", - "menuName18Max": "BIG FUZZ" - }, - { - "FenderId": "DUBS_Octobot", - "menuName18Max": "OCTOBOT" - }, - { - "FenderId": "DUBS_SimpleCompressor", - "menuName18Max": "COMPRESSOR" - }, - { - "FenderId": "DUBS_Sustain", - "menuName18Max": "SUSTAIN" - }, - { - "FenderId": "DUBS_ChromeGate", - "menuName18Max": "METAL GATE" - }, - { - "FenderId": "DUBS_MustangFiveBandEq1", - "menuName18Max": "5 BAND EQ" - } - ] - }, - { - "categoryName": "mod", - "menuName18Max": "MOD", - "dspUnits": [ - { - "FenderId": "DUBS_Passthru", - "menuName18Max": "NONE" - }, - { - "FenderId": "DUBS_ChorusTriangle", - "menuName18Max": "CHORUS" - }, - { - "FenderId": "DUBS_TriangleFlanger", - "menuName18Max": "FLANGER" - }, - { - "FenderId": "DUBS_Vibratone", - "menuName18Max": "VIBRATONE" - }, - { - "FenderId": "DUBS_SineTremolo", - "menuName18Max": "TREMOLO" - }, - { - "FenderId": "DUBS_Phaser", - "menuName18Max": "PHASER" - }, - { - "FenderId": "DUBS_StepFilter", - "menuName18Max": "STEP FILTER" - }, - { - "FenderId": "DUBS_EcFilter", - "menuName18Max": "TOUCH WAH" - } - ] - }, - { - "categoryName": "delay", - "menuName18Max": "DELAY", - "dspUnits": [ - { - "FenderId": "DUBS_Passthru", - "menuName18Max": "NONE" - }, - { - "FenderId": "DUBS_MonoDelay", - "menuName18Max": "DELAY" - }, - { - "FenderId": "DUBS_ReverseDelay", - "menuName18Max": "REVERSE" - }, - { - "FenderId": "DUBS_TapeDelayLite", - "menuName18Max": "ECHO" - } - ] - }, - { - "categoryName": "reverb", - "menuName18Max": "RVRB", - "dspUnits": [ - { - "FenderId": "DUBS_Passthru", - "menuName18Max": "NONE" - }, - { - "FenderId": "DUBS_LargeHallReverb", - "menuName18Max": "LARGE HALL" - }, - { - "FenderId": "DUBS_SmallRoomReverb", - "menuName18Max": "SMALL ROOM" - }, - { - "FenderId": "DUBS_Spring65", - "menuName18Max": "SPRING 65" - }, - { - "FenderId": "DUBS_LargePlate", - "menuName18Max": "PLATE" - }, - { - "FenderId": "DUBS_ArenaReverb", - "menuName18Max": "ARENA" - } - ] - } - ], - "amp": { - "dspUnits": [ - { - "FenderId": "DUBS_LinearGain", - "menuName18Max": "SUPER CLEAN" - }, - { - "FenderId": "DUBS_Champ57", - "menuName18Max": "CHAMP" - }, - { - "FenderId": "DUBS_Deluxe57", - "menuName18Max": "DELUXE DIRT" - }, - { - "FenderId": "DUBS_Twin57", - "menuName18Max": "50S TWIN" - }, - { - "FenderId": "DUBS_Bassman59", - "menuName18Max": "BASSMAN" - }, - { - "FenderId": "DUBS_Princeton65", - "menuName18Max": "PRINCETON" - }, - { - "FenderId": "DUBS_Deluxe65", - "menuName18Max": "DELUXE CLN" - }, - { - "FenderId": "DUBS_Twin65", - "menuName18Max": "TWIN CLEAN" - }, - { - "FenderId": "DUBS_Excelsior", - "menuName18Max": "EXCELSIOR" - }, - { - "FenderId": "DUBS_Silvertone", - "menuName18Max": "SMALLTONE" - }, - { - "FenderId": "DUBS_DR103", - "menuName18Max": "70S UK CLN" - }, - { - "FenderId": "DUBS_Ac30Tb", - "menuName18Max": "60S UK CLN" - }, - { - "FenderId": "DUBS_Plexi87", - "menuName18Max": "70S ROCK" - }, - { - "FenderId": "DUBS_Jcm800", - "menuName18Max": "80S ROCK" - }, - { - "FenderId": "DUBS_Or120", - "menuName18Max": "DOOM METAL" - }, - { - "FenderId": "DUBS_SuperSonic", - "menuName18Max": "BURN" - }, - { - "FenderId": "DUBS_Rect2", - "menuName18Max": "90S ROCK" - }, - { - "FenderId": "DUBS_MetalRect2", - "menuName18Max": "ALT METAL" - }, - { - "FenderId": "DUBS_Evh3", - "menuName18Max": "METAL 2000" - }, - { - "FenderId": "DUBS_MetalEvh3", - "menuName18Max": "SUPER HEAVY" - } - ] +{ + "productFamily": "mustang", + "effectCategories": [ + { + "categoryName": "stomp", + "menuName18Max": "STOMP", + "dspUnits": [ + { + "FenderId": "DUBS_Passthru", + "menuName18Max": "NONE" + }, + { + "FenderId": "DUBS_Overdrive", + "menuName18Max": "OVERDRIVE" + }, + { + "FenderId": "DUBS_Greenbox", + "menuName18Max": "BLUES DRIVE" + }, + { + "FenderId": "DUBS_MythicDrive", + "menuName18Max": "MYTH DRIVE" + }, + { + "FenderId": "DUBS_Blackbox", + "menuName18Max": "ROCK DIRT" + }, + { + "FenderId": "DUBS_VariFuzz", + "menuName18Max": "FUZZ" + }, + { + "FenderId": "DUBS_BigFuzz", + "menuName18Max": "BIG FUZZ" + }, + { + "FenderId": "DUBS_Octobot", + "menuName18Max": "OCTOBOT" + }, + { + "FenderId": "DUBS_SimpleCompressor", + "menuName18Max": "COMPRESSOR" + }, + { + "FenderId": "DUBS_Sustain", + "menuName18Max": "SUSTAIN" + }, + { + "FenderId": "DUBS_ChromeGate", + "menuName18Max": "METAL GATE" + }, + { + "FenderId": "DUBS_MustangFiveBandEq1", + "menuName18Max": "5 BAND EQ" + } + ] + }, + { + "categoryName": "mod", + "menuName18Max": "MOD", + "dspUnits": [ + { + "FenderId": "DUBS_Passthru", + "menuName18Max": "NONE" + }, + { + "FenderId": "DUBS_ChorusTriangle", + "menuName18Max": "CHORUS" + }, + { + "FenderId": "DUBS_TriangleFlanger", + "menuName18Max": "FLANGER" + }, + { + "FenderId": "DUBS_Vibratone", + "menuName18Max": "VIBRATONE" + }, + { + "FenderId": "DUBS_SineTremolo", + "menuName18Max": "TREMOLO" + }, + { + "FenderId": "DUBS_Phaser", + "menuName18Max": "PHASER" + }, + { + "FenderId": "DUBS_StepFilter", + "menuName18Max": "STEP FILTER" + }, + { + "FenderId": "DUBS_EcFilter", + "menuName18Max": "TOUCH WAH" + } + ] + }, + { + "categoryName": "delay", + "menuName18Max": "DELAY", + "dspUnits": [ + { + "FenderId": "DUBS_Passthru", + "menuName18Max": "NONE" + }, + { + "FenderId": "DUBS_MonoDelay", + "menuName18Max": "DELAY" + }, + { + "FenderId": "DUBS_ReverseDelay", + "menuName18Max": "REVERSE" + }, + { + "FenderId": "DUBS_TapeDelayLite", + "menuName18Max": "ECHO" + } + ] + }, + { + "categoryName": "reverb", + "menuName18Max": "RVRB", + "dspUnits": [ + { + "FenderId": "DUBS_Passthru", + "menuName18Max": "NONE" + }, + { + "FenderId": "DUBS_LargeHallReverb", + "menuName18Max": "LARGE HALL" + }, + { + "FenderId": "DUBS_SmallRoomReverb", + "menuName18Max": "SMALL ROOM" + }, + { + "FenderId": "DUBS_Spring65", + "menuName18Max": "SPRING 65" + }, + { + "FenderId": "DUBS_LargePlate", + "menuName18Max": "PLATE" + }, + { + "FenderId": "DUBS_ArenaReverb", + "menuName18Max": "ARENA" + } + ] + } + ], + "amp": { + "dspUnits": [ + { + "FenderId": "DUBS_LinearGain", + "menuName18Max": "SUPER CLEAN" + }, + { + "FenderId": "DUBS_Champ57", + "menuName18Max": "CHAMP" + }, + { + "FenderId": "DUBS_Deluxe57", + "menuName18Max": "DELUXE DIRT" + }, + { + "FenderId": "DUBS_Twin57", + "menuName18Max": "50S TWIN" + }, + { + "FenderId": "DUBS_Bassman59", + "menuName18Max": "BASSMAN" + }, + { + "FenderId": "DUBS_Princeton65", + "menuName18Max": "PRINCETON" + }, + { + "FenderId": "DUBS_Deluxe65", + "menuName18Max": "DELUXE CLN" + }, + { + "FenderId": "DUBS_Twin65", + "menuName18Max": "TWIN CLEAN" + }, + { + "FenderId": "DUBS_Excelsior", + "menuName18Max": "EXCELSIOR" + }, + { + "FenderId": "DUBS_Silvertone", + "menuName18Max": "SMALLTONE" + }, + { + "FenderId": "DUBS_DR103", + "menuName18Max": "70S UK CLN" + }, + { + "FenderId": "DUBS_Ac30Tb", + "menuName18Max": "60S UK CLN" + }, + { + "FenderId": "DUBS_Plexi87", + "menuName18Max": "70S ROCK" + }, + { + "FenderId": "DUBS_Jcm800", + "menuName18Max": "80S ROCK" + }, + { + "FenderId": "DUBS_Or120", + "menuName18Max": "DOOM METAL" + }, + { + "FenderId": "DUBS_SuperSonic", + "menuName18Max": "BURN" + }, + { + "FenderId": "DUBS_Rect2", + "menuName18Max": "90S ROCK" + }, + { + "FenderId": "DUBS_MetalRect2", + "menuName18Max": "ALT METAL" + }, + { + "FenderId": "DUBS_Evh3", + "menuName18Max": "METAL 2000" + }, + { + "FenderId": "DUBS_MetalEvh3", + "menuName18Max": "SUPER HEAVY" + } + ] } \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Lib/JsonDefinitions/rumble/dsp_units.json b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/rumble/dsp_units.json similarity index 96% rename from LtDotNet/LtDotNet.Lib/JsonDefinitions/rumble/dsp_units.json rename to LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/rumble/dsp_units.json index 6c7ad1f..36827a2 100644 --- a/LtDotNet/LtDotNet.Lib/JsonDefinitions/rumble/dsp_units.json +++ b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/rumble/dsp_units.json @@ -1,4836 +1,4836 @@ -[ - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Ampeg66B15", - "defaultDspUnitParameters": { - "volume": -13.167182, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimAmpeg66B15", - "gain": 0.6, - "treb": 0.5, - "mid": 0.5, - "bass": 0.5, - "inputJack": "bass", - "sag": "match" - }, - "info": { - "displayName": "WARM COMBO", - "audioGuiObjectNameMinimized": "WARM COMBO", - "audioGuiObjectNameMaximized": "WARM COMBO", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Bassman300", - "defaultDspUnitParameters": { - "volume": -13.988875, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimFenderPro8x10", - "gain": 0.135258, - "blend": 0.577778, - "treb": 0.5, - "mid": 0.5, - "midfreq": 1000, - "bass": 0.5, - "deep": false, - "bright": false, - "notch": false, - "sag": "match", - "bias": 0.5 - }, - "info": { - "displayName": "BASS 300", - "audioGuiObjectNameMinimized": "BASS 300", - "audioGuiObjectNameMaximized": "BASS 300", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t30", - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_BassmanTV", - "defaultDspUnitParameters": { - "volume": -13.573416, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimBassmanTV1x15", - "gain": 0.655556, - "treb": 0.35, - "mid": 0.3, - "bass": 0.68, - "deep": false, - "bright": false - }, - "info": { - "displayName": "OLD FENDER", - "audioGuiObjectNameMinimized": "OLD FENDER", - "audioGuiObjectNameMaximized": "OLD FENDER", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Blackbox", - "defaultDspUnitParameters": { - "bypass": false, - "level": -30, - "gain": 0.5, - "tone": 0.333 - }, - "info": { - "displayName": "ROCK DIRT", - "audioGuiObjectNameMinimized": "ROCK DIRT", - "audioGuiObjectNameMaximized": "ROCK DIRT", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "units": "dB", - "min": -40, - "max": -7, - "taper": "t50", - "numTicks": 91, - "remap": { - "units": "", - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DISTORT", - "paramGuiObjectNameMaximized": "DISTORT", - "displayType": "knob", - "controlId": "gain", - "displayName": "DISTORT", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FILTER", - "paramGuiObjectNameMaximized": "FILTER", - "displayType": "knob", - "controlId": "tone", - "displayName": "FILTER", - "min": 0, - "max": 1, - "numTicks": 91, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_ChorusTriangle", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 0.833, - "rateHz": 0.68, - "depth": 0.278, - "avgDelay": 0.22, - "lrPhase": 0.5 - }, - "info": { - "displayName": "CHORUS", - "audioGuiObjectNameMinimized": "CHORUS", - "audioGuiObjectNameMaximized": "CHORUS", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "hasTap": false, - "tapParameter": "rateHz", - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t30", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rateHz", - "displayName": "SPEED", - "units": "Hz", - "min": 0.08, - "max": 10, - "numTicks": 91, - "taper": "t10", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10i", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DEPTH", - "paramGuiObjectNameMaximized": "DEPTH", - "displayType": "knob", - "controlId": "depth", - "displayName": "DEPTH", - "min": 0, - "max": 1, - "numTicks": 91, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_DualShowmanBass", - "defaultDspUnitParameters": { - "volume": -11.626897, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimDualShowman2xD130", - "gain": 0.555556, - "treb": 0.277778, - "mid": 0.780392, - "bass": 0.666667, - "sag": "match", - "bias": 0.5, - "bright": false - }, - "info": { - "displayName": "SHOWMAN", - "audioGuiObjectNameMinimized": "SHOWMAN", - "audioGuiObjectNameMaximized": "SHOWMAN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_EcFilter", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.7, - "mode": "High Up", - "type": "Band Pass", - "q": 0.5, - "thresh": 0.5 - }, - "info": { - "displayName": "TOUCH WAH", - "audioGuiObjectNameMinimized": "TOUCH WAH", - "audioGuiObjectNameMaximized": "TOUCH WAH", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "THRESH", - "paramGuiObjectNameMaximized": "THRESH", - "displayType": "knob", - "controlId": "thresh", - "displayName": "THRESH", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "list", - "paramGuiObjectNameMinimized": "MODE", - "paramGuiObjectNameMaximized": "MODE", - "displayType": "multi", - "controlId": "mode", - "displayName": "MODE", - "listItems": [ "Low Up", "Low Down", "High Up", "High Down" ], - "remap": { "listItems": [ "LO-UP", "LO-DOWN", "HI-UP", "HI-DOWN" ] }, - "remapMinimized": { "listItems": [ "LO-UP", "LO-DOWN", "HI-UP", "HI-DOWN" ] } - }, - { - "controlType": "list", - "paramGuiObjectNameMinimized": "FILTER", - "paramGuiObjectNameMaximized": "FILTER", - "displayType": "multi", - "controlId": "type", - "displayName": "FILTER", - "listItems": [ "Low Pass", "Band Pass", "High Pass" ], - "remap": { "listItems": [ "LPF", "BPF", "HPF" ] }, - "remapMinimized": { "listItems": [ "LPF", "BPF", "HPF" ] } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "PEAK", - "paramGuiObjectNameMaximized": "PEAK", - "displayType": "knob", - "controlId": "q", - "displayName": "PEAK", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_GK800RB", - "defaultDspUnitParameters": { - "volume": -7.958493, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimSWRGolight4x10", - "gain": 0.667, - "treb": 0.5, - "mid": 0.5, - "midfreq": 1005, - "bass": 0.611, - "Boost": 1, - "LoCut": false, - "MidContour": true, - "HiBoost": false - }, - "info": { - "displayName": "CLEAN BASS", - "audioGuiObjectNameMinimized": "CLEAN BASS", - "audioGuiObjectNameMaximized": "CLEAN BASS", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Greenbox", - "defaultDspUnitParameters": { - "bypass": false, - "level": -12, - "gain": 0.69, - "tone": 0.54, - "blend": 1 - }, - "info": { - "displayName": "BLUES DRIVE", - "audioGuiObjectNameMinimized": "BLUES DRIVE", - "audioGuiObjectNameMaximized": "BLUES DRIVE", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "units": "dB", - "min": -27, - "max": 0, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "TONE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BLEND", - "paramGuiObjectNameMaximized": "BLEND", - "displayType": "knob", - "controlId": "blend", - "displayName": "BLEND", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Jcm800", - "defaultDspUnitParameters": { - "volume": -11.261283, - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimAmpeg66B15", - "gain": 0.7, - "treb": 0.67, - "mid": 0.4, - "bass": 0.75, - "sag": "match", - "bias": 0.5, - "master": 0.5, - "presence": 0.5 - }, - "info": { - "displayName": "ANGRY BRIT", - "audioGuiObjectNameMinimized": "ANGRY BRIT", - "audioGuiObjectNameMaximized": "ANGRY BRIT", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 2, 3, 4 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_LargeHallReverb", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.3111, - "decay": 0.2444, - "dwell": 0.5, - "diffuse": 0.0222, - "tone": 0.6888 - }, - "info": { - "displayName": "HALL RVRB", - "audioGuiObjectNameMinimized": "HALL RVRB", - "audioGuiObjectNameMaximized": "HALL RVRB", - "category": "effect", - "subcategory": "reverb" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DECAY", - "paramGuiObjectNameMaximized": "DECAY", - "displayType": "knob", - "controlId": "decay", - "displayName": "DECAY", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "TONE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_LinearGain", - "defaultDspUnitParameters": { - "volume": 0, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "none", - "gain": 0.5, - "treb": 0.5, - "mid": 0.5, - "bass": 0.5 - }, - "info": { - "displayName": "SUPER CLEAN", - "audioGuiObjectNameMinimized": "SUPER CLEAN", - "audioGuiObjectNameMaximized": "SUPER CLEAN", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "orderBMT": [ 0, 1, 4, 3, 2 ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_ModernBassOverdrive", - "defaultDspUnitParameters": { - "bypass": false, - "Level": 0.5, - "Drive": 0.5, - "Blend": 0.5, - "Bass": 0.5, - "Treb": 0.5, - "Pres": 0.5 - }, - "info": { - "displayName": "BASS DRIVE", - "audioGuiObjectNameMinimized": "BASS DRIVE", - "audioGuiObjectNameMaximized": "BASS DRIVE", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayName": "LEVEL", - "controlId": "Level", - "displayType": "knob", - "numTicks": 91, - "min": 0, - "max": 1, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DRIVE", - "paramGuiObjectNameMaximized": "DRIVE", - "displayName": "DRIVE", - "controlId": "Drive", - "displayType": "knob", - "numTicks": 91, - "min": 0, - "max": 1, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BLEND", - "paramGuiObjectNameMaximized": "BLEND", - "displayName": "BLEND", - "controlId": "Blend", - "displayType": "knob", - "numTicks": 91, - "min": 0, - "max": 1, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayName": "BASS", - "controlId": "Bass", - "displayType": "knob", - "numTicks": 91, - "min": 0, - "max": 1, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayName": "TREB", - "controlId": "Treb", - "displayType": "knob", - "numTicks": 91, - "min": 0, - "max": 1, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_MonoDelay", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "level": 1, - "time": 0.4, - "feedback": 0.5, - "brite": 0.5, - "attenuate": 0.5 - }, - "info": { - "displayName": "DELAY", - "audioGuiObjectNameMinimized": "DELAY", - "audioGuiObjectNameMaximized": "DELAY", - "category": "effect", - "subcategory": "delay" - }, - "ui": { - "hasBypass": true, - "hasTap": true, - "tapParameter": "time", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TIME", - "paramGuiObjectNameMaximized": "TIME", - "displayType": "multi", - "controlId": "time", - "displayName": "TIME", - "units": "ms", - "min": 0.03, - "max": 1, - "numTicks": 971, - "taper": "t50", - "remap": { - "format": "%0.0f", - "min": 30, - "max": 1000, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "brite", - "displayName": "TONE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_MonsterLite", - "defaultDspUnitParameters": { - "volume": -3, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimAmpegSVT8x10", - "gain": 0.5, - "treb": 0.35, - "mid": 0.3, - "midfreq": 2456, - "bass": 0.68, - "blend": 0.9, - "sag": "match", - "bias": 0.5 - }, - "info": { - "displayName": "MONSTER", - "audioGuiObjectNameMinimized": "MONSTER", - "audioGuiObjectNameMaximized": "MONSTER", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_MustangFiveBandEq1", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "low": 0, - "lowmid": 0, - "mid": 0, - "highmid": 0, - "high": 0, - "gain": 0 - }, - "info": { - "displayName": "5-BAND EQ", - "audioGuiObjectNameMinimized": "5-BAND EQ", - "audioGuiObjectNameMaximized": "5-BAND EQ", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LOW", - "paramGuiObjectNameMaximized": "LOW", - "displayType": "slider-vertical", - "controlId": "low", - "displayName": "LOW", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LOW MID", - "paramGuiObjectNameMaximized": "LOW MID", - "displayType": "slider-vertical", - "controlId": "lowmid", - "displayName": "LOW MID", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MID", - "paramGuiObjectNameMaximized": "MID", - "displayType": "slider-vertical", - "controlId": "mid", - "displayName": "MID", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "HIGH MID", - "paramGuiObjectNameMaximized": "HIGH MID", - "displayType": "slider-vertical", - "controlId": "highmid", - "displayName": "HIGH MID", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "HIGH", - "paramGuiObjectNameMaximized": "HIGH", - "displayType": "slider-vertical", - "controlId": "high", - "displayName": "HIGH", - "units": "dB", - "numTicks": 49, - "min": -12, - "max": 12, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": -12, - "max": 12, - "taper": "t50" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Octobot", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.5, - "octdown": 1, - "octup": 1 - }, - "info": { - "displayName": "OCTOBOT", - "audioGuiObjectNameMinimized": "OCTOBOT", - "audioGuiObjectNameMaximized": "OCTOBOT", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DIRECT", - "paramGuiObjectNameMaximized": "DIRECT", - "displayName": "DIRECT", - "controlId": "level", - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DOWN", - "paramGuiObjectNameMaximized": "DOWN", - "displayName": "DOWN", - "controlId": "octdown", - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SIZZLE", - "paramGuiObjectNameMaximized": "SIZZLE", - "displayName": "SIZZLE", - "controlId": "octup", - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Or120Bass", - "defaultDspUnitParameters": { - "volume": -13.573416, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12m", - "gain": 0.566162, - "treb": 0.67, - "mid": 0.313726, - "bass": 0.505882, - "sag": "match", - "bias": 0.5, - "master": 0.498039 - }, - "info": { - "displayName": "GRUNGE BASS", - "audioGuiObjectNameMinimized": "GRUNGE BASS", - "audioGuiObjectNameMaximized": "GRUNGE BASS", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Overdrive", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.5, - "gain": 0.5, - "low": 0.5, - "mid": 0.5, - "high": 0.5 - }, - "info": { - "displayName": "OVERDRIVE", - "audioGuiObjectNameMinimized": "OVERDRIVE", - "audioGuiObjectNameMaximized": "OVERDRIVE", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t30r", - "remap": { - "min": 1, - "max": 10, - "taper": "t30ri", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LOW", - "paramGuiObjectNameMaximized": "LOW", - "displayType": "knob", - "controlId": "low", - "displayName": "LOW", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MID", - "paramGuiObjectNameMaximized": "MID", - "displayType": "knob", - "controlId": "mid", - "displayName": "MID", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "HIGH", - "paramGuiObjectNameMaximized": "HIGH", - "displayType": "knob", - "controlId": "high", - "displayName": "HIGH", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Passthru", - "defaultDspUnitParameters": {}, - "info": { - "audioGuiObjectNameMinimized": "", - "audioGuiObjectNameMaximized": "", - "displayName": "Pass Thru", - "category": "utility", - "subcategory": "utility" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "Left" - }, - { - "index": 1, - "displayName": "Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Left" - }, - { - "index": 1, - "displayName": "Right" - } - ], - "uiParameters": [] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Phaser", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.99, - "rate": 0.376297, - "depth": 0.99, - "feedback": 0.72, - "shape": "sine" - }, - "info": { - "displayName": "PHASER", - "audioGuiObjectNameMinimized": "PHASER", - "audioGuiObjectNameMaximized": "PHASER", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "tapParameter": "rate", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rate", - "displayName": "SPEED", - "units": "Hz", - "min": 0.08, - "max": 10, - "numTicks": 91, - "taper": "t10", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10i", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DEPTH", - "paramGuiObjectNameMaximized": "DEPTH", - "displayType": "knob", - "controlId": "depth", - "displayName": "DEPTH", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Plexi87Bass", - "defaultDspUnitParameters": { - "volume": -11.261283, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "4x12g", - "gain": 0.5, - "treb": 0.670588, - "mid": 0.301961, - "bass": 0.784314, - "sag": "match", - "bias": 0.5, - "presence": 0.5, - "blend": 0.5 - }, - "info": { - "displayName": "70S ROCK", - "audioGuiObjectNameMinimized": "70S ROCK", - "audioGuiObjectNameMaximized": "70S ROCK", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Redhead", - "defaultDspUnitParameters": { - "volume": -15.295096, - "compressorPreset": "Low1", - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimSWRRedhead2x10", - "gain": 0.667, - "treb": 0.5, - "mid": 0.233333, - "midfreq": 1005, - "bass": 0.667, - "Transparency": true, - "Turbo": false, - "AuralEnhancer": 0.689 - }, - "info": { - "displayName": "SLAP BASS", - "audioGuiObjectNameMinimized": "SLAP BASS", - "audioGuiObjectNameMaximized": "SLAP BASS", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_ReverseDelay", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.75, - "time": 0.4, - "feedback": 0.3, - "attenuate": 1, - "chase": 0.65 - }, - "info": { - "displayName": "REVERSE", - "audioGuiObjectNameMinimized": "REVERSE", - "audioGuiObjectNameMaximized": "REVERSE", - "category": "effect", - "subcategory": "delay" - }, - "ui": { - "hasBypass": true, - "hasTap": true, - "tapParameter": "time", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "numTicks": 91, - "remap": { - "taper": "t50", - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TIME", - "paramGuiObjectNameMaximized": "TIME", - "displayType": "multi", - "controlId": "time", - "displayName": "TIME", - "units": "ms", - "min": 0.03, - "max": 1, - "numTicks": 971, - "remap": { - "units": "ms", - "format": "%0.0f", - "min": 30, - "max": 1000 - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_RumbleV38x10Lite", - "defaultDspUnitParameters": { - "volume": -7.958493, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimBassmanTV1x15", - "gain": 0.67, - "treb": 0.5, - "mid": 0.5, - "midHi": 0.5, - "bass": 0.75, - "contour": false, - "Bright": false - }, - "info": { - "displayName": "BIG RUMBLE", - "audioGuiObjectNameMinimized": "BIG RUMBLE", - "audioGuiObjectNameMaximized": "BIG RUMBLE", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_RumbleV3Lite", - "defaultDspUnitParameters": { - "volume": -3, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimRumbleV3_2x10", - "gain": 0.67, - "treb": 0.5, - "mid": 0.5, - "midHi": 0.5, - "bass": 0.5, - "contour": false, - "Bright": false - }, - "info": { - "displayName": "RUMBLE", - "audioGuiObjectNameMinimized": "RUMBLE", - "audioGuiObjectNameMaximized": "RUMBLE", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "units": "", - "format": "%0.1f", - "min": 1, - "max": 10, - "taper": "t20ri" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_SVT", - "defaultDspUnitParameters": { - "volume": -16.220806, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimAmpegSVT8x10", - "gain": 0.5, - "treb": 0.611, - "mid": 0.333333, - "MidFreqLowMidHi": "Mid", - "bass": 0.611, - "UltraLo": "Off", - "UltraHi": false, - "sag": "match", - "bias": 0.5 - }, - "info": { - "displayName": "ARENA BASS", - "audioGuiObjectNameMinimized": "ARENA BASS", - "audioGuiObjectNameMaximized": "ARENA BASS", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_SimpleCompressor", - "defaultDspUnitParameters": { - "bypass": false, - "type": "medium" - }, - "info": { - "displayName": "COMPRESSOR", - "audioGuiObjectNameMinimized": "COMPRESSOR", - "audioGuiObjectNameMaximized": "COMPRESSOR", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "list", - "paramGuiObjectNameMinimized": "TYPE", - "paramGuiObjectNameMaximized": "TYPE", - "controlId": "type", - "displayName": "TYPE", - "displayType": "multi", - "listItems": [ "low", "medium", "high", "super" ], - "remap": { "listItems": [ "LOW", "MID", "HIGH", "MAX" ] }, - "remapMinimized": { "listItems": [ "LOW", "MID", "HIGH", "MAX" ] } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_SineTremolo", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.86, - "rate": 6.56, - "duty": 0.5, - "dist": 0, - "shape": 0 - }, - "info": { - "displayName": "TREMOLO", - "audioGuiObjectNameMinimized": "TREMOLO", - "audioGuiObjectNameMaximized": "TREMOLO", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "tapParameter": "rate", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t30", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rate", - "displayName": "SPEED", - "units": "Hz", - "min": 1.3, - "max": 10, - "numTicks": 91, - "taper": "t50", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t50", - "units": "" - } - } - ] - } - }, - { - "fixme": "//FIXME: This file is an auto-generated stub, and someone needs to go through it", - "nodeType": "dspUnit", - "FenderId": "DUBS_SmallRoomReverb", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.5, - "decay": 0.5, - "dwell": 0.5, - "diffuse": 0.5, - "tone": 0.5 - }, - "info": { - "displayName": "ROOM RVRB", - "audioGuiObjectNameMinimized": "ROOM RVRB", - "audioGuiObjectNameMaximized": "ROOM RVRB", - "category": "effect", - "subcategory": "reverb" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DECAY", - "paramGuiObjectNameMaximized": "DECAY", - "displayType": "knob", - "controlId": "decay", - "displayName": "DECAY", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TONE", - "paramGuiObjectNameMaximized": "TONE", - "displayType": "knob", - "controlId": "tone", - "displayName": "TONE", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_StepFilter", - "defaultDspUnitParameters": { - "bypass": false, - "level": 1, - "rate": 5.07, - "reson": 0.5, - "loFrq": 0.5, - "hiFrq": 0.5 - }, - "info": { - "displayName": "STEP FILTER", - "audioGuiObjectNameMinimized": "STEP FILTER", - "audioGuiObjectNameMaximized": "STEP FILTER", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "hasTap": false, - "tapParameter": "rate", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rate", - "displayName": "SPEED", - "units": "Hz", - "min": 0.08, - "max": 10, - "numTicks": 91, - "taper": "t10", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10i", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "RESONATE", - "paramGuiObjectNameMaximized": "RESONATE", - "displayType": "knob", - "controlId": "reson", - "displayName": "RESONATE", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LOW FREQ", - "paramGuiObjectNameMaximized": "LOW FREQ", - "displayType": "knob", - "controlId": "loFrq", - "displayName": "LOW FREQ", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "HI FREQ", - "paramGuiObjectNameMaximized": "HI FREQ", - "displayType": "knob", - "controlId": "hiFrq", - "displayName": "HI FREQ", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_StudioPreampBass", - "defaultDspUnitParameters": { - "volume": 0, - "gatePreset": "off", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimFenderPro8x10", - "compressorPreset": "Off", - "gain": 0.5, - "treb": 0.5, - "mid": 0.5, - "bass": 0.5 - }, - "info": { - "displayName": "STUDIO 1", - "audioGuiObjectNameMinimized": "STUDIO 1", - "audioGuiObjectNameMaximized": "STUDIO 1", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_StudioTubePreampBass", - "defaultDspUnitParameters": { - "volume": -8.263186, - "compressorPreset": "Off", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimAmpegSVT8x10", - "gain": 0.888889, - "treb": 0.5, - "mid": 0.277778, - "midfreq": 1005, - "bass": 0.5 - }, - "info": { - "displayName": "STUDIO 2", - "audioGuiObjectNameMinimized": "STUDIO 2", - "audioGuiObjectNameMaximized": "STUDIO 2", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayType": "knob", - "controlId": "bass", - "displayName": "BASS", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayType": "knob", - "controlId": "mid", - "displayName": "MIDDLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayType": "knob", - "controlId": "treb", - "displayName": "TREBLE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "VOLUME", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f", - "units": "" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_SuperBassmanVintage", - "defaultDspUnitParameters": { - "volume": -9.867807, - "compressorPreset": "Low1", - "gatePreset": "low", - "gateDetectorPosition": "jack", - "cabsimType": "cabSimNeo8x10", - "gain": 0.67, - "bass": 0.5, - "mid": 0.467, - "treb": 0.38, - "deep": false, - "bright": false, - "master": 0.333333, - "sag": "match" - }, - "info": { - "displayName": "BASSMAN 2K", - "audioGuiObjectNameMinimized": "BASSMAN 2K", - "audioGuiObjectNameMaximized": "BASSMAN 2K", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayName": "GAIN", - "controlId": "gain", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "BASS", - "paramGuiObjectNameMaximized": "BASS", - "displayName": "BASS", - "controlId": "bass", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "MIDDLE", - "paramGuiObjectNameMaximized": "MIDDLE", - "displayName": "MIDDLE", - "controlId": "mid", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TREBLE", - "paramGuiObjectNameMaximized": "TREBLE", - "displayName": "TREBLE", - "controlId": "treb", - "numTicks": 91, - "displayType": "knob", - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOLUME", - "paramGuiObjectNameMaximized": "VOLUME", - "displayName": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t20r", - "remap": { - "units": "", - "min": 1, - "max": 10, - "taper": "t20ri", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Sustain", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "PostNoPreKill", - "sensitivity": 0.5, - "outputLevel": 0.5 - }, - "info": { - "displayName": "SUSTAIN", - "audioGuiObjectNameMinimized": "SUSTAIN", - "audioGuiObjectNameMaximized": "SUSTAIN", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SENSE", - "paramGuiObjectNameMaximized": "SENSE", - "displayType": "knob", - "controlId": "sensitivity", - "displayName": "SENSE", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t50", - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "outputLevel", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t50", - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_TapeDelayLite", - "defaultDspUnitParameters": { - "bypass": false, - "bypassType": "Post", - "wetLvl": 0.5, - "dlyTime": 0.4, - "feedback": 0.25, - "wowLevel": 0.5 - }, - "info": { - "displayName": "ECHO", - "audioGuiObjectNameMinimized": "ECHO", - "audioGuiObjectNameMaximized": "ECHO", - "category": "effect", - "subcategory": "delay" - }, - "ui": { - "hasBypass": true, - "hasTap": true, - "tapParameter": "dlyTime", - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "wetLvl", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "TIME", - "paramGuiObjectNameMaximized": "TIME", - "displayType": "multi", - "controlId": "dlyTime", - "displayName": "TIME", - "units": "ms", - "min": 0.03, - "max": 1, - "numTicks": 971, - "taper": "t50", - "remap": { - "format": "%0.0f", - "min": 30, - "max": 1000, - "taper": "t50" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "WOW", - "paramGuiObjectNameMaximized": "WOW", - "displayType": "knob", - "controlId": "wowLevel", - "displayName": "WOW", - "min": 0, - "max": 1, - "taper": "t50", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_TriangleFlanger", - "defaultDspUnitParameters": { - "bypass": false, - "level": 1, - "rate": 0.269562, - "depth": 0.666667, - "feedback": 0.777778, - "phase": 0.25 - }, - "info": { - "displayName": "FLANGER", - "audioGuiObjectNameMinimized": "FLANGER", - "audioGuiObjectNameMaximized": "FLANGER", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "tapParameter": "rate", - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "taper": "t30", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f", - "taper": "t30i" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rate", - "displayName": "SPEED", - "units": "Hz", - "min": 0.08, - "max": 10, - "numTicks": 91, - "taper": "t10", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10i", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DEPTH", - "paramGuiObjectNameMaximized": "DEPTH", - "displayType": "knob", - "controlId": "depth", - "displayName": "DEPTH", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_VariFuzz", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.1, - "tone": "loose", - "gain": 1 - }, - "info": { - "displayName": "FUZZ", - "audioGuiObjectNameMinimized": "FUZZ", - "audioGuiObjectNameMaximized": "FUZZ", - "category": "effect", - "subcategory": "stomp" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0.001, - "max": 1, - "taper": "t30", - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "GAIN", - "paramGuiObjectNameMaximized": "GAIN", - "displayType": "knob", - "controlId": "gain", - "displayName": "GAIN", - "numTicks": 91, - "min": 0, - "max": 1, - "taper": "t30", - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "list", - "paramGuiObjectNameMinimized": "VARI", - "paramGuiObjectNameMaximized": "VARI", - "displayType": "multi", - "controlId": "tone", - "displayName": "VARI", - "listItems": [ "tight", "normal", "loose" ], - "remap": { "listItems": [ "TIGHT", "NORMAL", "LOOSE" ] }, - "remapMinimized": { "listItems": [ "TIGHT", "NORMAL", "LOOSE" ] } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Vibratone", - "defaultDspUnitParameters": { - "bypass": false, - "level": 0.96, - "rotor": 5.67, - "depth": 0.18, - "feedback": 0.68, - "phase": 0.52 - }, - "info": { - "displayName": "VIBRATONE", - "audioGuiObjectNameMinimized": "VIBRATONE", - "audioGuiObjectNameMaximized": "VIBRATONE", - "category": "effect", - "subcategory": "mod" - }, - "ui": { - "hasBypass": true, - "inputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "left" - }, - { - "index": 1, - "displayName": "right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "LEVEL", - "paramGuiObjectNameMaximized": "LEVEL", - "displayType": "knob", - "controlId": "level", - "displayName": "LEVEL", - "min": 0, - "max": 1, - "numTicks": 91, - "taper": "t30", - "remap": { - "min": 1, - "max": 10, - "taper": "t30i", - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "SPEED", - "paramGuiObjectNameMaximized": "SPEED", - "displayType": "knob", - "controlId": "rotor", - "displayName": "SPEED", - "units": "Hz", - "min": 0.67, - "max": 5.67, - "numTicks": 91, - "taper": "t10r", - "remap": { - "format": "%2.1f", - "min": 1, - "max": 10, - "taper": "t10ri", - "units": "" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "DEPTH", - "paramGuiObjectNameMaximized": "DEPTH", - "displayType": "knob", - "controlId": "depth", - "displayName": "DEPTH", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "FEEDBACK", - "paramGuiObjectNameMaximized": "FEEDBACK", - "displayType": "knob", - "controlId": "feedback", - "displayName": "FEEDBACK", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - }, - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "PHASE", - "paramGuiObjectNameMaximized": "PHASE", - "displayType": "knob", - "controlId": "phase", - "displayName": "PHASE", - "min": 0, - "max": 1, - "numTicks": 91, - "remap": { - "min": 1, - "max": 10, - "format": "%2.1f" - } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "DUBS_Volume", - "defaultDspUnitParameters": { - "volume": -9, - "gatePreset": "off", - "cabsimType": "none", - "bypass": false - }, - "info": { - "displayName": "Passthru Amp", - "audioGuiObjectNameMinimized": "PASSTHRU AMP", - "audioGuiObjectNameMaximized": "PASSTHRU AMP", - "category": "effect", - "subcategory": "amp" - }, - "ui": { - "hasBypass": false, - "inputs": [ - { - "index": 0, - "displayName": "In Left" - }, - { - "index": 1, - "displayName": "In Right" - } - ], - "outputs": [ - { - "index": 0, - "displayName": "Out Left" - }, - { - "index": 1, - "displayName": "Out Right" - } - ], - "uiParameters": [ - { - "controlType": "continuous", - "paramGuiObjectNameMinimized": "VOL", - "paramGuiObjectNameMaximized": "VOLUME", - "displayType": "knob", - "controlId": "volume", - "displayName": "Volume", - "numTicks": 91, - "units": "dB", - "min": -60, - "max": 0, - "taper": "t50" - }, - { - "controlType": "list", - "paramGuiObjectNameMinimized": "Cab", - "paramGuiObjectNameMaximized": "Cabinet", - "controlId": "cabsimType", - "displayName": "Cabinet", - "displayType": "multi", - "listItems": [ "none", "57champ", "65prince", "ga15rvt", "57dlx", "61brwn", "65dlx", "1x12ss", "65twn", "exlsr", "2x12ss", "3x10bm", "59bman", "2x12c", "4x12m", "4x12g", "4x12v" ], - "remap": { "listItems": [ "NONE", "'57 Champ", "'65 Princeton", "'66 GA-15", "'57 Deluxe", "'61 Brown", "'65 Deluxe", "1X12 SuperSonic", "'65 Twin", "Excelsior", "2X12 SuperSonic", "'57 Bandmaster", "'59 Bassman", "2x12 Blue", "4x12 75W", "4x12 GB", "4x12 V30" ] }, - "remapMinimized": { "listItems": [ "NONE", "'57 Champ", "'65 Prnce", "'66 GA-15", "'57 Dlx", "'61 Brwn", "'65 Dlx", "1X12 SS", "'65 Twin", "Excl- sior", "2X12 SS", "'57 Band", "'59 Bman", "2x12 Blue", "4x12 75W", "4x12 GB", "4x12 V30" ] } - }, - { - "controlType": "list", - "paramGuiObjectNameMinimized": "GATE", - "paramGuiObjectNameMaximized": "NOISE GATE", - "controlId": "gatePreset", - "displayName": "Noise Gate", - "displayType": "multi", - "listItems": [ "off", "low", "mid", "high", "super" ], - "remap": { "listItems": [ "OFF", "LOW", "MEDIUM", "HIGH", "SUPER" ] }, - "remapMinimized": { "listItems": [ "OFF", "LOW", "MED", "HIGH", "SUPR" ] } - } - ] - } - }, - { - "nodeType": "dspUnit", - "FenderId": "Default", - "defaultDspUnitParameters": {}, - "info": { - "audioGuiObjectNameMinimized": "", - "audioGuiObjectNameMaximized": "", - "displayName": "unknown", - "category": "utility", - "subcategory": "utility" - }, - "ui": { - "inputs": [], - "outputs": [], - "uiParameters": [ - { - "controlId": "bypass", - "controlType": "listBool", - "displayType": "knob", - "displayName": "Bypass", - "paramGuiObjectNameMinimized": "Bypass", - "paramGuiObjectNameMaximized": "Bypass" - }, - { - "controlId": "bypassType", - "displayType": "multi", - "displayName": "Bypass Type", - "paramGuiObjectNameMinimized": "Bypass Type", - "paramGuiObjectNameMaximized": "Bypass Type", - "controlType": "list", - "listItems": [ "Pre", "Post" ] - }, - { - "controlId": "clipState", - "displayType": "knob", - "displayName": "Clip", - "paramGuiObjectNameMinimized": "Clip", - "paramGuiObjectNameMaximized": "Clip", - "controlType": "listBool" - }, - { - "controlId": "tapTime", - "displayType": "knob", - "displayName": "Tap", - "paramGuiObjectNameMinimized": "Tap", - "paramGuiObjectNameMaximized": "Tap", - "controlType": "continuous", - "min": 0, - "max": 1 - }, - { - "controlId": "muteInput", - "displayType": "multi", - "displayName": "Mute Input", - "paramGuiObjectNameMinimized": "Mute Input", - "paramGuiObjectNameMaximized": "Mute Input", - "controlType": "listBool" - }, - { - "controlId": "muteOutput", - "displayType": "multi", - "displayName": "Mute Output", - "paramGuiObjectNameMinimized": "Mute Output", - "paramGuiObjectNameMaximized": "Mute Output", - "controlType": "listBool" - } - ] - } +[ + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Ampeg66B15", + "defaultDspUnitParameters": { + "volume": -13.167182, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimAmpeg66B15", + "gain": 0.6, + "treb": 0.5, + "mid": 0.5, + "bass": 0.5, + "inputJack": "bass", + "sag": "match" + }, + "info": { + "displayName": "WARM COMBO", + "audioGuiObjectNameMinimized": "WARM COMBO", + "audioGuiObjectNameMaximized": "WARM COMBO", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Bassman300", + "defaultDspUnitParameters": { + "volume": -13.988875, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimFenderPro8x10", + "gain": 0.135258, + "blend": 0.577778, + "treb": 0.5, + "mid": 0.5, + "midfreq": 1000, + "bass": 0.5, + "deep": false, + "bright": false, + "notch": false, + "sag": "match", + "bias": 0.5 + }, + "info": { + "displayName": "BASS 300", + "audioGuiObjectNameMinimized": "BASS 300", + "audioGuiObjectNameMaximized": "BASS 300", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t30", + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_BassmanTV", + "defaultDspUnitParameters": { + "volume": -13.573416, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimBassmanTV1x15", + "gain": 0.655556, + "treb": 0.35, + "mid": 0.3, + "bass": 0.68, + "deep": false, + "bright": false + }, + "info": { + "displayName": "OLD FENDER", + "audioGuiObjectNameMinimized": "OLD FENDER", + "audioGuiObjectNameMaximized": "OLD FENDER", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Blackbox", + "defaultDspUnitParameters": { + "bypass": false, + "level": -30, + "gain": 0.5, + "tone": 0.333 + }, + "info": { + "displayName": "ROCK DIRT", + "audioGuiObjectNameMinimized": "ROCK DIRT", + "audioGuiObjectNameMaximized": "ROCK DIRT", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "units": "dB", + "min": -40, + "max": -7, + "taper": "t50", + "numTicks": 91, + "remap": { + "units": "", + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DISTORT", + "paramGuiObjectNameMaximized": "DISTORT", + "displayType": "knob", + "controlId": "gain", + "displayName": "DISTORT", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FILTER", + "paramGuiObjectNameMaximized": "FILTER", + "displayType": "knob", + "controlId": "tone", + "displayName": "FILTER", + "min": 0, + "max": 1, + "numTicks": 91, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_ChorusTriangle", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 0.833, + "rateHz": 0.68, + "depth": 0.278, + "avgDelay": 0.22, + "lrPhase": 0.5 + }, + "info": { + "displayName": "CHORUS", + "audioGuiObjectNameMinimized": "CHORUS", + "audioGuiObjectNameMaximized": "CHORUS", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "hasTap": false, + "tapParameter": "rateHz", + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t30", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rateHz", + "displayName": "SPEED", + "units": "Hz", + "min": 0.08, + "max": 10, + "numTicks": 91, + "taper": "t10", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10i", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DEPTH", + "paramGuiObjectNameMaximized": "DEPTH", + "displayType": "knob", + "controlId": "depth", + "displayName": "DEPTH", + "min": 0, + "max": 1, + "numTicks": 91, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_DualShowmanBass", + "defaultDspUnitParameters": { + "volume": -11.626897, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimDualShowman2xD130", + "gain": 0.555556, + "treb": 0.277778, + "mid": 0.780392, + "bass": 0.666667, + "sag": "match", + "bias": 0.5, + "bright": false + }, + "info": { + "displayName": "SHOWMAN", + "audioGuiObjectNameMinimized": "SHOWMAN", + "audioGuiObjectNameMaximized": "SHOWMAN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_EcFilter", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.7, + "mode": "High Up", + "type": "Band Pass", + "q": 0.5, + "thresh": 0.5 + }, + "info": { + "displayName": "TOUCH WAH", + "audioGuiObjectNameMinimized": "TOUCH WAH", + "audioGuiObjectNameMaximized": "TOUCH WAH", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "THRESH", + "paramGuiObjectNameMaximized": "THRESH", + "displayType": "knob", + "controlId": "thresh", + "displayName": "THRESH", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "list", + "paramGuiObjectNameMinimized": "MODE", + "paramGuiObjectNameMaximized": "MODE", + "displayType": "multi", + "controlId": "mode", + "displayName": "MODE", + "listItems": [ "Low Up", "Low Down", "High Up", "High Down" ], + "remap": { "listItems": [ "LO-UP", "LO-DOWN", "HI-UP", "HI-DOWN" ] }, + "remapMinimized": { "listItems": [ "LO-UP", "LO-DOWN", "HI-UP", "HI-DOWN" ] } + }, + { + "controlType": "list", + "paramGuiObjectNameMinimized": "FILTER", + "paramGuiObjectNameMaximized": "FILTER", + "displayType": "multi", + "controlId": "type", + "displayName": "FILTER", + "listItems": [ "Low Pass", "Band Pass", "High Pass" ], + "remap": { "listItems": [ "LPF", "BPF", "HPF" ] }, + "remapMinimized": { "listItems": [ "LPF", "BPF", "HPF" ] } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "PEAK", + "paramGuiObjectNameMaximized": "PEAK", + "displayType": "knob", + "controlId": "q", + "displayName": "PEAK", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_GK800RB", + "defaultDspUnitParameters": { + "volume": -7.958493, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimSWRGolight4x10", + "gain": 0.667, + "treb": 0.5, + "mid": 0.5, + "midfreq": 1005, + "bass": 0.611, + "Boost": 1, + "LoCut": false, + "MidContour": true, + "HiBoost": false + }, + "info": { + "displayName": "CLEAN BASS", + "audioGuiObjectNameMinimized": "CLEAN BASS", + "audioGuiObjectNameMaximized": "CLEAN BASS", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Greenbox", + "defaultDspUnitParameters": { + "bypass": false, + "level": -12, + "gain": 0.69, + "tone": 0.54, + "blend": 1 + }, + "info": { + "displayName": "BLUES DRIVE", + "audioGuiObjectNameMinimized": "BLUES DRIVE", + "audioGuiObjectNameMaximized": "BLUES DRIVE", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "units": "dB", + "min": -27, + "max": 0, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "TONE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BLEND", + "paramGuiObjectNameMaximized": "BLEND", + "displayType": "knob", + "controlId": "blend", + "displayName": "BLEND", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Jcm800", + "defaultDspUnitParameters": { + "volume": -11.261283, + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimAmpeg66B15", + "gain": 0.7, + "treb": 0.67, + "mid": 0.4, + "bass": 0.75, + "sag": "match", + "bias": 0.5, + "master": 0.5, + "presence": 0.5 + }, + "info": { + "displayName": "ANGRY BRIT", + "audioGuiObjectNameMinimized": "ANGRY BRIT", + "audioGuiObjectNameMaximized": "ANGRY BRIT", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 2, 3, 4 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_LargeHallReverb", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.3111, + "decay": 0.2444, + "dwell": 0.5, + "diffuse": 0.0222, + "tone": 0.6888 + }, + "info": { + "displayName": "HALL RVRB", + "audioGuiObjectNameMinimized": "HALL RVRB", + "audioGuiObjectNameMaximized": "HALL RVRB", + "category": "effect", + "subcategory": "reverb" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DECAY", + "paramGuiObjectNameMaximized": "DECAY", + "displayType": "knob", + "controlId": "decay", + "displayName": "DECAY", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "TONE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_LinearGain", + "defaultDspUnitParameters": { + "volume": 0, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "none", + "gain": 0.5, + "treb": 0.5, + "mid": 0.5, + "bass": 0.5 + }, + "info": { + "displayName": "SUPER CLEAN", + "audioGuiObjectNameMinimized": "SUPER CLEAN", + "audioGuiObjectNameMaximized": "SUPER CLEAN", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "orderBMT": [ 0, 1, 4, 3, 2 ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_ModernBassOverdrive", + "defaultDspUnitParameters": { + "bypass": false, + "Level": 0.5, + "Drive": 0.5, + "Blend": 0.5, + "Bass": 0.5, + "Treb": 0.5, + "Pres": 0.5 + }, + "info": { + "displayName": "BASS DRIVE", + "audioGuiObjectNameMinimized": "BASS DRIVE", + "audioGuiObjectNameMaximized": "BASS DRIVE", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayName": "LEVEL", + "controlId": "Level", + "displayType": "knob", + "numTicks": 91, + "min": 0, + "max": 1, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DRIVE", + "paramGuiObjectNameMaximized": "DRIVE", + "displayName": "DRIVE", + "controlId": "Drive", + "displayType": "knob", + "numTicks": 91, + "min": 0, + "max": 1, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BLEND", + "paramGuiObjectNameMaximized": "BLEND", + "displayName": "BLEND", + "controlId": "Blend", + "displayType": "knob", + "numTicks": 91, + "min": 0, + "max": 1, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayName": "BASS", + "controlId": "Bass", + "displayType": "knob", + "numTicks": 91, + "min": 0, + "max": 1, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayName": "TREB", + "controlId": "Treb", + "displayType": "knob", + "numTicks": 91, + "min": 0, + "max": 1, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_MonoDelay", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "level": 1, + "time": 0.4, + "feedback": 0.5, + "brite": 0.5, + "attenuate": 0.5 + }, + "info": { + "displayName": "DELAY", + "audioGuiObjectNameMinimized": "DELAY", + "audioGuiObjectNameMaximized": "DELAY", + "category": "effect", + "subcategory": "delay" + }, + "ui": { + "hasBypass": true, + "hasTap": true, + "tapParameter": "time", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TIME", + "paramGuiObjectNameMaximized": "TIME", + "displayType": "multi", + "controlId": "time", + "displayName": "TIME", + "units": "ms", + "min": 0.03, + "max": 1, + "numTicks": 971, + "taper": "t50", + "remap": { + "format": "%0.0f", + "min": 30, + "max": 1000, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "brite", + "displayName": "TONE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_MonsterLite", + "defaultDspUnitParameters": { + "volume": -3, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimAmpegSVT8x10", + "gain": 0.5, + "treb": 0.35, + "mid": 0.3, + "midfreq": 2456, + "bass": 0.68, + "blend": 0.9, + "sag": "match", + "bias": 0.5 + }, + "info": { + "displayName": "MONSTER", + "audioGuiObjectNameMinimized": "MONSTER", + "audioGuiObjectNameMaximized": "MONSTER", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_MustangFiveBandEq1", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "low": 0, + "lowmid": 0, + "mid": 0, + "highmid": 0, + "high": 0, + "gain": 0 + }, + "info": { + "displayName": "5-BAND EQ", + "audioGuiObjectNameMinimized": "5-BAND EQ", + "audioGuiObjectNameMaximized": "5-BAND EQ", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LOW", + "paramGuiObjectNameMaximized": "LOW", + "displayType": "slider-vertical", + "controlId": "low", + "displayName": "LOW", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LOW MID", + "paramGuiObjectNameMaximized": "LOW MID", + "displayType": "slider-vertical", + "controlId": "lowmid", + "displayName": "LOW MID", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MID", + "paramGuiObjectNameMaximized": "MID", + "displayType": "slider-vertical", + "controlId": "mid", + "displayName": "MID", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "HIGH MID", + "paramGuiObjectNameMaximized": "HIGH MID", + "displayType": "slider-vertical", + "controlId": "highmid", + "displayName": "HIGH MID", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "HIGH", + "paramGuiObjectNameMaximized": "HIGH", + "displayType": "slider-vertical", + "controlId": "high", + "displayName": "HIGH", + "units": "dB", + "numTicks": 49, + "min": -12, + "max": 12, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": -12, + "max": 12, + "taper": "t50" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Octobot", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.5, + "octdown": 1, + "octup": 1 + }, + "info": { + "displayName": "OCTOBOT", + "audioGuiObjectNameMinimized": "OCTOBOT", + "audioGuiObjectNameMaximized": "OCTOBOT", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DIRECT", + "paramGuiObjectNameMaximized": "DIRECT", + "displayName": "DIRECT", + "controlId": "level", + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DOWN", + "paramGuiObjectNameMaximized": "DOWN", + "displayName": "DOWN", + "controlId": "octdown", + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SIZZLE", + "paramGuiObjectNameMaximized": "SIZZLE", + "displayName": "SIZZLE", + "controlId": "octup", + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Or120Bass", + "defaultDspUnitParameters": { + "volume": -13.573416, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12m", + "gain": 0.566162, + "treb": 0.67, + "mid": 0.313726, + "bass": 0.505882, + "sag": "match", + "bias": 0.5, + "master": 0.498039 + }, + "info": { + "displayName": "GRUNGE BASS", + "audioGuiObjectNameMinimized": "GRUNGE BASS", + "audioGuiObjectNameMaximized": "GRUNGE BASS", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Overdrive", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.5, + "gain": 0.5, + "low": 0.5, + "mid": 0.5, + "high": 0.5 + }, + "info": { + "displayName": "OVERDRIVE", + "audioGuiObjectNameMinimized": "OVERDRIVE", + "audioGuiObjectNameMaximized": "OVERDRIVE", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t30r", + "remap": { + "min": 1, + "max": 10, + "taper": "t30ri", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LOW", + "paramGuiObjectNameMaximized": "LOW", + "displayType": "knob", + "controlId": "low", + "displayName": "LOW", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MID", + "paramGuiObjectNameMaximized": "MID", + "displayType": "knob", + "controlId": "mid", + "displayName": "MID", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "HIGH", + "paramGuiObjectNameMaximized": "HIGH", + "displayType": "knob", + "controlId": "high", + "displayName": "HIGH", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Passthru", + "defaultDspUnitParameters": {}, + "info": { + "audioGuiObjectNameMinimized": "", + "audioGuiObjectNameMaximized": "", + "displayName": "Pass Thru", + "category": "utility", + "subcategory": "utility" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "Left" + }, + { + "index": 1, + "displayName": "Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Left" + }, + { + "index": 1, + "displayName": "Right" + } + ], + "uiParameters": [] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Phaser", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.99, + "rate": 0.376297, + "depth": 0.99, + "feedback": 0.72, + "shape": "sine" + }, + "info": { + "displayName": "PHASER", + "audioGuiObjectNameMinimized": "PHASER", + "audioGuiObjectNameMaximized": "PHASER", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "tapParameter": "rate", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rate", + "displayName": "SPEED", + "units": "Hz", + "min": 0.08, + "max": 10, + "numTicks": 91, + "taper": "t10", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10i", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DEPTH", + "paramGuiObjectNameMaximized": "DEPTH", + "displayType": "knob", + "controlId": "depth", + "displayName": "DEPTH", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Plexi87Bass", + "defaultDspUnitParameters": { + "volume": -11.261283, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "4x12g", + "gain": 0.5, + "treb": 0.670588, + "mid": 0.301961, + "bass": 0.784314, + "sag": "match", + "bias": 0.5, + "presence": 0.5, + "blend": 0.5 + }, + "info": { + "displayName": "70S ROCK", + "audioGuiObjectNameMinimized": "70S ROCK", + "audioGuiObjectNameMaximized": "70S ROCK", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Redhead", + "defaultDspUnitParameters": { + "volume": -15.295096, + "compressorPreset": "Low1", + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimSWRRedhead2x10", + "gain": 0.667, + "treb": 0.5, + "mid": 0.233333, + "midfreq": 1005, + "bass": 0.667, + "Transparency": true, + "Turbo": false, + "AuralEnhancer": 0.689 + }, + "info": { + "displayName": "SLAP BASS", + "audioGuiObjectNameMinimized": "SLAP BASS", + "audioGuiObjectNameMaximized": "SLAP BASS", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_ReverseDelay", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.75, + "time": 0.4, + "feedback": 0.3, + "attenuate": 1, + "chase": 0.65 + }, + "info": { + "displayName": "REVERSE", + "audioGuiObjectNameMinimized": "REVERSE", + "audioGuiObjectNameMaximized": "REVERSE", + "category": "effect", + "subcategory": "delay" + }, + "ui": { + "hasBypass": true, + "hasTap": true, + "tapParameter": "time", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "numTicks": 91, + "remap": { + "taper": "t50", + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TIME", + "paramGuiObjectNameMaximized": "TIME", + "displayType": "multi", + "controlId": "time", + "displayName": "TIME", + "units": "ms", + "min": 0.03, + "max": 1, + "numTicks": 971, + "remap": { + "units": "ms", + "format": "%0.0f", + "min": 30, + "max": 1000 + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_RumbleV38x10Lite", + "defaultDspUnitParameters": { + "volume": -7.958493, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimBassmanTV1x15", + "gain": 0.67, + "treb": 0.5, + "mid": 0.5, + "midHi": 0.5, + "bass": 0.75, + "contour": false, + "Bright": false + }, + "info": { + "displayName": "BIG RUMBLE", + "audioGuiObjectNameMinimized": "BIG RUMBLE", + "audioGuiObjectNameMaximized": "BIG RUMBLE", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_RumbleV3Lite", + "defaultDspUnitParameters": { + "volume": -3, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimRumbleV3_2x10", + "gain": 0.67, + "treb": 0.5, + "mid": 0.5, + "midHi": 0.5, + "bass": 0.5, + "contour": false, + "Bright": false + }, + "info": { + "displayName": "RUMBLE", + "audioGuiObjectNameMinimized": "RUMBLE", + "audioGuiObjectNameMaximized": "RUMBLE", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "units": "", + "format": "%0.1f", + "min": 1, + "max": 10, + "taper": "t20ri" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_SVT", + "defaultDspUnitParameters": { + "volume": -16.220806, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimAmpegSVT8x10", + "gain": 0.5, + "treb": 0.611, + "mid": 0.333333, + "MidFreqLowMidHi": "Mid", + "bass": 0.611, + "UltraLo": "Off", + "UltraHi": false, + "sag": "match", + "bias": 0.5 + }, + "info": { + "displayName": "ARENA BASS", + "audioGuiObjectNameMinimized": "ARENA BASS", + "audioGuiObjectNameMaximized": "ARENA BASS", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_SimpleCompressor", + "defaultDspUnitParameters": { + "bypass": false, + "type": "medium" + }, + "info": { + "displayName": "COMPRESSOR", + "audioGuiObjectNameMinimized": "COMPRESSOR", + "audioGuiObjectNameMaximized": "COMPRESSOR", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "list", + "paramGuiObjectNameMinimized": "TYPE", + "paramGuiObjectNameMaximized": "TYPE", + "controlId": "type", + "displayName": "TYPE", + "displayType": "multi", + "listItems": [ "low", "medium", "high", "super" ], + "remap": { "listItems": [ "LOW", "MID", "HIGH", "MAX" ] }, + "remapMinimized": { "listItems": [ "LOW", "MID", "HIGH", "MAX" ] } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_SineTremolo", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.86, + "rate": 6.56, + "duty": 0.5, + "dist": 0, + "shape": 0 + }, + "info": { + "displayName": "TREMOLO", + "audioGuiObjectNameMinimized": "TREMOLO", + "audioGuiObjectNameMaximized": "TREMOLO", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "tapParameter": "rate", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t30", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rate", + "displayName": "SPEED", + "units": "Hz", + "min": 1.3, + "max": 10, + "numTicks": 91, + "taper": "t50", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t50", + "units": "" + } + } + ] + } + }, + { + "fixme": "//FIXME: This file is an auto-generated stub, and someone needs to go through it", + "nodeType": "dspUnit", + "FenderId": "DUBS_SmallRoomReverb", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.5, + "decay": 0.5, + "dwell": 0.5, + "diffuse": 0.5, + "tone": 0.5 + }, + "info": { + "displayName": "ROOM RVRB", + "audioGuiObjectNameMinimized": "ROOM RVRB", + "audioGuiObjectNameMaximized": "ROOM RVRB", + "category": "effect", + "subcategory": "reverb" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DECAY", + "paramGuiObjectNameMaximized": "DECAY", + "displayType": "knob", + "controlId": "decay", + "displayName": "DECAY", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TONE", + "paramGuiObjectNameMaximized": "TONE", + "displayType": "knob", + "controlId": "tone", + "displayName": "TONE", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_StepFilter", + "defaultDspUnitParameters": { + "bypass": false, + "level": 1, + "rate": 5.07, + "reson": 0.5, + "loFrq": 0.5, + "hiFrq": 0.5 + }, + "info": { + "displayName": "STEP FILTER", + "audioGuiObjectNameMinimized": "STEP FILTER", + "audioGuiObjectNameMaximized": "STEP FILTER", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "hasTap": false, + "tapParameter": "rate", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rate", + "displayName": "SPEED", + "units": "Hz", + "min": 0.08, + "max": 10, + "numTicks": 91, + "taper": "t10", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10i", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "RESONATE", + "paramGuiObjectNameMaximized": "RESONATE", + "displayType": "knob", + "controlId": "reson", + "displayName": "RESONATE", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LOW FREQ", + "paramGuiObjectNameMaximized": "LOW FREQ", + "displayType": "knob", + "controlId": "loFrq", + "displayName": "LOW FREQ", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "HI FREQ", + "paramGuiObjectNameMaximized": "HI FREQ", + "displayType": "knob", + "controlId": "hiFrq", + "displayName": "HI FREQ", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_StudioPreampBass", + "defaultDspUnitParameters": { + "volume": 0, + "gatePreset": "off", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimFenderPro8x10", + "compressorPreset": "Off", + "gain": 0.5, + "treb": 0.5, + "mid": 0.5, + "bass": 0.5 + }, + "info": { + "displayName": "STUDIO 1", + "audioGuiObjectNameMinimized": "STUDIO 1", + "audioGuiObjectNameMaximized": "STUDIO 1", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_StudioTubePreampBass", + "defaultDspUnitParameters": { + "volume": -8.263186, + "compressorPreset": "Off", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimAmpegSVT8x10", + "gain": 0.888889, + "treb": 0.5, + "mid": 0.277778, + "midfreq": 1005, + "bass": 0.5 + }, + "info": { + "displayName": "STUDIO 2", + "audioGuiObjectNameMinimized": "STUDIO 2", + "audioGuiObjectNameMaximized": "STUDIO 2", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayType": "knob", + "controlId": "bass", + "displayName": "BASS", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayType": "knob", + "controlId": "mid", + "displayName": "MIDDLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayType": "knob", + "controlId": "treb", + "displayName": "TREBLE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "VOLUME", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f", + "units": "" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_SuperBassmanVintage", + "defaultDspUnitParameters": { + "volume": -9.867807, + "compressorPreset": "Low1", + "gatePreset": "low", + "gateDetectorPosition": "jack", + "cabsimType": "cabSimNeo8x10", + "gain": 0.67, + "bass": 0.5, + "mid": 0.467, + "treb": 0.38, + "deep": false, + "bright": false, + "master": 0.333333, + "sag": "match" + }, + "info": { + "displayName": "BASSMAN 2K", + "audioGuiObjectNameMinimized": "BASSMAN 2K", + "audioGuiObjectNameMaximized": "BASSMAN 2K", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayName": "GAIN", + "controlId": "gain", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "BASS", + "paramGuiObjectNameMaximized": "BASS", + "displayName": "BASS", + "controlId": "bass", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "MIDDLE", + "paramGuiObjectNameMaximized": "MIDDLE", + "displayName": "MIDDLE", + "controlId": "mid", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TREBLE", + "paramGuiObjectNameMaximized": "TREBLE", + "displayName": "TREBLE", + "controlId": "treb", + "numTicks": 91, + "displayType": "knob", + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOLUME", + "paramGuiObjectNameMaximized": "VOLUME", + "displayName": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t20r", + "remap": { + "units": "", + "min": 1, + "max": 10, + "taper": "t20ri", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Sustain", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "PostNoPreKill", + "sensitivity": 0.5, + "outputLevel": 0.5 + }, + "info": { + "displayName": "SUSTAIN", + "audioGuiObjectNameMinimized": "SUSTAIN", + "audioGuiObjectNameMaximized": "SUSTAIN", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SENSE", + "paramGuiObjectNameMaximized": "SENSE", + "displayType": "knob", + "controlId": "sensitivity", + "displayName": "SENSE", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t50", + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "outputLevel", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t50", + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_TapeDelayLite", + "defaultDspUnitParameters": { + "bypass": false, + "bypassType": "Post", + "wetLvl": 0.5, + "dlyTime": 0.4, + "feedback": 0.25, + "wowLevel": 0.5 + }, + "info": { + "displayName": "ECHO", + "audioGuiObjectNameMinimized": "ECHO", + "audioGuiObjectNameMaximized": "ECHO", + "category": "effect", + "subcategory": "delay" + }, + "ui": { + "hasBypass": true, + "hasTap": true, + "tapParameter": "dlyTime", + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "wetLvl", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "TIME", + "paramGuiObjectNameMaximized": "TIME", + "displayType": "multi", + "controlId": "dlyTime", + "displayName": "TIME", + "units": "ms", + "min": 0.03, + "max": 1, + "numTicks": 971, + "taper": "t50", + "remap": { + "format": "%0.0f", + "min": 30, + "max": 1000, + "taper": "t50" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "WOW", + "paramGuiObjectNameMaximized": "WOW", + "displayType": "knob", + "controlId": "wowLevel", + "displayName": "WOW", + "min": 0, + "max": 1, + "taper": "t50", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_TriangleFlanger", + "defaultDspUnitParameters": { + "bypass": false, + "level": 1, + "rate": 0.269562, + "depth": 0.666667, + "feedback": 0.777778, + "phase": 0.25 + }, + "info": { + "displayName": "FLANGER", + "audioGuiObjectNameMinimized": "FLANGER", + "audioGuiObjectNameMaximized": "FLANGER", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "tapParameter": "rate", + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "taper": "t30", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f", + "taper": "t30i" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rate", + "displayName": "SPEED", + "units": "Hz", + "min": 0.08, + "max": 10, + "numTicks": 91, + "taper": "t10", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10i", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DEPTH", + "paramGuiObjectNameMaximized": "DEPTH", + "displayType": "knob", + "controlId": "depth", + "displayName": "DEPTH", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_VariFuzz", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.1, + "tone": "loose", + "gain": 1 + }, + "info": { + "displayName": "FUZZ", + "audioGuiObjectNameMinimized": "FUZZ", + "audioGuiObjectNameMaximized": "FUZZ", + "category": "effect", + "subcategory": "stomp" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0.001, + "max": 1, + "taper": "t30", + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "GAIN", + "paramGuiObjectNameMaximized": "GAIN", + "displayType": "knob", + "controlId": "gain", + "displayName": "GAIN", + "numTicks": 91, + "min": 0, + "max": 1, + "taper": "t30", + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "list", + "paramGuiObjectNameMinimized": "VARI", + "paramGuiObjectNameMaximized": "VARI", + "displayType": "multi", + "controlId": "tone", + "displayName": "VARI", + "listItems": [ "tight", "normal", "loose" ], + "remap": { "listItems": [ "TIGHT", "NORMAL", "LOOSE" ] }, + "remapMinimized": { "listItems": [ "TIGHT", "NORMAL", "LOOSE" ] } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Vibratone", + "defaultDspUnitParameters": { + "bypass": false, + "level": 0.96, + "rotor": 5.67, + "depth": 0.18, + "feedback": 0.68, + "phase": 0.52 + }, + "info": { + "displayName": "VIBRATONE", + "audioGuiObjectNameMinimized": "VIBRATONE", + "audioGuiObjectNameMaximized": "VIBRATONE", + "category": "effect", + "subcategory": "mod" + }, + "ui": { + "hasBypass": true, + "inputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "left" + }, + { + "index": 1, + "displayName": "right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "LEVEL", + "paramGuiObjectNameMaximized": "LEVEL", + "displayType": "knob", + "controlId": "level", + "displayName": "LEVEL", + "min": 0, + "max": 1, + "numTicks": 91, + "taper": "t30", + "remap": { + "min": 1, + "max": 10, + "taper": "t30i", + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "SPEED", + "paramGuiObjectNameMaximized": "SPEED", + "displayType": "knob", + "controlId": "rotor", + "displayName": "SPEED", + "units": "Hz", + "min": 0.67, + "max": 5.67, + "numTicks": 91, + "taper": "t10r", + "remap": { + "format": "%2.1f", + "min": 1, + "max": 10, + "taper": "t10ri", + "units": "" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "DEPTH", + "paramGuiObjectNameMaximized": "DEPTH", + "displayType": "knob", + "controlId": "depth", + "displayName": "DEPTH", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "FEEDBACK", + "paramGuiObjectNameMaximized": "FEEDBACK", + "displayType": "knob", + "controlId": "feedback", + "displayName": "FEEDBACK", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + }, + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "PHASE", + "paramGuiObjectNameMaximized": "PHASE", + "displayType": "knob", + "controlId": "phase", + "displayName": "PHASE", + "min": 0, + "max": 1, + "numTicks": 91, + "remap": { + "min": 1, + "max": 10, + "format": "%2.1f" + } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "DUBS_Volume", + "defaultDspUnitParameters": { + "volume": -9, + "gatePreset": "off", + "cabsimType": "none", + "bypass": false + }, + "info": { + "displayName": "Passthru Amp", + "audioGuiObjectNameMinimized": "PASSTHRU AMP", + "audioGuiObjectNameMaximized": "PASSTHRU AMP", + "category": "effect", + "subcategory": "amp" + }, + "ui": { + "hasBypass": false, + "inputs": [ + { + "index": 0, + "displayName": "In Left" + }, + { + "index": 1, + "displayName": "In Right" + } + ], + "outputs": [ + { + "index": 0, + "displayName": "Out Left" + }, + { + "index": 1, + "displayName": "Out Right" + } + ], + "uiParameters": [ + { + "controlType": "continuous", + "paramGuiObjectNameMinimized": "VOL", + "paramGuiObjectNameMaximized": "VOLUME", + "displayType": "knob", + "controlId": "volume", + "displayName": "Volume", + "numTicks": 91, + "units": "dB", + "min": -60, + "max": 0, + "taper": "t50" + }, + { + "controlType": "list", + "paramGuiObjectNameMinimized": "Cab", + "paramGuiObjectNameMaximized": "Cabinet", + "controlId": "cabsimType", + "displayName": "Cabinet", + "displayType": "multi", + "listItems": [ "none", "57champ", "65prince", "ga15rvt", "57dlx", "61brwn", "65dlx", "1x12ss", "65twn", "exlsr", "2x12ss", "3x10bm", "59bman", "2x12c", "4x12m", "4x12g", "4x12v" ], + "remap": { "listItems": [ "NONE", "'57 Champ", "'65 Princeton", "'66 GA-15", "'57 Deluxe", "'61 Brown", "'65 Deluxe", "1X12 SuperSonic", "'65 Twin", "Excelsior", "2X12 SuperSonic", "'57 Bandmaster", "'59 Bassman", "2x12 Blue", "4x12 75W", "4x12 GB", "4x12 V30" ] }, + "remapMinimized": { "listItems": [ "NONE", "'57 Champ", "'65 Prnce", "'66 GA-15", "'57 Dlx", "'61 Brwn", "'65 Dlx", "1X12 SS", "'65 Twin", "Excl- sior", "2X12 SS", "'57 Band", "'59 Bman", "2x12 Blue", "4x12 75W", "4x12 GB", "4x12 V30" ] } + }, + { + "controlType": "list", + "paramGuiObjectNameMinimized": "GATE", + "paramGuiObjectNameMaximized": "NOISE GATE", + "controlId": "gatePreset", + "displayName": "Noise Gate", + "displayType": "multi", + "listItems": [ "off", "low", "mid", "high", "super" ], + "remap": { "listItems": [ "OFF", "LOW", "MEDIUM", "HIGH", "SUPER" ] }, + "remapMinimized": { "listItems": [ "OFF", "LOW", "MED", "HIGH", "SUPR" ] } + } + ] + } + }, + { + "nodeType": "dspUnit", + "FenderId": "Default", + "defaultDspUnitParameters": {}, + "info": { + "audioGuiObjectNameMinimized": "", + "audioGuiObjectNameMaximized": "", + "displayName": "unknown", + "category": "utility", + "subcategory": "utility" + }, + "ui": { + "inputs": [], + "outputs": [], + "uiParameters": [ + { + "controlId": "bypass", + "controlType": "listBool", + "displayType": "knob", + "displayName": "Bypass", + "paramGuiObjectNameMinimized": "Bypass", + "paramGuiObjectNameMaximized": "Bypass" + }, + { + "controlId": "bypassType", + "displayType": "multi", + "displayName": "Bypass Type", + "paramGuiObjectNameMinimized": "Bypass Type", + "paramGuiObjectNameMaximized": "Bypass Type", + "controlType": "list", + "listItems": [ "Pre", "Post" ] + }, + { + "controlId": "clipState", + "displayType": "knob", + "displayName": "Clip", + "paramGuiObjectNameMinimized": "Clip", + "paramGuiObjectNameMaximized": "Clip", + "controlType": "listBool" + }, + { + "controlId": "tapTime", + "displayType": "knob", + "displayName": "Tap", + "paramGuiObjectNameMinimized": "Tap", + "paramGuiObjectNameMaximized": "Tap", + "controlType": "continuous", + "min": 0, + "max": 1 + }, + { + "controlId": "muteInput", + "displayType": "multi", + "displayName": "Mute Input", + "paramGuiObjectNameMinimized": "Mute Input", + "paramGuiObjectNameMaximized": "Mute Input", + "controlType": "listBool" + }, + { + "controlId": "muteOutput", + "displayType": "multi", + "displayName": "Mute Output", + "paramGuiObjectNameMinimized": "Mute Output", + "paramGuiObjectNameMaximized": "Mute Output", + "controlType": "listBool" + } + ] + } ] \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Lib/JsonDefinitions/rumble/profile.json b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/rumble/profile.json similarity index 95% rename from LtDotNet/LtDotNet.Lib/JsonDefinitions/rumble/profile.json rename to LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/rumble/profile.json index 74ad6fe..e1caa60 100644 --- a/LtDotNet/LtDotNet.Lib/JsonDefinitions/rumble/profile.json +++ b/LtAmpDotNet/LtAmpDotNet.Lib/JsonDefinitions/rumble/profile.json @@ -1,200 +1,200 @@ -{ - "productFamily": "rumble", - "effectCategories": [ - { - "categoryName": "stomp", - "menuName18Max": "STOMP", - "dspUnits": [ - { - "FenderId": "DUBS_Passthru", - "menuName18Max": "NONE" - }, - { - "FenderId": "DUBS_Overdrive", - "menuName18Max": "OVERDRIVE" - }, - { - "FenderId": "DUBS_Greenbox", - "menuName18Max": "BLUES DRIVE" - }, - { - "FenderId": "DUBS_ModernBassOverdrive", - "menuName18Max": "BASS DRIVE" - }, - { - "FenderId": "DUBS_Blackbox", - "menuName18Max": "ROCK DIRT" - }, - { - "FenderId": "DUBS_VariFuzz", - "menuName18Max": "FUZZ" - }, - { - "FenderId": "DUBS_Octobot", - "menuName18Max": "OCTOBOT" - }, - { - "FenderId": "DUBS_SimpleCompressor", - "menuName18Max": "COMPRESSOR" - }, - { - "FenderId": "DUBS_Sustain", - "menuName18Max": "SUSTAIN" - }, - { - "FenderId": "DUBS_MustangFiveBandEq1", - "menuName18Max": "5-BAND EQ" - } - ] - }, - { - "categoryName": "mod", - "menuName18Max": "MOD", - "dspUnits": [ - { - "FenderId": "DUBS_Passthru", - "menuName18Max": "NONE" - }, - { - "FenderId": "DUBS_ChorusTriangle", - "menuName18Max": "CHORUS" - }, - { - "FenderId": "DUBS_TriangleFlanger", - "menuName18Max": "FLANGER" - }, - { - "FenderId": "DUBS_Vibratone", - "menuName18Max": "VIBRATONE" - }, - { - "FenderId": "DUBS_SineTremolo", - "menuName18Max": "TREMOLO" - }, - { - "FenderId": "DUBS_Phaser", - "menuName18Max": "PHASER" - }, - { - "FenderId": "DUBS_StepFilter", - "menuName18Max": "STEP FILTER" - }, - { - "FenderId": "DUBS_EcFilter", - "menuName18Max": "TOUCH WAH" - } - ] - }, - { - "categoryName": "delay", - "menuName18Max": "DELAY", - "dspUnits": [ - { - "FenderId": "DUBS_Passthru", - "menuName18Max": "NONE" - }, - { - "FenderId": "DUBS_MonoDelay", - "menuName18Max": "DELAY" - }, - { - "FenderId": "DUBS_ReverseDelay", - "menuName18Max": "REVERSE" - }, - { - "FenderId": "DUBS_TapeDelayLite", - "menuName18Max": "ECHO" - }, - { - "FenderId": "DUBS_LargeHallReverb", - "menuName18Max": "HALL RVRB" - }, - { - "FenderId": "DUBS_SmallRoomReverb", - "menuName18Max": "ROOM RVRB" - } - ] - }, - { - "categoryName": "eq", - "menuName18Max": "EQ", - "dspUnits": [ - { - "FenderId": "DUBS_Passthru", - "menuName18Max": "NONE" - }, - { - "FenderId": "DUBS_MustangFiveBandEq1", - "menuName18Max": "5-BAND EQ" - } - ] - } - ], - "amp": { - "dspUnits": [ - { - "FenderId": "DUBS_StudioPreampBass", - "menuName18Max": "STUDIO 1" - }, - { - "FenderId": "DUBS_StudioTubePreampBass", - "menuName18Max": "STUDIO 2" - }, - { - "FenderId": "DUBS_RumbleV3Lite", - "menuName18Max": "RUMBLE" - }, - { - "FenderId": "DUBS_RumbleV38x10Lite", - "menuName18Max": "BIG RUMBLE" - }, - { - "FenderId": "DUBS_Ampeg66B15", - "menuName18Max": "WARM COMBO" - }, - { - "FenderId": "DUBS_SVT", - "menuName18Max": "ARENA BASS" - }, - { - "FenderId": "DUBS_GK800RB", - "menuName18Max": "CLEAN BASS" - }, - { - "FenderId": "DUBS_Redhead", - "menuName18Max": "SLAP BASS" - }, - { - "FenderId": "DUBS_Bassman300", - "menuName18Max": "BASS 300" - }, - { - "FenderId": "DUBS_MonsterLite", - "menuName18Max": "MONSTER" - }, - { - "FenderId": "DUBS_BassmanTV", - "menuName18Max": "OLD FENDER" - }, - { - "FenderId": "DUBS_DualShowmanBass", - "menuName18Max": "SHOWMAN" - }, - { - "FenderId": "DUBS_Or120Bass", - "menuName18Max": "GRUNGE BASS" - }, - { - "FenderId": "DUBS_Plexi87Bass", - "menuName18Max": "70S ROCK" - }, - { - "FenderId": "DUBS_Jcm800", - "menuName18Max": "ANGRY BRIT" - }, - { - "FenderId": "DUBS_SuperBassmanVintage", - "menuName18Max": "BASSMAN 2K" - } - ] +{ + "productFamily": "rumble", + "effectCategories": [ + { + "categoryName": "stomp", + "menuName18Max": "STOMP", + "dspUnits": [ + { + "FenderId": "DUBS_Passthru", + "menuName18Max": "NONE" + }, + { + "FenderId": "DUBS_Overdrive", + "menuName18Max": "OVERDRIVE" + }, + { + "FenderId": "DUBS_Greenbox", + "menuName18Max": "BLUES DRIVE" + }, + { + "FenderId": "DUBS_ModernBassOverdrive", + "menuName18Max": "BASS DRIVE" + }, + { + "FenderId": "DUBS_Blackbox", + "menuName18Max": "ROCK DIRT" + }, + { + "FenderId": "DUBS_VariFuzz", + "menuName18Max": "FUZZ" + }, + { + "FenderId": "DUBS_Octobot", + "menuName18Max": "OCTOBOT" + }, + { + "FenderId": "DUBS_SimpleCompressor", + "menuName18Max": "COMPRESSOR" + }, + { + "FenderId": "DUBS_Sustain", + "menuName18Max": "SUSTAIN" + }, + { + "FenderId": "DUBS_MustangFiveBandEq1", + "menuName18Max": "5-BAND EQ" + } + ] + }, + { + "categoryName": "mod", + "menuName18Max": "MOD", + "dspUnits": [ + { + "FenderId": "DUBS_Passthru", + "menuName18Max": "NONE" + }, + { + "FenderId": "DUBS_ChorusTriangle", + "menuName18Max": "CHORUS" + }, + { + "FenderId": "DUBS_TriangleFlanger", + "menuName18Max": "FLANGER" + }, + { + "FenderId": "DUBS_Vibratone", + "menuName18Max": "VIBRATONE" + }, + { + "FenderId": "DUBS_SineTremolo", + "menuName18Max": "TREMOLO" + }, + { + "FenderId": "DUBS_Phaser", + "menuName18Max": "PHASER" + }, + { + "FenderId": "DUBS_StepFilter", + "menuName18Max": "STEP FILTER" + }, + { + "FenderId": "DUBS_EcFilter", + "menuName18Max": "TOUCH WAH" + } + ] + }, + { + "categoryName": "delay", + "menuName18Max": "DELAY", + "dspUnits": [ + { + "FenderId": "DUBS_Passthru", + "menuName18Max": "NONE" + }, + { + "FenderId": "DUBS_MonoDelay", + "menuName18Max": "DELAY" + }, + { + "FenderId": "DUBS_ReverseDelay", + "menuName18Max": "REVERSE" + }, + { + "FenderId": "DUBS_TapeDelayLite", + "menuName18Max": "ECHO" + }, + { + "FenderId": "DUBS_LargeHallReverb", + "menuName18Max": "HALL RVRB" + }, + { + "FenderId": "DUBS_SmallRoomReverb", + "menuName18Max": "ROOM RVRB" + } + ] + }, + { + "categoryName": "eq", + "menuName18Max": "EQ", + "dspUnits": [ + { + "FenderId": "DUBS_Passthru", + "menuName18Max": "NONE" + }, + { + "FenderId": "DUBS_MustangFiveBandEq1", + "menuName18Max": "5-BAND EQ" + } + ] + } + ], + "amp": { + "dspUnits": [ + { + "FenderId": "DUBS_StudioPreampBass", + "menuName18Max": "STUDIO 1" + }, + { + "FenderId": "DUBS_StudioTubePreampBass", + "menuName18Max": "STUDIO 2" + }, + { + "FenderId": "DUBS_RumbleV3Lite", + "menuName18Max": "RUMBLE" + }, + { + "FenderId": "DUBS_RumbleV38x10Lite", + "menuName18Max": "BIG RUMBLE" + }, + { + "FenderId": "DUBS_Ampeg66B15", + "menuName18Max": "WARM COMBO" + }, + { + "FenderId": "DUBS_SVT", + "menuName18Max": "ARENA BASS" + }, + { + "FenderId": "DUBS_GK800RB", + "menuName18Max": "CLEAN BASS" + }, + { + "FenderId": "DUBS_Redhead", + "menuName18Max": "SLAP BASS" + }, + { + "FenderId": "DUBS_Bassman300", + "menuName18Max": "BASS 300" + }, + { + "FenderId": "DUBS_MonsterLite", + "menuName18Max": "MONSTER" + }, + { + "FenderId": "DUBS_BassmanTV", + "menuName18Max": "OLD FENDER" + }, + { + "FenderId": "DUBS_DualShowmanBass", + "menuName18Max": "SHOWMAN" + }, + { + "FenderId": "DUBS_Or120Bass", + "menuName18Max": "GRUNGE BASS" + }, + { + "FenderId": "DUBS_Plexi87Bass", + "menuName18Max": "70S ROCK" + }, + { + "FenderId": "DUBS_Jcm800", + "menuName18Max": "ANGRY BRIT" + }, + { + "FenderId": "DUBS_SuperBassmanVintage", + "menuName18Max": "BASSMAN 2K" + } + ] } \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Lib/LtDevice.cs b/LtAmpDotNet/LtAmpDotNet.Lib/LtAmpDevice.cs similarity index 76% rename from LtDotNet/LtDotNet.Lib/LtDevice.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/LtAmpDevice.cs index 6c80846..7032891 100644 --- a/LtDotNet/LtDotNet.Lib/LtDevice.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/LtAmpDevice.cs @@ -1,633 +1,560 @@ -using Google.Protobuf.Collections; -using HidSharp; -using HidSharp.Reports; -using HidSharp.Reports.Input; -using LtDotNet.Lib.Model; -using Newtonsoft.Json; -using System.Diagnostics; -using System.Reflection; -using System.Timers; -using Timer = System.Timers.Timer; -using System.Windows.Markup; -using LtDotNet.Lib.Model.Preset; -using LtDotNet.Lib.Model.Profile; -using LtDotNet.Lib.Extensions; - -namespace LtDotNet.Lib -{ - public partial class LtDevice : IDisposable - { - - #region public properties - - public bool IsOpen - { - get { return _isOpen; } - } - public static LtDeviceInfo DeviceInfo { get; set; } - public static List DspUnitDefinitions { get; set; } - public ErrorType ErrorType { get; set; } - - #endregion - - #region private fields and properties - - private HidDevice _device { get; set; } - private HidStream _deviceStream { get; set; } - private ReportDescriptor _descriptor { get; set; } - private HidDeviceInputReceiver _inputReceiver { get; set; } - private bool _isOpen; - private int _reportLength = 0; - private byte[] _inputBuffer; - private byte[] _dataBuffer = new byte[0]; - private bool disposedValue; - - private TimerCallback _heartbeatCallback { get; set; } - - #endregion - public LtDevice() - { - DeviceInfo = new LtDeviceInfo(); - DeviceInfo.Presets = new List(LtDeviceInfo.NUM_OF_PRESETS); - for(var i = DeviceInfo.Presets.Count; i <= LtDeviceInfo.NUM_OF_PRESETS; i++) - { - DeviceInfo.Presets.Add(new Preset()); - } - } - - public void Open(bool waitAndConnect = true) - { - DeviceConnected += LtDevice_DeviceConnected; - _device = DeviceList.Local.GetHidDeviceOrNull(LtDeviceInfo.VENDOR_ID, LtDeviceInfo.PRODUCT_ID); - if(_device != null) - { - Connect(); - } - else - { - DeviceList.Local.Changed += UsbDevices_Changed; - } - } - - public void Connect() - { - _inputBuffer = new byte[_device.GetMaxInputReportLength()]; - _descriptor = _device.GetReportDescriptor(); - _inputReceiver = _descriptor.CreateHidDeviceInputReceiver(); - _inputReceiver.Received += InputReceiver_Received; - _deviceStream = _device.Open(); - if (_deviceStream == null) - { - throw new IOException("Could not open connection to device"); - } - _deviceStream.Closed += _deviceStream_Closed; - _inputReceiver.Start(_deviceStream); - InitializeConnection(); - Timer heartbeatTimer = new Timer(1000); - heartbeatTimer.Elapsed += HeartbeatTimer_Elapsed; - heartbeatTimer.Start(); - _isOpen = true; - DeviceConnected.Invoke(this, null); - } - - public void Close() - { - _deviceStream.Close(); - } - - protected virtual void Dispose(bool disposing) - { - if (!disposedValue) - { - if (disposing) - { - _deviceStream.Close(); - _deviceStream.Dispose(); - } - disposedValue = true; - } - } - - public void Dispose() - { - // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method - Dispose(disposing: true); - GC.SuppressFinalize(this); - } - - public void GetAllPresets() - { - for (int i = 1; i <= LtDeviceInfo.NUM_OF_PRESETS; i++) - { - GetPreset(i); - Thread.Sleep(100); - } - } - - public void SendMessage(FenderMessageLT message) - { - foreach (var packet in message.ToUsbMessage()) - { - _deviceStream.Write(packet); - } - if (message.TypeCase != FenderMessageLT.TypeOneofCase.Heartbeat) - { - MessageSent?.Invoke(message); - } - } - - #region private event handlers - - private void _deviceStream_Closed(object? sender, EventArgs e) - { - _isOpen = false; - DeviceDisconnected.Invoke(this, null); - } - - private void UsbDevices_Changed(object? sender, DeviceListChangedEventArgs e) - { - _device = DeviceList.Local.GetHidDeviceOrNull(LtDeviceInfo.VENDOR_ID, LtDeviceInfo.PRODUCT_ID); - if (_device != null) - { - DeviceList.Local.Changed -= UsbDevices_Changed; - Connect(); - } - } - - private void LtDevice_DeviceConnected(object sender, EventArgs e) - { - ImportDspUnitDefinitions(DeviceInfo.ProductId); - } - - private void HeartbeatTimer_Elapsed(object? sender, ElapsedEventArgs e) - { - SendMessage(new FenderMessageLT() - { - ResponseType = ResponseType.Unsolicited, - Heartbeat = new Heartbeat() - { - DummyField = true - } - }); - } - - private void InputReceiver_Received(object? sender, EventArgs e) - { - while (_inputReceiver.Stream.CanRead) - { - var inputBuffer = _inputReceiver.Stream.Read(); - var tag = inputBuffer[2]; - var length = inputBuffer[3]; - var bufferStart = _dataBuffer.Length; - Array.Resize(ref _dataBuffer, _dataBuffer.Length + length); - Buffer.BlockCopy(inputBuffer, 4, _dataBuffer, bufferStart, length); - if (tag == (byte)UsbHidMessageTag.End) - { - var message = FenderMessageLT.Parser.ParseFrom(_dataBuffer); - OnMessageReceived(message); - _dataBuffer = new byte[0]; - } - inputBuffer = new byte[_reportLength]; - } - } - - private void OnMessageReceived(FenderMessageLT message) - { - switch (message.TypeCase) - { - case FenderMessageLT.TypeOneofCase.AuditionPresetStatus: - DeviceInfo.AuditioningPreset = Preset.FromString(message.AuditionPresetStatus.PresetData); - AuditionPresetStatusMessageReceived?.Invoke(message.AuditionPresetStatus); - break; - case FenderMessageLT.TypeOneofCase.AuditionStateStatus: - DeviceInfo.IsAuditioning = message.AuditionStateStatus.IsAuditioning; - if (!DeviceInfo.IsAuditioning) - { - DeviceInfo.AuditioningPreset = null; - } - AuditionStateStatusMessageReceived?.Invoke(message.AuditionStateStatus); - break; - case FenderMessageLT.TypeOneofCase.ClearPresetStatus: - ClearPresetStatusMessageReceived?.Invoke(message.ClearPresetStatus); - DeviceInfo.Presets[message.ClearPresetStatus.SlotIndex] = new Preset(); - break; - case FenderMessageLT.TypeOneofCase.ConnectionStatus: - DeviceInfo.IsConnected = message.ConnectionStatus.IsConnected; - ConnectionStatusMessageReceived?.Invoke(message.ConnectionStatus); - break; - case FenderMessageLT.TypeOneofCase.CurrentDisplayedPresetIndexStatus: - DeviceInfo.DisplayedPresetIndex = message.CurrentDisplayedPresetIndexStatus.CurrentDisplayedPresetIndex; - CurrentDisplayedPresetIndexStatusMessageReceived?.Invoke(message.CurrentDisplayedPresetIndexStatus); - break; - case FenderMessageLT.TypeOneofCase.CurrentLoadedPresetIndexStatus: - DeviceInfo.ActivePresetIndex = message.CurrentLoadedPresetIndexStatus.CurrentLoadedPresetIndex; - CurrentLoadedPresetIndexStatusMessageReceived?.Invoke(message.CurrentLoadedPresetIndexStatus); - break; - case FenderMessageLT.TypeOneofCase.CurrentLoadedPresetIndexBypassStatus: - CurrentLoadedPresetIndexBypassStatusMessageReceived?.Invoke(message.CurrentLoadedPresetIndexBypassStatus); - break; - case FenderMessageLT.TypeOneofCase.CurrentPresetStatus: - DeviceInfo.CurrentPreset = Preset.FromString(message.CurrentPresetStatus.CurrentPresetData); - CurrentPresetStatusMessageReceived?.Invoke(message.CurrentPresetStatus); - break; - case FenderMessageLT.TypeOneofCase.DspUnitParameterStatus: - DspUnitParameterStatusMessageReceived?.Invoke(message.DspUnitParameterStatus); - break; - case FenderMessageLT.TypeOneofCase.ExitAuditionPresetStatus: - ExitAuditionPresetStatusMessageReceived?.Invoke(message.ExitAuditionPresetStatus); - break; - case FenderMessageLT.TypeOneofCase.FirmwareVersionStatus: - DeviceInfo.FirmwareVersion = message.FirmwareVersionStatus.Version; - FirmwareVersionStatusMessageReceived?.Invoke(message.FirmwareVersionStatus); - break; - case FenderMessageLT.TypeOneofCase.FrameBufferMessage: - FrameBufferMessageReceived?.Invoke(message.FrameBufferMessage); - break; - case FenderMessageLT.TypeOneofCase.IndexButton: - IndexButtonMessageReceived?.Invoke(message.IndexButton); - break; - case FenderMessageLT.TypeOneofCase.IndexEncoder: - IndexEncoderMessageReceived?.Invoke(message.IndexEncoder); - break; - case FenderMessageLT.TypeOneofCase.IndexPot: - IndexPotMessageReceived?.Invoke(message.IndexPot); - break; - case FenderMessageLT.TypeOneofCase.LineOutGainStatus: - LineOutGainStatusMessageReceived?.Invoke(message.LineOutGainStatus); - break; - case FenderMessageLT.TypeOneofCase.Lt4FootswitchModeStatus: - LT4FootswitchModeStatusMessageReceived?.Invoke(message.Lt4FootswitchModeStatus); - break; - case FenderMessageLT.TypeOneofCase.MemoryUsageStatus: - DeviceInfo.MemoryUsageStatus = message.MemoryUsageStatus; - MemoryUsageStatusMessageReceived?.Invoke(message.MemoryUsageStatus); - break; - case FenderMessageLT.TypeOneofCase.ModalStatusMessage: - DeviceInfo.ModalContext = message.ModalStatusMessage.Context; - DeviceInfo.ModalState = message.ModalStatusMessage.State; - ModalStatusMessageMessageReceived?.Invoke(message.ModalStatusMessage); - break; - case FenderMessageLT.TypeOneofCase.NewPresetSavedStatus: - NewPresetSavedStatusMessageReceived?.Invoke(message.NewPresetSavedStatus); - break; - case FenderMessageLT.TypeOneofCase.PresetEditedStatus: - DeviceInfo.IsPresetEdited = message.PresetEditedStatus.PresetEdited; - PresetEditedStatusMessageReceived?.Invoke(message.PresetEditedStatus); - break; - case FenderMessageLT.TypeOneofCase.PresetJSONMessage: - DeviceInfo.Presets[message.PresetJSONMessage.SlotIndex] = Preset.FromString(message.PresetJSONMessage.Data); - PresetJSONMessageReceived?.Invoke(message.PresetJSONMessage); - break; - case FenderMessageLT.TypeOneofCase.PresetSavedStatus: - PresetSavedStatusMessageReceived?.Invoke(message.PresetSavedStatus); - break; - case FenderMessageLT.TypeOneofCase.ProcessorUtilization: - DeviceInfo.ProcessorUtilization = message.ProcessorUtilization; - ProcessorUtilizationMessageReceived?.Invoke(message.ProcessorUtilization); - break; - case FenderMessageLT.TypeOneofCase.ProductIdentificationStatus: - DeviceInfo.ProductId = message.ProductIdentificationStatus.Id; - ProductIdentificationStatusMessageReceived?.Invoke(message.ProductIdentificationStatus); - break; - case FenderMessageLT.TypeOneofCase.QASlotsStatus: - DeviceInfo.FootswitchPresets = message.QASlotsStatus.Slots.ToArray(); - QASlotsStatusMessageReceived?.Invoke(message.QASlotsStatus); - break; - case FenderMessageLT.TypeOneofCase.ReplaceNodeStatus: - ReplaceNodeStatusMessageReceived?.Invoke(message.ReplaceNodeStatus); - break; - case FenderMessageLT.TypeOneofCase.SetDspUnitParameterStatus: - SetDspUnitParameterStatusMessageReceived?.Invoke(message.SetDspUnitParameterStatus); - break; - case FenderMessageLT.TypeOneofCase.ShiftPresetStatus: - ShiftPresetStatusMessageReceived?.Invoke(message.ShiftPresetStatus); - break; - case FenderMessageLT.TypeOneofCase.SwapPresetStatus: - SwapPresetStatusMessageReceived?.Invoke(message.SwapPresetStatus); - break; - case FenderMessageLT.TypeOneofCase.UnsupportedMessageStatus: - ErrorType = message.UnsupportedMessageStatus.Status; - UnsupportedMessageStatusReceived?.Invoke(message.UnsupportedMessageStatus); - break; - case FenderMessageLT.TypeOneofCase.UsbGainStatus: - DeviceInfo.UsbGain = message.UsbGainStatus.ValueDB; - UsbGainStatusMessageReceived?.Invoke(message.UsbGainStatus); - break; - case FenderMessageLT.TypeOneofCase.ActiveDisplay: - ActiveDisplayMessageReceived?.Invoke(message.ActiveDisplay); - UnknownMessageReceived?.Invoke(message); - break; - default: - break; - } - MessageReceived?.Invoke(message); - } - - #endregion - - #region private methods - - private void InitializeConnection(bool getData = true) - { - SetModalState(ModalContext.SyncBegin); - Thread.Sleep(100); - if (getData) - { - GetFirmwareVersion(); - Thread.Sleep(100); - GetProductIdentification(); - Thread.Sleep(100); - GetLineOutGain(); - Thread.Sleep(100); - GetQASlots(); - Thread.Sleep(100); - GetUsbGain(); - Thread.Sleep(100); - } - SetModalState(ModalContext.SyncEnd); - } - - private void ImportDspUnitDefinitions(string deviceType) - { - var rawData = File.ReadAllText(Path.Join(Environment.CurrentDirectory, "JsonDefinitions", "mustang", "dsp_units.json")); - DspUnitDefinitions = JsonConvert.DeserializeObject>(rawData); - } - - #endregion - - #region Commands - - #region Auditioning - - // AuditionPreset - // response: AuditionPresetStatus - public void SetAuditionPreset(Preset preset) - { - SendMessage(MessageFactory.Create(new AuditionPreset() { PresetData = preset.ToString() })); - } - - // AuditionStateRequest - // response: AuditionStateStatus - public void GetAuditionState() - { - SendMessage(MessageFactory.Create(new AuditionStateRequest() { Request = true })); - } - - // ExitAuditionPreset - // response: ExitAuditionPresetStatus - public void ExitAuditionPreset(bool exitStatus = true) - { - SendMessage(MessageFactory.Create(new ExitAuditionPreset() { Exit = exitStatus })); - } - - #endregion - - #region Preset management - - // CurrentPresetRequest - // response: CurrentPresetStatus - public void GetCurrentPreset() - { - SendMessage(MessageFactory.Create(new CurrentPresetRequest() { Request = true })); - } - - // CurrentPresetSet - // response: CurrentPresetStatus - public void SetCurrentPreset(Preset preset) - { - SendMessage(MessageFactory.Create(new CurrentPresetSet() { CurrentPresetData = preset.ToString() })); - } - - // LoadPreset - // response: CurrentLoadedPresetIndexStatus - public void LoadPreset(int slotIndex) - { - SendMessage(MessageFactory.Create(new LoadPreset() { PresetIndex = slotIndex })); - } - - // ShiftPreset - // response: ShiftPresetStatus - public void ShiftPreset(int from, int to) - { - SendMessage(MessageFactory.Create(new ShiftPreset() { IndexToShiftFrom = from, IndexToShiftTo = to })); - } - - // SwapPreset - // response: SwapPresetStatus - public void SwapPreset(int slotIndexA, int slotIndexB) - { - SendMessage(MessageFactory.Create(new SwapPreset() { IndexA = slotIndexA, IndexB = slotIndexB })); - } - - // RetrievePreset - // response: PresetJsonMessage - public void GetPreset(int slotIndex) - { - SendMessage(MessageFactory.Create(new RetrievePreset() { Slot = slotIndex })); - } - - // SaveCurrentPreset - // response: PresetSavedStatus - public void SaveCurrentPreset() - { - SendMessage(MessageFactory.Create(new SaveCurrentPreset() { Save = true })); - } - - // SaveCurrentPresetTo - // response: PresetSavedStatus - public void SaveCurrentPresetTo(int slotIndex, string name) - { - SendMessage(MessageFactory.Create(new SaveCurrentPresetTo() { PresetName = name, PresetSlot = slotIndex })); - } - - // SavePresetAs - // response: PresetSavedStatus - public void SavePresetAs(int slotIndex, Preset preset, bool loadPreset = true) - { - SendMessage(MessageFactory.Create(new SavePresetAs() { PresetSlot = slotIndex, PresetData = preset.ToString(), IsLoadPreset = loadPreset })); - } - - // RenamePresetAt - public void RenamePresetAt(int slotIndex, string name) - { - SendMessage(MessageFactory.Create(new RenamePresetAt() { PresetName = name, PresetSlot = slotIndex })); - } - - - // ClearPreset - // response: ClearPresetStatus - public void ClearPreset(int slotIndex, bool isLoadPreset = true) - { - SendMessage(MessageFactory.Create(new ClearPreset() { SlotIndex = slotIndex, IsLoadPreset = isLoadPreset })); - } - - // ConnectionStatusRequest - // response: ConnectionStatus - public void GetConnectionStatus() - { - SendMessage(MessageFactory.Create(new ConnectionStatusRequest() { Request = true })); - } - - // SetDspUnitParameter - // response: setDspUnitParameterStatus - public void SetDspUnitParameter(string nodeId, DspUnitParameter parameter) - { - var message = MessageFactory.Create(new SetDspUnitParameter() - { - NodeId = nodeId, - ParameterId = parameter.Name - }); - switch (parameter.ParameterType) - { - case DspUnitParameterType.Boolean: - message.SetDspUnitParameter.BoolParameter = parameter.Value; - break; - case DspUnitParameterType.Integer: - message.SetDspUnitParameter.Sint32Parameter = parameter.Value; - break; - case DspUnitParameterType.String: - message.SetDspUnitParameter.StringParameter = parameter.Value; - break; - case DspUnitParameterType.Float: - message.SetDspUnitParameter.FloatParameter = parameter.Value; - break; - } - SendMessage(message); - } - - // ReplaceNode - public void ReplaceNode(string nodeId, string fenderId) - { - SendMessage(MessageFactory.Create(new ReplaceNode() { NodeIdToReplace = nodeId, FenderIdToReplaceWith = fenderId })); - } - - #endregion - - #region device info - - // ModalState - // response: ModalState - public void SetModalState(ModalContext modalContext) - { - SendMessage(MessageFactory.Create(new ModalStatusMessage() { Context = modalContext, State = ModalState.Ok })); - } - - // FirmwareVersionRequest - // response: FirmwareVersionStatus - public void GetFirmwareVersion() - { - SendMessage(MessageFactory.Create(new FirmwareVersionRequest() { Request = true })); - } - - // MemoryUsageRequest - public void GetMemoryUsage() - { - SendMessage(MessageFactory.Create(new MemoryUsageRequest() { Request = true })); - } - - public void GetProcessorUtilization() - { - SendMessage(MessageFactory.Create(new ProcessorUtilizationRequest() { Request = true })); - } - - public void GetProductIdentification() - { - SendMessage(MessageFactory.Create(new ProductIdentificationRequest() { Request = true })); - } - - // Heartbeat - public void Heartbeat() - { - SendMessage(MessageFactory.Create(new Heartbeat() { DummyField = true })); - } - - public void GetQASlots() - { - SendMessage(MessageFactory.Create(new QASlotsRequest() { Request = true })); - } - - public void SetQASlots(uint[] slotIndexes) - { - var message = MessageFactory.Create(new QASlotsSet()); - message.QASlotsSet.Slots.Add(slotIndexes); - SendMessage(message); - } - - public void GetUsbGain() - { - SendMessage(MessageFactory.Create(new UsbGainRequest() { Request = true })); - } - - public void SetUsbGain(float value) - { - SendMessage(MessageFactory.Create(new UsbGainSet() { ValueDB = value })); - } - - #endregion - - #region pre-formed commands - - public void SetTuner(bool on_off) - { - SetModalState(on_off ? ModalContext.TunerEnable : ModalContext.TunerDisable); - } - - #endregion - - #region Unknown messages - // ActiveDisplay - public void ActiveDisplay(string pageName) - { - SendMessage(MessageFactory.Create(new ActiveDisplay() { PageName = pageName })); - } - - // PresetJSONMessageRequest_LT - public void GetPresetLT(int request) - { - SendMessage(MessageFactory.Create(new PresetJSONMessageRequest_LT() { Request = request })); - } - - // FrameBufferMessageRequest - // response: FrameBufferMessage - public void GetFramebuffer() - { - SendMessage(MessageFactory.Create(new FrameBufferMessageRequest() { Request = true })); - } - - // LineOutGainRequest - // response: LineOutGainStatus - public void GetLineOutGain() - { - SendMessage(MessageFactory.Create(new LineOutGainRequest() { Request = true })); - } - - // LineOutGainSet - // response: LineOutGainStatus - public void SetLineOutGain(float value) - { - SendMessage(MessageFactory.Create(new LineOutGainSet() { ValueDB = value })); - } - - public void LoopbackTest(string data) - { - SendMessage(MessageFactory.Create(new LoopbackTest() { Data = data })); - } - - public void GetLt4FootswitchMode() - { - SendMessage(MessageFactory.Create(new LT4FootswitchModeRequest() { Request = true })); - } - - #endregion - - #endregion - - } - - public enum UsbHidMessageTag - { - Start = 0x33, - Continue = 0x34, - End = 0x35, - } -} +using Google.Protobuf.Collections; +using HidSharp; +using HidSharp.Reports; +using HidSharp.Reports.Input; +using LtAmpDotNet.Lib.Model; +using Newtonsoft.Json; +using System.Diagnostics; +using System.Reflection; +using System.Timers; +using Timer = System.Timers.Timer; +using System.Windows.Markup; +using LtAmpDotNet.Lib.Model.Preset; +using LtAmpDotNet.Lib.Model.Profile; +using LtAmpDotNet.Lib.Extensions; +using LtAmpDotNet.Lib.Device; + +namespace LtAmpDotNet.Lib +{ + public partial class LtAmpDevice : IDisposable + { + public const int NUM_OF_PRESETS = 60; + + #region public properties + + public bool IsOpen + { + get { return _isOpen; } + } + //public static LtDeviceInfo DeviceInfo { get; set; } + public static List? DspUnitDefinitions { get; set; } + public ErrorType ErrorType { get; set; } + + #endregion + + #region private fields and properties + + private IUsbAmpDevice _device { get; set; } + private bool _isOpen; + private byte[]? _inputBuffer; + private bool disposedValue; + private TimerCallback? _heartbeatCallback { get; set; } + + #endregion + + public LtAmpDevice() + { + _device = new UsbAmpDevice(); + ImportDspUnitDefinitions(); + } + + public LtAmpDevice(IUsbAmpDevice device) : this() + { + _device = device; + } + + public void Open(bool waitAndConnect = true) + { + DeviceConnected += LtDevice_DeviceConnected; + _device.MessageReceived += OnMessageReceived; + _device.MessageSent += OnMessageSent; + _device.Open(); + _inputBuffer = new byte[_device.ReportLength.GetValueOrDefault()]; + InitializeConnection(); + Timer heartbeatTimer = new Timer(1000); + heartbeatTimer.Elapsed += HeartbeatTimer_Elapsed; + heartbeatTimer.Start(); + _isOpen = true; + DeviceConnected.Invoke(this, null!); + } + + private void OnMessageSent(FenderMessageLT message) + { + MessageSent?.Invoke(message); + } + + public void Close() + { + _device.Close(); + _isOpen = false; + } + + protected virtual void Dispose(bool disposing) + { + if (!disposedValue) + { + if (disposing) + { + if(_device != null) + { + _device.Close(); + _device.Dispose(); + } + } + disposedValue = true; + } + } + + public void Dispose() + { + // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method + Dispose(disposing: true); + GC.SuppressFinalize(this); + } + + public void GetAllPresets() + { + for (int i = 1; i <= NUM_OF_PRESETS; i++) + { + GetPreset(i); + Thread.Sleep(100); + } + } + + public void SendMessage(FenderMessageLT message) + { + _device.Write(message); + } + + #region private event handlers + + private void _deviceStream_Closed(object? sender, EventArgs e) + { + _isOpen = false; + DeviceDisconnected?.Invoke(this, null!); + } + + private void LtDevice_DeviceConnected(object sender, EventArgs e) + { + //ImportDspUnitDefinitions(DeviceInfo.ProductId); + } + + private void HeartbeatTimer_Elapsed(object? sender, ElapsedEventArgs e) + { + SendMessage(new FenderMessageLT() + { + ResponseType = ResponseType.Unsolicited, + Heartbeat = new Heartbeat() + { + DummyField = true + } + }); + } + + private void OnMessageReceived(FenderMessageLT message) + { + switch (message.TypeCase) + { + case FenderMessageLT.TypeOneofCase.AuditionPresetStatus: + AuditionPresetStatusMessageReceived?.Invoke(message.AuditionPresetStatus); + break; + case FenderMessageLT.TypeOneofCase.AuditionStateStatus: + AuditionStateStatusMessageReceived?.Invoke(message.AuditionStateStatus); + break; + case FenderMessageLT.TypeOneofCase.ClearPresetStatus: + ClearPresetStatusMessageReceived?.Invoke(message.ClearPresetStatus); + break; + case FenderMessageLT.TypeOneofCase.ConnectionStatus: + ConnectionStatusMessageReceived?.Invoke(message.ConnectionStatus); + break; + case FenderMessageLT.TypeOneofCase.CurrentDisplayedPresetIndexStatus: + CurrentDisplayedPresetIndexStatusMessageReceived?.Invoke(message.CurrentDisplayedPresetIndexStatus); + break; + case FenderMessageLT.TypeOneofCase.CurrentLoadedPresetIndexStatus: + CurrentLoadedPresetIndexStatusMessageReceived?.Invoke(message.CurrentLoadedPresetIndexStatus); + break; + case FenderMessageLT.TypeOneofCase.CurrentLoadedPresetIndexBypassStatus: + CurrentLoadedPresetIndexBypassStatusMessageReceived?.Invoke(message.CurrentLoadedPresetIndexBypassStatus); + break; + case FenderMessageLT.TypeOneofCase.CurrentPresetStatus: + CurrentPresetStatusMessageReceived?.Invoke(message.CurrentPresetStatus); + break; + case FenderMessageLT.TypeOneofCase.DspUnitParameterStatus: + DspUnitParameterStatusMessageReceived?.Invoke(message.DspUnitParameterStatus); + break; + case FenderMessageLT.TypeOneofCase.ExitAuditionPresetStatus: + ExitAuditionPresetStatusMessageReceived?.Invoke(message.ExitAuditionPresetStatus); + break; + case FenderMessageLT.TypeOneofCase.FirmwareVersionStatus: + FirmwareVersionStatusMessageReceived?.Invoke(message.FirmwareVersionStatus); + break; + case FenderMessageLT.TypeOneofCase.FrameBufferMessage: + FrameBufferMessageReceived?.Invoke(message.FrameBufferMessage); + break; + case FenderMessageLT.TypeOneofCase.IndexButton: + IndexButtonMessageReceived?.Invoke(message.IndexButton); + break; + case FenderMessageLT.TypeOneofCase.IndexEncoder: + IndexEncoderMessageReceived?.Invoke(message.IndexEncoder); + break; + case FenderMessageLT.TypeOneofCase.IndexPot: + IndexPotMessageReceived?.Invoke(message.IndexPot); + break; + case FenderMessageLT.TypeOneofCase.LineOutGainStatus: + LineOutGainStatusMessageReceived?.Invoke(message.LineOutGainStatus); + break; + case FenderMessageLT.TypeOneofCase.Lt4FootswitchModeStatus: + LT4FootswitchModeStatusMessageReceived?.Invoke(message.Lt4FootswitchModeStatus); + break; + case FenderMessageLT.TypeOneofCase.MemoryUsageStatus: + MemoryUsageStatusMessageReceived?.Invoke(message.MemoryUsageStatus); + break; + case FenderMessageLT.TypeOneofCase.ModalStatusMessage: + ModalStatusMessageMessageReceived?.Invoke(message.ModalStatusMessage); + break; + case FenderMessageLT.TypeOneofCase.NewPresetSavedStatus: + NewPresetSavedStatusMessageReceived?.Invoke(message.NewPresetSavedStatus); + break; + case FenderMessageLT.TypeOneofCase.PresetEditedStatus: + PresetEditedStatusMessageReceived?.Invoke(message.PresetEditedStatus); + break; + case FenderMessageLT.TypeOneofCase.PresetJSONMessage: + PresetJSONMessageReceived?.Invoke(message.PresetJSONMessage); + break; + case FenderMessageLT.TypeOneofCase.PresetSavedStatus: + PresetSavedStatusMessageReceived?.Invoke(message.PresetSavedStatus); + break; + case FenderMessageLT.TypeOneofCase.ProcessorUtilization: + ProcessorUtilizationMessageReceived?.Invoke(message.ProcessorUtilization); + break; + case FenderMessageLT.TypeOneofCase.ProductIdentificationStatus: + ProductIdentificationStatusMessageReceived?.Invoke(message.ProductIdentificationStatus); + break; + case FenderMessageLT.TypeOneofCase.QASlotsStatus: + QASlotsStatusMessageReceived?.Invoke(message.QASlotsStatus); + break; + case FenderMessageLT.TypeOneofCase.ReplaceNodeStatus: + ReplaceNodeStatusMessageReceived?.Invoke(message.ReplaceNodeStatus); + break; + case FenderMessageLT.TypeOneofCase.SetDspUnitParameterStatus: + SetDspUnitParameterStatusMessageReceived?.Invoke(message.SetDspUnitParameterStatus); + break; + case FenderMessageLT.TypeOneofCase.ShiftPresetStatus: + ShiftPresetStatusMessageReceived?.Invoke(message.ShiftPresetStatus); + break; + case FenderMessageLT.TypeOneofCase.SwapPresetStatus: + SwapPresetStatusMessageReceived?.Invoke(message.SwapPresetStatus); + break; + case FenderMessageLT.TypeOneofCase.UnsupportedMessageStatus: + ErrorType = message.UnsupportedMessageStatus.Status; + UnsupportedMessageStatusReceived?.Invoke(message.UnsupportedMessageStatus); + break; + case FenderMessageLT.TypeOneofCase.UsbGainStatus: + UsbGainStatusMessageReceived?.Invoke(message.UsbGainStatus); + break; + case FenderMessageLT.TypeOneofCase.ActiveDisplay: + ActiveDisplayMessageReceived?.Invoke(message.ActiveDisplay); + break; + default: + UnknownMessageReceived?.Invoke(message); + break; + } + MessageReceived?.Invoke(message); + } + + #endregion + + #region private methods + + private void InitializeConnection(bool getData = true) + { + SetModalState(ModalContext.SyncBegin); + Thread.Sleep(100); + if (getData) + { + GetFirmwareVersion(); + Thread.Sleep(100); + GetProductIdentification(); + Thread.Sleep(100); + GetQASlots(); + Thread.Sleep(100); + GetUsbGain(); + Thread.Sleep(100); + } + SetModalState(ModalContext.SyncEnd); + } + + private void ImportDspUnitDefinitions(string? deviceType = null) + { + var rawData = File.ReadAllText(Path.Join(Environment.CurrentDirectory, "JsonDefinitions", "mustang", "dsp_units.json")); + DspUnitDefinitions = JsonConvert.DeserializeObject>(rawData); + } + + #endregion + + #region Commands + + #region Auditioning + + // AuditionPreset + // response: AuditionPresetStatus + public void SetAuditionPreset(Preset preset) + { + SendMessage(MessageFactory.Create(new AuditionPreset() { PresetData = preset.ToString() })); + } + + // AuditionStateRequest + // response: AuditionStateStatus + public void GetAuditionState() + { + SendMessage(MessageFactory.Create(new AuditionStateRequest() { Request = true })); + } + + // ExitAuditionPreset + // response: ExitAuditionPresetStatus + public void ExitAuditionPreset(bool exitStatus = true) + { + SendMessage(MessageFactory.Create(new ExitAuditionPreset() { Exit = exitStatus })); + } + + #endregion + + #region Preset management + + // CurrentPresetRequest + // response: CurrentPresetStatus + public void GetCurrentPreset() + { + SendMessage(MessageFactory.Create(new CurrentPresetRequest() { Request = true })); + } + + // CurrentPresetSet + // response: CurrentPresetStatus + public void SetCurrentPreset(Preset preset) + { + SendMessage(MessageFactory.Create(new CurrentPresetSet() { CurrentPresetData = preset.ToString() })); + } + + // LoadPreset + // response: CurrentLoadedPresetIndexStatus + public void LoadPreset(int slotIndex) + { + SendMessage(MessageFactory.Create(new LoadPreset() { PresetIndex = slotIndex })); + } + + // ShiftPreset + // response: ShiftPresetStatus + public void ShiftPreset(int from, int to) + { + SendMessage(MessageFactory.Create(new ShiftPreset() { IndexToShiftFrom = from, IndexToShiftTo = to })); + } + + // SwapPreset + // response: SwapPresetStatus + public void SwapPreset(int slotIndexA, int slotIndexB) + { + SendMessage(MessageFactory.Create(new SwapPreset() { IndexA = slotIndexA, IndexB = slotIndexB })); + } + + // RetrievePreset + // response: PresetJsonMessage + public void GetPreset(int slotIndex) + { + SendMessage(MessageFactory.Create(new RetrievePreset() { Slot = slotIndex })); + } + + // SaveCurrentPreset + // response: PresetSavedStatus + public void SaveCurrentPreset() + { + SendMessage(MessageFactory.Create(new SaveCurrentPreset() { Save = true })); + } + + // SaveCurrentPresetTo + // response: PresetSavedStatus + public void SaveCurrentPresetTo(int slotIndex, string name) + { + SendMessage(MessageFactory.Create(new SaveCurrentPresetTo() { PresetName = name, PresetSlot = slotIndex })); + } + + // SavePresetAs + // response: PresetSavedStatus + public void SavePresetAs(int slotIndex, Preset preset, bool loadPreset = true) + { + SendMessage(MessageFactory.Create(new SavePresetAs() { PresetSlot = slotIndex, PresetData = preset.ToString(), IsLoadPreset = loadPreset })); + } + + // RenamePresetAt + public void RenamePresetAt(int slotIndex, string name) + { + SendMessage(MessageFactory.Create(new RenamePresetAt() { PresetName = name, PresetSlot = slotIndex })); + } + + + // ClearPreset + // response: ClearPresetStatus + public void ClearPreset(int slotIndex, bool isLoadPreset = true) + { + SendMessage(MessageFactory.Create(new ClearPreset() { SlotIndex = slotIndex, IsLoadPreset = isLoadPreset })); + } + + // ConnectionStatusRequest + // response: ConnectionStatus + public void GetConnectionStatus() + { + SendMessage(MessageFactory.Create(new ConnectionStatusRequest() { Request = true })); + } + + // SetDspUnitParameter + // response: setDspUnitParameterStatus + public void SetDspUnitParameter(string nodeId, DspUnitParameter parameter) + { + var message = MessageFactory.Create(new SetDspUnitParameter() + { + NodeId = nodeId, + ParameterId = parameter.Name + }); + switch (parameter.ParameterType) + { + case DspUnitParameterType.Boolean: + message.SetDspUnitParameter.BoolParameter = parameter.Value; + break; + case DspUnitParameterType.Integer: + message.SetDspUnitParameter.Sint32Parameter = parameter.Value; + break; + case DspUnitParameterType.String: + message.SetDspUnitParameter.StringParameter = parameter.Value; + break; + case DspUnitParameterType.Float: + message.SetDspUnitParameter.FloatParameter = parameter.Value; + break; + } + SendMessage(message); + } + + // ReplaceNode + public void ReplaceNode(string nodeId, string fenderId) + { + SendMessage(MessageFactory.Create(new ReplaceNode() { NodeIdToReplace = nodeId, FenderIdToReplaceWith = fenderId })); + } + + #endregion + + #region device info + + // ModalState + // response: ModalState + public void SetModalState(ModalContext modalContext) + { + SendMessage(MessageFactory.Create(new ModalStatusMessage() { Context = modalContext, State = ModalState.Ok })); + } + + // FirmwareVersionRequest + // response: FirmwareVersionStatus + public void GetFirmwareVersion() + { + SendMessage(MessageFactory.Create(new FirmwareVersionRequest() { Request = true })); + } + + // MemoryUsageRequest + public void GetMemoryUsage() + { + SendMessage(MessageFactory.Create(new MemoryUsageRequest() { Request = true })); + } + + public void GetProcessorUtilization() + { + SendMessage(MessageFactory.Create(new ProcessorUtilizationRequest() { Request = true })); + } + + public void GetProductIdentification() + { + SendMessage(MessageFactory.Create(new ProductIdentificationRequest() { Request = true })); + } + + // Heartbeat + public void Heartbeat() + { + SendMessage(MessageFactory.Create(new Heartbeat() { DummyField = true })); + } + + public void GetQASlots() + { + SendMessage(MessageFactory.Create(new QASlotsRequest() { Request = true })); + } + + public void SetQASlots(uint[] slotIndexes) + { + var message = MessageFactory.Create(new QASlotsSet()); + message.QASlotsSet.Slots.Add(slotIndexes); + SendMessage(message); + } + + public void GetUsbGain() + { + SendMessage(MessageFactory.Create(new UsbGainRequest() { Request = true })); + } + + public void SetUsbGain(float value) + { + SendMessage(MessageFactory.Create(new UsbGainSet() { ValueDB = value })); + } + + #endregion + + #region pre-formed commands + + public void SetTuner(bool on_off) + { + SetModalState(on_off ? ModalContext.TunerEnable : ModalContext.TunerDisable); + } + + #endregion + + #region Unknown messages + // ActiveDisplay + public void ActiveDisplay(string pageName) + { + SendMessage(MessageFactory.Create(new ActiveDisplay() { PageName = pageName })); + } + + // PresetJSONMessageRequest_LT + public void GetPresetLT(int request) + { + SendMessage(MessageFactory.Create(new PresetJSONMessageRequest_LT() { Request = request })); + } + + // FrameBufferMessageRequest + // response: FrameBufferMessage + public void GetFramebuffer() + { + SendMessage(MessageFactory.Create(new FrameBufferMessageRequest() { Request = true })); + } + + // LineOutGainRequest + // response: LineOutGainStatus + public void GetLineOutGain() + { + SendMessage(MessageFactory.Create(new LineOutGainRequest() { Request = true })); + } + + // LineOutGainSet + // response: LineOutGainStatus + public void SetLineOutGain(float value) + { + SendMessage(MessageFactory.Create(new LineOutGainSet() { ValueDB = value })); + } + + public void LoopbackTest(string data) + { + SendMessage(MessageFactory.Create(new LoopbackTest() { Data = data })); + } + + public void GetLt4FootswitchMode() + { + SendMessage(MessageFactory.Create(new LT4FootswitchModeRequest() { Request = true })); + } + + #endregion + + #endregion + + } + + public enum UsbHidMessageTag + { + Start = 0x33, + Continue = 0x34, + End = 0x35, + } +} diff --git a/LtDotNet/LtDotNet.Lib/LtDotNet.Lib.csproj b/LtAmpDotNet/LtAmpDotNet.Lib/LtAmpDotNet.Lib.csproj similarity index 89% rename from LtDotNet/LtDotNet.Lib/LtDotNet.Lib.csproj rename to LtAmpDotNet/LtAmpDotNet.Lib/LtAmpDotNet.Lib.csproj index f460ba3..0a42006 100644 --- a/LtDotNet/LtDotNet.Lib/LtDotNet.Lib.csproj +++ b/LtAmpDotNet/LtAmpDotNet.Lib/LtAmpDotNet.Lib.csproj @@ -1,34 +1,39 @@ - - - - net6.0 - enable - enable - - - - - - - - - - - - Always - - - Always - - - Always - - - Always - - - Always - - - - + + + + net6.0 + enable + enable + LtAmp.Lib + + + + + + + + + + + + + + + + Always + + + Always + + + Always + + + Always + + + Always + + + + diff --git a/LtDotNet/LtDotNet.Lib/Model/MessageFactory.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/MessageFactory.cs similarity index 96% rename from LtDotNet/LtDotNet.Lib/Model/MessageFactory.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/MessageFactory.cs index 72fa53e..b1a98aa 100644 --- a/LtDotNet/LtDotNet.Lib/Model/MessageFactory.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/MessageFactory.cs @@ -1,222 +1,222 @@ -using Google.Protobuf; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model -{ - public static class MessageFactory - { - public static FenderMessageLT Create(IMessage message) - { - FenderMessageLT fenderMessage = new FenderMessageLT() { ResponseType = ResponseType.Unsolicited }; - switch (message.GetType().Name) - { - case "IndexPot": - fenderMessage.IndexPot = (IndexPot)message; - break; - case "IndexButton": - fenderMessage.IndexButton = (IndexButton)message; - break; - case "IndexEncoder": - fenderMessage.IndexEncoder = (IndexEncoder)message; - break; - case "ActiveDisplay": - fenderMessage.ActiveDisplay = (ActiveDisplay)message; - break; - case "ProcessorUtilizationRequest": - fenderMessage.ProcessorUtilizationRequest = (ProcessorUtilizationRequest)message; - break; - case "ProcessorUtilization": - fenderMessage.ProcessorUtilization = (ProcessorUtilization)message; - break; - case "MemoryUsageRequest": - fenderMessage.MemoryUsageRequest = (MemoryUsageRequest)message; - break; - case "MemoryUsageStatus": - fenderMessage.MemoryUsageStatus = (MemoryUsageStatus)message; - break; - case "PresetJSONMessageRequestLT": - fenderMessage.PresetJSONMessageRequestLT = (PresetJSONMessageRequest_LT)message; - break; - case "FrameBufferMessageRequest": - fenderMessage.FrameBufferMessageRequest = (FrameBufferMessageRequest)message; - break; - case "FrameBufferMessage": - fenderMessage.FrameBufferMessage = (FrameBufferMessage)message; - break; - case "Lt4FootswitchModeRequest": - fenderMessage.Lt4FootswitchModeRequest = (LT4FootswitchModeRequest)message; - break; - case "Lt4FootswitchModeStatus": - fenderMessage.Lt4FootswitchModeStatus = (LT4FootswitchModeStatus)message; - break; - case "LoadPresetTestSuite": - fenderMessage.LoadPresetTestSuite = (LoadPreset_TestSuite)message; - break; - case "LoopbackTest": - fenderMessage.LoopbackTest = (LoopbackTest)message; - break; - case "PresetJSONMessage": - fenderMessage.PresetJSONMessage = (PresetJSONMessage)message; - break; - case "CurrentPresetStatus": - fenderMessage.CurrentPresetStatus = (CurrentPresetStatus)message; - break; - case "LoadPreset": - fenderMessage.LoadPreset = (LoadPreset)message; - break; - case "SetDspUnitParameter": - fenderMessage.SetDspUnitParameter = (SetDspUnitParameter)message; - break; - case "SetDspUnitParameterStatus": - fenderMessage.SetDspUnitParameterStatus = (SetDspUnitParameterStatus)message; - break; - case "DspUnitParameterStatus": - fenderMessage.DspUnitParameterStatus = (DspUnitParameterStatus)message; - break; - case "CurrentLoadedPresetIndexStatus": - fenderMessage.CurrentLoadedPresetIndexStatus = (CurrentLoadedPresetIndexStatus)message; - break; - case "PresetEditedStatus": - fenderMessage.PresetEditedStatus = (PresetEditedStatus)message; - break; - case "ReplaceNode": - fenderMessage.ReplaceNode = (ReplaceNode)message; - break; - case "ReplaceNodeStatus": - fenderMessage.ReplaceNodeStatus = (ReplaceNodeStatus)message; - break; - case "ShiftPreset": - fenderMessage.ShiftPreset = (ShiftPreset)message; - break; - case "ShiftPresetStatus": - fenderMessage.ShiftPresetStatus = (ShiftPresetStatus)message; - break; - case "SwapPreset": - fenderMessage.SwapPreset = (SwapPreset)message; - break; - case "SwapPresetStatus": - fenderMessage.SwapPresetStatus = (SwapPresetStatus)message; - break; - case "CurrentPresetSet": - fenderMessage.CurrentPresetSet = (CurrentPresetSet)message; - break; - case "CurrentLoadedPresetIndexBypassStatus": - fenderMessage.CurrentLoadedPresetIndexBypassStatus = (CurrentLoadedPresetIndexBypassStatus)message; - break; - case "CurrentDisplayedPresetIndexStatus": - fenderMessage.CurrentDisplayedPresetIndexStatus = (CurrentDisplayedPresetIndexStatus)message; - break; - case "PresetSavedStatus": - fenderMessage.PresetSavedStatus = (PresetSavedStatus)message; - break; - case "ClearPreset": - fenderMessage.ClearPreset = (ClearPreset)message; - break; - case "ClearPresetStatus": - fenderMessage.ClearPresetStatus = (ClearPresetStatus)message; - break; - case "SaveCurrentPreset": - fenderMessage.SaveCurrentPreset = (SaveCurrentPreset)message; - break; - case "SaveCurrentPresetTo": - fenderMessage.SaveCurrentPresetTo = (SaveCurrentPresetTo)message; - break; - case "SavePresetAs": - fenderMessage.SavePresetAs = (SavePresetAs)message; - break; - case "NewPresetSavedStatus": - fenderMessage.NewPresetSavedStatus = (NewPresetSavedStatus)message; - break; - case "RenamePresetAt": - fenderMessage.RenamePresetAt = (RenamePresetAt)message; - break; - case "AuditionPreset": - fenderMessage.AuditionPreset = (AuditionPreset)message; - break; - case "AuditionPresetStatus": - fenderMessage.AuditionPresetStatus = (AuditionPresetStatus)message; - break; - case "ExitAuditionPreset": - fenderMessage.ExitAuditionPreset = (ExitAuditionPreset)message; - break; - case "ExitAuditionPresetStatus": - fenderMessage.ExitAuditionPresetStatus = (ExitAuditionPresetStatus)message; - break; - case "AuditionStateRequest": - fenderMessage.AuditionStateRequest = (AuditionStateRequest)message; - break; - case "AuditionStateStatus": - fenderMessage.AuditionStateStatus = (AuditionStateStatus)message; - break; - case "ProductIdentificationStatus": - fenderMessage.ProductIdentificationStatus = (ProductIdentificationStatus)message; - break; - case "ProductIdentificationRequest": - fenderMessage.ProductIdentificationRequest = (ProductIdentificationRequest)message; - break; - case "FirmwareVersionRequest": - fenderMessage.FirmwareVersionRequest = (FirmwareVersionRequest)message; - break; - case "FirmwareVersionStatus": - fenderMessage.FirmwareVersionStatus = (FirmwareVersionStatus)message; - break; - case "CurrentPresetRequest": - fenderMessage.CurrentPresetRequest = (CurrentPresetRequest)message; - break; - case "RetrievePreset": - fenderMessage.RetrievePreset = (RetrievePreset)message; - break; - case "UsbGainRequest": - fenderMessage.UsbGainRequest = (UsbGainRequest)message; - break; - case "UsbGainStatus": - fenderMessage.UsbGainStatus = (UsbGainStatus)message; - break; - case "QASlotsRequest": - fenderMessage.QASlotsRequest = (QASlotsRequest)message; - break; - case "QASlotsStatus": - fenderMessage.QASlotsStatus = (QASlotsStatus)message; - break; - case "LineOutGainRequest": - fenderMessage.LineOutGainRequest = (LineOutGainRequest)message; - break; - case "LineOutGainStatus": - fenderMessage.LineOutGainStatus = (LineOutGainStatus)message; - break; - case "ModalStatusMessage": - fenderMessage.ModalStatusMessage = (ModalStatusMessage)message; - break; - case "UsbGainSet": - fenderMessage.UsbGainSet = (UsbGainSet)message; - break; - case "LineOutGainSet": - fenderMessage.LineOutGainSet = (LineOutGainSet)message; - break; - case "QASlotsSet": - fenderMessage.QASlotsSet = (QASlotsSet)message; - break; - case "UnsupportedMessageStatus": - fenderMessage.UnsupportedMessageStatus = (UnsupportedMessageStatus)message; - break; - case "Heartbeat": - fenderMessage.Heartbeat = (Heartbeat)message; - break; - case "ConnectionStatusRequest": - fenderMessage.ConnectionStatusRequest = (ConnectionStatusRequest)message; - break; - case "ConnectionStatus": - fenderMessage.ConnectionStatus = (ConnectionStatus)message; - break; - default: - fenderMessage.UnsupportedMessageStatus = new UnsupportedMessageStatus() { Status = ErrorType.Unsupported }; - break; - } - return fenderMessage; - } - } -} +using Google.Protobuf; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model +{ + public static class MessageFactory + { + public static FenderMessageLT Create(IMessage message, ResponseType responseType = ResponseType.Unsolicited) + { + FenderMessageLT fenderMessage = new FenderMessageLT() { ResponseType = responseType }; + switch (message.GetType().Name) + { + case "IndexPot": + fenderMessage.IndexPot = (IndexPot)message; + break; + case "IndexButton": + fenderMessage.IndexButton = (IndexButton)message; + break; + case "IndexEncoder": + fenderMessage.IndexEncoder = (IndexEncoder)message; + break; + case "ActiveDisplay": + fenderMessage.ActiveDisplay = (ActiveDisplay)message; + break; + case "ProcessorUtilizationRequest": + fenderMessage.ProcessorUtilizationRequest = (ProcessorUtilizationRequest)message; + break; + case "ProcessorUtilization": + fenderMessage.ProcessorUtilization = (ProcessorUtilization)message; + break; + case "MemoryUsageRequest": + fenderMessage.MemoryUsageRequest = (MemoryUsageRequest)message; + break; + case "MemoryUsageStatus": + fenderMessage.MemoryUsageStatus = (MemoryUsageStatus)message; + break; + case "PresetJSONMessageRequestLT": + fenderMessage.PresetJSONMessageRequestLT = (PresetJSONMessageRequest_LT)message; + break; + case "FrameBufferMessageRequest": + fenderMessage.FrameBufferMessageRequest = (FrameBufferMessageRequest)message; + break; + case "FrameBufferMessage": + fenderMessage.FrameBufferMessage = (FrameBufferMessage)message; + break; + case "Lt4FootswitchModeRequest": + fenderMessage.Lt4FootswitchModeRequest = (LT4FootswitchModeRequest)message; + break; + case "Lt4FootswitchModeStatus": + fenderMessage.Lt4FootswitchModeStatus = (LT4FootswitchModeStatus)message; + break; + case "LoadPresetTestSuite": + fenderMessage.LoadPresetTestSuite = (LoadPreset_TestSuite)message; + break; + case "LoopbackTest": + fenderMessage.LoopbackTest = (LoopbackTest)message; + break; + case "PresetJSONMessage": + fenderMessage.PresetJSONMessage = (PresetJSONMessage)message; + break; + case "CurrentPresetStatus": + fenderMessage.CurrentPresetStatus = (CurrentPresetStatus)message; + break; + case "LoadPreset": + fenderMessage.LoadPreset = (LoadPreset)message; + break; + case "SetDspUnitParameter": + fenderMessage.SetDspUnitParameter = (SetDspUnitParameter)message; + break; + case "SetDspUnitParameterStatus": + fenderMessage.SetDspUnitParameterStatus = (SetDspUnitParameterStatus)message; + break; + case "DspUnitParameterStatus": + fenderMessage.DspUnitParameterStatus = (DspUnitParameterStatus)message; + break; + case "CurrentLoadedPresetIndexStatus": + fenderMessage.CurrentLoadedPresetIndexStatus = (CurrentLoadedPresetIndexStatus)message; + break; + case "PresetEditedStatus": + fenderMessage.PresetEditedStatus = (PresetEditedStatus)message; + break; + case "ReplaceNode": + fenderMessage.ReplaceNode = (ReplaceNode)message; + break; + case "ReplaceNodeStatus": + fenderMessage.ReplaceNodeStatus = (ReplaceNodeStatus)message; + break; + case "ShiftPreset": + fenderMessage.ShiftPreset = (ShiftPreset)message; + break; + case "ShiftPresetStatus": + fenderMessage.ShiftPresetStatus = (ShiftPresetStatus)message; + break; + case "SwapPreset": + fenderMessage.SwapPreset = (SwapPreset)message; + break; + case "SwapPresetStatus": + fenderMessage.SwapPresetStatus = (SwapPresetStatus)message; + break; + case "CurrentPresetSet": + fenderMessage.CurrentPresetSet = (CurrentPresetSet)message; + break; + case "CurrentLoadedPresetIndexBypassStatus": + fenderMessage.CurrentLoadedPresetIndexBypassStatus = (CurrentLoadedPresetIndexBypassStatus)message; + break; + case "CurrentDisplayedPresetIndexStatus": + fenderMessage.CurrentDisplayedPresetIndexStatus = (CurrentDisplayedPresetIndexStatus)message; + break; + case "PresetSavedStatus": + fenderMessage.PresetSavedStatus = (PresetSavedStatus)message; + break; + case "ClearPreset": + fenderMessage.ClearPreset = (ClearPreset)message; + break; + case "ClearPresetStatus": + fenderMessage.ClearPresetStatus = (ClearPresetStatus)message; + break; + case "SaveCurrentPreset": + fenderMessage.SaveCurrentPreset = (SaveCurrentPreset)message; + break; + case "SaveCurrentPresetTo": + fenderMessage.SaveCurrentPresetTo = (SaveCurrentPresetTo)message; + break; + case "SavePresetAs": + fenderMessage.SavePresetAs = (SavePresetAs)message; + break; + case "NewPresetSavedStatus": + fenderMessage.NewPresetSavedStatus = (NewPresetSavedStatus)message; + break; + case "RenamePresetAt": + fenderMessage.RenamePresetAt = (RenamePresetAt)message; + break; + case "AuditionPreset": + fenderMessage.AuditionPreset = (AuditionPreset)message; + break; + case "AuditionPresetStatus": + fenderMessage.AuditionPresetStatus = (AuditionPresetStatus)message; + break; + case "ExitAuditionPreset": + fenderMessage.ExitAuditionPreset = (ExitAuditionPreset)message; + break; + case "ExitAuditionPresetStatus": + fenderMessage.ExitAuditionPresetStatus = (ExitAuditionPresetStatus)message; + break; + case "AuditionStateRequest": + fenderMessage.AuditionStateRequest = (AuditionStateRequest)message; + break; + case "AuditionStateStatus": + fenderMessage.AuditionStateStatus = (AuditionStateStatus)message; + break; + case "ProductIdentificationStatus": + fenderMessage.ProductIdentificationStatus = (ProductIdentificationStatus)message; + break; + case "ProductIdentificationRequest": + fenderMessage.ProductIdentificationRequest = (ProductIdentificationRequest)message; + break; + case "FirmwareVersionRequest": + fenderMessage.FirmwareVersionRequest = (FirmwareVersionRequest)message; + break; + case "FirmwareVersionStatus": + fenderMessage.FirmwareVersionStatus = (FirmwareVersionStatus)message; + break; + case "CurrentPresetRequest": + fenderMessage.CurrentPresetRequest = (CurrentPresetRequest)message; + break; + case "RetrievePreset": + fenderMessage.RetrievePreset = (RetrievePreset)message; + break; + case "UsbGainRequest": + fenderMessage.UsbGainRequest = (UsbGainRequest)message; + break; + case "UsbGainStatus": + fenderMessage.UsbGainStatus = (UsbGainStatus)message; + break; + case "QASlotsRequest": + fenderMessage.QASlotsRequest = (QASlotsRequest)message; + break; + case "QASlotsStatus": + fenderMessage.QASlotsStatus = (QASlotsStatus)message; + break; + case "LineOutGainRequest": + fenderMessage.LineOutGainRequest = (LineOutGainRequest)message; + break; + case "LineOutGainStatus": + fenderMessage.LineOutGainStatus = (LineOutGainStatus)message; + break; + case "ModalStatusMessage": + fenderMessage.ModalStatusMessage = (ModalStatusMessage)message; + break; + case "UsbGainSet": + fenderMessage.UsbGainSet = (UsbGainSet)message; + break; + case "LineOutGainSet": + fenderMessage.LineOutGainSet = (LineOutGainSet)message; + break; + case "QASlotsSet": + fenderMessage.QASlotsSet = (QASlotsSet)message; + break; + case "UnsupportedMessageStatus": + fenderMessage.UnsupportedMessageStatus = (UnsupportedMessageStatus)message; + break; + case "Heartbeat": + fenderMessage.Heartbeat = (Heartbeat)message; + break; + case "ConnectionStatusRequest": + fenderMessage.ConnectionStatusRequest = (ConnectionStatusRequest)message; + break; + case "ConnectionStatus": + fenderMessage.ConnectionStatus = (ConnectionStatus)message; + break; + default: + fenderMessage.UnsupportedMessageStatus = new UnsupportedMessageStatus() { Status = ErrorType.Unsupported }; + break; + } + return fenderMessage; + } + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Preset/AudioGraph.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/AudioGraph.cs similarity index 53% rename from LtDotNet/LtDotNet.Lib/Model/Preset/AudioGraph.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/AudioGraph.cs index 728743d..d38c8f8 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Preset/AudioGraph.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/AudioGraph.cs @@ -1,19 +1,19 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Preset -{ - public class AudioGraph : ObservableAmpData, INotifyPropertyChanged - { - [JsonProperty("Connections")] - public ICollection Connections { get; set; } - - [JsonProperty("nodes")] - public ICollection Nodes { get; set; } - } -} +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Preset +{ + public class AudioGraph + { + [JsonProperty("Connections")] + public ICollection? Connections { get; set; } + + [JsonProperty("nodes")] + public ICollection? Nodes { get; set; } + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Preset/Connection.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Connection.cs similarity index 65% rename from LtDotNet/LtDotNet.Lib/Model/Preset/Connection.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Connection.cs index 8dd1123..b583066 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Preset/Connection.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Connection.cs @@ -1,28 +1,28 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Preset -{ - public class Connection - { - [JsonProperty("input")] - public InputOutput Input { get; set; } - - [JsonProperty("output")] - public InputOutput Output { get; set; } - } - - public class InputOutput - { - [JsonProperty("index")] - public int Index { get; set; } - - [JsonProperty("nodeId")] - public string NodeId { get; set; } - } - -} +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Preset +{ + public class Connection + { + [JsonProperty("input")] + public InputOutput? Input { get; set; } + + [JsonProperty("output")] + public InputOutput? Output { get; set; } + } + + public class InputOutput + { + [JsonProperty("index")] + public int Index { get; set; } + + [JsonProperty("nodeId")] + public string? NodeId { get; set; } + } + +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Preset/DspUnitParameter.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/DspUnitParameter.cs similarity index 86% rename from LtDotNet/LtDotNet.Lib/Model/Preset/DspUnitParameter.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/DspUnitParameter.cs index c805747..ec5effd 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Preset/DspUnitParameter.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/DspUnitParameter.cs @@ -1,117 +1,117 @@ -using LtDotNet.Lib.Extensions.JsonConverters; -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Text.Json; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Preset -{ - [JsonConverter(typeof(DspUnitParameterConverter))] - public class DspUnitParameter - { - [JsonIgnore] - public DspUnitParameterType ParameterType { get; set; } - - [JsonIgnore] - public string Name { get; set; } - - [JsonIgnore] - public dynamic Value - { - get - { - switch (ParameterType) - { - case DspUnitParameterType.Boolean: - return boolValue; - case DspUnitParameterType.String: - return stringValue; - case DspUnitParameterType.Float: - return floatValue; - case DspUnitParameterType.Integer: - return intValue; - case DspUnitParameterType.None: - if (boolValue.HasValue) - return boolValue.Value; - if (stringValue.Length > 0) - return stringValue; - if (floatValue.HasValue) - return floatValue.Value; - if (intValue.HasValue) - return intValue.Value; - break; - } - return null; - } - set - { - dynamic temp = value; - if (Type.GetTypeCode(value.GetType()) == TypeCode.Object) - { - temp = value.Value; - } - switch (Type.GetTypeCode(temp.GetType())) - { - case TypeCode.Boolean: - bool _boolValue; - if (bool.TryParse(string.Format("{0}", temp), out _boolValue)) - { - boolValue = _boolValue; - ParameterType = DspUnitParameterType.Boolean; - } - break; - case TypeCode.Single: - case TypeCode.Double: - float _singleValue; - if (float.TryParse(string.Format("{0}", temp), out _singleValue)) - { - floatValue = _singleValue; - ParameterType = DspUnitParameterType.Float; - } - break; - case TypeCode.Int32: - case TypeCode.Int64: - int _intValue; - if (int.TryParse(string.Format("{0}", temp), out _intValue)) - { - intValue = _intValue; - ParameterType = DspUnitParameterType.Integer; - } - break; - case TypeCode.String: - stringValue = temp; - ParameterType = DspUnitParameterType.String; - break; - default: - throw new Exception("Invalid DSP parameter type"); - } - } - } - [JsonIgnore] - private float? floatValue; - [JsonIgnore] - private string? stringValue; - [JsonIgnore] - private bool? boolValue; - [JsonIgnore] - private int? intValue; - } - - public enum DspUnitParameterType - { - None = 0, - Boolean = 6, - Integer = 9, - Float = 13, - String = 18, - - //None = 0, - //Float = 3, - //String = 4, - //Integer = 5, - //Boolean = 6, - } -} +using LtAmpDotNet.Lib.Extensions.JsonConverters; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Text.Json; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Preset +{ + [JsonConverter(typeof(DspUnitParameterConverter))] + public class DspUnitParameter + { + [JsonIgnore] + public DspUnitParameterType ParameterType { get; set; } + + [JsonIgnore] + public string? Name { get; set; } + + [JsonIgnore] + public dynamic Value + { + get + { + switch (ParameterType) + { + case DspUnitParameterType.Boolean: + return boolValue.GetValueOrDefault(); + case DspUnitParameterType.String: + return stringValue!; + case DspUnitParameterType.Float: + return floatValue.GetValueOrDefault(); + case DspUnitParameterType.Integer: + return intValue.GetValueOrDefault(); + case DspUnitParameterType.None: + if (boolValue.HasValue) + return boolValue.Value; + if (stringValue?.Length > 0) + return stringValue; + if (floatValue.HasValue) + return floatValue.Value; + if (intValue.HasValue) + return intValue.Value; + break; + } + return null!; + } + set + { + dynamic temp = value; + if (Type.GetTypeCode(value.GetType()) == TypeCode.Object) + { + temp = value.Value; + } + switch (Type.GetTypeCode(temp.GetType())) + { + case TypeCode.Boolean: + bool _boolValue; + if (bool.TryParse(string.Format("{0}", temp), out _boolValue)) + { + boolValue = _boolValue; + ParameterType = DspUnitParameterType.Boolean; + } + break; + case TypeCode.Single: + case TypeCode.Double: + float _singleValue; + if (float.TryParse(string.Format("{0}", temp), out _singleValue)) + { + floatValue = _singleValue; + ParameterType = DspUnitParameterType.Float; + } + break; + case TypeCode.Int32: + case TypeCode.Int64: + int _intValue; + if (int.TryParse(string.Format("{0}", temp), out _intValue)) + { + intValue = _intValue; + ParameterType = DspUnitParameterType.Integer; + } + break; + case TypeCode.String: + stringValue = temp; + ParameterType = DspUnitParameterType.String; + break; + default: + throw new Exception("Invalid DSP parameter type"); + } + } + } + [JsonIgnore] + private float? floatValue; + [JsonIgnore] + private string? stringValue; + [JsonIgnore] + private bool? boolValue; + [JsonIgnore] + private int? intValue; + } + + public enum DspUnitParameterType + { + None = 0, + Boolean = 6, + Integer = 9, + Float = 13, + String = 18, + + //None = 0, + //Float = 3, + //String = 4, + //Integer = 5, + //Boolean = 6, + } +} diff --git a/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Info.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Info.cs new file mode 100644 index 0000000..3fe92ff --- /dev/null +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Info.cs @@ -0,0 +1,63 @@ +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Preset +{ + public class Info + { + [JsonProperty("author")] + public string? Author { get; set; } + + [JsonProperty("bpm")] + public int? BPM { get; set; } + + [JsonProperty("created_at")] + public int? CreatedAt { get; set; } + + [JsonProperty("displayName")] + public string? DisplayNameRaw { get; set; } + + [JsonIgnore] + public string[] DisplayName + { + get => Enumerable.Range(0, DisplayNameRaw!.Length / 8).Select(i => DisplayNameRaw.Substring(i * 8, 8).Trim()).ToArray(); + set + { + if (value.Length == 2) + { + DisplayNameRaw = value[0].PadRight(8) + value[1].PadRight(8); + } + } + } + + [JsonIgnore] + public string FormattedDisplayName + { + get + { + return string.Join(" ", DisplayName); + } + } + + [JsonProperty("is_factory_default")] + public bool? IsFactoryDefault { get; set; } + + [JsonProperty("preset_id")] + public Guid? PresetId { get; set; } + + [JsonProperty("product_id")] + public string? ProductId { get; set; } + + [JsonProperty("source_id")] + public string? SourceId { get; set; } + + [JsonProperty("timestamp")] + public long? Timestamp { get; set; } + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Preset/Node.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Node.cs similarity index 68% rename from LtDotNet/LtDotNet.Lib/Model/Preset/Node.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Node.cs index 9a0590c..96363b5 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Preset/Node.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Node.cs @@ -1,93 +1,93 @@ -using LtDotNet.Lib.Extensions.JsonConverters; -using LtDotNet.Lib.Model.Profile; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Preset -{ - public class Node - { - - public Node() { } - public Node(DspUnitDefinition definition, string nodeId = null) - { - FenderId = definition.FenderId; - NodeId = nodeId ?? definition.Info.SubCategory; - DspUnitParameters = definition.DefaultDspUnitParameters; - } - - public Node(string fenderId, string node = null) : this(LtDevice.DspUnitDefinitions.FirstOrDefault(x => x.FenderId == fenderId), node) { } - - [JsonProperty("FenderId")] - public string FenderId { get; set; } - - [JsonProperty("nodeId")] - public string NodeId { get; set; } - - [JsonProperty("nodeType")] - public string NodeType => "dspUnit"; - - [JsonProperty("dspUnitParameters")] - [JsonConverter(typeof(DspUnitParameterCollectionConverter))] - public List DspUnitParameters { get; set; } - - [JsonIgnore] - public DspUnitDefinition Definition => LtDevice.DspUnitDefinitions.FirstOrDefault(x => x.FenderId == FenderId); - } - - public static class NodeType - { - public const string NONE = ""; - public const string PRESET = "preset"; - public const string DSP_UNIT = "dspUnit"; - } - - public static class NodeId - { - public const string NONE = ""; - public const string PRESET = "preset"; - public const string AMP = "amp"; - public const string STOMP = "stomp"; - public const string MOD = "mod"; - public const string DELAY = "delay"; - public const string REVERB = "reverb"; - } - - public enum FenderId - { - // amp - DBUS_LinearGain, //SUPER CLEAN - DUBS_Champ57, //CHAMP - DUBS_Deluxe57, //DELUXE DIRT - DUBS_Twin57, //50S TWIN - DUBS_Bassman59, //BASSMAN - DUBS_Princeton65, //PRINCETON - DUBS_Deluxe65, //DELUXE CLN - DUBS_Twin65, //TWIN CLEAN - DUBS_Excelsior, //EXCELSIOR - DUBS_Silvertone, //SMALLTONE - DUBS_DR103, //70S UK CLN - DUBS_Ac30Tb, //60S UK CLN - DUBS_Plexi87, //70S ROCK - DUBS_Jcm800, //80S ROCK - DUBS_Or120, //DOOM METAL - DUBS_SuperSonic, //BURN - DUBS_Rect2, //90S ROCK - DUBS_MetalRect2, //ALT METAL - DUBS_Evh3, //METAL 2000 - DUBS_MetalEvh3, //SUPER HEAVY - - // stomp - - // mod - - // delay - - // reverb - } -} +using LtAmpDotNet.Lib.Extensions.JsonConverters; +using LtAmpDotNet.Lib.Model.Profile; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Preset +{ + public class Node + { + + public Node() { } + public Node(DspUnitDefinition definition, string? nodeId = null) + { + FenderId = definition.FenderId; + NodeId = nodeId ?? definition?.Info?.SubCategory; + DspUnitParameters = definition?.DefaultDspUnitParameters; + } + + public Node(string fenderId, string? node = null) : this(LtAmpDevice.DspUnitDefinitions?.FirstOrDefault(x => x.FenderId == fenderId)!, node) { } + + [JsonProperty("FenderId")] + public string? FenderId { get; set; } + + [JsonProperty("nodeId")] + public string? NodeId { get; set; } + + [JsonProperty("nodeType")] + public string? NodeType => "dspUnit"; + + [JsonProperty("dspUnitParameters")] + [JsonConverter(typeof(DspUnitParameterCollectionConverter))] + public List? DspUnitParameters { get; set; } + + [JsonIgnore] + public DspUnitDefinition Definition => LtAmpDevice.DspUnitDefinitions?.FirstOrDefault(x => x.FenderId == FenderId)!; + } + + public static class NodeType + { + public const string NONE = ""; + public const string PRESET = "preset"; + public const string DSP_UNIT = "dspUnit"; + } + + public static class NodeId + { + public const string NONE = ""; + public const string PRESET = "preset"; + public const string AMP = "amp"; + public const string STOMP = "stomp"; + public const string MOD = "mod"; + public const string DELAY = "delay"; + public const string REVERB = "reverb"; + } + + public enum FenderId + { + // amp + DBUS_LinearGain, //SUPER CLEAN + DUBS_Champ57, //CHAMP + DUBS_Deluxe57, //DELUXE DIRT + DUBS_Twin57, //50S TWIN + DUBS_Bassman59, //BASSMAN + DUBS_Princeton65, //PRINCETON + DUBS_Deluxe65, //DELUXE CLN + DUBS_Twin65, //TWIN CLEAN + DUBS_Excelsior, //EXCELSIOR + DUBS_Silvertone, //SMALLTONE + DUBS_DR103, //70S UK CLN + DUBS_Ac30Tb, //60S UK CLN + DUBS_Plexi87, //70S ROCK + DUBS_Jcm800, //80S ROCK + DUBS_Or120, //DOOM METAL + DUBS_SuperSonic, //BURN + DUBS_Rect2, //90S ROCK + DUBS_MetalRect2, //ALT METAL + DUBS_Evh3, //METAL 2000 + DUBS_MetalEvh3, //SUPER HEAVY + + // stomp + + // mod + + // delay + + // reverb + } +} diff --git a/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Preset.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Preset.cs new file mode 100644 index 0000000..ea69255 --- /dev/null +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Preset/Preset.cs @@ -0,0 +1,63 @@ +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Runtime.CompilerServices; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Preset +{ + public class Preset + { + [JsonProperty("data")] + public string? Raw { get; set; } + + [JsonProperty("audioGraph")] + public AudioGraph? AudioGraph { get; set; } + + [JsonProperty("info")] + public Info? Info { get; set; } + + [JsonProperty("nodeId")] + public string? NodeId { get; set; } + + [JsonProperty("nodeType")] + public string? NodeType { get; set; } + + [JsonProperty("numInputs")] + public int? NumOfInputs { get; set; } + + [JsonProperty("numOutputs")] + public int? NumOfOutputs { get; set; } + + [JsonProperty("version")] + public string? Version { get; set; } + + [JsonIgnore] + public string[] DisplayName => Info?.DisplayName!; + + [JsonIgnore] + public string? FormattedDisplayName => Info?.FormattedDisplayName!; + + [JsonIgnore] + public string? TwoLineDisplayName + { + get + { + return Info?.DisplayName[0].Trim() + "\n" + Info?.DisplayName[1].Trim(); + } + } + + public static Preset? FromString(string json) + { + return JsonConvert.DeserializeObject(json); + } + + public override string ToString() + { + return JsonConvert.SerializeObject(this, Formatting.None); + } + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitDefinition.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitDefinition.cs similarity index 86% rename from LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitDefinition.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitDefinition.cs index ed23d82..8c6a2c5 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitDefinition.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitDefinition.cs @@ -1,163 +1,163 @@ -using Google.Protobuf.WellKnownTypes; -using LtDotNet.Lib.Extensions.JsonConverters; -using LtDotNet.Lib.Model.Preset; -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Profile -{ - public class DspUnitDefinition - { - [JsonIgnore] - public string DisplayName { get => Info.DisplayName; } - - [JsonProperty("nodeType")] - public string NodeType { get; set; } - - [JsonProperty("FenderId")] - public string FenderId { get; set; } - - [JsonProperty("defaultDspUnitParameters")] - [JsonConverter(typeof(DspUnitParameterCollectionConverter))] - public List DefaultDspUnitParameters { get; set; } - - [JsonProperty("info")] - public DspUnitInfo Info { get; set; } - - [JsonProperty("ui")] - public DspUnitUi Ui { get; set; } - - public Node ToNode() - { - return new Node() - { - NodeId = Info.SubCategory, - FenderId = FenderId, - DspUnitParameters = DefaultDspUnitParameters, - }; - } - } - - - - - - - //public class TaperValue - //{ - // // si = Logarithmic S Taper - // // rs = Logarithmic S Taper - // // ri = Exponential Taper - // // s = Exponential S Taper - // // r = Logarithmic Taper - // // i = Logarithmic Taper - // // blank = Exponential Taper - // // rsi = Exponential S Taper - // private float _base = 1.0f; - // private float _expscale = 1.0f; - // private float _logscale = 1.0f; - // public TaperValue(float f) - // { - // _base = f; - // double d = (double)f; - // _logscale = (float)(1.0d / Math.Log(d)); - // _expscale = (float)(1.0d / (d - 1.0d)); - // } - - // public float forwardLogarithemicMap(float f) - // { - // return (float)(((double)_logscale) * Math.Log((((double)f) * (((double)_base) - 1.0d)) + 1.0d)); - // } - - // public float forwardExponentialMap(float f) - // { - // return (float)(((double)_expscale) * (Math.Pow((double)_base, (double)f) - 1.0d)); - // } - - // public static Dictionary coefficients = new Dictionary() - // { - // {"t10r",1013.99f}, - // {"t10rs",1013.99f}, - // {"t10ri",1013.99f}, - // {"t10rsi",1013.99f}, - // {"t15r",94.725f}, - // {"t15rs",94.725f}, - // {"t15ri",94.725f}, - // {"t15rsi",94.725f}, - // {"t10",81.0f}, - // {"t10s",81.0f}, - // {"t10i",81.0f}, - // {"t10si",81.0f}, - // {"t15",32.111f}, - // {"t15s",32.111f}, - // {"t15i",32.111f}, - // {"t15si",32.111f}, - // {"t20r",26.61f}, - // {"t20rs",26.61f}, - // {"t20ri",26.61f}, - // {"t20rsi",26.61f}, - // {"t20",16.0f}, - // {"t20s",16.0f}, - // {"t20i",16.0f}, - // {"t20si",16.0f}, - // {"t25r",11.4445f}, - // {"t25rs",11.4445f}, - // {"t25ri",11.4445f}, - // {"t25rsi",11.4445f}, - // {"t25",9.0f}, - // {"t25s",9.0f}, - // {"t25i",9.0f}, - // {"t25si",9.0f}, - // {"t30r",6.05615f}, - // {"t30rs",6.05615f}, - // {"t30ri",6.05615f}, - // {"t30rsi",6.05615f}, - // {"t30",5.44445f}, - // {"t30s",5.44445f}, - // {"t30i",5.44445f}, - // {"t30si",5.44445f}, - // {"t35r",3.5918f}, - // {"t35rs",3.5918f}, - // {"t35ri",3.5918f}, - // {"t35rsi",3.5918f}, - // {"t35",3.44899f}, - // {"t35s",3.44899f}, - // {"t35i",3.44899f}, - // {"t35si",3.44899f}, - // {"t45r",2.49585f}, - // {"t45rs",2.49585f}, - // {"t45ri",2.49585f}, - // {"t45rsi",2.49585f}, - // {"t40r",2.27541f}, - // {"t40rs",2.27541f}, - // {"t40ri",2.27541f}, - // {"t40rsi",2.27541f}, - // {"t40",2.25f}, - // {"t40s",2.25f}, - // {"t40i",2.25f}, - // {"t40si",2.25f}, - // {"t45",1.49383f}, - // {"t45s",1.49383f}, - // {"t45i",1.49383f}, - // {"t45si",1.49383f}, - // {"t50",0.0f} - // }; - //} - - - - public static class DspUnitType - { - public const string AMP = "amp"; - public const string STOMP = "stomp"; - public const string MOD = "mod"; - public const string DELAY = "delay"; - public const string REVERB = "reverb"; - public const string UTILITY = "utility"; - } -} +using Google.Protobuf.WellKnownTypes; +using LtAmpDotNet.Lib.Extensions.JsonConverters; +using LtAmpDotNet.Lib.Model.Preset; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Profile +{ + public class DspUnitDefinition + { + [JsonIgnore] + public string? DisplayName { get => Info?.DisplayName; } + + [JsonProperty("nodeType")] + public string? NodeType { get; set; } + + [JsonProperty("FenderId")] + public string? FenderId { get; set; } + + [JsonProperty("defaultDspUnitParameters")] + [JsonConverter(typeof(DspUnitParameterCollectionConverter))] + public List? DefaultDspUnitParameters { get; set; } + + [JsonProperty("info")] + public DspUnitInfo? Info { get; set; } + + [JsonProperty("ui")] + public DspUnitUi? Ui { get; set; } + + public Node ToNode() + { + return new Node() + { + NodeId = Info?.SubCategory, + FenderId = FenderId, + DspUnitParameters = DefaultDspUnitParameters, + }; + } + } + + + + + + + //public class TaperValue + //{ + // // si = Logarithmic S Taper + // // rs = Logarithmic S Taper + // // ri = Exponential Taper + // // s = Exponential S Taper + // // r = Logarithmic Taper + // // i = Logarithmic Taper + // // blank = Exponential Taper + // // rsi = Exponential S Taper + // private float _base = 1.0f; + // private float _expscale = 1.0f; + // private float _logscale = 1.0f; + // public TaperValue(float f) + // { + // _base = f; + // double d = (double)f; + // _logscale = (float)(1.0d / Math.Log(d)); + // _expscale = (float)(1.0d / (d - 1.0d)); + // } + + // public float forwardLogarithemicMap(float f) + // { + // return (float)(((double)_logscale) * Math.Log((((double)f) * (((double)_base) - 1.0d)) + 1.0d)); + // } + + // public float forwardExponentialMap(float f) + // { + // return (float)(((double)_expscale) * (Math.Pow((double)_base, (double)f) - 1.0d)); + // } + + // public static Dictionary coefficients = new Dictionary() + // { + // {"t10r",1013.99f}, + // {"t10rs",1013.99f}, + // {"t10ri",1013.99f}, + // {"t10rsi",1013.99f}, + // {"t15r",94.725f}, + // {"t15rs",94.725f}, + // {"t15ri",94.725f}, + // {"t15rsi",94.725f}, + // {"t10",81.0f}, + // {"t10s",81.0f}, + // {"t10i",81.0f}, + // {"t10si",81.0f}, + // {"t15",32.111f}, + // {"t15s",32.111f}, + // {"t15i",32.111f}, + // {"t15si",32.111f}, + // {"t20r",26.61f}, + // {"t20rs",26.61f}, + // {"t20ri",26.61f}, + // {"t20rsi",26.61f}, + // {"t20",16.0f}, + // {"t20s",16.0f}, + // {"t20i",16.0f}, + // {"t20si",16.0f}, + // {"t25r",11.4445f}, + // {"t25rs",11.4445f}, + // {"t25ri",11.4445f}, + // {"t25rsi",11.4445f}, + // {"t25",9.0f}, + // {"t25s",9.0f}, + // {"t25i",9.0f}, + // {"t25si",9.0f}, + // {"t30r",6.05615f}, + // {"t30rs",6.05615f}, + // {"t30ri",6.05615f}, + // {"t30rsi",6.05615f}, + // {"t30",5.44445f}, + // {"t30s",5.44445f}, + // {"t30i",5.44445f}, + // {"t30si",5.44445f}, + // {"t35r",3.5918f}, + // {"t35rs",3.5918f}, + // {"t35ri",3.5918f}, + // {"t35rsi",3.5918f}, + // {"t35",3.44899f}, + // {"t35s",3.44899f}, + // {"t35i",3.44899f}, + // {"t35si",3.44899f}, + // {"t45r",2.49585f}, + // {"t45rs",2.49585f}, + // {"t45ri",2.49585f}, + // {"t45rsi",2.49585f}, + // {"t40r",2.27541f}, + // {"t40rs",2.27541f}, + // {"t40ri",2.27541f}, + // {"t40rsi",2.27541f}, + // {"t40",2.25f}, + // {"t40s",2.25f}, + // {"t40i",2.25f}, + // {"t40si",2.25f}, + // {"t45",1.49383f}, + // {"t45s",1.49383f}, + // {"t45i",1.49383f}, + // {"t45si",1.49383f}, + // {"t50",0.0f} + // }; + //} + + + + public static class DspUnitType + { + public const string AMP = "amp"; + public const string STOMP = "stomp"; + public const string MOD = "mod"; + public const string DELAY = "delay"; + public const string REVERB = "reverb"; + public const string UTILITY = "utility"; + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitInfo.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitInfo.cs similarity index 54% rename from LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitInfo.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitInfo.cs index 2dbc073..5dd4cc9 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitInfo.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitInfo.cs @@ -1,27 +1,27 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Profile -{ - public class DspUnitInfo - { - [JsonProperty("displayName")] - public string DisplayName { get; set; } - - [JsonProperty("audioGuiObjectNameMinimized")] - public string AudioGuiObjectNameMinimized { get; set; } - - [JsonProperty("audioGuiObjectNameMaximized")] - public string AudioGuiObjectNameMaximized { get; set; } - - [JsonProperty("category")] - public string Category { get; set; } - - [JsonProperty("subcategory")] - public string SubCategory { get; set; } - } -} +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Profile +{ + public class DspUnitInfo + { + [JsonProperty("displayName")] + public string? DisplayName { get; set; } + + [JsonProperty("audioGuiObjectNameMinimized")] + public string? AudioGuiObjectNameMinimized { get; set; } + + [JsonProperty("audioGuiObjectNameMaximized")] + public string? AudioGuiObjectNameMaximized { get; set; } + + [JsonProperty("category")] + public string? Category { get; set; } + + [JsonProperty("subcategory")] + public string? SubCategory { get; set; } + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitInputOutput.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitInputOutput.cs similarity index 74% rename from LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitInputOutput.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitInputOutput.cs index 2a54c60..9ad9e3c 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitInputOutput.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitInputOutput.cs @@ -1,18 +1,18 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Profile -{ - public class DspUnitInputOutput - { - [JsonProperty("index")] - public int Index { get; set; } - - [JsonProperty("displayName")] - public string DisplayName { get; set; } - } -} +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Profile +{ + public class DspUnitInputOutput + { + [JsonProperty("index")] + public int Index { get; set; } + + [JsonProperty("displayName")] + public string? DisplayName { get; set; } + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitUi.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitUi.cs similarity index 58% rename from LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitUi.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitUi.cs index a45ddbc..50176f2 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitUi.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitUi.cs @@ -1,24 +1,24 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Profile -{ - public class DspUnitUi - { - [JsonProperty("hasBypass")] - public bool HasBypass { get; set; } - [JsonProperty("inputs")] - public IEnumerable Inputs { get; set; } - - [JsonProperty("outputs")] - public IEnumerable Outputs { get; set; } - - [JsonProperty("uiParameters")] - public IEnumerable UiParameters { get; set; } - - } -} +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Profile +{ + public class DspUnitUi + { + [JsonProperty("hasBypass")] + public bool HasBypass { get; set; } + + [JsonProperty("inputs")] + public IEnumerable? Inputs { get; set; } + + [JsonProperty("outputs")] + public IEnumerable? Outputs { get; set; } + + [JsonProperty("uiParameters")] + public IEnumerable? UiParameters { get; set; } + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitUiParameter.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitUiParameter.cs similarity index 57% rename from LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitUiParameter.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitUiParameter.cs index 136951d..a2ce27f 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitUiParameter.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitUiParameter.cs @@ -1,54 +1,54 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Profile -{ - public class DspUnitUiParameter - { - [JsonProperty("controlType")] - public string ControlType { get; set; } - - [JsonProperty("paramGuiObjectNameMinimized")] - public string ParamGuiObjectNameMinimized { get; set; } - - [JsonProperty("paramGuiObjectNameMaximized")] - public string ParamGuiObjectNameMaximized { get; set; } - - [JsonProperty("controlId")] - public string ControlId { get; set; } - - [JsonProperty("displayName")] - public string DisplayName { get; set; } - - [JsonProperty("numTicks")] - public int NumTicks { get; set; } - - [JsonProperty("displayType")] - public string DisplayType { get; set; } - - [JsonProperty("min")] - public float Min { get; set; } - - [JsonProperty("max")] - public float Max { get; set; } - - [JsonProperty("taper")] - public string Taper { get; set; } - - [JsonProperty("listItems")] - public IEnumerable ListItems { get; set; } - - [JsonProperty("remap")] - public DspUnitUiParametersRemap Remap { get; set; } - } - public static class ControlType - { - public const string CONTINUOUS = "continuous"; - public const string LIST = "list"; - public const string LIST_BOOL = "listBool"; - } -} +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Profile +{ + public class DspUnitUiParameter + { + [JsonProperty("controlType")] + public string? ControlType { get; set; } + + [JsonProperty("paramGuiObjectNameMinimized")] + public string? ParamGuiObjectNameMinimized { get; set; } + + [JsonProperty("paramGuiObjectNameMaximized")] + public string? ParamGuiObjectNameMaximized { get; set; } + + [JsonProperty("controlId")] + public string? ControlId { get; set; } + + [JsonProperty("displayName")] + public string? DisplayName { get; set; } + + [JsonProperty("numTicks")] + public int NumTicks { get; set; } + + [JsonProperty("displayType")] + public string? DisplayType { get; set; } + + [JsonProperty("min")] + public float? Min { get; set; } + + [JsonProperty("max")] + public float? Max { get; set; } + + [JsonProperty("taper")] + public string? Taper { get; set; } + + [JsonProperty("listItems")] + public IEnumerable? ListItems { get; set; } + + [JsonProperty("remap")] + public DspUnitUiParametersRemap? Remap { get; set; } + } + public static class ControlType + { + public const string CONTINUOUS = "continuous"; + public const string LIST = "list"; + public const string LIST_BOOL = "listBool"; + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitUiParametersRemap.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitUiParametersRemap.cs similarity index 55% rename from LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitUiParametersRemap.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitUiParametersRemap.cs index 4ce8a30..1c91d24 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Profile/DspUnitUiParametersRemap.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Profile/DspUnitUiParametersRemap.cs @@ -1,27 +1,27 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Profile -{ - public class DspUnitUiParametersRemap - { - [JsonProperty("min")] - public float Min { get; set; } - - [JsonProperty("max")] - public float Max { get; set; } - - [JsonProperty("taper")] - public string Taper { get; set; } - - [JsonProperty("format")] - public string Format { get; set; } - - [JsonProperty("listItems")] - public IEnumerable ListItems { get; set; } - } -} +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Lib.Model.Profile +{ + public class DspUnitUiParametersRemap + { + [JsonProperty("min")] + public float? Min { get; set; } + + [JsonProperty("max")] + public float? Max { get; set; } + + [JsonProperty("taper")] + public string? Taper { get; set; } + + [JsonProperty("format")] + public string? Format { get; set; } + + [JsonProperty("listItems")] + public IEnumerable? ListItems { get; set; } + } +} diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ActiveDisplay.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ActiveDisplay.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ActiveDisplay.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ActiveDisplay.cs index 8fa9699..b6f5f0f 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ActiveDisplay.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ActiveDisplay.cs @@ -1,244 +1,244 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ActiveDisplay.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ActiveDisplay.proto -public static partial class ActiveDisplayReflection { - - #region Descriptor - /// File descriptor for ActiveDisplay.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ActiveDisplayReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNBY3RpdmVEaXNwbGF5LnByb3RvIiEKDUFjdGl2ZURpc3BsYXkSEAoIcGFn", - "ZU5hbWUYASACKAk=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ActiveDisplay), global::ActiveDisplay.Parser, new[]{ "PageName" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ActiveDisplay : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActiveDisplay()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ActiveDisplayReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ActiveDisplay() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ActiveDisplay(ActiveDisplay other) : this() { - pageName_ = other.pageName_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ActiveDisplay Clone() { - return new ActiveDisplay(this); - } - - /// Field number for the "pageName" field. - public const int PageNameFieldNumber = 1; - private readonly static string PageNameDefaultValue = ""; - - private string pageName_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PageName { - get { return pageName_ ?? PageNameDefaultValue; } - set { - pageName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "pageName" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPageName { - get { return pageName_ != null; } - } - /// Clears the value of the "pageName" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPageName() { - pageName_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ActiveDisplay); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ActiveDisplay other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PageName != other.PageName) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPageName) hash ^= PageName.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPageName) { - output.WriteRawTag(10); - output.WriteString(PageName); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPageName) { - output.WriteRawTag(10); - output.WriteString(PageName); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPageName) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PageName); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ActiveDisplay other) { - if (other == null) { - return; - } - if (other.HasPageName) { - PageName = other.PageName; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - PageName = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - PageName = input.ReadString(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ActiveDisplay.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ActiveDisplay.proto +public static partial class ActiveDisplayReflection { + + #region Descriptor + /// File descriptor for ActiveDisplay.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ActiveDisplayReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChNBY3RpdmVEaXNwbGF5LnByb3RvIiEKDUFjdGl2ZURpc3BsYXkSEAoIcGFn", + "ZU5hbWUYASACKAk=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ActiveDisplay), global::ActiveDisplay.Parser, new[]{ "PageName" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ActiveDisplay : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActiveDisplay()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ActiveDisplayReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActiveDisplay() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActiveDisplay(ActiveDisplay other) : this() { + pageName_ = other.pageName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActiveDisplay Clone() { + return new ActiveDisplay(this); + } + + /// Field number for the "pageName" field. + public const int PageNameFieldNumber = 1; + private readonly static string PageNameDefaultValue = ""; + + private string pageName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PageName { + get { return pageName_ ?? PageNameDefaultValue; } + set { + pageName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "pageName" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPageName { + get { return pageName_ != null; } + } + /// Clears the value of the "pageName" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPageName() { + pageName_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ActiveDisplay); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ActiveDisplay other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PageName != other.PageName) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPageName) hash ^= PageName.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPageName) { + output.WriteRawTag(10); + output.WriteString(PageName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPageName) { + output.WriteRawTag(10); + output.WriteString(PageName); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPageName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PageName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ActiveDisplay other) { + if (other == null) { + return; + } + if (other.HasPageName) { + PageName = other.PageName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + PageName = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + PageName = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AudioStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AudioStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/AudioStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AudioStatus.cs index 1919e33..e2a3c9b 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AudioStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AudioStatus.cs @@ -1,254 +1,254 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AudioStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from AudioStatus.proto -public static partial class AudioStatusReflection { - - #region Descriptor - /// File descriptor for AudioStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AudioStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFBdWRpb1N0YXR1cy5wcm90byIxChJQcmVzZXRFZGl0ZWRTdGF0dXMSGwoM", - "cHJlc2V0RWRpdGVkGAEgAigIOgVmYWxzZQ==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::PresetEditedStatus), global::PresetEditedStatus.Parser, new[]{ "PresetEdited" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Editing status of the current preset -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class PresetEditedStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresetEditedStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::AudioStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetEditedStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetEditedStatus(PresetEditedStatus other) : this() { - _hasBits0 = other._hasBits0; - presetEdited_ = other.presetEdited_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetEditedStatus Clone() { - return new PresetEditedStatus(this); - } - - /// Field number for the "presetEdited" field. - public const int PresetEditedFieldNumber = 1; - private readonly static bool PresetEditedDefaultValue = false; - - private bool presetEdited_; - /// - /// True if the preset is in editing state - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool PresetEdited { - get { if ((_hasBits0 & 1) != 0) { return presetEdited_; } else { return PresetEditedDefaultValue; } } - set { - _hasBits0 |= 1; - presetEdited_ = value; - } - } - /// Gets whether the "presetEdited" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetEdited { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "presetEdited" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetEdited() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PresetEditedStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PresetEditedStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PresetEdited != other.PresetEdited) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPresetEdited) hash ^= PresetEdited.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPresetEdited) { - output.WriteRawTag(8); - output.WriteBool(PresetEdited); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPresetEdited) { - output.WriteRawTag(8); - output.WriteBool(PresetEdited); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPresetEdited) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PresetEditedStatus other) { - if (other == null) { - return; - } - if (other.HasPresetEdited) { - PresetEdited = other.PresetEdited; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - PresetEdited = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - PresetEdited = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: AudioStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from AudioStatus.proto +public static partial class AudioStatusReflection { + + #region Descriptor + /// File descriptor for AudioStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AudioStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFBdWRpb1N0YXR1cy5wcm90byIxChJQcmVzZXRFZGl0ZWRTdGF0dXMSGwoM", + "cHJlc2V0RWRpdGVkGAEgAigIOgVmYWxzZQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::PresetEditedStatus), global::PresetEditedStatus.Parser, new[]{ "PresetEdited" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Editing status of the current preset +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PresetEditedStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresetEditedStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::AudioStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetEditedStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetEditedStatus(PresetEditedStatus other) : this() { + _hasBits0 = other._hasBits0; + presetEdited_ = other.presetEdited_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetEditedStatus Clone() { + return new PresetEditedStatus(this); + } + + /// Field number for the "presetEdited" field. + public const int PresetEditedFieldNumber = 1; + private readonly static bool PresetEditedDefaultValue = false; + + private bool presetEdited_; + /// + /// True if the preset is in editing state + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool PresetEdited { + get { if ((_hasBits0 & 1) != 0) { return presetEdited_; } else { return PresetEditedDefaultValue; } } + set { + _hasBits0 |= 1; + presetEdited_ = value; + } + } + /// Gets whether the "presetEdited" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetEdited { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "presetEdited" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetEdited() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PresetEditedStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PresetEditedStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PresetEdited != other.PresetEdited) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPresetEdited) hash ^= PresetEdited.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPresetEdited) { + output.WriteRawTag(8); + output.WriteBool(PresetEdited); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPresetEdited) { + output.WriteRawTag(8); + output.WriteBool(PresetEdited); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPresetEdited) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PresetEditedStatus other) { + if (other == null) { + return; + } + if (other.HasPresetEdited) { + PresetEdited = other.PresetEdited; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + PresetEdited = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PresetEdited = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionPreset.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionPreset.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionPreset.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionPreset.cs index 6306194..e3f4811 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionPreset.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionPreset.cs @@ -1,253 +1,253 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AuditionPreset.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from AuditionPreset.proto -public static partial class AuditionPresetReflection { - - #region Descriptor - /// File descriptor for AuditionPreset.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AuditionPresetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRBdWRpdGlvblByZXNldC5wcm90byIkCg5BdWRpdGlvblByZXNldBISCgpw", - "cmVzZXREYXRhGAEgAigJ")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::AuditionPreset), global::AuditionPreset.Parser, new[]{ "PresetData" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Sends a preset to the amp to be "auditioned" -/// -/// response: AuditionPresetStatus message containing the preset data loaded to the amp -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class AuditionPreset : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditionPreset()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::AuditionPresetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionPreset() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionPreset(AuditionPreset other) : this() { - presetData_ = other.presetData_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionPreset Clone() { - return new AuditionPreset(this); - } - - /// Field number for the "presetData" field. - public const int PresetDataFieldNumber = 1; - private readonly static string PresetDataDefaultValue = ""; - - private string presetData_; - /// - /// JSON string conaining the preset to be auditioned - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PresetData { - get { return presetData_ ?? PresetDataDefaultValue; } - set { - presetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "presetData" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetData { - get { return presetData_ != null; } - } - /// Clears the value of the "presetData" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetData() { - presetData_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AuditionPreset); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AuditionPreset other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PresetData != other.PresetData) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPresetData) hash ^= PresetData.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPresetData) { - output.WriteRawTag(10); - output.WriteString(PresetData); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPresetData) { - output.WriteRawTag(10); - output.WriteString(PresetData); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPresetData) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetData); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AuditionPreset other) { - if (other == null) { - return; - } - if (other.HasPresetData) { - PresetData = other.PresetData; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - PresetData = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - PresetData = input.ReadString(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: AuditionPreset.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from AuditionPreset.proto +public static partial class AuditionPresetReflection { + + #region Descriptor + /// File descriptor for AuditionPreset.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AuditionPresetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChRBdWRpdGlvblByZXNldC5wcm90byIkCg5BdWRpdGlvblByZXNldBISCgpw", + "cmVzZXREYXRhGAEgAigJ")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::AuditionPreset), global::AuditionPreset.Parser, new[]{ "PresetData" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Sends a preset to the amp to be "auditioned" +/// +/// response: AuditionPresetStatus message containing the preset data loaded to the amp +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class AuditionPreset : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditionPreset()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::AuditionPresetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionPreset() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionPreset(AuditionPreset other) : this() { + presetData_ = other.presetData_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionPreset Clone() { + return new AuditionPreset(this); + } + + /// Field number for the "presetData" field. + public const int PresetDataFieldNumber = 1; + private readonly static string PresetDataDefaultValue = ""; + + private string presetData_; + /// + /// JSON string conaining the preset to be auditioned + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PresetData { + get { return presetData_ ?? PresetDataDefaultValue; } + set { + presetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "presetData" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetData { + get { return presetData_ != null; } + } + /// Clears the value of the "presetData" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetData() { + presetData_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AuditionPreset); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AuditionPreset other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PresetData != other.PresetData) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPresetData) hash ^= PresetData.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPresetData) { + output.WriteRawTag(10); + output.WriteString(PresetData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPresetData) { + output.WriteRawTag(10); + output.WriteString(PresetData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPresetData) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AuditionPreset other) { + if (other == null) { + return; + } + if (other.HasPresetData) { + PresetData = other.PresetData; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + PresetData = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + PresetData = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionPresetStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionPresetStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionPresetStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionPresetStatus.cs index d35c0ff..99cb1bc 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionPresetStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionPresetStatus.cs @@ -1,251 +1,251 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AuditionPresetStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from AuditionPresetStatus.proto -public static partial class AuditionPresetStatusReflection { - - #region Descriptor - /// File descriptor for AuditionPresetStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AuditionPresetStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpBdWRpdGlvblByZXNldFN0YXR1cy5wcm90byIqChRBdWRpdGlvblByZXNl", - "dFN0YXR1cxISCgpwcmVzZXREYXRhGAEgAigJ")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::AuditionPresetStatus), global::AuditionPresetStatus.Parser, new[]{ "PresetData" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Response to an AuditionPreset message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class AuditionPresetStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditionPresetStatus()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::AuditionPresetStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionPresetStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionPresetStatus(AuditionPresetStatus other) : this() { - presetData_ = other.presetData_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionPresetStatus Clone() { - return new AuditionPresetStatus(this); - } - - /// Field number for the "presetData" field. - public const int PresetDataFieldNumber = 1; - private readonly static string PresetDataDefaultValue = ""; - - private string presetData_; - /// - /// JSON data conatining preset data being auditioned - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PresetData { - get { return presetData_ ?? PresetDataDefaultValue; } - set { - presetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "presetData" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetData { - get { return presetData_ != null; } - } - /// Clears the value of the "presetData" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetData() { - presetData_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AuditionPresetStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AuditionPresetStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PresetData != other.PresetData) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPresetData) hash ^= PresetData.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPresetData) { - output.WriteRawTag(10); - output.WriteString(PresetData); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPresetData) { - output.WriteRawTag(10); - output.WriteString(PresetData); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPresetData) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetData); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AuditionPresetStatus other) { - if (other == null) { - return; - } - if (other.HasPresetData) { - PresetData = other.PresetData; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - PresetData = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - PresetData = input.ReadString(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: AuditionPresetStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from AuditionPresetStatus.proto +public static partial class AuditionPresetStatusReflection { + + #region Descriptor + /// File descriptor for AuditionPresetStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AuditionPresetStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChpBdWRpdGlvblByZXNldFN0YXR1cy5wcm90byIqChRBdWRpdGlvblByZXNl", + "dFN0YXR1cxISCgpwcmVzZXREYXRhGAEgAigJ")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::AuditionPresetStatus), global::AuditionPresetStatus.Parser, new[]{ "PresetData" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Response to an AuditionPreset message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class AuditionPresetStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditionPresetStatus()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::AuditionPresetStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionPresetStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionPresetStatus(AuditionPresetStatus other) : this() { + presetData_ = other.presetData_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionPresetStatus Clone() { + return new AuditionPresetStatus(this); + } + + /// Field number for the "presetData" field. + public const int PresetDataFieldNumber = 1; + private readonly static string PresetDataDefaultValue = ""; + + private string presetData_; + /// + /// JSON data conatining preset data being auditioned + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PresetData { + get { return presetData_ ?? PresetDataDefaultValue; } + set { + presetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "presetData" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetData { + get { return presetData_ != null; } + } + /// Clears the value of the "presetData" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetData() { + presetData_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AuditionPresetStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AuditionPresetStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PresetData != other.PresetData) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPresetData) hash ^= PresetData.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPresetData) { + output.WriteRawTag(10); + output.WriteString(PresetData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPresetData) { + output.WriteRawTag(10); + output.WriteString(PresetData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPresetData) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AuditionPresetStatus other) { + if (other == null) { + return; + } + if (other.HasPresetData) { + PresetData = other.PresetData; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + PresetData = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + PresetData = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionStateRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionStateRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionStateRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionStateRequest.cs index ee3eda2..b89314f 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionStateRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionStateRequest.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AuditionStateRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from AuditionStateRequest.proto -public static partial class AuditionStateRequestReflection { - - #region Descriptor - /// File descriptor for AuditionStateRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AuditionStateRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpBdWRpdGlvblN0YXRlUmVxdWVzdC5wcm90byInChRBdWRpdGlvblN0YXRl", - "UmVxdWVzdBIPCgdyZXF1ZXN0GAEgAigI")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::AuditionStateRequest), global::AuditionStateRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Queries the amp for its audition state -/// -/// response: AuditionStateStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class AuditionStateRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditionStateRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::AuditionStateRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionStateRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionStateRequest(AuditionStateRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionStateRequest Clone() { - return new AuditionStateRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AuditionStateRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AuditionStateRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AuditionStateRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: AuditionStateRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from AuditionStateRequest.proto +public static partial class AuditionStateRequestReflection { + + #region Descriptor + /// File descriptor for AuditionStateRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AuditionStateRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChpBdWRpdGlvblN0YXRlUmVxdWVzdC5wcm90byInChRBdWRpdGlvblN0YXRl", + "UmVxdWVzdBIPCgdyZXF1ZXN0GAEgAigI")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::AuditionStateRequest), global::AuditionStateRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Queries the amp for its audition state +/// +/// response: AuditionStateStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class AuditionStateRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditionStateRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::AuditionStateRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionStateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionStateRequest(AuditionStateRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionStateRequest Clone() { + return new AuditionStateRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AuditionStateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AuditionStateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AuditionStateRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionStateStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionStateStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionStateStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionStateStatus.cs index 90323eb..c4d594d 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/AuditionStateStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/AuditionStateStatus.cs @@ -1,254 +1,254 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: AuditionStateStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from AuditionStateStatus.proto -public static partial class AuditionStateStatusReflection { - - #region Descriptor - /// File descriptor for AuditionStateStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AuditionStateStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlBdWRpdGlvblN0YXRlU3RhdHVzLnByb3RvIiwKE0F1ZGl0aW9uU3RhdGVT", - "dGF0dXMSFQoNaXNBdWRpdGlvbmluZxgBIAIoCA==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::AuditionStateStatus), global::AuditionStateStatus.Parser, new[]{ "IsAuditioning" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// The current audition state of the amp -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class AuditionStateStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditionStateStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::AuditionStateStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionStateStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionStateStatus(AuditionStateStatus other) : this() { - _hasBits0 = other._hasBits0; - isAuditioning_ = other.isAuditioning_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AuditionStateStatus Clone() { - return new AuditionStateStatus(this); - } - - /// Field number for the "isAuditioning" field. - public const int IsAuditioningFieldNumber = 1; - private readonly static bool IsAuditioningDefaultValue = false; - - private bool isAuditioning_; - /// - /// True if the amp is in audition mode - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsAuditioning { - get { if ((_hasBits0 & 1) != 0) { return isAuditioning_; } else { return IsAuditioningDefaultValue; } } - set { - _hasBits0 |= 1; - isAuditioning_ = value; - } - } - /// Gets whether the "isAuditioning" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIsAuditioning { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "isAuditioning" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIsAuditioning() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AuditionStateStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AuditionStateStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (IsAuditioning != other.IsAuditioning) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIsAuditioning) hash ^= IsAuditioning.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIsAuditioning) { - output.WriteRawTag(8); - output.WriteBool(IsAuditioning); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIsAuditioning) { - output.WriteRawTag(8); - output.WriteBool(IsAuditioning); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIsAuditioning) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AuditionStateStatus other) { - if (other == null) { - return; - } - if (other.HasIsAuditioning) { - IsAuditioning = other.IsAuditioning; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - IsAuditioning = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - IsAuditioning = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: AuditionStateStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from AuditionStateStatus.proto +public static partial class AuditionStateStatusReflection { + + #region Descriptor + /// File descriptor for AuditionStateStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AuditionStateStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChlBdWRpdGlvblN0YXRlU3RhdHVzLnByb3RvIiwKE0F1ZGl0aW9uU3RhdGVT", + "dGF0dXMSFQoNaXNBdWRpdGlvbmluZxgBIAIoCA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::AuditionStateStatus), global::AuditionStateStatus.Parser, new[]{ "IsAuditioning" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// The current audition state of the amp +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class AuditionStateStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AuditionStateStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::AuditionStateStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionStateStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionStateStatus(AuditionStateStatus other) : this() { + _hasBits0 = other._hasBits0; + isAuditioning_ = other.isAuditioning_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AuditionStateStatus Clone() { + return new AuditionStateStatus(this); + } + + /// Field number for the "isAuditioning" field. + public const int IsAuditioningFieldNumber = 1; + private readonly static bool IsAuditioningDefaultValue = false; + + private bool isAuditioning_; + /// + /// True if the amp is in audition mode + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsAuditioning { + get { if ((_hasBits0 & 1) != 0) { return isAuditioning_; } else { return IsAuditioningDefaultValue; } } + set { + _hasBits0 |= 1; + isAuditioning_ = value; + } + } + /// Gets whether the "isAuditioning" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsAuditioning { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "isAuditioning" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsAuditioning() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as AuditionStateStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AuditionStateStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsAuditioning != other.IsAuditioning) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIsAuditioning) hash ^= IsAuditioning.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIsAuditioning) { + output.WriteRawTag(8); + output.WriteBool(IsAuditioning); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIsAuditioning) { + output.WriteRawTag(8); + output.WriteBool(IsAuditioning); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIsAuditioning) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AuditionStateStatus other) { + if (other == null) { + return; + } + if (other.HasIsAuditioning) { + IsAuditioning = other.IsAuditioning; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IsAuditioning = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IsAuditioning = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ClearPreset.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ClearPreset.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ClearPreset.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ClearPreset.cs index 5bc0975..a0e82bf 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ClearPreset.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ClearPreset.cs @@ -1,311 +1,311 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ClearPreset.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ClearPreset.proto -public static partial class ClearPresetReflection { - - #region Descriptor - /// File descriptor for ClearPreset.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ClearPresetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFDbGVhclByZXNldC5wcm90byI2CgtDbGVhclByZXNldBIRCglzbG90SW5k", - "ZXgYASACKAUSFAoMaXNMb2FkUHJlc2V0GAIgAigI")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ClearPreset), global::ClearPreset.Parser, new[]{ "SlotIndex", "IsLoadPreset" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Clears a preset in the amp -/// -/// response: ClearPresetStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ClearPreset : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClearPreset()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ClearPresetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClearPreset() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClearPreset(ClearPreset other) : this() { - _hasBits0 = other._hasBits0; - slotIndex_ = other.slotIndex_; - isLoadPreset_ = other.isLoadPreset_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClearPreset Clone() { - return new ClearPreset(this); - } - - /// Field number for the "slotIndex" field. - public const int SlotIndexFieldNumber = 1; - private readonly static int SlotIndexDefaultValue = 0; - - private int slotIndex_; - /// - /// Preset bank to clear - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SlotIndex { - get { if ((_hasBits0 & 1) != 0) { return slotIndex_; } else { return SlotIndexDefaultValue; } } - set { - _hasBits0 |= 1; - slotIndex_ = value; - } - } - /// Gets whether the "slotIndex" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSlotIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "slotIndex" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSlotIndex() { - _hasBits0 &= ~1; - } - - /// Field number for the "isLoadPreset" field. - public const int IsLoadPresetFieldNumber = 2; - private readonly static bool IsLoadPresetDefaultValue = false; - - private bool isLoadPreset_; - /// - /// ??? the Tone amp sets this to true when clearing the preset - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsLoadPreset { - get { if ((_hasBits0 & 2) != 0) { return isLoadPreset_; } else { return IsLoadPresetDefaultValue; } } - set { - _hasBits0 |= 2; - isLoadPreset_ = value; - } - } - /// Gets whether the "isLoadPreset" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIsLoadPreset { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "isLoadPreset" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIsLoadPreset() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ClearPreset); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ClearPreset other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SlotIndex != other.SlotIndex) return false; - if (IsLoadPreset != other.IsLoadPreset) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasSlotIndex) hash ^= SlotIndex.GetHashCode(); - if (HasIsLoadPreset) hash ^= IsLoadPreset.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasSlotIndex) { - output.WriteRawTag(8); - output.WriteInt32(SlotIndex); - } - if (HasIsLoadPreset) { - output.WriteRawTag(16); - output.WriteBool(IsLoadPreset); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasSlotIndex) { - output.WriteRawTag(8); - output.WriteInt32(SlotIndex); - } - if (HasIsLoadPreset) { - output.WriteRawTag(16); - output.WriteBool(IsLoadPreset); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasSlotIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SlotIndex); - } - if (HasIsLoadPreset) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ClearPreset other) { - if (other == null) { - return; - } - if (other.HasSlotIndex) { - SlotIndex = other.SlotIndex; - } - if (other.HasIsLoadPreset) { - IsLoadPreset = other.IsLoadPreset; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SlotIndex = input.ReadInt32(); - break; - } - case 16: { - IsLoadPreset = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SlotIndex = input.ReadInt32(); - break; - } - case 16: { - IsLoadPreset = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ClearPreset.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ClearPreset.proto +public static partial class ClearPresetReflection { + + #region Descriptor + /// File descriptor for ClearPreset.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClearPresetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFDbGVhclByZXNldC5wcm90byI2CgtDbGVhclByZXNldBIRCglzbG90SW5k", + "ZXgYASACKAUSFAoMaXNMb2FkUHJlc2V0GAIgAigI")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ClearPreset), global::ClearPreset.Parser, new[]{ "SlotIndex", "IsLoadPreset" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Clears a preset in the amp +/// +/// response: ClearPresetStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ClearPreset : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClearPreset()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ClearPresetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClearPreset() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClearPreset(ClearPreset other) : this() { + _hasBits0 = other._hasBits0; + slotIndex_ = other.slotIndex_; + isLoadPreset_ = other.isLoadPreset_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClearPreset Clone() { + return new ClearPreset(this); + } + + /// Field number for the "slotIndex" field. + public const int SlotIndexFieldNumber = 1; + private readonly static int SlotIndexDefaultValue = 0; + + private int slotIndex_; + /// + /// Preset bank to clear + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SlotIndex { + get { if ((_hasBits0 & 1) != 0) { return slotIndex_; } else { return SlotIndexDefaultValue; } } + set { + _hasBits0 |= 1; + slotIndex_ = value; + } + } + /// Gets whether the "slotIndex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSlotIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "slotIndex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSlotIndex() { + _hasBits0 &= ~1; + } + + /// Field number for the "isLoadPreset" field. + public const int IsLoadPresetFieldNumber = 2; + private readonly static bool IsLoadPresetDefaultValue = false; + + private bool isLoadPreset_; + /// + /// ??? the Tone amp sets this to true when clearing the preset + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsLoadPreset { + get { if ((_hasBits0 & 2) != 0) { return isLoadPreset_; } else { return IsLoadPresetDefaultValue; } } + set { + _hasBits0 |= 2; + isLoadPreset_ = value; + } + } + /// Gets whether the "isLoadPreset" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsLoadPreset { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "isLoadPreset" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsLoadPreset() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClearPreset); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClearPreset other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SlotIndex != other.SlotIndex) return false; + if (IsLoadPreset != other.IsLoadPreset) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasSlotIndex) hash ^= SlotIndex.GetHashCode(); + if (HasIsLoadPreset) hash ^= IsLoadPreset.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasSlotIndex) { + output.WriteRawTag(8); + output.WriteInt32(SlotIndex); + } + if (HasIsLoadPreset) { + output.WriteRawTag(16); + output.WriteBool(IsLoadPreset); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasSlotIndex) { + output.WriteRawTag(8); + output.WriteInt32(SlotIndex); + } + if (HasIsLoadPreset) { + output.WriteRawTag(16); + output.WriteBool(IsLoadPreset); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasSlotIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SlotIndex); + } + if (HasIsLoadPreset) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClearPreset other) { + if (other == null) { + return; + } + if (other.HasSlotIndex) { + SlotIndex = other.SlotIndex; + } + if (other.HasIsLoadPreset) { + IsLoadPreset = other.IsLoadPreset; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SlotIndex = input.ReadInt32(); + break; + } + case 16: { + IsLoadPreset = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SlotIndex = input.ReadInt32(); + break; + } + case 16: { + IsLoadPreset = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ClearPresetStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ClearPresetStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ClearPresetStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ClearPresetStatus.cs index 6727484..9f4d80f 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ClearPresetStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ClearPresetStatus.cs @@ -1,254 +1,254 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ClearPresetStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ClearPresetStatus.proto -public static partial class ClearPresetStatusReflection { - - #region Descriptor - /// File descriptor for ClearPresetStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ClearPresetStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdDbGVhclByZXNldFN0YXR1cy5wcm90byImChFDbGVhclByZXNldFN0YXR1", - "cxIRCglzbG90SW5kZXgYASACKAU=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ClearPresetStatus), global::ClearPresetStatus.Parser, new[]{ "SlotIndex" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Response to a ClearPreset message with the slot index cleared -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ClearPresetStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClearPresetStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ClearPresetStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClearPresetStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClearPresetStatus(ClearPresetStatus other) : this() { - _hasBits0 = other._hasBits0; - slotIndex_ = other.slotIndex_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ClearPresetStatus Clone() { - return new ClearPresetStatus(this); - } - - /// Field number for the "slotIndex" field. - public const int SlotIndexFieldNumber = 1; - private readonly static int SlotIndexDefaultValue = 0; - - private int slotIndex_; - /// - /// slot index cleared - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SlotIndex { - get { if ((_hasBits0 & 1) != 0) { return slotIndex_; } else { return SlotIndexDefaultValue; } } - set { - _hasBits0 |= 1; - slotIndex_ = value; - } - } - /// Gets whether the "slotIndex" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSlotIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "slotIndex" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSlotIndex() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ClearPresetStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ClearPresetStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (SlotIndex != other.SlotIndex) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasSlotIndex) hash ^= SlotIndex.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasSlotIndex) { - output.WriteRawTag(8); - output.WriteInt32(SlotIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasSlotIndex) { - output.WriteRawTag(8); - output.WriteInt32(SlotIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasSlotIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SlotIndex); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ClearPresetStatus other) { - if (other == null) { - return; - } - if (other.HasSlotIndex) { - SlotIndex = other.SlotIndex; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - SlotIndex = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - SlotIndex = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ClearPresetStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ClearPresetStatus.proto +public static partial class ClearPresetStatusReflection { + + #region Descriptor + /// File descriptor for ClearPresetStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ClearPresetStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdDbGVhclByZXNldFN0YXR1cy5wcm90byImChFDbGVhclByZXNldFN0YXR1", + "cxIRCglzbG90SW5kZXgYASACKAU=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ClearPresetStatus), global::ClearPresetStatus.Parser, new[]{ "SlotIndex" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Response to a ClearPreset message with the slot index cleared +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ClearPresetStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ClearPresetStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ClearPresetStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClearPresetStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClearPresetStatus(ClearPresetStatus other) : this() { + _hasBits0 = other._hasBits0; + slotIndex_ = other.slotIndex_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ClearPresetStatus Clone() { + return new ClearPresetStatus(this); + } + + /// Field number for the "slotIndex" field. + public const int SlotIndexFieldNumber = 1; + private readonly static int SlotIndexDefaultValue = 0; + + private int slotIndex_; + /// + /// slot index cleared + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SlotIndex { + get { if ((_hasBits0 & 1) != 0) { return slotIndex_; } else { return SlotIndexDefaultValue; } } + set { + _hasBits0 |= 1; + slotIndex_ = value; + } + } + /// Gets whether the "slotIndex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSlotIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "slotIndex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSlotIndex() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ClearPresetStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ClearPresetStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SlotIndex != other.SlotIndex) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasSlotIndex) hash ^= SlotIndex.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasSlotIndex) { + output.WriteRawTag(8); + output.WriteInt32(SlotIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasSlotIndex) { + output.WriteRawTag(8); + output.WriteInt32(SlotIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasSlotIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SlotIndex); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ClearPresetStatus other) { + if (other == null) { + return; + } + if (other.HasSlotIndex) { + SlotIndex = other.SlotIndex; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + SlotIndex = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + SlotIndex = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ConnectionStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ConnectionStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ConnectionStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ConnectionStatus.cs index 0967cee..814a6b7 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ConnectionStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ConnectionStatus.cs @@ -1,254 +1,254 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ConnectionStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ConnectionStatus.proto -public static partial class ConnectionStatusReflection { - - #region Descriptor - /// File descriptor for ConnectionStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ConnectionStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZDb25uZWN0aW9uU3RhdHVzLnByb3RvIicKEENvbm5lY3Rpb25TdGF0dXMS", - "EwoLaXNDb25uZWN0ZWQYASACKAg=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ConnectionStatus), global::ConnectionStatus.Parser, new[]{ "IsConnected" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// The current connection state of the amp -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ConnectionStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectionStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ConnectionStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ConnectionStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ConnectionStatus(ConnectionStatus other) : this() { - _hasBits0 = other._hasBits0; - isConnected_ = other.isConnected_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ConnectionStatus Clone() { - return new ConnectionStatus(this); - } - - /// Field number for the "isConnected" field. - public const int IsConnectedFieldNumber = 1; - private readonly static bool IsConnectedDefaultValue = false; - - private bool isConnected_; - /// - /// True if the amp is connected - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsConnected { - get { if ((_hasBits0 & 1) != 0) { return isConnected_; } else { return IsConnectedDefaultValue; } } - set { - _hasBits0 |= 1; - isConnected_ = value; - } - } - /// Gets whether the "isConnected" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIsConnected { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "isConnected" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIsConnected() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ConnectionStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ConnectionStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (IsConnected != other.IsConnected) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIsConnected) hash ^= IsConnected.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIsConnected) { - output.WriteRawTag(8); - output.WriteBool(IsConnected); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIsConnected) { - output.WriteRawTag(8); - output.WriteBool(IsConnected); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIsConnected) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ConnectionStatus other) { - if (other == null) { - return; - } - if (other.HasIsConnected) { - IsConnected = other.IsConnected; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - IsConnected = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - IsConnected = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ConnectionStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ConnectionStatus.proto +public static partial class ConnectionStatusReflection { + + #region Descriptor + /// File descriptor for ConnectionStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ConnectionStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZDb25uZWN0aW9uU3RhdHVzLnByb3RvIicKEENvbm5lY3Rpb25TdGF0dXMS", + "EwoLaXNDb25uZWN0ZWQYASACKAg=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ConnectionStatus), global::ConnectionStatus.Parser, new[]{ "IsConnected" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// The current connection state of the amp +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ConnectionStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectionStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ConnectionStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionStatus(ConnectionStatus other) : this() { + _hasBits0 = other._hasBits0; + isConnected_ = other.isConnected_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionStatus Clone() { + return new ConnectionStatus(this); + } + + /// Field number for the "isConnected" field. + public const int IsConnectedFieldNumber = 1; + private readonly static bool IsConnectedDefaultValue = false; + + private bool isConnected_; + /// + /// True if the amp is connected + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsConnected { + get { if ((_hasBits0 & 1) != 0) { return isConnected_; } else { return IsConnectedDefaultValue; } } + set { + _hasBits0 |= 1; + isConnected_ = value; + } + } + /// Gets whether the "isConnected" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsConnected { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "isConnected" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsConnected() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConnectionStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConnectionStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsConnected != other.IsConnected) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIsConnected) hash ^= IsConnected.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIsConnected) { + output.WriteRawTag(8); + output.WriteBool(IsConnected); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIsConnected) { + output.WriteRawTag(8); + output.WriteBool(IsConnected); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIsConnected) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConnectionStatus other) { + if (other == null) { + return; + } + if (other.HasIsConnected) { + IsConnected = other.IsConnected; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IsConnected = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IsConnected = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ConnectionStatusRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ConnectionStatusRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ConnectionStatusRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ConnectionStatusRequest.cs index 5828e54..0cb42aa 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ConnectionStatusRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ConnectionStatusRequest.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ConnectionStatusRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ConnectionStatusRequest.proto -public static partial class ConnectionStatusRequestReflection { - - #region Descriptor - /// File descriptor for ConnectionStatusRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ConnectionStatusRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch1Db25uZWN0aW9uU3RhdHVzUmVxdWVzdC5wcm90byIqChdDb25uZWN0aW9u", - "U3RhdHVzUmVxdWVzdBIPCgdyZXF1ZXN0GAEgAigI")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ConnectionStatusRequest), global::ConnectionStatusRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Queries the connection status of the amp -/// -/// response: ConnectionStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ConnectionStatusRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectionStatusRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ConnectionStatusRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ConnectionStatusRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ConnectionStatusRequest(ConnectionStatusRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ConnectionStatusRequest Clone() { - return new ConnectionStatusRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ConnectionStatusRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ConnectionStatusRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ConnectionStatusRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ConnectionStatusRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ConnectionStatusRequest.proto +public static partial class ConnectionStatusRequestReflection { + + #region Descriptor + /// File descriptor for ConnectionStatusRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ConnectionStatusRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch1Db25uZWN0aW9uU3RhdHVzUmVxdWVzdC5wcm90byIqChdDb25uZWN0aW9u", + "U3RhdHVzUmVxdWVzdBIPCgdyZXF1ZXN0GAEgAigI")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ConnectionStatusRequest), global::ConnectionStatusRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Queries the connection status of the amp +/// +/// response: ConnectionStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ConnectionStatusRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConnectionStatusRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ConnectionStatusRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionStatusRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionStatusRequest(ConnectionStatusRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConnectionStatusRequest Clone() { + return new ConnectionStatusRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConnectionStatusRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConnectionStatusRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConnectionStatusRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentDisplayedPresetIndexStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentDisplayedPresetIndexStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentDisplayedPresetIndexStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentDisplayedPresetIndexStatus.cs index 7d9e097..cd476ee 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentDisplayedPresetIndexStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentDisplayedPresetIndexStatus.cs @@ -1,255 +1,255 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CurrentDisplayedPresetIndexStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from CurrentDisplayedPresetIndexStatus.proto -public static partial class CurrentDisplayedPresetIndexStatusReflection { - - #region Descriptor - /// File descriptor for CurrentDisplayedPresetIndexStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CurrentDisplayedPresetIndexStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CidDdXJyZW50RGlzcGxheWVkUHJlc2V0SW5kZXhTdGF0dXMucHJvdG8iSAoh", - "Q3VycmVudERpc3BsYXllZFByZXNldEluZGV4U3RhdHVzEiMKG2N1cnJlbnRE", - "aXNwbGF5ZWRQcmVzZXRJbmRleBgBIAIoBQ==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::CurrentDisplayedPresetIndexStatus), global::CurrentDisplayedPresetIndexStatus.Parser, new[]{ "CurrentDisplayedPresetIndex" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// The current preset displayed on the amp. Sent when the preset is changed at the amp -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class CurrentDisplayedPresetIndexStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentDisplayedPresetIndexStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::CurrentDisplayedPresetIndexStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentDisplayedPresetIndexStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentDisplayedPresetIndexStatus(CurrentDisplayedPresetIndexStatus other) : this() { - _hasBits0 = other._hasBits0; - currentDisplayedPresetIndex_ = other.currentDisplayedPresetIndex_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentDisplayedPresetIndexStatus Clone() { - return new CurrentDisplayedPresetIndexStatus(this); - } - - /// Field number for the "currentDisplayedPresetIndex" field. - public const int CurrentDisplayedPresetIndexFieldNumber = 1; - private readonly static int CurrentDisplayedPresetIndexDefaultValue = 0; - - private int currentDisplayedPresetIndex_; - /// - /// The current preset bank number - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrentDisplayedPresetIndex { - get { if ((_hasBits0 & 1) != 0) { return currentDisplayedPresetIndex_; } else { return CurrentDisplayedPresetIndexDefaultValue; } } - set { - _hasBits0 |= 1; - currentDisplayedPresetIndex_ = value; - } - } - /// Gets whether the "currentDisplayedPresetIndex" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrentDisplayedPresetIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "currentDisplayedPresetIndex" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrentDisplayedPresetIndex() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CurrentDisplayedPresetIndexStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CurrentDisplayedPresetIndexStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CurrentDisplayedPresetIndex != other.CurrentDisplayedPresetIndex) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasCurrentDisplayedPresetIndex) hash ^= CurrentDisplayedPresetIndex.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasCurrentDisplayedPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(CurrentDisplayedPresetIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasCurrentDisplayedPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(CurrentDisplayedPresetIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasCurrentDisplayedPresetIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentDisplayedPresetIndex); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CurrentDisplayedPresetIndexStatus other) { - if (other == null) { - return; - } - if (other.HasCurrentDisplayedPresetIndex) { - CurrentDisplayedPresetIndex = other.CurrentDisplayedPresetIndex; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - CurrentDisplayedPresetIndex = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - CurrentDisplayedPresetIndex = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CurrentDisplayedPresetIndexStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from CurrentDisplayedPresetIndexStatus.proto +public static partial class CurrentDisplayedPresetIndexStatusReflection { + + #region Descriptor + /// File descriptor for CurrentDisplayedPresetIndexStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CurrentDisplayedPresetIndexStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CidDdXJyZW50RGlzcGxheWVkUHJlc2V0SW5kZXhTdGF0dXMucHJvdG8iSAoh", + "Q3VycmVudERpc3BsYXllZFByZXNldEluZGV4U3RhdHVzEiMKG2N1cnJlbnRE", + "aXNwbGF5ZWRQcmVzZXRJbmRleBgBIAIoBQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::CurrentDisplayedPresetIndexStatus), global::CurrentDisplayedPresetIndexStatus.Parser, new[]{ "CurrentDisplayedPresetIndex" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// The current preset displayed on the amp. Sent when the preset is changed at the amp +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class CurrentDisplayedPresetIndexStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentDisplayedPresetIndexStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::CurrentDisplayedPresetIndexStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentDisplayedPresetIndexStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentDisplayedPresetIndexStatus(CurrentDisplayedPresetIndexStatus other) : this() { + _hasBits0 = other._hasBits0; + currentDisplayedPresetIndex_ = other.currentDisplayedPresetIndex_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentDisplayedPresetIndexStatus Clone() { + return new CurrentDisplayedPresetIndexStatus(this); + } + + /// Field number for the "currentDisplayedPresetIndex" field. + public const int CurrentDisplayedPresetIndexFieldNumber = 1; + private readonly static int CurrentDisplayedPresetIndexDefaultValue = 0; + + private int currentDisplayedPresetIndex_; + /// + /// The current preset bank number + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrentDisplayedPresetIndex { + get { if ((_hasBits0 & 1) != 0) { return currentDisplayedPresetIndex_; } else { return CurrentDisplayedPresetIndexDefaultValue; } } + set { + _hasBits0 |= 1; + currentDisplayedPresetIndex_ = value; + } + } + /// Gets whether the "currentDisplayedPresetIndex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentDisplayedPresetIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "currentDisplayedPresetIndex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentDisplayedPresetIndex() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CurrentDisplayedPresetIndexStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CurrentDisplayedPresetIndexStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CurrentDisplayedPresetIndex != other.CurrentDisplayedPresetIndex) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCurrentDisplayedPresetIndex) hash ^= CurrentDisplayedPresetIndex.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasCurrentDisplayedPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(CurrentDisplayedPresetIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasCurrentDisplayedPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(CurrentDisplayedPresetIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCurrentDisplayedPresetIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentDisplayedPresetIndex); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CurrentDisplayedPresetIndexStatus other) { + if (other == null) { + return; + } + if (other.HasCurrentDisplayedPresetIndex) { + CurrentDisplayedPresetIndex = other.CurrentDisplayedPresetIndex; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CurrentDisplayedPresetIndex = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CurrentDisplayedPresetIndex = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexBypassStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexBypassStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexBypassStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexBypassStatus.cs index cf42eea..5154775 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexBypassStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexBypassStatus.cs @@ -1,277 +1,277 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CurrentLoadedPresetIndexBypassStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from CurrentLoadedPresetIndexBypassStatus.proto -public static partial class CurrentLoadedPresetIndexBypassStatusReflection { - - #region Descriptor - /// File descriptor for CurrentLoadedPresetIndexBypassStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CurrentLoadedPresetIndexBypassStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CipDdXJyZW50TG9hZGVkUHJlc2V0SW5kZXhCeXBhc3NTdGF0dXMucHJvdG8i", - "XgokQ3VycmVudExvYWRlZFByZXNldEluZGV4QnlwYXNzU3RhdHVzEiAKGGN1", - "cnJlbnRMb2FkZWRQcmVzZXRJbmRleBgBIAIoBRIUCgxieXBhc3NTdGF0dXMY", - "AiADKAg=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::CurrentLoadedPresetIndexBypassStatus), global::CurrentLoadedPresetIndexBypassStatus.Parser, new[]{ "CurrentLoadedPresetIndex", "BypassStatus" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class CurrentLoadedPresetIndexBypassStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentLoadedPresetIndexBypassStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::CurrentLoadedPresetIndexBypassStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentLoadedPresetIndexBypassStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentLoadedPresetIndexBypassStatus(CurrentLoadedPresetIndexBypassStatus other) : this() { - _hasBits0 = other._hasBits0; - currentLoadedPresetIndex_ = other.currentLoadedPresetIndex_; - bypassStatus_ = other.bypassStatus_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentLoadedPresetIndexBypassStatus Clone() { - return new CurrentLoadedPresetIndexBypassStatus(this); - } - - /// Field number for the "currentLoadedPresetIndex" field. - public const int CurrentLoadedPresetIndexFieldNumber = 1; - private readonly static int CurrentLoadedPresetIndexDefaultValue = 0; - - private int currentLoadedPresetIndex_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrentLoadedPresetIndex { - get { if ((_hasBits0 & 1) != 0) { return currentLoadedPresetIndex_; } else { return CurrentLoadedPresetIndexDefaultValue; } } - set { - _hasBits0 |= 1; - currentLoadedPresetIndex_ = value; - } - } - /// Gets whether the "currentLoadedPresetIndex" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrentLoadedPresetIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "currentLoadedPresetIndex" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrentLoadedPresetIndex() { - _hasBits0 &= ~1; - } - - /// Field number for the "bypassStatus" field. - public const int BypassStatusFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_bypassStatus_codec - = pb::FieldCodec.ForBool(16); - private readonly pbc::RepeatedField bypassStatus_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BypassStatus { - get { return bypassStatus_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CurrentLoadedPresetIndexBypassStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CurrentLoadedPresetIndexBypassStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CurrentLoadedPresetIndex != other.CurrentLoadedPresetIndex) return false; - if(!bypassStatus_.Equals(other.bypassStatus_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasCurrentLoadedPresetIndex) hash ^= CurrentLoadedPresetIndex.GetHashCode(); - hash ^= bypassStatus_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasCurrentLoadedPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(CurrentLoadedPresetIndex); - } - bypassStatus_.WriteTo(output, _repeated_bypassStatus_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasCurrentLoadedPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(CurrentLoadedPresetIndex); - } - bypassStatus_.WriteTo(ref output, _repeated_bypassStatus_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasCurrentLoadedPresetIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentLoadedPresetIndex); - } - size += bypassStatus_.CalculateSize(_repeated_bypassStatus_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CurrentLoadedPresetIndexBypassStatus other) { - if (other == null) { - return; - } - if (other.HasCurrentLoadedPresetIndex) { - CurrentLoadedPresetIndex = other.CurrentLoadedPresetIndex; - } - bypassStatus_.Add(other.bypassStatus_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - CurrentLoadedPresetIndex = input.ReadInt32(); - break; - } - case 18: - case 16: { - bypassStatus_.AddEntriesFrom(input, _repeated_bypassStatus_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - CurrentLoadedPresetIndex = input.ReadInt32(); - break; - } - case 18: - case 16: { - bypassStatus_.AddEntriesFrom(ref input, _repeated_bypassStatus_codec); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CurrentLoadedPresetIndexBypassStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from CurrentLoadedPresetIndexBypassStatus.proto +public static partial class CurrentLoadedPresetIndexBypassStatusReflection { + + #region Descriptor + /// File descriptor for CurrentLoadedPresetIndexBypassStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CurrentLoadedPresetIndexBypassStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CipDdXJyZW50TG9hZGVkUHJlc2V0SW5kZXhCeXBhc3NTdGF0dXMucHJvdG8i", + "XgokQ3VycmVudExvYWRlZFByZXNldEluZGV4QnlwYXNzU3RhdHVzEiAKGGN1", + "cnJlbnRMb2FkZWRQcmVzZXRJbmRleBgBIAIoBRIUCgxieXBhc3NTdGF0dXMY", + "AiADKAg=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::CurrentLoadedPresetIndexBypassStatus), global::CurrentLoadedPresetIndexBypassStatus.Parser, new[]{ "CurrentLoadedPresetIndex", "BypassStatus" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class CurrentLoadedPresetIndexBypassStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentLoadedPresetIndexBypassStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::CurrentLoadedPresetIndexBypassStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentLoadedPresetIndexBypassStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentLoadedPresetIndexBypassStatus(CurrentLoadedPresetIndexBypassStatus other) : this() { + _hasBits0 = other._hasBits0; + currentLoadedPresetIndex_ = other.currentLoadedPresetIndex_; + bypassStatus_ = other.bypassStatus_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentLoadedPresetIndexBypassStatus Clone() { + return new CurrentLoadedPresetIndexBypassStatus(this); + } + + /// Field number for the "currentLoadedPresetIndex" field. + public const int CurrentLoadedPresetIndexFieldNumber = 1; + private readonly static int CurrentLoadedPresetIndexDefaultValue = 0; + + private int currentLoadedPresetIndex_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrentLoadedPresetIndex { + get { if ((_hasBits0 & 1) != 0) { return currentLoadedPresetIndex_; } else { return CurrentLoadedPresetIndexDefaultValue; } } + set { + _hasBits0 |= 1; + currentLoadedPresetIndex_ = value; + } + } + /// Gets whether the "currentLoadedPresetIndex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentLoadedPresetIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "currentLoadedPresetIndex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentLoadedPresetIndex() { + _hasBits0 &= ~1; + } + + /// Field number for the "bypassStatus" field. + public const int BypassStatusFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_bypassStatus_codec + = pb::FieldCodec.ForBool(16); + private readonly pbc::RepeatedField bypassStatus_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BypassStatus { + get { return bypassStatus_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CurrentLoadedPresetIndexBypassStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CurrentLoadedPresetIndexBypassStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CurrentLoadedPresetIndex != other.CurrentLoadedPresetIndex) return false; + if(!bypassStatus_.Equals(other.bypassStatus_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCurrentLoadedPresetIndex) hash ^= CurrentLoadedPresetIndex.GetHashCode(); + hash ^= bypassStatus_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasCurrentLoadedPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(CurrentLoadedPresetIndex); + } + bypassStatus_.WriteTo(output, _repeated_bypassStatus_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasCurrentLoadedPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(CurrentLoadedPresetIndex); + } + bypassStatus_.WriteTo(ref output, _repeated_bypassStatus_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCurrentLoadedPresetIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentLoadedPresetIndex); + } + size += bypassStatus_.CalculateSize(_repeated_bypassStatus_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CurrentLoadedPresetIndexBypassStatus other) { + if (other == null) { + return; + } + if (other.HasCurrentLoadedPresetIndex) { + CurrentLoadedPresetIndex = other.CurrentLoadedPresetIndex; + } + bypassStatus_.Add(other.bypassStatus_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CurrentLoadedPresetIndex = input.ReadInt32(); + break; + } + case 18: + case 16: { + bypassStatus_.AddEntriesFrom(input, _repeated_bypassStatus_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CurrentLoadedPresetIndex = input.ReadInt32(); + break; + } + case 18: + case 16: { + bypassStatus_.AddEntriesFrom(ref input, _repeated_bypassStatus_codec); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexStatus.cs index d777393..8440a65 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentLoadedPresetIndexStatus.cs @@ -1,255 +1,255 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CurrentLoadedPresetIndexStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from CurrentLoadedPresetIndexStatus.proto -public static partial class CurrentLoadedPresetIndexStatusReflection { - - #region Descriptor - /// File descriptor for CurrentLoadedPresetIndexStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CurrentLoadedPresetIndexStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiRDdXJyZW50TG9hZGVkUHJlc2V0SW5kZXhTdGF0dXMucHJvdG8iQgoeQ3Vy", - "cmVudExvYWRlZFByZXNldEluZGV4U3RhdHVzEiAKGGN1cnJlbnRMb2FkZWRQ", - "cmVzZXRJbmRleBgBIAIoBQ==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::CurrentLoadedPresetIndexStatus), global::CurrentLoadedPresetIndexStatus.Parser, new[]{ "CurrentLoadedPresetIndex" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// The current preset displayed on the amp. Sent when the preset is changed at the amp or via a LoadPreset message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class CurrentLoadedPresetIndexStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentLoadedPresetIndexStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::CurrentLoadedPresetIndexStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentLoadedPresetIndexStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentLoadedPresetIndexStatus(CurrentLoadedPresetIndexStatus other) : this() { - _hasBits0 = other._hasBits0; - currentLoadedPresetIndex_ = other.currentLoadedPresetIndex_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentLoadedPresetIndexStatus Clone() { - return new CurrentLoadedPresetIndexStatus(this); - } - - /// Field number for the "currentLoadedPresetIndex" field. - public const int CurrentLoadedPresetIndexFieldNumber = 1; - private readonly static int CurrentLoadedPresetIndexDefaultValue = 0; - - private int currentLoadedPresetIndex_; - /// - /// The current preset bank number - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrentLoadedPresetIndex { - get { if ((_hasBits0 & 1) != 0) { return currentLoadedPresetIndex_; } else { return CurrentLoadedPresetIndexDefaultValue; } } - set { - _hasBits0 |= 1; - currentLoadedPresetIndex_ = value; - } - } - /// Gets whether the "currentLoadedPresetIndex" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrentLoadedPresetIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "currentLoadedPresetIndex" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrentLoadedPresetIndex() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CurrentLoadedPresetIndexStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CurrentLoadedPresetIndexStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CurrentLoadedPresetIndex != other.CurrentLoadedPresetIndex) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasCurrentLoadedPresetIndex) hash ^= CurrentLoadedPresetIndex.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasCurrentLoadedPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(CurrentLoadedPresetIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasCurrentLoadedPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(CurrentLoadedPresetIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasCurrentLoadedPresetIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentLoadedPresetIndex); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CurrentLoadedPresetIndexStatus other) { - if (other == null) { - return; - } - if (other.HasCurrentLoadedPresetIndex) { - CurrentLoadedPresetIndex = other.CurrentLoadedPresetIndex; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - CurrentLoadedPresetIndex = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - CurrentLoadedPresetIndex = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CurrentLoadedPresetIndexStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from CurrentLoadedPresetIndexStatus.proto +public static partial class CurrentLoadedPresetIndexStatusReflection { + + #region Descriptor + /// File descriptor for CurrentLoadedPresetIndexStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CurrentLoadedPresetIndexStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiRDdXJyZW50TG9hZGVkUHJlc2V0SW5kZXhTdGF0dXMucHJvdG8iQgoeQ3Vy", + "cmVudExvYWRlZFByZXNldEluZGV4U3RhdHVzEiAKGGN1cnJlbnRMb2FkZWRQ", + "cmVzZXRJbmRleBgBIAIoBQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::CurrentLoadedPresetIndexStatus), global::CurrentLoadedPresetIndexStatus.Parser, new[]{ "CurrentLoadedPresetIndex" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// The current preset displayed on the amp. Sent when the preset is changed at the amp or via a LoadPreset message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class CurrentLoadedPresetIndexStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentLoadedPresetIndexStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::CurrentLoadedPresetIndexStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentLoadedPresetIndexStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentLoadedPresetIndexStatus(CurrentLoadedPresetIndexStatus other) : this() { + _hasBits0 = other._hasBits0; + currentLoadedPresetIndex_ = other.currentLoadedPresetIndex_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentLoadedPresetIndexStatus Clone() { + return new CurrentLoadedPresetIndexStatus(this); + } + + /// Field number for the "currentLoadedPresetIndex" field. + public const int CurrentLoadedPresetIndexFieldNumber = 1; + private readonly static int CurrentLoadedPresetIndexDefaultValue = 0; + + private int currentLoadedPresetIndex_; + /// + /// The current preset bank number + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrentLoadedPresetIndex { + get { if ((_hasBits0 & 1) != 0) { return currentLoadedPresetIndex_; } else { return CurrentLoadedPresetIndexDefaultValue; } } + set { + _hasBits0 |= 1; + currentLoadedPresetIndex_ = value; + } + } + /// Gets whether the "currentLoadedPresetIndex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentLoadedPresetIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "currentLoadedPresetIndex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentLoadedPresetIndex() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CurrentLoadedPresetIndexStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CurrentLoadedPresetIndexStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CurrentLoadedPresetIndex != other.CurrentLoadedPresetIndex) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCurrentLoadedPresetIndex) hash ^= CurrentLoadedPresetIndex.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasCurrentLoadedPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(CurrentLoadedPresetIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasCurrentLoadedPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(CurrentLoadedPresetIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCurrentLoadedPresetIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentLoadedPresetIndex); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CurrentLoadedPresetIndexStatus other) { + if (other == null) { + return; + } + if (other.HasCurrentLoadedPresetIndex) { + CurrentLoadedPresetIndex = other.CurrentLoadedPresetIndex; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CurrentLoadedPresetIndex = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CurrentLoadedPresetIndex = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentPresetRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentPresetRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentPresetRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentPresetRequest.cs index 731d8bb..bea201b 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentPresetRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentPresetRequest.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CurrentPresetRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from CurrentPresetRequest.proto -public static partial class CurrentPresetRequestReflection { - - #region Descriptor - /// File descriptor for CurrentPresetRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CurrentPresetRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpDdXJyZW50UHJlc2V0UmVxdWVzdC5wcm90byInChRDdXJyZW50UHJlc2V0", - "UmVxdWVzdBIPCgdyZXF1ZXN0GAEgAigI")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::CurrentPresetRequest), global::CurrentPresetRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Requests the current preset from the amp -/// -/// response: CurrentPresetStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class CurrentPresetRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentPresetRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::CurrentPresetRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentPresetRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentPresetRequest(CurrentPresetRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentPresetRequest Clone() { - return new CurrentPresetRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CurrentPresetRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CurrentPresetRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CurrentPresetRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CurrentPresetRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from CurrentPresetRequest.proto +public static partial class CurrentPresetRequestReflection { + + #region Descriptor + /// File descriptor for CurrentPresetRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CurrentPresetRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChpDdXJyZW50UHJlc2V0UmVxdWVzdC5wcm90byInChRDdXJyZW50UHJlc2V0", + "UmVxdWVzdBIPCgdyZXF1ZXN0GAEgAigI")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::CurrentPresetRequest), global::CurrentPresetRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Requests the current preset from the amp +/// +/// response: CurrentPresetStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class CurrentPresetRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentPresetRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::CurrentPresetRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentPresetRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentPresetRequest(CurrentPresetRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentPresetRequest Clone() { + return new CurrentPresetRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CurrentPresetRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CurrentPresetRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CurrentPresetRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentPresetSet.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentPresetSet.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentPresetSet.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentPresetSet.cs index 068a6eb..72c394b 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentPresetSet.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentPresetSet.cs @@ -1,253 +1,253 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CurrentPresetSet.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from CurrentPresetSet.proto -public static partial class CurrentPresetSetReflection { - - #region Descriptor - /// File descriptor for CurrentPresetSet.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CurrentPresetSetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZDdXJyZW50UHJlc2V0U2V0LnByb3RvIi0KEEN1cnJlbnRQcmVzZXRTZXQS", - "GQoRY3VycmVudFByZXNldERhdGEYASACKAk=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::CurrentPresetSet), global::CurrentPresetSet.Parser, new[]{ "CurrentPresetData" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Sets the current preset of the amp -/// -/// response: CurrentPresetStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class CurrentPresetSet : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentPresetSet()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::CurrentPresetSetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentPresetSet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentPresetSet(CurrentPresetSet other) : this() { - currentPresetData_ = other.currentPresetData_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentPresetSet Clone() { - return new CurrentPresetSet(this); - } - - /// Field number for the "currentPresetData" field. - public const int CurrentPresetDataFieldNumber = 1; - private readonly static string CurrentPresetDataDefaultValue = ""; - - private string currentPresetData_; - /// - /// JSON data conatining preset data - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CurrentPresetData { - get { return currentPresetData_ ?? CurrentPresetDataDefaultValue; } - set { - currentPresetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "currentPresetData" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrentPresetData { - get { return currentPresetData_ != null; } - } - /// Clears the value of the "currentPresetData" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrentPresetData() { - currentPresetData_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CurrentPresetSet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CurrentPresetSet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CurrentPresetData != other.CurrentPresetData) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasCurrentPresetData) hash ^= CurrentPresetData.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasCurrentPresetData) { - output.WriteRawTag(10); - output.WriteString(CurrentPresetData); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasCurrentPresetData) { - output.WriteRawTag(10); - output.WriteString(CurrentPresetData); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasCurrentPresetData) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CurrentPresetData); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CurrentPresetSet other) { - if (other == null) { - return; - } - if (other.HasCurrentPresetData) { - CurrentPresetData = other.CurrentPresetData; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - CurrentPresetData = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - CurrentPresetData = input.ReadString(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CurrentPresetSet.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from CurrentPresetSet.proto +public static partial class CurrentPresetSetReflection { + + #region Descriptor + /// File descriptor for CurrentPresetSet.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CurrentPresetSetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZDdXJyZW50UHJlc2V0U2V0LnByb3RvIi0KEEN1cnJlbnRQcmVzZXRTZXQS", + "GQoRY3VycmVudFByZXNldERhdGEYASACKAk=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::CurrentPresetSet), global::CurrentPresetSet.Parser, new[]{ "CurrentPresetData" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Sets the current preset of the amp +/// +/// response: CurrentPresetStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class CurrentPresetSet : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentPresetSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::CurrentPresetSetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentPresetSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentPresetSet(CurrentPresetSet other) : this() { + currentPresetData_ = other.currentPresetData_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentPresetSet Clone() { + return new CurrentPresetSet(this); + } + + /// Field number for the "currentPresetData" field. + public const int CurrentPresetDataFieldNumber = 1; + private readonly static string CurrentPresetDataDefaultValue = ""; + + private string currentPresetData_; + /// + /// JSON data conatining preset data + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CurrentPresetData { + get { return currentPresetData_ ?? CurrentPresetDataDefaultValue; } + set { + currentPresetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "currentPresetData" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentPresetData { + get { return currentPresetData_ != null; } + } + /// Clears the value of the "currentPresetData" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentPresetData() { + currentPresetData_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CurrentPresetSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CurrentPresetSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CurrentPresetData != other.CurrentPresetData) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCurrentPresetData) hash ^= CurrentPresetData.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasCurrentPresetData) { + output.WriteRawTag(10); + output.WriteString(CurrentPresetData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasCurrentPresetData) { + output.WriteRawTag(10); + output.WriteString(CurrentPresetData); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCurrentPresetData) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CurrentPresetData); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CurrentPresetSet other) { + if (other == null) { + return; + } + if (other.HasCurrentPresetData) { + CurrentPresetData = other.CurrentPresetData; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + CurrentPresetData = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + CurrentPresetData = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentPresetStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentPresetStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentPresetStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentPresetStatus.cs index 62f3155..b84e3bb 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/CurrentPresetStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/CurrentPresetStatus.cs @@ -1,365 +1,365 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CurrentPresetStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from CurrentPresetStatus.proto -public static partial class CurrentPresetStatusReflection { - - #region Descriptor - /// File descriptor for CurrentPresetStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static CurrentPresetStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlDdXJyZW50UHJlc2V0U3RhdHVzLnByb3RvImwKE0N1cnJlbnRQcmVzZXRT", - "dGF0dXMSGQoRY3VycmVudFByZXNldERhdGEYASACKAkSGAoQY3VycmVudFNs", - "b3RJbmRleBgCIAIoBRIgChhjdXJyZW50UHJlc2V0RGlydHlTdGF0dXMYAyAC", - "KAg=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::CurrentPresetStatus), global::CurrentPresetStatus.Parser, new[]{ "CurrentPresetData", "CurrentSlotIndex", "CurrentPresetDirtyStatus" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Returns the state of the current preset -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class CurrentPresetStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentPresetStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::CurrentPresetStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentPresetStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentPresetStatus(CurrentPresetStatus other) : this() { - _hasBits0 = other._hasBits0; - currentPresetData_ = other.currentPresetData_; - currentSlotIndex_ = other.currentSlotIndex_; - currentPresetDirtyStatus_ = other.currentPresetDirtyStatus_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public CurrentPresetStatus Clone() { - return new CurrentPresetStatus(this); - } - - /// Field number for the "currentPresetData" field. - public const int CurrentPresetDataFieldNumber = 1; - private readonly static string CurrentPresetDataDefaultValue = ""; - - private string currentPresetData_; - /// - /// JSON data conatining current preset data - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CurrentPresetData { - get { return currentPresetData_ ?? CurrentPresetDataDefaultValue; } - set { - currentPresetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "currentPresetData" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrentPresetData { - get { return currentPresetData_ != null; } - } - /// Clears the value of the "currentPresetData" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrentPresetData() { - currentPresetData_ = null; - } - - /// Field number for the "currentSlotIndex" field. - public const int CurrentSlotIndexFieldNumber = 2; - private readonly static int CurrentSlotIndexDefaultValue = 0; - - private int currentSlotIndex_; - /// - /// Current preset bank number - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CurrentSlotIndex { - get { if ((_hasBits0 & 1) != 0) { return currentSlotIndex_; } else { return CurrentSlotIndexDefaultValue; } } - set { - _hasBits0 |= 1; - currentSlotIndex_ = value; - } - } - /// Gets whether the "currentSlotIndex" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrentSlotIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "currentSlotIndex" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrentSlotIndex() { - _hasBits0 &= ~1; - } - - /// Field number for the "currentPresetDirtyStatus" field. - public const int CurrentPresetDirtyStatusFieldNumber = 3; - private readonly static bool CurrentPresetDirtyStatusDefaultValue = false; - - private bool currentPresetDirtyStatus_; - /// - /// True if current preset has been edited and not saved - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool CurrentPresetDirtyStatus { - get { if ((_hasBits0 & 2) != 0) { return currentPresetDirtyStatus_; } else { return CurrentPresetDirtyStatusDefaultValue; } } - set { - _hasBits0 |= 2; - currentPresetDirtyStatus_ = value; - } - } - /// Gets whether the "currentPresetDirtyStatus" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrentPresetDirtyStatus { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "currentPresetDirtyStatus" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrentPresetDirtyStatus() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as CurrentPresetStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(CurrentPresetStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CurrentPresetData != other.CurrentPresetData) return false; - if (CurrentSlotIndex != other.CurrentSlotIndex) return false; - if (CurrentPresetDirtyStatus != other.CurrentPresetDirtyStatus) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasCurrentPresetData) hash ^= CurrentPresetData.GetHashCode(); - if (HasCurrentSlotIndex) hash ^= CurrentSlotIndex.GetHashCode(); - if (HasCurrentPresetDirtyStatus) hash ^= CurrentPresetDirtyStatus.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasCurrentPresetData) { - output.WriteRawTag(10); - output.WriteString(CurrentPresetData); - } - if (HasCurrentSlotIndex) { - output.WriteRawTag(16); - output.WriteInt32(CurrentSlotIndex); - } - if (HasCurrentPresetDirtyStatus) { - output.WriteRawTag(24); - output.WriteBool(CurrentPresetDirtyStatus); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasCurrentPresetData) { - output.WriteRawTag(10); - output.WriteString(CurrentPresetData); - } - if (HasCurrentSlotIndex) { - output.WriteRawTag(16); - output.WriteInt32(CurrentSlotIndex); - } - if (HasCurrentPresetDirtyStatus) { - output.WriteRawTag(24); - output.WriteBool(CurrentPresetDirtyStatus); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasCurrentPresetData) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CurrentPresetData); - } - if (HasCurrentSlotIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentSlotIndex); - } - if (HasCurrentPresetDirtyStatus) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(CurrentPresetStatus other) { - if (other == null) { - return; - } - if (other.HasCurrentPresetData) { - CurrentPresetData = other.CurrentPresetData; - } - if (other.HasCurrentSlotIndex) { - CurrentSlotIndex = other.CurrentSlotIndex; - } - if (other.HasCurrentPresetDirtyStatus) { - CurrentPresetDirtyStatus = other.CurrentPresetDirtyStatus; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - CurrentPresetData = input.ReadString(); - break; - } - case 16: { - CurrentSlotIndex = input.ReadInt32(); - break; - } - case 24: { - CurrentPresetDirtyStatus = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - CurrentPresetData = input.ReadString(); - break; - } - case 16: { - CurrentSlotIndex = input.ReadInt32(); - break; - } - case 24: { - CurrentPresetDirtyStatus = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: CurrentPresetStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from CurrentPresetStatus.proto +public static partial class CurrentPresetStatusReflection { + + #region Descriptor + /// File descriptor for CurrentPresetStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CurrentPresetStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChlDdXJyZW50UHJlc2V0U3RhdHVzLnByb3RvImwKE0N1cnJlbnRQcmVzZXRT", + "dGF0dXMSGQoRY3VycmVudFByZXNldERhdGEYASACKAkSGAoQY3VycmVudFNs", + "b3RJbmRleBgCIAIoBRIgChhjdXJyZW50UHJlc2V0RGlydHlTdGF0dXMYAyAC", + "KAg=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::CurrentPresetStatus), global::CurrentPresetStatus.Parser, new[]{ "CurrentPresetData", "CurrentSlotIndex", "CurrentPresetDirtyStatus" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Returns the state of the current preset +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class CurrentPresetStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CurrentPresetStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::CurrentPresetStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentPresetStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentPresetStatus(CurrentPresetStatus other) : this() { + _hasBits0 = other._hasBits0; + currentPresetData_ = other.currentPresetData_; + currentSlotIndex_ = other.currentSlotIndex_; + currentPresetDirtyStatus_ = other.currentPresetDirtyStatus_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CurrentPresetStatus Clone() { + return new CurrentPresetStatus(this); + } + + /// Field number for the "currentPresetData" field. + public const int CurrentPresetDataFieldNumber = 1; + private readonly static string CurrentPresetDataDefaultValue = ""; + + private string currentPresetData_; + /// + /// JSON data conatining current preset data + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string CurrentPresetData { + get { return currentPresetData_ ?? CurrentPresetDataDefaultValue; } + set { + currentPresetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "currentPresetData" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentPresetData { + get { return currentPresetData_ != null; } + } + /// Clears the value of the "currentPresetData" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentPresetData() { + currentPresetData_ = null; + } + + /// Field number for the "currentSlotIndex" field. + public const int CurrentSlotIndexFieldNumber = 2; + private readonly static int CurrentSlotIndexDefaultValue = 0; + + private int currentSlotIndex_; + /// + /// Current preset bank number + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrentSlotIndex { + get { if ((_hasBits0 & 1) != 0) { return currentSlotIndex_; } else { return CurrentSlotIndexDefaultValue; } } + set { + _hasBits0 |= 1; + currentSlotIndex_ = value; + } + } + /// Gets whether the "currentSlotIndex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentSlotIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "currentSlotIndex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentSlotIndex() { + _hasBits0 &= ~1; + } + + /// Field number for the "currentPresetDirtyStatus" field. + public const int CurrentPresetDirtyStatusFieldNumber = 3; + private readonly static bool CurrentPresetDirtyStatusDefaultValue = false; + + private bool currentPresetDirtyStatus_; + /// + /// True if current preset has been edited and not saved + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool CurrentPresetDirtyStatus { + get { if ((_hasBits0 & 2) != 0) { return currentPresetDirtyStatus_; } else { return CurrentPresetDirtyStatusDefaultValue; } } + set { + _hasBits0 |= 2; + currentPresetDirtyStatus_ = value; + } + } + /// Gets whether the "currentPresetDirtyStatus" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentPresetDirtyStatus { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "currentPresetDirtyStatus" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentPresetDirtyStatus() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CurrentPresetStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CurrentPresetStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CurrentPresetData != other.CurrentPresetData) return false; + if (CurrentSlotIndex != other.CurrentSlotIndex) return false; + if (CurrentPresetDirtyStatus != other.CurrentPresetDirtyStatus) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCurrentPresetData) hash ^= CurrentPresetData.GetHashCode(); + if (HasCurrentSlotIndex) hash ^= CurrentSlotIndex.GetHashCode(); + if (HasCurrentPresetDirtyStatus) hash ^= CurrentPresetDirtyStatus.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasCurrentPresetData) { + output.WriteRawTag(10); + output.WriteString(CurrentPresetData); + } + if (HasCurrentSlotIndex) { + output.WriteRawTag(16); + output.WriteInt32(CurrentSlotIndex); + } + if (HasCurrentPresetDirtyStatus) { + output.WriteRawTag(24); + output.WriteBool(CurrentPresetDirtyStatus); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasCurrentPresetData) { + output.WriteRawTag(10); + output.WriteString(CurrentPresetData); + } + if (HasCurrentSlotIndex) { + output.WriteRawTag(16); + output.WriteInt32(CurrentSlotIndex); + } + if (HasCurrentPresetDirtyStatus) { + output.WriteRawTag(24); + output.WriteBool(CurrentPresetDirtyStatus); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCurrentPresetData) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CurrentPresetData); + } + if (HasCurrentSlotIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentSlotIndex); + } + if (HasCurrentPresetDirtyStatus) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CurrentPresetStatus other) { + if (other == null) { + return; + } + if (other.HasCurrentPresetData) { + CurrentPresetData = other.CurrentPresetData; + } + if (other.HasCurrentSlotIndex) { + CurrentSlotIndex = other.CurrentSlotIndex; + } + if (other.HasCurrentPresetDirtyStatus) { + CurrentPresetDirtyStatus = other.CurrentPresetDirtyStatus; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + CurrentPresetData = input.ReadString(); + break; + } + case 16: { + CurrentSlotIndex = input.ReadInt32(); + break; + } + case 24: { + CurrentPresetDirtyStatus = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + CurrentPresetData = input.ReadString(); + break; + } + case 16: { + CurrentSlotIndex = input.ReadInt32(); + break; + } + case 24: { + CurrentPresetDirtyStatus = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/DspUnitParameterStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/DspUnitParameterStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/DspUnitParameterStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/DspUnitParameterStatus.cs index d668114..78de619 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/DspUnitParameterStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/DspUnitParameterStatus.cs @@ -1,541 +1,541 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: DspUnitParameterStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from DspUnitParameterStatus.proto -public static partial class DspUnitParameterStatusReflection { - - #region Descriptor - /// File descriptor for DspUnitParameterStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static DspUnitParameterStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxEc3BVbml0UGFyYW1ldGVyU3RhdHVzLnByb3RvIq4BChZEc3BVbml0UGFy", - "YW1ldGVyU3RhdHVzEg4KBm5vZGVJZBgBIAIoCRITCgtwYXJhbWV0ZXJJZBgC", - "IAIoCRIYCg5mbG9hdFBhcmFtZXRlchgDIAEoAkgAEhkKD3N0cmluZ1BhcmFt", - "ZXRlchgEIAEoCUgAEhkKD3NpbnQzMlBhcmFtZXRlchgFIAEoEUgAEhcKDWJv", - "b2xQYXJhbWV0ZXIYBiABKAhIAEIGCgR0eXBl")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::DspUnitParameterStatus), global::DspUnitParameterStatus.Parser, new[]{ "NodeId", "ParameterId", "FloatParameter", "StringParameter", "Sint32Parameter", "BoolParameter" }, new[]{ "Type" }, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class DspUnitParameterStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DspUnitParameterStatus()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::DspUnitParameterStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DspUnitParameterStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DspUnitParameterStatus(DspUnitParameterStatus other) : this() { - nodeId_ = other.nodeId_; - parameterId_ = other.parameterId_; - switch (other.TypeCase) { - case TypeOneofCase.FloatParameter: - FloatParameter = other.FloatParameter; - break; - case TypeOneofCase.StringParameter: - StringParameter = other.StringParameter; - break; - case TypeOneofCase.Sint32Parameter: - Sint32Parameter = other.Sint32Parameter; - break; - case TypeOneofCase.BoolParameter: - BoolParameter = other.BoolParameter; - break; - } - - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DspUnitParameterStatus Clone() { - return new DspUnitParameterStatus(this); - } - - /// Field number for the "nodeId" field. - public const int NodeIdFieldNumber = 1; - private readonly static string NodeIdDefaultValue = ""; - - private string nodeId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NodeId { - get { return nodeId_ ?? NodeIdDefaultValue; } - set { - nodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "nodeId" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasNodeId { - get { return nodeId_ != null; } - } - /// Clears the value of the "nodeId" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearNodeId() { - nodeId_ = null; - } - - /// Field number for the "parameterId" field. - public const int ParameterIdFieldNumber = 2; - private readonly static string ParameterIdDefaultValue = ""; - - private string parameterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParameterId { - get { return parameterId_ ?? ParameterIdDefaultValue; } - set { - parameterId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "parameterId" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasParameterId { - get { return parameterId_ != null; } - } - /// Clears the value of the "parameterId" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearParameterId() { - parameterId_ = null; - } - - /// Field number for the "floatParameter" field. - public const int FloatParameterFieldNumber = 3; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float FloatParameter { - get { return HasFloatParameter ? (float) type_ : 0F; } - set { - type_ = value; - typeCase_ = TypeOneofCase.FloatParameter; - } - } - /// Gets whether the "floatParameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFloatParameter { - get { return typeCase_ == TypeOneofCase.FloatParameter; } - } - /// Clears the value of the oneof if it's currently set to "floatParameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearFloatParameter() { - if (HasFloatParameter) { - ClearType(); - } - } - - /// Field number for the "stringParameter" field. - public const int StringParameterFieldNumber = 4; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StringParameter { - get { return HasStringParameter ? (string) type_ : ""; } - set { - type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - typeCase_ = TypeOneofCase.StringParameter; - } - } - /// Gets whether the "stringParameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasStringParameter { - get { return typeCase_ == TypeOneofCase.StringParameter; } - } - /// Clears the value of the oneof if it's currently set to "stringParameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearStringParameter() { - if (HasStringParameter) { - ClearType(); - } - } - - /// Field number for the "sint32Parameter" field. - public const int Sint32ParameterFieldNumber = 5; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sint32Parameter { - get { return HasSint32Parameter ? (int) type_ : 0; } - set { - type_ = value; - typeCase_ = TypeOneofCase.Sint32Parameter; - } - } - /// Gets whether the "sint32Parameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSint32Parameter { - get { return typeCase_ == TypeOneofCase.Sint32Parameter; } - } - /// Clears the value of the oneof if it's currently set to "sint32Parameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSint32Parameter() { - if (HasSint32Parameter) { - ClearType(); - } - } - - /// Field number for the "boolParameter" field. - public const int BoolParameterFieldNumber = 6; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool BoolParameter { - get { return HasBoolParameter ? (bool) type_ : false; } - set { - type_ = value; - typeCase_ = TypeOneofCase.BoolParameter; - } - } - /// Gets whether the "boolParameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasBoolParameter { - get { return typeCase_ == TypeOneofCase.BoolParameter; } - } - /// Clears the value of the oneof if it's currently set to "boolParameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearBoolParameter() { - if (HasBoolParameter) { - ClearType(); - } - } - - private object type_; - /// Enum of possible cases for the "type" oneof. - public enum TypeOneofCase { - None = 0, - FloatParameter = 3, - StringParameter = 4, - Sint32Parameter = 5, - BoolParameter = 6, - } - private TypeOneofCase typeCase_ = TypeOneofCase.None; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TypeOneofCase TypeCase { - get { return typeCase_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearType() { - typeCase_ = TypeOneofCase.None; - type_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as DspUnitParameterStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DspUnitParameterStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (NodeId != other.NodeId) return false; - if (ParameterId != other.ParameterId) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FloatParameter, other.FloatParameter)) return false; - if (StringParameter != other.StringParameter) return false; - if (Sint32Parameter != other.Sint32Parameter) return false; - if (BoolParameter != other.BoolParameter) return false; - if (TypeCase != other.TypeCase) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasNodeId) hash ^= NodeId.GetHashCode(); - if (HasParameterId) hash ^= ParameterId.GetHashCode(); - if (HasFloatParameter) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FloatParameter); - if (HasStringParameter) hash ^= StringParameter.GetHashCode(); - if (HasSint32Parameter) hash ^= Sint32Parameter.GetHashCode(); - if (HasBoolParameter) hash ^= BoolParameter.GetHashCode(); - hash ^= (int) typeCase_; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasNodeId) { - output.WriteRawTag(10); - output.WriteString(NodeId); - } - if (HasParameterId) { - output.WriteRawTag(18); - output.WriteString(ParameterId); - } - if (HasFloatParameter) { - output.WriteRawTag(29); - output.WriteFloat(FloatParameter); - } - if (HasStringParameter) { - output.WriteRawTag(34); - output.WriteString(StringParameter); - } - if (HasSint32Parameter) { - output.WriteRawTag(40); - output.WriteSInt32(Sint32Parameter); - } - if (HasBoolParameter) { - output.WriteRawTag(48); - output.WriteBool(BoolParameter); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasNodeId) { - output.WriteRawTag(10); - output.WriteString(NodeId); - } - if (HasParameterId) { - output.WriteRawTag(18); - output.WriteString(ParameterId); - } - if (HasFloatParameter) { - output.WriteRawTag(29); - output.WriteFloat(FloatParameter); - } - if (HasStringParameter) { - output.WriteRawTag(34); - output.WriteString(StringParameter); - } - if (HasSint32Parameter) { - output.WriteRawTag(40); - output.WriteSInt32(Sint32Parameter); - } - if (HasBoolParameter) { - output.WriteRawTag(48); - output.WriteBool(BoolParameter); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasNodeId) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeId); - } - if (HasParameterId) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParameterId); - } - if (HasFloatParameter) { - size += 1 + 4; - } - if (HasStringParameter) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StringParameter); - } - if (HasSint32Parameter) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Sint32Parameter); - } - if (HasBoolParameter) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DspUnitParameterStatus other) { - if (other == null) { - return; - } - if (other.HasNodeId) { - NodeId = other.NodeId; - } - if (other.HasParameterId) { - ParameterId = other.ParameterId; - } - switch (other.TypeCase) { - case TypeOneofCase.FloatParameter: - FloatParameter = other.FloatParameter; - break; - case TypeOneofCase.StringParameter: - StringParameter = other.StringParameter; - break; - case TypeOneofCase.Sint32Parameter: - Sint32Parameter = other.Sint32Parameter; - break; - case TypeOneofCase.BoolParameter: - BoolParameter = other.BoolParameter; - break; - } - - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - NodeId = input.ReadString(); - break; - } - case 18: { - ParameterId = input.ReadString(); - break; - } - case 29: { - FloatParameter = input.ReadFloat(); - break; - } - case 34: { - StringParameter = input.ReadString(); - break; - } - case 40: { - Sint32Parameter = input.ReadSInt32(); - break; - } - case 48: { - BoolParameter = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - NodeId = input.ReadString(); - break; - } - case 18: { - ParameterId = input.ReadString(); - break; - } - case 29: { - FloatParameter = input.ReadFloat(); - break; - } - case 34: { - StringParameter = input.ReadString(); - break; - } - case 40: { - Sint32Parameter = input.ReadSInt32(); - break; - } - case 48: { - BoolParameter = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DspUnitParameterStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from DspUnitParameterStatus.proto +public static partial class DspUnitParameterStatusReflection { + + #region Descriptor + /// File descriptor for DspUnitParameterStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static DspUnitParameterStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChxEc3BVbml0UGFyYW1ldGVyU3RhdHVzLnByb3RvIq4BChZEc3BVbml0UGFy", + "YW1ldGVyU3RhdHVzEg4KBm5vZGVJZBgBIAIoCRITCgtwYXJhbWV0ZXJJZBgC", + "IAIoCRIYCg5mbG9hdFBhcmFtZXRlchgDIAEoAkgAEhkKD3N0cmluZ1BhcmFt", + "ZXRlchgEIAEoCUgAEhkKD3NpbnQzMlBhcmFtZXRlchgFIAEoEUgAEhcKDWJv", + "b2xQYXJhbWV0ZXIYBiABKAhIAEIGCgR0eXBl")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::DspUnitParameterStatus), global::DspUnitParameterStatus.Parser, new[]{ "NodeId", "ParameterId", "FloatParameter", "StringParameter", "Sint32Parameter", "BoolParameter" }, new[]{ "Type" }, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class DspUnitParameterStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DspUnitParameterStatus()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::DspUnitParameterStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DspUnitParameterStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DspUnitParameterStatus(DspUnitParameterStatus other) : this() { + nodeId_ = other.nodeId_; + parameterId_ = other.parameterId_; + switch (other.TypeCase) { + case TypeOneofCase.FloatParameter: + FloatParameter = other.FloatParameter; + break; + case TypeOneofCase.StringParameter: + StringParameter = other.StringParameter; + break; + case TypeOneofCase.Sint32Parameter: + Sint32Parameter = other.Sint32Parameter; + break; + case TypeOneofCase.BoolParameter: + BoolParameter = other.BoolParameter; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DspUnitParameterStatus Clone() { + return new DspUnitParameterStatus(this); + } + + /// Field number for the "nodeId" field. + public const int NodeIdFieldNumber = 1; + private readonly static string NodeIdDefaultValue = ""; + + private string nodeId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NodeId { + get { return nodeId_ ?? NodeIdDefaultValue; } + set { + nodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "nodeId" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNodeId { + get { return nodeId_ != null; } + } + /// Clears the value of the "nodeId" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNodeId() { + nodeId_ = null; + } + + /// Field number for the "parameterId" field. + public const int ParameterIdFieldNumber = 2; + private readonly static string ParameterIdDefaultValue = ""; + + private string parameterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParameterId { + get { return parameterId_ ?? ParameterIdDefaultValue; } + set { + parameterId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "parameterId" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasParameterId { + get { return parameterId_ != null; } + } + /// Clears the value of the "parameterId" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearParameterId() { + parameterId_ = null; + } + + /// Field number for the "floatParameter" field. + public const int FloatParameterFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FloatParameter { + get { return HasFloatParameter ? (float) type_ : 0F; } + set { + type_ = value; + typeCase_ = TypeOneofCase.FloatParameter; + } + } + /// Gets whether the "floatParameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFloatParameter { + get { return typeCase_ == TypeOneofCase.FloatParameter; } + } + /// Clears the value of the oneof if it's currently set to "floatParameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFloatParameter() { + if (HasFloatParameter) { + ClearType(); + } + } + + /// Field number for the "stringParameter" field. + public const int StringParameterFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StringParameter { + get { return HasStringParameter ? (string) type_ : ""; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + typeCase_ = TypeOneofCase.StringParameter; + } + } + /// Gets whether the "stringParameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStringParameter { + get { return typeCase_ == TypeOneofCase.StringParameter; } + } + /// Clears the value of the oneof if it's currently set to "stringParameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStringParameter() { + if (HasStringParameter) { + ClearType(); + } + } + + /// Field number for the "sint32Parameter" field. + public const int Sint32ParameterFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sint32Parameter { + get { return HasSint32Parameter ? (int) type_ : 0; } + set { + type_ = value; + typeCase_ = TypeOneofCase.Sint32Parameter; + } + } + /// Gets whether the "sint32Parameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSint32Parameter { + get { return typeCase_ == TypeOneofCase.Sint32Parameter; } + } + /// Clears the value of the oneof if it's currently set to "sint32Parameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSint32Parameter() { + if (HasSint32Parameter) { + ClearType(); + } + } + + /// Field number for the "boolParameter" field. + public const int BoolParameterFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool BoolParameter { + get { return HasBoolParameter ? (bool) type_ : false; } + set { + type_ = value; + typeCase_ = TypeOneofCase.BoolParameter; + } + } + /// Gets whether the "boolParameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBoolParameter { + get { return typeCase_ == TypeOneofCase.BoolParameter; } + } + /// Clears the value of the oneof if it's currently set to "boolParameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoolParameter() { + if (HasBoolParameter) { + ClearType(); + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + FloatParameter = 3, + StringParameter = 4, + Sint32Parameter = 5, + BoolParameter = 6, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DspUnitParameterStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DspUnitParameterStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NodeId != other.NodeId) return false; + if (ParameterId != other.ParameterId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FloatParameter, other.FloatParameter)) return false; + if (StringParameter != other.StringParameter) return false; + if (Sint32Parameter != other.Sint32Parameter) return false; + if (BoolParameter != other.BoolParameter) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasNodeId) hash ^= NodeId.GetHashCode(); + if (HasParameterId) hash ^= ParameterId.GetHashCode(); + if (HasFloatParameter) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FloatParameter); + if (HasStringParameter) hash ^= StringParameter.GetHashCode(); + if (HasSint32Parameter) hash ^= Sint32Parameter.GetHashCode(); + if (HasBoolParameter) hash ^= BoolParameter.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasNodeId) { + output.WriteRawTag(10); + output.WriteString(NodeId); + } + if (HasParameterId) { + output.WriteRawTag(18); + output.WriteString(ParameterId); + } + if (HasFloatParameter) { + output.WriteRawTag(29); + output.WriteFloat(FloatParameter); + } + if (HasStringParameter) { + output.WriteRawTag(34); + output.WriteString(StringParameter); + } + if (HasSint32Parameter) { + output.WriteRawTag(40); + output.WriteSInt32(Sint32Parameter); + } + if (HasBoolParameter) { + output.WriteRawTag(48); + output.WriteBool(BoolParameter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasNodeId) { + output.WriteRawTag(10); + output.WriteString(NodeId); + } + if (HasParameterId) { + output.WriteRawTag(18); + output.WriteString(ParameterId); + } + if (HasFloatParameter) { + output.WriteRawTag(29); + output.WriteFloat(FloatParameter); + } + if (HasStringParameter) { + output.WriteRawTag(34); + output.WriteString(StringParameter); + } + if (HasSint32Parameter) { + output.WriteRawTag(40); + output.WriteSInt32(Sint32Parameter); + } + if (HasBoolParameter) { + output.WriteRawTag(48); + output.WriteBool(BoolParameter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasNodeId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeId); + } + if (HasParameterId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParameterId); + } + if (HasFloatParameter) { + size += 1 + 4; + } + if (HasStringParameter) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StringParameter); + } + if (HasSint32Parameter) { + size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Sint32Parameter); + } + if (HasBoolParameter) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DspUnitParameterStatus other) { + if (other == null) { + return; + } + if (other.HasNodeId) { + NodeId = other.NodeId; + } + if (other.HasParameterId) { + ParameterId = other.ParameterId; + } + switch (other.TypeCase) { + case TypeOneofCase.FloatParameter: + FloatParameter = other.FloatParameter; + break; + case TypeOneofCase.StringParameter: + StringParameter = other.StringParameter; + break; + case TypeOneofCase.Sint32Parameter: + Sint32Parameter = other.Sint32Parameter; + break; + case TypeOneofCase.BoolParameter: + BoolParameter = other.BoolParameter; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + NodeId = input.ReadString(); + break; + } + case 18: { + ParameterId = input.ReadString(); + break; + } + case 29: { + FloatParameter = input.ReadFloat(); + break; + } + case 34: { + StringParameter = input.ReadString(); + break; + } + case 40: { + Sint32Parameter = input.ReadSInt32(); + break; + } + case 48: { + BoolParameter = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + NodeId = input.ReadString(); + break; + } + case 18: { + ParameterId = input.ReadString(); + break; + } + case 29: { + FloatParameter = input.ReadFloat(); + break; + } + case 34: { + StringParameter = input.ReadString(); + break; + } + case 40: { + Sint32Parameter = input.ReadSInt32(); + break; + } + case 48: { + BoolParameter = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ExitAuditionPreset.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ExitAuditionPreset.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ExitAuditionPreset.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ExitAuditionPreset.cs index c78e551..d7ccb0e 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ExitAuditionPreset.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ExitAuditionPreset.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ExitAuditionPreset.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ExitAuditionPreset.proto -public static partial class ExitAuditionPresetReflection { - - #region Descriptor - /// File descriptor for ExitAuditionPreset.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ExitAuditionPresetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhFeGl0QXVkaXRpb25QcmVzZXQucHJvdG8iIgoSRXhpdEF1ZGl0aW9uUHJl", - "c2V0EgwKBGV4aXQYASACKAg=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ExitAuditionPreset), global::ExitAuditionPreset.Parser, new[]{ "Exit" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Leaves audition mode -/// -/// response: ExitAuditionPresetStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ExitAuditionPreset : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExitAuditionPreset()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ExitAuditionPresetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ExitAuditionPreset() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ExitAuditionPreset(ExitAuditionPreset other) : this() { - _hasBits0 = other._hasBits0; - exit_ = other.exit_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ExitAuditionPreset Clone() { - return new ExitAuditionPreset(this); - } - - /// Field number for the "exit" field. - public const int ExitFieldNumber = 1; - private readonly static bool ExitDefaultValue = false; - - private bool exit_; - /// - /// True to exit audition mode - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Exit { - get { if ((_hasBits0 & 1) != 0) { return exit_; } else { return ExitDefaultValue; } } - set { - _hasBits0 |= 1; - exit_ = value; - } - } - /// Gets whether the "exit" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasExit { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "exit" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearExit() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ExitAuditionPreset); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ExitAuditionPreset other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Exit != other.Exit) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasExit) hash ^= Exit.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasExit) { - output.WriteRawTag(8); - output.WriteBool(Exit); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasExit) { - output.WriteRawTag(8); - output.WriteBool(Exit); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasExit) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ExitAuditionPreset other) { - if (other == null) { - return; - } - if (other.HasExit) { - Exit = other.Exit; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Exit = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Exit = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ExitAuditionPreset.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ExitAuditionPreset.proto +public static partial class ExitAuditionPresetReflection { + + #region Descriptor + /// File descriptor for ExitAuditionPreset.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ExitAuditionPresetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhFeGl0QXVkaXRpb25QcmVzZXQucHJvdG8iIgoSRXhpdEF1ZGl0aW9uUHJl", + "c2V0EgwKBGV4aXQYASACKAg=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ExitAuditionPreset), global::ExitAuditionPreset.Parser, new[]{ "Exit" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Leaves audition mode +/// +/// response: ExitAuditionPresetStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ExitAuditionPreset : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExitAuditionPreset()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ExitAuditionPresetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExitAuditionPreset() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExitAuditionPreset(ExitAuditionPreset other) : this() { + _hasBits0 = other._hasBits0; + exit_ = other.exit_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExitAuditionPreset Clone() { + return new ExitAuditionPreset(this); + } + + /// Field number for the "exit" field. + public const int ExitFieldNumber = 1; + private readonly static bool ExitDefaultValue = false; + + private bool exit_; + /// + /// True to exit audition mode + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Exit { + get { if ((_hasBits0 & 1) != 0) { return exit_; } else { return ExitDefaultValue; } } + set { + _hasBits0 |= 1; + exit_ = value; + } + } + /// Gets whether the "exit" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExit { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "exit" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExit() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExitAuditionPreset); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExitAuditionPreset other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Exit != other.Exit) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasExit) hash ^= Exit.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasExit) { + output.WriteRawTag(8); + output.WriteBool(Exit); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasExit) { + output.WriteRawTag(8); + output.WriteBool(Exit); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasExit) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExitAuditionPreset other) { + if (other == null) { + return; + } + if (other.HasExit) { + Exit = other.Exit; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Exit = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Exit = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ExitAuditionPresetStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ExitAuditionPresetStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ExitAuditionPresetStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ExitAuditionPresetStatus.cs index d79edeb..fc96b2a 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ExitAuditionPresetStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ExitAuditionPresetStatus.cs @@ -1,254 +1,254 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ExitAuditionPresetStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ExitAuditionPresetStatus.proto -public static partial class ExitAuditionPresetStatusReflection { - - #region Descriptor - /// File descriptor for ExitAuditionPresetStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ExitAuditionPresetStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch5FeGl0QXVkaXRpb25QcmVzZXRTdGF0dXMucHJvdG8iLQoYRXhpdEF1ZGl0", - "aW9uUHJlc2V0U3RhdHVzEhEKCWlzU3VjY2VzcxgBIAIoCA==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ExitAuditionPresetStatus), global::ExitAuditionPresetStatus.Parser, new[]{ "IsSuccess" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Result message for an ExitAuditionPreset message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ExitAuditionPresetStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExitAuditionPresetStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ExitAuditionPresetStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ExitAuditionPresetStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ExitAuditionPresetStatus(ExitAuditionPresetStatus other) : this() { - _hasBits0 = other._hasBits0; - isSuccess_ = other.isSuccess_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ExitAuditionPresetStatus Clone() { - return new ExitAuditionPresetStatus(this); - } - - /// Field number for the "isSuccess" field. - public const int IsSuccessFieldNumber = 1; - private readonly static bool IsSuccessDefaultValue = false; - - private bool isSuccess_; - /// - /// True if audition mode was exited successfully - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsSuccess { - get { if ((_hasBits0 & 1) != 0) { return isSuccess_; } else { return IsSuccessDefaultValue; } } - set { - _hasBits0 |= 1; - isSuccess_ = value; - } - } - /// Gets whether the "isSuccess" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIsSuccess { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "isSuccess" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIsSuccess() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ExitAuditionPresetStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ExitAuditionPresetStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (IsSuccess != other.IsSuccess) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIsSuccess) hash ^= IsSuccess.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIsSuccess) { - output.WriteRawTag(8); - output.WriteBool(IsSuccess); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIsSuccess) { - output.WriteRawTag(8); - output.WriteBool(IsSuccess); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIsSuccess) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ExitAuditionPresetStatus other) { - if (other == null) { - return; - } - if (other.HasIsSuccess) { - IsSuccess = other.IsSuccess; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - IsSuccess = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - IsSuccess = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ExitAuditionPresetStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ExitAuditionPresetStatus.proto +public static partial class ExitAuditionPresetStatusReflection { + + #region Descriptor + /// File descriptor for ExitAuditionPresetStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ExitAuditionPresetStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch5FeGl0QXVkaXRpb25QcmVzZXRTdGF0dXMucHJvdG8iLQoYRXhpdEF1ZGl0", + "aW9uUHJlc2V0U3RhdHVzEhEKCWlzU3VjY2VzcxgBIAIoCA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ExitAuditionPresetStatus), global::ExitAuditionPresetStatus.Parser, new[]{ "IsSuccess" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Result message for an ExitAuditionPreset message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ExitAuditionPresetStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExitAuditionPresetStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ExitAuditionPresetStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExitAuditionPresetStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExitAuditionPresetStatus(ExitAuditionPresetStatus other) : this() { + _hasBits0 = other._hasBits0; + isSuccess_ = other.isSuccess_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExitAuditionPresetStatus Clone() { + return new ExitAuditionPresetStatus(this); + } + + /// Field number for the "isSuccess" field. + public const int IsSuccessFieldNumber = 1; + private readonly static bool IsSuccessDefaultValue = false; + + private bool isSuccess_; + /// + /// True if audition mode was exited successfully + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsSuccess { + get { if ((_hasBits0 & 1) != 0) { return isSuccess_; } else { return IsSuccessDefaultValue; } } + set { + _hasBits0 |= 1; + isSuccess_ = value; + } + } + /// Gets whether the "isSuccess" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsSuccess { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "isSuccess" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsSuccess() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExitAuditionPresetStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExitAuditionPresetStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsSuccess != other.IsSuccess) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIsSuccess) hash ^= IsSuccess.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIsSuccess) { + output.WriteRawTag(8); + output.WriteBool(IsSuccess); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIsSuccess) { + output.WriteRawTag(8); + output.WriteBool(IsSuccess); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIsSuccess) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExitAuditionPresetStatus other) { + if (other == null) { + return; + } + if (other.HasIsSuccess) { + IsSuccess = other.IsSuccess; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IsSuccess = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IsSuccess = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FenderMessageLT.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FenderMessageLT.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/FenderMessageLT.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FenderMessageLT.cs index 4360452..0caf3d4 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FenderMessageLT.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FenderMessageLT.cs @@ -1,3918 +1,3918 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FenderMessageLT.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from FenderMessageLT.proto -public static partial class FenderMessageLTReflection { - - #region Descriptor - /// File descriptor for FenderMessageLT.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static FenderMessageLTReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChVGZW5kZXJNZXNzYWdlTFQucHJvdG8aDkluZGV4UG90LnByb3RvGhFJbmRl", - "eEJ1dHRvbi5wcm90bxoSSW5kZXhFbmNvZGVyLnByb3RvGhBMb2FkUHJlc2V0", - "LnByb3RvGiFQcmVzZXRKU09OTWVzc2FnZVJlcXVlc3RfTFQucHJvdG8aF1By", - "ZXNldEpTT05NZXNzYWdlLnByb3RvGiFQcm9jZXNzb3JVdGlsaXphdGlvblJl", - "cXVlc3QucHJvdG8aGlByb2Nlc3NvclV0aWxpemF0aW9uLnByb3RvGh9GcmFt", - "ZUJ1ZmZlck1lc3NhZ2VSZXF1ZXN0LnByb3RvGhhGcmFtZUJ1ZmZlck1lc3Nh", - "Z2UucHJvdG8aE0FjdGl2ZURpc3BsYXkucHJvdG8aF01lbW9yeVVzYWdlU3Rh", - "dHVzLnByb3RvGhhNZW1vcnlVc2FnZVJlcXVlc3QucHJvdG8aEkxvb3BiYWNr", - "VGVzdC5wcm90bxokQ3VycmVudExvYWRlZFByZXNldEluZGV4U3RhdHVzLnBy", - "b3RvGhlTZXREc3BVbml0UGFyYW1ldGVyLnByb3RvGhFBdWRpb1N0YXR1cy5w", - "cm90bxofU2V0RHNwVW5pdFBhcmFtZXRlclN0YXR1cy5wcm90bxocRHNwVW5p", - "dFBhcmFtZXRlclN0YXR1cy5wcm90bxoRUmVwbGFjZU5vZGUucHJvdG8aF1Jl", - "cGxhY2VOb2RlU3RhdHVzLnByb3RvGiJQcm9kdWN0SWRlbnRpZmljYXRpb25S", - "ZXF1ZXN0LnByb3RvGiFQcm9kdWN0SWRlbnRpZmljYXRpb25TdGF0dXMucHJv", - "dG8aHEZpcm13YXJlVmVyc2lvblJlcXVlc3QucHJvdG8aG0Zpcm13YXJlVmVy", - "c2lvblN0YXR1cy5wcm90bxoaQ3VycmVudFByZXNldFJlcXVlc3QucHJvdG8a", - "FkN1cnJlbnRQcmVzZXRTZXQucHJvdG8aGUN1cnJlbnRQcmVzZXRTdGF0dXMu", - "cHJvdG8aFFJldHJpZXZlUHJlc2V0LnByb3RvGhRVc2JHYWluUmVxdWVzdC5w", - "cm90bxoTVXNiR2FpblN0YXR1cy5wcm90bxoQVXNiR2FpblNldC5wcm90bxoY", - "TGluZU91dEdhaW5SZXF1ZXN0LnByb3RvGhdMaW5lT3V0R2FpblN0YXR1cy5w", - "cm90bxoUTGluZU91dEdhaW5TZXQucHJvdG8aFFFBU2xvdHNSZXF1ZXN0LnBy", - "b3RvGhNRQVNsb3RzU3RhdHVzLnByb3RvGhBRQVNsb3RzU2V0LnByb3RvGhdQ", - "cmVzZXRTYXZlZFN0YXR1cy5wcm90bxoYTW9kYWxTdGF0dXNNZXNzYWdlLnBy", - "b3RvGh5VbnN1cHBvcnRlZE1lc3NhZ2VTdGF0dXMucHJvdG8aEUNsZWFyUHJl", - "c2V0LnByb3RvGhdDbGVhclByZXNldFN0YXR1cy5wcm90bxoXU2F2ZUN1cnJl", - "bnRQcmVzZXQucHJvdG8aGVNhdmVDdXJyZW50UHJlc2V0VG8ucHJvdG8aElNh", - "dmVQcmVzZXRBcy5wcm90bxoaTmV3UHJlc2V0U2F2ZWRTdGF0dXMucHJvdG8a", - "FFJlbmFtZVByZXNldEF0LnByb3RvGhRBdWRpdGlvblByZXNldC5wcm90bxoa", - "QXVkaXRpb25QcmVzZXRTdGF0dXMucHJvdG8aGEV4aXRBdWRpdGlvblByZXNl", - "dC5wcm90bxoeRXhpdEF1ZGl0aW9uUHJlc2V0U3RhdHVzLnByb3RvGhpBdWRp", - "dGlvblN0YXRlUmVxdWVzdC5wcm90bxoZQXVkaXRpb25TdGF0ZVN0YXR1cy5w", - "cm90bxoeTFQ0Rm9vdHN3aXRjaE1vZGVSZXF1ZXN0LnByb3RvGh1MVDRGb290", - "c3dpdGNoTW9kZVN0YXR1cy5wcm90bxoPSGVhcnRiZWF0LnByb3RvGhFTaGlm", - "dFByZXNldC5wcm90bxoXU2hpZnRQcmVzZXRTdGF0dXMucHJvdG8aEFN3YXBQ", - "cmVzZXQucHJvdG8aFlN3YXBQcmVzZXRTdGF0dXMucHJvdG8aFkNvbm5lY3Rp", - "b25TdGF0dXMucHJvdG8aHUNvbm5lY3Rpb25TdGF0dXNSZXF1ZXN0LnByb3Rv", - "GhpMb2FkUHJlc2V0X1Rlc3RTdWl0ZS5wcm90bxoqQ3VycmVudExvYWRlZFBy", - "ZXNldEluZGV4QnlwYXNzU3RhdHVzLnByb3RvGidDdXJyZW50RGlzcGxheWVk", - "UHJlc2V0SW5kZXhTdGF0dXMucHJvdG8i9xoKD0ZlbmRlck1lc3NhZ2VMVBIw", - "CgxyZXNwb25zZVR5cGUYASACKA4yDS5SZXNwb25zZVR5cGU6C1VOU09MSUNJ", - "VEVEEh0KCGluZGV4UG90GAIgASgLMgkuSW5kZXhQb3RIABIjCgtpbmRleEJ1", - "dHRvbhgDIAEoCzIMLkluZGV4QnV0dG9uSAASJQoMaW5kZXhFbmNvZGVyGAQg", - "ASgLMg0uSW5kZXhFbmNvZGVySAASJwoNYWN0aXZlRGlzcGxheRgFIAEoCzIO", - "LkFjdGl2ZURpc3BsYXlIABJDChtwcm9jZXNzb3JVdGlsaXphdGlvblJlcXVl", - "c3QYBiABKAsyHC5Qcm9jZXNzb3JVdGlsaXphdGlvblJlcXVlc3RIABI1ChRw", - "cm9jZXNzb3JVdGlsaXphdGlvbhgHIAEoCzIVLlByb2Nlc3NvclV0aWxpemF0", - "aW9uSAASMQoSbWVtb3J5VXNhZ2VSZXF1ZXN0GAggASgLMhMuTWVtb3J5VXNh", - "Z2VSZXF1ZXN0SAASLwoRbWVtb3J5VXNhZ2VTdGF0dXMYCSABKAsyEi5NZW1v", - "cnlVc2FnZVN0YXR1c0gAEkMKG3ByZXNldEpTT05NZXNzYWdlUmVxdWVzdF9M", - "VBgKIAEoCzIcLlByZXNldEpTT05NZXNzYWdlUmVxdWVzdF9MVEgAEj8KGWZy", - "YW1lQnVmZmVyTWVzc2FnZVJlcXVlc3QYCyABKAsyGi5GcmFtZUJ1ZmZlck1l", - "c3NhZ2VSZXF1ZXN0SAASMQoSZnJhbWVCdWZmZXJNZXNzYWdlGAwgASgLMhMu", - "RnJhbWVCdWZmZXJNZXNzYWdlSAASPQoYbHQ0Rm9vdHN3aXRjaE1vZGVSZXF1", - "ZXN0GA0gASgLMhkuTFQ0Rm9vdHN3aXRjaE1vZGVSZXF1ZXN0SAASOwoXbHQ0", - "Rm9vdHN3aXRjaE1vZGVTdGF0dXMYDiABKAsyGC5MVDRGb290c3dpdGNoTW9k", - "ZVN0YXR1c0gAEjUKFGxvYWRQcmVzZXRfVGVzdFN1aXRlGA8gASgLMhUuTG9h", - "ZFByZXNldF9UZXN0U3VpdGVIABIlCgxsb29wYmFja1Rlc3QYHiABKAsyDS5M", - "b29wYmFja1Rlc3RIABIvChFwcmVzZXRKU09OTWVzc2FnZRgfIAEoCzISLlBy", - "ZXNldEpTT05NZXNzYWdlSAASMwoTY3VycmVudFByZXNldFN0YXR1cxggIAEo", - "CzIULkN1cnJlbnRQcmVzZXRTdGF0dXNIABIhCgpsb2FkUHJlc2V0GCEgASgL", - "MgsuTG9hZFByZXNldEgAEjMKE3NldERzcFVuaXRQYXJhbWV0ZXIYIiABKAsy", - "FC5TZXREc3BVbml0UGFyYW1ldGVySAASPwoZc2V0RHNwVW5pdFBhcmFtZXRl", - "clN0YXR1cxgjIAEoCzIaLlNldERzcFVuaXRQYXJhbWV0ZXJTdGF0dXNIABI5", - "ChZkc3BVbml0UGFyYW1ldGVyU3RhdHVzGCQgASgLMhcuRHNwVW5pdFBhcmFt", - "ZXRlclN0YXR1c0gAEkkKHmN1cnJlbnRMb2FkZWRQcmVzZXRJbmRleFN0YXR1", - "cxglIAEoCzIfLkN1cnJlbnRMb2FkZWRQcmVzZXRJbmRleFN0YXR1c0gAEjEK", - "EnByZXNldEVkaXRlZFN0YXR1cxgmIAEoCzITLlByZXNldEVkaXRlZFN0YXR1", - "c0gAEiMKC3JlcGxhY2VOb2RlGCcgASgLMgwuUmVwbGFjZU5vZGVIABIvChFy", - "ZXBsYWNlTm9kZVN0YXR1cxgoIAEoCzISLlJlcGxhY2VOb2RlU3RhdHVzSAAS", - "IwoLc2hpZnRQcmVzZXQYKSABKAsyDC5TaGlmdFByZXNldEgAEi8KEXNoaWZ0", - "UHJlc2V0U3RhdHVzGCogASgLMhIuU2hpZnRQcmVzZXRTdGF0dXNIABIhCgpz", - "d2FwUHJlc2V0GCsgASgLMgsuU3dhcFByZXNldEgAEi0KEHN3YXBQcmVzZXRT", - "dGF0dXMYLCABKAsyES5Td2FwUHJlc2V0U3RhdHVzSAASLQoQY3VycmVudFBy", - "ZXNldFNldBgtIAEoCzIRLkN1cnJlbnRQcmVzZXRTZXRIABJVCiRjdXJyZW50", - "TG9hZGVkUHJlc2V0SW5kZXhCeXBhc3NTdGF0dXMYLiABKAsyJS5DdXJyZW50", - "TG9hZGVkUHJlc2V0SW5kZXhCeXBhc3NTdGF0dXNIABJPCiFjdXJyZW50RGlz", - "cGxheWVkUHJlc2V0SW5kZXhTdGF0dXMYLyABKAsyIi5DdXJyZW50RGlzcGxh", - "eWVkUHJlc2V0SW5kZXhTdGF0dXNIABIvChFwcmVzZXRTYXZlZFN0YXR1cxgy", - "IAEoCzISLlByZXNldFNhdmVkU3RhdHVzSAASIwoLY2xlYXJQcmVzZXQYMyAB", - "KAsyDC5DbGVhclByZXNldEgAEi8KEWNsZWFyUHJlc2V0U3RhdHVzGDQgASgL", - "MhIuQ2xlYXJQcmVzZXRTdGF0dXNIABIvChFzYXZlQ3VycmVudFByZXNldBg1", - "IAEoCzISLlNhdmVDdXJyZW50UHJlc2V0SAASMwoTc2F2ZUN1cnJlbnRQcmVz", - "ZXRUbxg2IAEoCzIULlNhdmVDdXJyZW50UHJlc2V0VG9IABIlCgxzYXZlUHJl", - "c2V0QXMYNyABKAsyDS5TYXZlUHJlc2V0QXNIABI1ChRuZXdQcmVzZXRTYXZl", - "ZFN0YXR1cxg4IAEoCzIVLk5ld1ByZXNldFNhdmVkU3RhdHVzSAASKQoOcmVu", - "YW1lUHJlc2V0QXQYOSABKAsyDy5SZW5hbWVQcmVzZXRBdEgAEikKDmF1ZGl0", - "aW9uUHJlc2V0GDogASgLMg8uQXVkaXRpb25QcmVzZXRIABI1ChRhdWRpdGlv", - "blByZXNldFN0YXR1cxg7IAEoCzIVLkF1ZGl0aW9uUHJlc2V0U3RhdHVzSAAS", - "MQoSZXhpdEF1ZGl0aW9uUHJlc2V0GDwgASgLMhMuRXhpdEF1ZGl0aW9uUHJl", - "c2V0SAASPQoYZXhpdEF1ZGl0aW9uUHJlc2V0U3RhdHVzGD0gASgLMhkuRXhp", - "dEF1ZGl0aW9uUHJlc2V0U3RhdHVzSAASNQoUYXVkaXRpb25TdGF0ZVJlcXVl", - "c3QYPiABKAsyFS5BdWRpdGlvblN0YXRlUmVxdWVzdEgAEjMKE2F1ZGl0aW9u", - "U3RhdGVTdGF0dXMYPyABKAsyFC5BdWRpdGlvblN0YXRlU3RhdHVzSAASQwob", - "cHJvZHVjdElkZW50aWZpY2F0aW9uU3RhdHVzGGQgASgLMhwuUHJvZHVjdElk", - "ZW50aWZpY2F0aW9uU3RhdHVzSAASRQoccHJvZHVjdElkZW50aWZpY2F0aW9u", - "UmVxdWVzdBhlIAEoCzIdLlByb2R1Y3RJZGVudGlmaWNhdGlvblJlcXVlc3RI", - "ABI5ChZmaXJtd2FyZVZlcnNpb25SZXF1ZXN0GGYgASgLMhcuRmlybXdhcmVW", - "ZXJzaW9uUmVxdWVzdEgAEjcKFWZpcm13YXJlVmVyc2lvblN0YXR1cxhnIAEo", - "CzIWLkZpcm13YXJlVmVyc2lvblN0YXR1c0gAEjUKFGN1cnJlbnRQcmVzZXRS", - "ZXF1ZXN0GGggASgLMhUuQ3VycmVudFByZXNldFJlcXVlc3RIABIpCg5yZXRy", - "aWV2ZVByZXNldBhpIAEoCzIPLlJldHJpZXZlUHJlc2V0SAASKQoOdXNiR2Fp", - "blJlcXVlc3QYaiABKAsyDy5Vc2JHYWluUmVxdWVzdEgAEicKDXVzYkdhaW5T", - "dGF0dXMYayABKAsyDi5Vc2JHYWluU3RhdHVzSAASKQoOcUFTbG90c1JlcXVl", - "c3QYbCABKAsyDy5RQVNsb3RzUmVxdWVzdEgAEicKDXFBU2xvdHNTdGF0dXMY", - "bSABKAsyDi5RQVNsb3RzU3RhdHVzSAASMQoSbGluZU91dEdhaW5SZXF1ZXN0", - "GG4gASgLMhMuTGluZU91dEdhaW5SZXF1ZXN0SAASLwoRbGluZU91dEdhaW5T", - "dGF0dXMYbyABKAsyEi5MaW5lT3V0R2FpblN0YXR1c0gAEjEKEm1vZGFsU3Rh", - "dHVzTWVzc2FnZRhxIAEoCzITLk1vZGFsU3RhdHVzTWVzc2FnZUgAEiEKCnVz", - "YkdhaW5TZXQYciABKAsyCy5Vc2JHYWluU2V0SAASKQoObGluZU91dEdhaW5T", - "ZXQYcyABKAsyDy5MaW5lT3V0R2FpblNldEgAEiEKCnFBU2xvdHNTZXQYdCAB", - "KAsyCy5RQVNsb3RzU2V0SAASPgoYdW5zdXBwb3J0ZWRNZXNzYWdlU3RhdHVz", - "GMgBIAEoCzIZLlVuc3VwcG9ydGVkTWVzc2FnZVN0YXR1c0gAEiAKCWhlYXJ0", - "YmVhdBjJASABKAsyCi5IZWFydGJlYXRIABI8Chdjb25uZWN0aW9uU3RhdHVz", - "UmVxdWVzdBjKASABKAsyGC5Db25uZWN0aW9uU3RhdHVzUmVxdWVzdEgAEi4K", - "EGNvbm5lY3Rpb25TdGF0dXMYywEgASgLMhEuQ29ubmVjdGlvblN0YXR1c0gA", - "QgYKBHR5cGUqQgoMUmVzcG9uc2VUeXBlEg8KC1VOU09MSUNJVEVEEAASEAoM", - "Tk9UX0xBU1RfQUNLEAESDwoLSVNfTEFTVF9BQ0sQAg==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::IndexPotReflection.Descriptor, global::IndexButtonReflection.Descriptor, global::IndexEncoderReflection.Descriptor, global::LoadPresetReflection.Descriptor, global::PresetJSONMessageRequestLTReflection.Descriptor, global::PresetJSONMessageReflection.Descriptor, global::ProcessorUtilizationRequestReflection.Descriptor, global::ProcessorUtilizationReflection.Descriptor, global::FrameBufferMessageRequestReflection.Descriptor, global::FrameBufferMessageReflection.Descriptor, global::ActiveDisplayReflection.Descriptor, global::MemoryUsageStatusReflection.Descriptor, global::MemoryUsageRequestReflection.Descriptor, global::LoopbackTestReflection.Descriptor, global::CurrentLoadedPresetIndexStatusReflection.Descriptor, global::SetDspUnitParameterReflection.Descriptor, global::AudioStatusReflection.Descriptor, global::SetDspUnitParameterStatusReflection.Descriptor, global::DspUnitParameterStatusReflection.Descriptor, global::ReplaceNodeReflection.Descriptor, global::ReplaceNodeStatusReflection.Descriptor, global::ProductIdentificationRequestReflection.Descriptor, global::ProductIdentificationStatusReflection.Descriptor, global::FirmwareVersionRequestReflection.Descriptor, global::FirmwareVersionStatusReflection.Descriptor, global::CurrentPresetRequestReflection.Descriptor, global::CurrentPresetSetReflection.Descriptor, global::CurrentPresetStatusReflection.Descriptor, global::RetrievePresetReflection.Descriptor, global::UsbGainRequestReflection.Descriptor, global::UsbGainStatusReflection.Descriptor, global::UsbGainSetReflection.Descriptor, global::LineOutGainRequestReflection.Descriptor, global::LineOutGainStatusReflection.Descriptor, global::LineOutGainSetReflection.Descriptor, global::QASlotsRequestReflection.Descriptor, global::QASlotsStatusReflection.Descriptor, global::QASlotsSetReflection.Descriptor, global::PresetSavedStatusReflection.Descriptor, global::ModalStatusMessageReflection.Descriptor, global::UnsupportedMessageStatusReflection.Descriptor, global::ClearPresetReflection.Descriptor, global::ClearPresetStatusReflection.Descriptor, global::SaveCurrentPresetReflection.Descriptor, global::SaveCurrentPresetToReflection.Descriptor, global::SavePresetAsReflection.Descriptor, global::NewPresetSavedStatusReflection.Descriptor, global::RenamePresetAtReflection.Descriptor, global::AuditionPresetReflection.Descriptor, global::AuditionPresetStatusReflection.Descriptor, global::ExitAuditionPresetReflection.Descriptor, global::ExitAuditionPresetStatusReflection.Descriptor, global::AuditionStateRequestReflection.Descriptor, global::AuditionStateStatusReflection.Descriptor, global::LT4FootswitchModeRequestReflection.Descriptor, global::LT4FootswitchModeStatusReflection.Descriptor, global::HeartbeatReflection.Descriptor, global::ShiftPresetReflection.Descriptor, global::ShiftPresetStatusReflection.Descriptor, global::SwapPresetReflection.Descriptor, global::SwapPresetStatusReflection.Descriptor, global::ConnectionStatusReflection.Descriptor, global::ConnectionStatusRequestReflection.Descriptor, global::LoadPresetTestSuiteReflection.Descriptor, global::CurrentLoadedPresetIndexBypassStatusReflection.Descriptor, global::CurrentDisplayedPresetIndexStatusReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ResponseType), }, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::FenderMessageLT), global::FenderMessageLT.Parser, new[]{ "ResponseType", "IndexPot", "IndexButton", "IndexEncoder", "ActiveDisplay", "ProcessorUtilizationRequest", "ProcessorUtilization", "MemoryUsageRequest", "MemoryUsageStatus", "PresetJSONMessageRequestLT", "FrameBufferMessageRequest", "FrameBufferMessage", "Lt4FootswitchModeRequest", "Lt4FootswitchModeStatus", "LoadPresetTestSuite", "LoopbackTest", "PresetJSONMessage", "CurrentPresetStatus", "LoadPreset", "SetDspUnitParameter", "SetDspUnitParameterStatus", "DspUnitParameterStatus", "CurrentLoadedPresetIndexStatus", "PresetEditedStatus", "ReplaceNode", "ReplaceNodeStatus", "ShiftPreset", "ShiftPresetStatus", "SwapPreset", "SwapPresetStatus", "CurrentPresetSet", "CurrentLoadedPresetIndexBypassStatus", "CurrentDisplayedPresetIndexStatus", "PresetSavedStatus", "ClearPreset", "ClearPresetStatus", "SaveCurrentPreset", "SaveCurrentPresetTo", "SavePresetAs", "NewPresetSavedStatus", "RenamePresetAt", "AuditionPreset", "AuditionPresetStatus", "ExitAuditionPreset", "ExitAuditionPresetStatus", "AuditionStateRequest", "AuditionStateStatus", "ProductIdentificationStatus", "ProductIdentificationRequest", "FirmwareVersionRequest", "FirmwareVersionStatus", "CurrentPresetRequest", "RetrievePreset", "UsbGainRequest", "UsbGainStatus", "QASlotsRequest", "QASlotsStatus", "LineOutGainRequest", "LineOutGainStatus", "ModalStatusMessage", "UsbGainSet", "LineOutGainSet", "QASlotsSet", "UnsupportedMessageStatus", "Heartbeat", "ConnectionStatusRequest", "ConnectionStatus" }, new[]{ "Type" }, null, null, null) - })); - } - #endregion - -} -#region Enums -/// -/// -/// Message response type -/// -public enum ResponseType { - /// - /// Message sent not as the result of a command - /// - [pbr::OriginalName("UNSOLICITED")] Unsolicited = 0, - /// - /// Message sent as the result of a command, but NOT the last message in the batch - /// - [pbr::OriginalName("NOT_LAST_ACK")] NotLastAck = 1, - /// - /// Message sent as the last result of a command - /// - [pbr::OriginalName("IS_LAST_ACK")] IsLastAck = 2, -} - -#endregion - -#region Messages -/// -/// -/// Base message type used to communicate with the amp -/// -/// All messages are of this type, and encapsulate the actual message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class FenderMessageLT : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FenderMessageLT()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::FenderMessageLTReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FenderMessageLT() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FenderMessageLT(FenderMessageLT other) : this() { - _hasBits0 = other._hasBits0; - responseType_ = other.responseType_; - switch (other.TypeCase) { - case TypeOneofCase.IndexPot: - IndexPot = other.IndexPot.Clone(); - break; - case TypeOneofCase.IndexButton: - IndexButton = other.IndexButton.Clone(); - break; - case TypeOneofCase.IndexEncoder: - IndexEncoder = other.IndexEncoder.Clone(); - break; - case TypeOneofCase.ActiveDisplay: - ActiveDisplay = other.ActiveDisplay.Clone(); - break; - case TypeOneofCase.ProcessorUtilizationRequest: - ProcessorUtilizationRequest = other.ProcessorUtilizationRequest.Clone(); - break; - case TypeOneofCase.ProcessorUtilization: - ProcessorUtilization = other.ProcessorUtilization.Clone(); - break; - case TypeOneofCase.MemoryUsageRequest: - MemoryUsageRequest = other.MemoryUsageRequest.Clone(); - break; - case TypeOneofCase.MemoryUsageStatus: - MemoryUsageStatus = other.MemoryUsageStatus.Clone(); - break; - case TypeOneofCase.PresetJSONMessageRequestLT: - PresetJSONMessageRequestLT = other.PresetJSONMessageRequestLT.Clone(); - break; - case TypeOneofCase.FrameBufferMessageRequest: - FrameBufferMessageRequest = other.FrameBufferMessageRequest.Clone(); - break; - case TypeOneofCase.FrameBufferMessage: - FrameBufferMessage = other.FrameBufferMessage.Clone(); - break; - case TypeOneofCase.Lt4FootswitchModeRequest: - Lt4FootswitchModeRequest = other.Lt4FootswitchModeRequest.Clone(); - break; - case TypeOneofCase.Lt4FootswitchModeStatus: - Lt4FootswitchModeStatus = other.Lt4FootswitchModeStatus.Clone(); - break; - case TypeOneofCase.LoadPresetTestSuite: - LoadPresetTestSuite = other.LoadPresetTestSuite.Clone(); - break; - case TypeOneofCase.LoopbackTest: - LoopbackTest = other.LoopbackTest.Clone(); - break; - case TypeOneofCase.PresetJSONMessage: - PresetJSONMessage = other.PresetJSONMessage.Clone(); - break; - case TypeOneofCase.CurrentPresetStatus: - CurrentPresetStatus = other.CurrentPresetStatus.Clone(); - break; - case TypeOneofCase.LoadPreset: - LoadPreset = other.LoadPreset.Clone(); - break; - case TypeOneofCase.SetDspUnitParameter: - SetDspUnitParameter = other.SetDspUnitParameter.Clone(); - break; - case TypeOneofCase.SetDspUnitParameterStatus: - SetDspUnitParameterStatus = other.SetDspUnitParameterStatus.Clone(); - break; - case TypeOneofCase.DspUnitParameterStatus: - DspUnitParameterStatus = other.DspUnitParameterStatus.Clone(); - break; - case TypeOneofCase.CurrentLoadedPresetIndexStatus: - CurrentLoadedPresetIndexStatus = other.CurrentLoadedPresetIndexStatus.Clone(); - break; - case TypeOneofCase.PresetEditedStatus: - PresetEditedStatus = other.PresetEditedStatus.Clone(); - break; - case TypeOneofCase.ReplaceNode: - ReplaceNode = other.ReplaceNode.Clone(); - break; - case TypeOneofCase.ReplaceNodeStatus: - ReplaceNodeStatus = other.ReplaceNodeStatus.Clone(); - break; - case TypeOneofCase.ShiftPreset: - ShiftPreset = other.ShiftPreset.Clone(); - break; - case TypeOneofCase.ShiftPresetStatus: - ShiftPresetStatus = other.ShiftPresetStatus.Clone(); - break; - case TypeOneofCase.SwapPreset: - SwapPreset = other.SwapPreset.Clone(); - break; - case TypeOneofCase.SwapPresetStatus: - SwapPresetStatus = other.SwapPresetStatus.Clone(); - break; - case TypeOneofCase.CurrentPresetSet: - CurrentPresetSet = other.CurrentPresetSet.Clone(); - break; - case TypeOneofCase.CurrentLoadedPresetIndexBypassStatus: - CurrentLoadedPresetIndexBypassStatus = other.CurrentLoadedPresetIndexBypassStatus.Clone(); - break; - case TypeOneofCase.CurrentDisplayedPresetIndexStatus: - CurrentDisplayedPresetIndexStatus = other.CurrentDisplayedPresetIndexStatus.Clone(); - break; - case TypeOneofCase.PresetSavedStatus: - PresetSavedStatus = other.PresetSavedStatus.Clone(); - break; - case TypeOneofCase.ClearPreset: - ClearPreset = other.ClearPreset.Clone(); - break; - case TypeOneofCase.ClearPresetStatus: - ClearPresetStatus = other.ClearPresetStatus.Clone(); - break; - case TypeOneofCase.SaveCurrentPreset: - SaveCurrentPreset = other.SaveCurrentPreset.Clone(); - break; - case TypeOneofCase.SaveCurrentPresetTo: - SaveCurrentPresetTo = other.SaveCurrentPresetTo.Clone(); - break; - case TypeOneofCase.SavePresetAs: - SavePresetAs = other.SavePresetAs.Clone(); - break; - case TypeOneofCase.NewPresetSavedStatus: - NewPresetSavedStatus = other.NewPresetSavedStatus.Clone(); - break; - case TypeOneofCase.RenamePresetAt: - RenamePresetAt = other.RenamePresetAt.Clone(); - break; - case TypeOneofCase.AuditionPreset: - AuditionPreset = other.AuditionPreset.Clone(); - break; - case TypeOneofCase.AuditionPresetStatus: - AuditionPresetStatus = other.AuditionPresetStatus.Clone(); - break; - case TypeOneofCase.ExitAuditionPreset: - ExitAuditionPreset = other.ExitAuditionPreset.Clone(); - break; - case TypeOneofCase.ExitAuditionPresetStatus: - ExitAuditionPresetStatus = other.ExitAuditionPresetStatus.Clone(); - break; - case TypeOneofCase.AuditionStateRequest: - AuditionStateRequest = other.AuditionStateRequest.Clone(); - break; - case TypeOneofCase.AuditionStateStatus: - AuditionStateStatus = other.AuditionStateStatus.Clone(); - break; - case TypeOneofCase.ProductIdentificationStatus: - ProductIdentificationStatus = other.ProductIdentificationStatus.Clone(); - break; - case TypeOneofCase.ProductIdentificationRequest: - ProductIdentificationRequest = other.ProductIdentificationRequest.Clone(); - break; - case TypeOneofCase.FirmwareVersionRequest: - FirmwareVersionRequest = other.FirmwareVersionRequest.Clone(); - break; - case TypeOneofCase.FirmwareVersionStatus: - FirmwareVersionStatus = other.FirmwareVersionStatus.Clone(); - break; - case TypeOneofCase.CurrentPresetRequest: - CurrentPresetRequest = other.CurrentPresetRequest.Clone(); - break; - case TypeOneofCase.RetrievePreset: - RetrievePreset = other.RetrievePreset.Clone(); - break; - case TypeOneofCase.UsbGainRequest: - UsbGainRequest = other.UsbGainRequest.Clone(); - break; - case TypeOneofCase.UsbGainStatus: - UsbGainStatus = other.UsbGainStatus.Clone(); - break; - case TypeOneofCase.QASlotsRequest: - QASlotsRequest = other.QASlotsRequest.Clone(); - break; - case TypeOneofCase.QASlotsStatus: - QASlotsStatus = other.QASlotsStatus.Clone(); - break; - case TypeOneofCase.LineOutGainRequest: - LineOutGainRequest = other.LineOutGainRequest.Clone(); - break; - case TypeOneofCase.LineOutGainStatus: - LineOutGainStatus = other.LineOutGainStatus.Clone(); - break; - case TypeOneofCase.ModalStatusMessage: - ModalStatusMessage = other.ModalStatusMessage.Clone(); - break; - case TypeOneofCase.UsbGainSet: - UsbGainSet = other.UsbGainSet.Clone(); - break; - case TypeOneofCase.LineOutGainSet: - LineOutGainSet = other.LineOutGainSet.Clone(); - break; - case TypeOneofCase.QASlotsSet: - QASlotsSet = other.QASlotsSet.Clone(); - break; - case TypeOneofCase.UnsupportedMessageStatus: - UnsupportedMessageStatus = other.UnsupportedMessageStatus.Clone(); - break; - case TypeOneofCase.Heartbeat: - Heartbeat = other.Heartbeat.Clone(); - break; - case TypeOneofCase.ConnectionStatusRequest: - ConnectionStatusRequest = other.ConnectionStatusRequest.Clone(); - break; - case TypeOneofCase.ConnectionStatus: - ConnectionStatus = other.ConnectionStatus.Clone(); - break; - } - - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FenderMessageLT Clone() { - return new FenderMessageLT(this); - } - - /// Field number for the "responseType" field. - public const int ResponseTypeFieldNumber = 1; - private readonly static global::ResponseType ResponseTypeDefaultValue = global::ResponseType.Unsolicited; - - private global::ResponseType responseType_; - /// - /// Response type. All messages from the host to the amp are UNSOLICITED - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ResponseType ResponseType { - get { if ((_hasBits0 & 1) != 0) { return responseType_; } else { return ResponseTypeDefaultValue; } } - set { - _hasBits0 |= 1; - responseType_ = value; - } - } - /// Gets whether the "responseType" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasResponseType { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "responseType" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearResponseType() { - _hasBits0 &= ~1; - } - - /// Field number for the "indexPot" field. - public const int IndexPotFieldNumber = 2; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::IndexPot IndexPot { - get { return typeCase_ == TypeOneofCase.IndexPot ? (global::IndexPot) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.IndexPot; - } - } - - /// Field number for the "indexButton" field. - public const int IndexButtonFieldNumber = 3; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::IndexButton IndexButton { - get { return typeCase_ == TypeOneofCase.IndexButton ? (global::IndexButton) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.IndexButton; - } - } - - /// Field number for the "indexEncoder" field. - public const int IndexEncoderFieldNumber = 4; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::IndexEncoder IndexEncoder { - get { return typeCase_ == TypeOneofCase.IndexEncoder ? (global::IndexEncoder) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.IndexEncoder; - } - } - - /// Field number for the "activeDisplay" field. - public const int ActiveDisplayFieldNumber = 5; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ActiveDisplay ActiveDisplay { - get { return typeCase_ == TypeOneofCase.ActiveDisplay ? (global::ActiveDisplay) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ActiveDisplay; - } - } - - /// Field number for the "processorUtilizationRequest" field. - public const int ProcessorUtilizationRequestFieldNumber = 6; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ProcessorUtilizationRequest ProcessorUtilizationRequest { - get { return typeCase_ == TypeOneofCase.ProcessorUtilizationRequest ? (global::ProcessorUtilizationRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ProcessorUtilizationRequest; - } - } - - /// Field number for the "processorUtilization" field. - public const int ProcessorUtilizationFieldNumber = 7; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ProcessorUtilization ProcessorUtilization { - get { return typeCase_ == TypeOneofCase.ProcessorUtilization ? (global::ProcessorUtilization) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ProcessorUtilization; - } - } - - /// Field number for the "memoryUsageRequest" field. - public const int MemoryUsageRequestFieldNumber = 8; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::MemoryUsageRequest MemoryUsageRequest { - get { return typeCase_ == TypeOneofCase.MemoryUsageRequest ? (global::MemoryUsageRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.MemoryUsageRequest; - } - } - - /// Field number for the "memoryUsageStatus" field. - public const int MemoryUsageStatusFieldNumber = 9; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::MemoryUsageStatus MemoryUsageStatus { - get { return typeCase_ == TypeOneofCase.MemoryUsageStatus ? (global::MemoryUsageStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.MemoryUsageStatus; - } - } - - /// Field number for the "presetJSONMessageRequest_LT" field. - public const int PresetJSONMessageRequestLTFieldNumber = 10; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::PresetJSONMessageRequest_LT PresetJSONMessageRequestLT { - get { return typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT ? (global::PresetJSONMessageRequest_LT) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.PresetJSONMessageRequestLT; - } - } - - /// Field number for the "frameBufferMessageRequest" field. - public const int FrameBufferMessageRequestFieldNumber = 11; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::FrameBufferMessageRequest FrameBufferMessageRequest { - get { return typeCase_ == TypeOneofCase.FrameBufferMessageRequest ? (global::FrameBufferMessageRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.FrameBufferMessageRequest; - } - } - - /// Field number for the "frameBufferMessage" field. - public const int FrameBufferMessageFieldNumber = 12; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::FrameBufferMessage FrameBufferMessage { - get { return typeCase_ == TypeOneofCase.FrameBufferMessage ? (global::FrameBufferMessage) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.FrameBufferMessage; - } - } - - /// Field number for the "lt4FootswitchModeRequest" field. - public const int Lt4FootswitchModeRequestFieldNumber = 13; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LT4FootswitchModeRequest Lt4FootswitchModeRequest { - get { return typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest ? (global::LT4FootswitchModeRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Lt4FootswitchModeRequest; - } - } - - /// Field number for the "lt4FootswitchModeStatus" field. - public const int Lt4FootswitchModeStatusFieldNumber = 14; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LT4FootswitchModeStatus Lt4FootswitchModeStatus { - get { return typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus ? (global::LT4FootswitchModeStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Lt4FootswitchModeStatus; - } - } - - /// Field number for the "loadPreset_TestSuite" field. - public const int LoadPresetTestSuiteFieldNumber = 15; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LoadPreset_TestSuite LoadPresetTestSuite { - get { return typeCase_ == TypeOneofCase.LoadPresetTestSuite ? (global::LoadPreset_TestSuite) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LoadPresetTestSuite; - } - } - - /// Field number for the "loopbackTest" field. - public const int LoopbackTestFieldNumber = 30; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LoopbackTest LoopbackTest { - get { return typeCase_ == TypeOneofCase.LoopbackTest ? (global::LoopbackTest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LoopbackTest; - } - } - - /// Field number for the "presetJSONMessage" field. - public const int PresetJSONMessageFieldNumber = 31; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::PresetJSONMessage PresetJSONMessage { - get { return typeCase_ == TypeOneofCase.PresetJSONMessage ? (global::PresetJSONMessage) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.PresetJSONMessage; - } - } - - /// Field number for the "currentPresetStatus" field. - public const int CurrentPresetStatusFieldNumber = 32; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::CurrentPresetStatus CurrentPresetStatus { - get { return typeCase_ == TypeOneofCase.CurrentPresetStatus ? (global::CurrentPresetStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentPresetStatus; - } - } - - /// Field number for the "loadPreset" field. - public const int LoadPresetFieldNumber = 33; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LoadPreset LoadPreset { - get { return typeCase_ == TypeOneofCase.LoadPreset ? (global::LoadPreset) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LoadPreset; - } - } - - /// Field number for the "setDspUnitParameter" field. - public const int SetDspUnitParameterFieldNumber = 34; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::SetDspUnitParameter SetDspUnitParameter { - get { return typeCase_ == TypeOneofCase.SetDspUnitParameter ? (global::SetDspUnitParameter) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SetDspUnitParameter; - } - } - - /// Field number for the "setDspUnitParameterStatus" field. - public const int SetDspUnitParameterStatusFieldNumber = 35; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::SetDspUnitParameterStatus SetDspUnitParameterStatus { - get { return typeCase_ == TypeOneofCase.SetDspUnitParameterStatus ? (global::SetDspUnitParameterStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SetDspUnitParameterStatus; - } - } - - /// Field number for the "dspUnitParameterStatus" field. - public const int DspUnitParameterStatusFieldNumber = 36; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::DspUnitParameterStatus DspUnitParameterStatus { - get { return typeCase_ == TypeOneofCase.DspUnitParameterStatus ? (global::DspUnitParameterStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.DspUnitParameterStatus; - } - } - - /// Field number for the "currentLoadedPresetIndexStatus" field. - public const int CurrentLoadedPresetIndexStatusFieldNumber = 37; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::CurrentLoadedPresetIndexStatus CurrentLoadedPresetIndexStatus { - get { return typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus ? (global::CurrentLoadedPresetIndexStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentLoadedPresetIndexStatus; - } - } - - /// Field number for the "presetEditedStatus" field. - public const int PresetEditedStatusFieldNumber = 38; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::PresetEditedStatus PresetEditedStatus { - get { return typeCase_ == TypeOneofCase.PresetEditedStatus ? (global::PresetEditedStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.PresetEditedStatus; - } - } - - /// Field number for the "replaceNode" field. - public const int ReplaceNodeFieldNumber = 39; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ReplaceNode ReplaceNode { - get { return typeCase_ == TypeOneofCase.ReplaceNode ? (global::ReplaceNode) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ReplaceNode; - } - } - - /// Field number for the "replaceNodeStatus" field. - public const int ReplaceNodeStatusFieldNumber = 40; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ReplaceNodeStatus ReplaceNodeStatus { - get { return typeCase_ == TypeOneofCase.ReplaceNodeStatus ? (global::ReplaceNodeStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ReplaceNodeStatus; - } - } - - /// Field number for the "shiftPreset" field. - public const int ShiftPresetFieldNumber = 41; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ShiftPreset ShiftPreset { - get { return typeCase_ == TypeOneofCase.ShiftPreset ? (global::ShiftPreset) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ShiftPreset; - } - } - - /// Field number for the "shiftPresetStatus" field. - public const int ShiftPresetStatusFieldNumber = 42; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ShiftPresetStatus ShiftPresetStatus { - get { return typeCase_ == TypeOneofCase.ShiftPresetStatus ? (global::ShiftPresetStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ShiftPresetStatus; - } - } - - /// Field number for the "swapPreset" field. - public const int SwapPresetFieldNumber = 43; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::SwapPreset SwapPreset { - get { return typeCase_ == TypeOneofCase.SwapPreset ? (global::SwapPreset) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SwapPreset; - } - } - - /// Field number for the "swapPresetStatus" field. - public const int SwapPresetStatusFieldNumber = 44; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::SwapPresetStatus SwapPresetStatus { - get { return typeCase_ == TypeOneofCase.SwapPresetStatus ? (global::SwapPresetStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SwapPresetStatus; - } - } - - /// Field number for the "currentPresetSet" field. - public const int CurrentPresetSetFieldNumber = 45; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::CurrentPresetSet CurrentPresetSet { - get { return typeCase_ == TypeOneofCase.CurrentPresetSet ? (global::CurrentPresetSet) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentPresetSet; - } - } - - /// Field number for the "currentLoadedPresetIndexBypassStatus" field. - public const int CurrentLoadedPresetIndexBypassStatusFieldNumber = 46; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::CurrentLoadedPresetIndexBypassStatus CurrentLoadedPresetIndexBypassStatus { - get { return typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus ? (global::CurrentLoadedPresetIndexBypassStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentLoadedPresetIndexBypassStatus; - } - } - - /// Field number for the "currentDisplayedPresetIndexStatus" field. - public const int CurrentDisplayedPresetIndexStatusFieldNumber = 47; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::CurrentDisplayedPresetIndexStatus CurrentDisplayedPresetIndexStatus { - get { return typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus ? (global::CurrentDisplayedPresetIndexStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentDisplayedPresetIndexStatus; - } - } - - /// Field number for the "presetSavedStatus" field. - public const int PresetSavedStatusFieldNumber = 50; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::PresetSavedStatus PresetSavedStatus { - get { return typeCase_ == TypeOneofCase.PresetSavedStatus ? (global::PresetSavedStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.PresetSavedStatus; - } - } - - /// Field number for the "clearPreset" field. - public const int ClearPresetFieldNumber = 51; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ClearPreset ClearPreset { - get { return typeCase_ == TypeOneofCase.ClearPreset ? (global::ClearPreset) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ClearPreset; - } - } - - /// Field number for the "clearPresetStatus" field. - public const int ClearPresetStatusFieldNumber = 52; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ClearPresetStatus ClearPresetStatus { - get { return typeCase_ == TypeOneofCase.ClearPresetStatus ? (global::ClearPresetStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ClearPresetStatus; - } - } - - /// Field number for the "saveCurrentPreset" field. - public const int SaveCurrentPresetFieldNumber = 53; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::SaveCurrentPreset SaveCurrentPreset { - get { return typeCase_ == TypeOneofCase.SaveCurrentPreset ? (global::SaveCurrentPreset) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SaveCurrentPreset; - } - } - - /// Field number for the "saveCurrentPresetTo" field. - public const int SaveCurrentPresetToFieldNumber = 54; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::SaveCurrentPresetTo SaveCurrentPresetTo { - get { return typeCase_ == TypeOneofCase.SaveCurrentPresetTo ? (global::SaveCurrentPresetTo) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SaveCurrentPresetTo; - } - } - - /// Field number for the "savePresetAs" field. - public const int SavePresetAsFieldNumber = 55; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::SavePresetAs SavePresetAs { - get { return typeCase_ == TypeOneofCase.SavePresetAs ? (global::SavePresetAs) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SavePresetAs; - } - } - - /// Field number for the "newPresetSavedStatus" field. - public const int NewPresetSavedStatusFieldNumber = 56; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::NewPresetSavedStatus NewPresetSavedStatus { - get { return typeCase_ == TypeOneofCase.NewPresetSavedStatus ? (global::NewPresetSavedStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.NewPresetSavedStatus; - } - } - - /// Field number for the "renamePresetAt" field. - public const int RenamePresetAtFieldNumber = 57; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::RenamePresetAt RenamePresetAt { - get { return typeCase_ == TypeOneofCase.RenamePresetAt ? (global::RenamePresetAt) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.RenamePresetAt; - } - } - - /// Field number for the "auditionPreset" field. - public const int AuditionPresetFieldNumber = 58; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::AuditionPreset AuditionPreset { - get { return typeCase_ == TypeOneofCase.AuditionPreset ? (global::AuditionPreset) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.AuditionPreset; - } - } - - /// Field number for the "auditionPresetStatus" field. - public const int AuditionPresetStatusFieldNumber = 59; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::AuditionPresetStatus AuditionPresetStatus { - get { return typeCase_ == TypeOneofCase.AuditionPresetStatus ? (global::AuditionPresetStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.AuditionPresetStatus; - } - } - - /// Field number for the "exitAuditionPreset" field. - public const int ExitAuditionPresetFieldNumber = 60; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ExitAuditionPreset ExitAuditionPreset { - get { return typeCase_ == TypeOneofCase.ExitAuditionPreset ? (global::ExitAuditionPreset) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ExitAuditionPreset; - } - } - - /// Field number for the "exitAuditionPresetStatus" field. - public const int ExitAuditionPresetStatusFieldNumber = 61; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ExitAuditionPresetStatus ExitAuditionPresetStatus { - get { return typeCase_ == TypeOneofCase.ExitAuditionPresetStatus ? (global::ExitAuditionPresetStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ExitAuditionPresetStatus; - } - } - - /// Field number for the "auditionStateRequest" field. - public const int AuditionStateRequestFieldNumber = 62; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::AuditionStateRequest AuditionStateRequest { - get { return typeCase_ == TypeOneofCase.AuditionStateRequest ? (global::AuditionStateRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.AuditionStateRequest; - } - } - - /// Field number for the "auditionStateStatus" field. - public const int AuditionStateStatusFieldNumber = 63; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::AuditionStateStatus AuditionStateStatus { - get { return typeCase_ == TypeOneofCase.AuditionStateStatus ? (global::AuditionStateStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.AuditionStateStatus; - } - } - - /// Field number for the "productIdentificationStatus" field. - public const int ProductIdentificationStatusFieldNumber = 100; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ProductIdentificationStatus ProductIdentificationStatus { - get { return typeCase_ == TypeOneofCase.ProductIdentificationStatus ? (global::ProductIdentificationStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ProductIdentificationStatus; - } - } - - /// Field number for the "productIdentificationRequest" field. - public const int ProductIdentificationRequestFieldNumber = 101; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ProductIdentificationRequest ProductIdentificationRequest { - get { return typeCase_ == TypeOneofCase.ProductIdentificationRequest ? (global::ProductIdentificationRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ProductIdentificationRequest; - } - } - - /// Field number for the "firmwareVersionRequest" field. - public const int FirmwareVersionRequestFieldNumber = 102; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::FirmwareVersionRequest FirmwareVersionRequest { - get { return typeCase_ == TypeOneofCase.FirmwareVersionRequest ? (global::FirmwareVersionRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.FirmwareVersionRequest; - } - } - - /// Field number for the "firmwareVersionStatus" field. - public const int FirmwareVersionStatusFieldNumber = 103; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::FirmwareVersionStatus FirmwareVersionStatus { - get { return typeCase_ == TypeOneofCase.FirmwareVersionStatus ? (global::FirmwareVersionStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.FirmwareVersionStatus; - } - } - - /// Field number for the "currentPresetRequest" field. - public const int CurrentPresetRequestFieldNumber = 104; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::CurrentPresetRequest CurrentPresetRequest { - get { return typeCase_ == TypeOneofCase.CurrentPresetRequest ? (global::CurrentPresetRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentPresetRequest; - } - } - - /// Field number for the "retrievePreset" field. - public const int RetrievePresetFieldNumber = 105; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::RetrievePreset RetrievePreset { - get { return typeCase_ == TypeOneofCase.RetrievePreset ? (global::RetrievePreset) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.RetrievePreset; - } - } - - /// Field number for the "usbGainRequest" field. - public const int UsbGainRequestFieldNumber = 106; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::UsbGainRequest UsbGainRequest { - get { return typeCase_ == TypeOneofCase.UsbGainRequest ? (global::UsbGainRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UsbGainRequest; - } - } - - /// Field number for the "usbGainStatus" field. - public const int UsbGainStatusFieldNumber = 107; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::UsbGainStatus UsbGainStatus { - get { return typeCase_ == TypeOneofCase.UsbGainStatus ? (global::UsbGainStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UsbGainStatus; - } - } - - /// Field number for the "qASlotsRequest" field. - public const int QASlotsRequestFieldNumber = 108; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::QASlotsRequest QASlotsRequest { - get { return typeCase_ == TypeOneofCase.QASlotsRequest ? (global::QASlotsRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.QASlotsRequest; - } - } - - /// Field number for the "qASlotsStatus" field. - public const int QASlotsStatusFieldNumber = 109; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::QASlotsStatus QASlotsStatus { - get { return typeCase_ == TypeOneofCase.QASlotsStatus ? (global::QASlotsStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.QASlotsStatus; - } - } - - /// Field number for the "lineOutGainRequest" field. - public const int LineOutGainRequestFieldNumber = 110; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LineOutGainRequest LineOutGainRequest { - get { return typeCase_ == TypeOneofCase.LineOutGainRequest ? (global::LineOutGainRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LineOutGainRequest; - } - } - - /// Field number for the "lineOutGainStatus" field. - public const int LineOutGainStatusFieldNumber = 111; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LineOutGainStatus LineOutGainStatus { - get { return typeCase_ == TypeOneofCase.LineOutGainStatus ? (global::LineOutGainStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LineOutGainStatus; - } - } - - /// Field number for the "modalStatusMessage" field. - public const int ModalStatusMessageFieldNumber = 113; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ModalStatusMessage ModalStatusMessage { - get { return typeCase_ == TypeOneofCase.ModalStatusMessage ? (global::ModalStatusMessage) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ModalStatusMessage; - } - } - - /// Field number for the "usbGainSet" field. - public const int UsbGainSetFieldNumber = 114; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::UsbGainSet UsbGainSet { - get { return typeCase_ == TypeOneofCase.UsbGainSet ? (global::UsbGainSet) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UsbGainSet; - } - } - - /// Field number for the "lineOutGainSet" field. - public const int LineOutGainSetFieldNumber = 115; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LineOutGainSet LineOutGainSet { - get { return typeCase_ == TypeOneofCase.LineOutGainSet ? (global::LineOutGainSet) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LineOutGainSet; - } - } - - /// Field number for the "qASlotsSet" field. - public const int QASlotsSetFieldNumber = 116; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::QASlotsSet QASlotsSet { - get { return typeCase_ == TypeOneofCase.QASlotsSet ? (global::QASlotsSet) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.QASlotsSet; - } - } - - /// Field number for the "unsupportedMessageStatus" field. - public const int UnsupportedMessageStatusFieldNumber = 200; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::UnsupportedMessageStatus UnsupportedMessageStatus { - get { return typeCase_ == TypeOneofCase.UnsupportedMessageStatus ? (global::UnsupportedMessageStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UnsupportedMessageStatus; - } - } - - /// Field number for the "heartbeat" field. - public const int HeartbeatFieldNumber = 201; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Heartbeat Heartbeat { - get { return typeCase_ == TypeOneofCase.Heartbeat ? (global::Heartbeat) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Heartbeat; - } - } - - /// Field number for the "connectionStatusRequest" field. - public const int ConnectionStatusRequestFieldNumber = 202; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ConnectionStatusRequest ConnectionStatusRequest { - get { return typeCase_ == TypeOneofCase.ConnectionStatusRequest ? (global::ConnectionStatusRequest) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ConnectionStatusRequest; - } - } - - /// Field number for the "connectionStatus" field. - public const int ConnectionStatusFieldNumber = 203; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ConnectionStatus ConnectionStatus { - get { return typeCase_ == TypeOneofCase.ConnectionStatus ? (global::ConnectionStatus) type_ : null; } - set { - type_ = value; - typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ConnectionStatus; - } - } - - private object type_; - /// Enum of possible cases for the "type" oneof. - public enum TypeOneofCase { - None = 0, - IndexPot = 2, - IndexButton = 3, - IndexEncoder = 4, - ActiveDisplay = 5, - ProcessorUtilizationRequest = 6, - ProcessorUtilization = 7, - MemoryUsageRequest = 8, - MemoryUsageStatus = 9, - PresetJSONMessageRequestLT = 10, - FrameBufferMessageRequest = 11, - FrameBufferMessage = 12, - Lt4FootswitchModeRequest = 13, - Lt4FootswitchModeStatus = 14, - LoadPresetTestSuite = 15, - LoopbackTest = 30, - PresetJSONMessage = 31, - CurrentPresetStatus = 32, - LoadPreset = 33, - SetDspUnitParameter = 34, - SetDspUnitParameterStatus = 35, - DspUnitParameterStatus = 36, - CurrentLoadedPresetIndexStatus = 37, - PresetEditedStatus = 38, - ReplaceNode = 39, - ReplaceNodeStatus = 40, - ShiftPreset = 41, - ShiftPresetStatus = 42, - SwapPreset = 43, - SwapPresetStatus = 44, - CurrentPresetSet = 45, - CurrentLoadedPresetIndexBypassStatus = 46, - CurrentDisplayedPresetIndexStatus = 47, - PresetSavedStatus = 50, - ClearPreset = 51, - ClearPresetStatus = 52, - SaveCurrentPreset = 53, - SaveCurrentPresetTo = 54, - SavePresetAs = 55, - NewPresetSavedStatus = 56, - RenamePresetAt = 57, - AuditionPreset = 58, - AuditionPresetStatus = 59, - ExitAuditionPreset = 60, - ExitAuditionPresetStatus = 61, - AuditionStateRequest = 62, - AuditionStateStatus = 63, - ProductIdentificationStatus = 100, - ProductIdentificationRequest = 101, - FirmwareVersionRequest = 102, - FirmwareVersionStatus = 103, - CurrentPresetRequest = 104, - RetrievePreset = 105, - UsbGainRequest = 106, - UsbGainStatus = 107, - QASlotsRequest = 108, - QASlotsStatus = 109, - LineOutGainRequest = 110, - LineOutGainStatus = 111, - ModalStatusMessage = 113, - UsbGainSet = 114, - LineOutGainSet = 115, - QASlotsSet = 116, - UnsupportedMessageStatus = 200, - Heartbeat = 201, - ConnectionStatusRequest = 202, - ConnectionStatus = 203, - } - private TypeOneofCase typeCase_ = TypeOneofCase.None; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TypeOneofCase TypeCase { - get { return typeCase_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearType() { - typeCase_ = TypeOneofCase.None; - type_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FenderMessageLT); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FenderMessageLT other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (ResponseType != other.ResponseType) return false; - if (!object.Equals(IndexPot, other.IndexPot)) return false; - if (!object.Equals(IndexButton, other.IndexButton)) return false; - if (!object.Equals(IndexEncoder, other.IndexEncoder)) return false; - if (!object.Equals(ActiveDisplay, other.ActiveDisplay)) return false; - if (!object.Equals(ProcessorUtilizationRequest, other.ProcessorUtilizationRequest)) return false; - if (!object.Equals(ProcessorUtilization, other.ProcessorUtilization)) return false; - if (!object.Equals(MemoryUsageRequest, other.MemoryUsageRequest)) return false; - if (!object.Equals(MemoryUsageStatus, other.MemoryUsageStatus)) return false; - if (!object.Equals(PresetJSONMessageRequestLT, other.PresetJSONMessageRequestLT)) return false; - if (!object.Equals(FrameBufferMessageRequest, other.FrameBufferMessageRequest)) return false; - if (!object.Equals(FrameBufferMessage, other.FrameBufferMessage)) return false; - if (!object.Equals(Lt4FootswitchModeRequest, other.Lt4FootswitchModeRequest)) return false; - if (!object.Equals(Lt4FootswitchModeStatus, other.Lt4FootswitchModeStatus)) return false; - if (!object.Equals(LoadPresetTestSuite, other.LoadPresetTestSuite)) return false; - if (!object.Equals(LoopbackTest, other.LoopbackTest)) return false; - if (!object.Equals(PresetJSONMessage, other.PresetJSONMessage)) return false; - if (!object.Equals(CurrentPresetStatus, other.CurrentPresetStatus)) return false; - if (!object.Equals(LoadPreset, other.LoadPreset)) return false; - if (!object.Equals(SetDspUnitParameter, other.SetDspUnitParameter)) return false; - if (!object.Equals(SetDspUnitParameterStatus, other.SetDspUnitParameterStatus)) return false; - if (!object.Equals(DspUnitParameterStatus, other.DspUnitParameterStatus)) return false; - if (!object.Equals(CurrentLoadedPresetIndexStatus, other.CurrentLoadedPresetIndexStatus)) return false; - if (!object.Equals(PresetEditedStatus, other.PresetEditedStatus)) return false; - if (!object.Equals(ReplaceNode, other.ReplaceNode)) return false; - if (!object.Equals(ReplaceNodeStatus, other.ReplaceNodeStatus)) return false; - if (!object.Equals(ShiftPreset, other.ShiftPreset)) return false; - if (!object.Equals(ShiftPresetStatus, other.ShiftPresetStatus)) return false; - if (!object.Equals(SwapPreset, other.SwapPreset)) return false; - if (!object.Equals(SwapPresetStatus, other.SwapPresetStatus)) return false; - if (!object.Equals(CurrentPresetSet, other.CurrentPresetSet)) return false; - if (!object.Equals(CurrentLoadedPresetIndexBypassStatus, other.CurrentLoadedPresetIndexBypassStatus)) return false; - if (!object.Equals(CurrentDisplayedPresetIndexStatus, other.CurrentDisplayedPresetIndexStatus)) return false; - if (!object.Equals(PresetSavedStatus, other.PresetSavedStatus)) return false; - if (!object.Equals(ClearPreset, other.ClearPreset)) return false; - if (!object.Equals(ClearPresetStatus, other.ClearPresetStatus)) return false; - if (!object.Equals(SaveCurrentPreset, other.SaveCurrentPreset)) return false; - if (!object.Equals(SaveCurrentPresetTo, other.SaveCurrentPresetTo)) return false; - if (!object.Equals(SavePresetAs, other.SavePresetAs)) return false; - if (!object.Equals(NewPresetSavedStatus, other.NewPresetSavedStatus)) return false; - if (!object.Equals(RenamePresetAt, other.RenamePresetAt)) return false; - if (!object.Equals(AuditionPreset, other.AuditionPreset)) return false; - if (!object.Equals(AuditionPresetStatus, other.AuditionPresetStatus)) return false; - if (!object.Equals(ExitAuditionPreset, other.ExitAuditionPreset)) return false; - if (!object.Equals(ExitAuditionPresetStatus, other.ExitAuditionPresetStatus)) return false; - if (!object.Equals(AuditionStateRequest, other.AuditionStateRequest)) return false; - if (!object.Equals(AuditionStateStatus, other.AuditionStateStatus)) return false; - if (!object.Equals(ProductIdentificationStatus, other.ProductIdentificationStatus)) return false; - if (!object.Equals(ProductIdentificationRequest, other.ProductIdentificationRequest)) return false; - if (!object.Equals(FirmwareVersionRequest, other.FirmwareVersionRequest)) return false; - if (!object.Equals(FirmwareVersionStatus, other.FirmwareVersionStatus)) return false; - if (!object.Equals(CurrentPresetRequest, other.CurrentPresetRequest)) return false; - if (!object.Equals(RetrievePreset, other.RetrievePreset)) return false; - if (!object.Equals(UsbGainRequest, other.UsbGainRequest)) return false; - if (!object.Equals(UsbGainStatus, other.UsbGainStatus)) return false; - if (!object.Equals(QASlotsRequest, other.QASlotsRequest)) return false; - if (!object.Equals(QASlotsStatus, other.QASlotsStatus)) return false; - if (!object.Equals(LineOutGainRequest, other.LineOutGainRequest)) return false; - if (!object.Equals(LineOutGainStatus, other.LineOutGainStatus)) return false; - if (!object.Equals(ModalStatusMessage, other.ModalStatusMessage)) return false; - if (!object.Equals(UsbGainSet, other.UsbGainSet)) return false; - if (!object.Equals(LineOutGainSet, other.LineOutGainSet)) return false; - if (!object.Equals(QASlotsSet, other.QASlotsSet)) return false; - if (!object.Equals(UnsupportedMessageStatus, other.UnsupportedMessageStatus)) return false; - if (!object.Equals(Heartbeat, other.Heartbeat)) return false; - if (!object.Equals(ConnectionStatusRequest, other.ConnectionStatusRequest)) return false; - if (!object.Equals(ConnectionStatus, other.ConnectionStatus)) return false; - if (TypeCase != other.TypeCase) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasResponseType) hash ^= ResponseType.GetHashCode(); - if (typeCase_ == TypeOneofCase.IndexPot) hash ^= IndexPot.GetHashCode(); - if (typeCase_ == TypeOneofCase.IndexButton) hash ^= IndexButton.GetHashCode(); - if (typeCase_ == TypeOneofCase.IndexEncoder) hash ^= IndexEncoder.GetHashCode(); - if (typeCase_ == TypeOneofCase.ActiveDisplay) hash ^= ActiveDisplay.GetHashCode(); - if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) hash ^= ProcessorUtilizationRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.ProcessorUtilization) hash ^= ProcessorUtilization.GetHashCode(); - if (typeCase_ == TypeOneofCase.MemoryUsageRequest) hash ^= MemoryUsageRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.MemoryUsageStatus) hash ^= MemoryUsageStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) hash ^= PresetJSONMessageRequestLT.GetHashCode(); - if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) hash ^= FrameBufferMessageRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.FrameBufferMessage) hash ^= FrameBufferMessage.GetHashCode(); - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) hash ^= Lt4FootswitchModeRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) hash ^= Lt4FootswitchModeStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) hash ^= LoadPresetTestSuite.GetHashCode(); - if (typeCase_ == TypeOneofCase.LoopbackTest) hash ^= LoopbackTest.GetHashCode(); - if (typeCase_ == TypeOneofCase.PresetJSONMessage) hash ^= PresetJSONMessage.GetHashCode(); - if (typeCase_ == TypeOneofCase.CurrentPresetStatus) hash ^= CurrentPresetStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.LoadPreset) hash ^= LoadPreset.GetHashCode(); - if (typeCase_ == TypeOneofCase.SetDspUnitParameter) hash ^= SetDspUnitParameter.GetHashCode(); - if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) hash ^= SetDspUnitParameterStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) hash ^= DspUnitParameterStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) hash ^= CurrentLoadedPresetIndexStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.PresetEditedStatus) hash ^= PresetEditedStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.ReplaceNode) hash ^= ReplaceNode.GetHashCode(); - if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) hash ^= ReplaceNodeStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.ShiftPreset) hash ^= ShiftPreset.GetHashCode(); - if (typeCase_ == TypeOneofCase.ShiftPresetStatus) hash ^= ShiftPresetStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.SwapPreset) hash ^= SwapPreset.GetHashCode(); - if (typeCase_ == TypeOneofCase.SwapPresetStatus) hash ^= SwapPresetStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.CurrentPresetSet) hash ^= CurrentPresetSet.GetHashCode(); - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) hash ^= CurrentLoadedPresetIndexBypassStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) hash ^= CurrentDisplayedPresetIndexStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.PresetSavedStatus) hash ^= PresetSavedStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.ClearPreset) hash ^= ClearPreset.GetHashCode(); - if (typeCase_ == TypeOneofCase.ClearPresetStatus) hash ^= ClearPresetStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.SaveCurrentPreset) hash ^= SaveCurrentPreset.GetHashCode(); - if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) hash ^= SaveCurrentPresetTo.GetHashCode(); - if (typeCase_ == TypeOneofCase.SavePresetAs) hash ^= SavePresetAs.GetHashCode(); - if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) hash ^= NewPresetSavedStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.RenamePresetAt) hash ^= RenamePresetAt.GetHashCode(); - if (typeCase_ == TypeOneofCase.AuditionPreset) hash ^= AuditionPreset.GetHashCode(); - if (typeCase_ == TypeOneofCase.AuditionPresetStatus) hash ^= AuditionPresetStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.ExitAuditionPreset) hash ^= ExitAuditionPreset.GetHashCode(); - if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) hash ^= ExitAuditionPresetStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.AuditionStateRequest) hash ^= AuditionStateRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.AuditionStateStatus) hash ^= AuditionStateStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) hash ^= ProductIdentificationStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) hash ^= ProductIdentificationRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) hash ^= FirmwareVersionRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) hash ^= FirmwareVersionStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.CurrentPresetRequest) hash ^= CurrentPresetRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.RetrievePreset) hash ^= RetrievePreset.GetHashCode(); - if (typeCase_ == TypeOneofCase.UsbGainRequest) hash ^= UsbGainRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.UsbGainStatus) hash ^= UsbGainStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.QASlotsRequest) hash ^= QASlotsRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.QASlotsStatus) hash ^= QASlotsStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.LineOutGainRequest) hash ^= LineOutGainRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.LineOutGainStatus) hash ^= LineOutGainStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.ModalStatusMessage) hash ^= ModalStatusMessage.GetHashCode(); - if (typeCase_ == TypeOneofCase.UsbGainSet) hash ^= UsbGainSet.GetHashCode(); - if (typeCase_ == TypeOneofCase.LineOutGainSet) hash ^= LineOutGainSet.GetHashCode(); - if (typeCase_ == TypeOneofCase.QASlotsSet) hash ^= QASlotsSet.GetHashCode(); - if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) hash ^= UnsupportedMessageStatus.GetHashCode(); - if (typeCase_ == TypeOneofCase.Heartbeat) hash ^= Heartbeat.GetHashCode(); - if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) hash ^= ConnectionStatusRequest.GetHashCode(); - if (typeCase_ == TypeOneofCase.ConnectionStatus) hash ^= ConnectionStatus.GetHashCode(); - hash ^= (int) typeCase_; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasResponseType) { - output.WriteRawTag(8); - output.WriteEnum((int) ResponseType); - } - if (typeCase_ == TypeOneofCase.IndexPot) { - output.WriteRawTag(18); - output.WriteMessage(IndexPot); - } - if (typeCase_ == TypeOneofCase.IndexButton) { - output.WriteRawTag(26); - output.WriteMessage(IndexButton); - } - if (typeCase_ == TypeOneofCase.IndexEncoder) { - output.WriteRawTag(34); - output.WriteMessage(IndexEncoder); - } - if (typeCase_ == TypeOneofCase.ActiveDisplay) { - output.WriteRawTag(42); - output.WriteMessage(ActiveDisplay); - } - if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { - output.WriteRawTag(50); - output.WriteMessage(ProcessorUtilizationRequest); - } - if (typeCase_ == TypeOneofCase.ProcessorUtilization) { - output.WriteRawTag(58); - output.WriteMessage(ProcessorUtilization); - } - if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { - output.WriteRawTag(66); - output.WriteMessage(MemoryUsageRequest); - } - if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { - output.WriteRawTag(74); - output.WriteMessage(MemoryUsageStatus); - } - if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { - output.WriteRawTag(82); - output.WriteMessage(PresetJSONMessageRequestLT); - } - if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { - output.WriteRawTag(90); - output.WriteMessage(FrameBufferMessageRequest); - } - if (typeCase_ == TypeOneofCase.FrameBufferMessage) { - output.WriteRawTag(98); - output.WriteMessage(FrameBufferMessage); - } - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { - output.WriteRawTag(106); - output.WriteMessage(Lt4FootswitchModeRequest); - } - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { - output.WriteRawTag(114); - output.WriteMessage(Lt4FootswitchModeStatus); - } - if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { - output.WriteRawTag(122); - output.WriteMessage(LoadPresetTestSuite); - } - if (typeCase_ == TypeOneofCase.LoopbackTest) { - output.WriteRawTag(242, 1); - output.WriteMessage(LoopbackTest); - } - if (typeCase_ == TypeOneofCase.PresetJSONMessage) { - output.WriteRawTag(250, 1); - output.WriteMessage(PresetJSONMessage); - } - if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { - output.WriteRawTag(130, 2); - output.WriteMessage(CurrentPresetStatus); - } - if (typeCase_ == TypeOneofCase.LoadPreset) { - output.WriteRawTag(138, 2); - output.WriteMessage(LoadPreset); - } - if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { - output.WriteRawTag(146, 2); - output.WriteMessage(SetDspUnitParameter); - } - if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { - output.WriteRawTag(154, 2); - output.WriteMessage(SetDspUnitParameterStatus); - } - if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { - output.WriteRawTag(162, 2); - output.WriteMessage(DspUnitParameterStatus); - } - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { - output.WriteRawTag(170, 2); - output.WriteMessage(CurrentLoadedPresetIndexStatus); - } - if (typeCase_ == TypeOneofCase.PresetEditedStatus) { - output.WriteRawTag(178, 2); - output.WriteMessage(PresetEditedStatus); - } - if (typeCase_ == TypeOneofCase.ReplaceNode) { - output.WriteRawTag(186, 2); - output.WriteMessage(ReplaceNode); - } - if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { - output.WriteRawTag(194, 2); - output.WriteMessage(ReplaceNodeStatus); - } - if (typeCase_ == TypeOneofCase.ShiftPreset) { - output.WriteRawTag(202, 2); - output.WriteMessage(ShiftPreset); - } - if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { - output.WriteRawTag(210, 2); - output.WriteMessage(ShiftPresetStatus); - } - if (typeCase_ == TypeOneofCase.SwapPreset) { - output.WriteRawTag(218, 2); - output.WriteMessage(SwapPreset); - } - if (typeCase_ == TypeOneofCase.SwapPresetStatus) { - output.WriteRawTag(226, 2); - output.WriteMessage(SwapPresetStatus); - } - if (typeCase_ == TypeOneofCase.CurrentPresetSet) { - output.WriteRawTag(234, 2); - output.WriteMessage(CurrentPresetSet); - } - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { - output.WriteRawTag(242, 2); - output.WriteMessage(CurrentLoadedPresetIndexBypassStatus); - } - if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { - output.WriteRawTag(250, 2); - output.WriteMessage(CurrentDisplayedPresetIndexStatus); - } - if (typeCase_ == TypeOneofCase.PresetSavedStatus) { - output.WriteRawTag(146, 3); - output.WriteMessage(PresetSavedStatus); - } - if (typeCase_ == TypeOneofCase.ClearPreset) { - output.WriteRawTag(154, 3); - output.WriteMessage(ClearPreset); - } - if (typeCase_ == TypeOneofCase.ClearPresetStatus) { - output.WriteRawTag(162, 3); - output.WriteMessage(ClearPresetStatus); - } - if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { - output.WriteRawTag(170, 3); - output.WriteMessage(SaveCurrentPreset); - } - if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { - output.WriteRawTag(178, 3); - output.WriteMessage(SaveCurrentPresetTo); - } - if (typeCase_ == TypeOneofCase.SavePresetAs) { - output.WriteRawTag(186, 3); - output.WriteMessage(SavePresetAs); - } - if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { - output.WriteRawTag(194, 3); - output.WriteMessage(NewPresetSavedStatus); - } - if (typeCase_ == TypeOneofCase.RenamePresetAt) { - output.WriteRawTag(202, 3); - output.WriteMessage(RenamePresetAt); - } - if (typeCase_ == TypeOneofCase.AuditionPreset) { - output.WriteRawTag(210, 3); - output.WriteMessage(AuditionPreset); - } - if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { - output.WriteRawTag(218, 3); - output.WriteMessage(AuditionPresetStatus); - } - if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { - output.WriteRawTag(226, 3); - output.WriteMessage(ExitAuditionPreset); - } - if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { - output.WriteRawTag(234, 3); - output.WriteMessage(ExitAuditionPresetStatus); - } - if (typeCase_ == TypeOneofCase.AuditionStateRequest) { - output.WriteRawTag(242, 3); - output.WriteMessage(AuditionStateRequest); - } - if (typeCase_ == TypeOneofCase.AuditionStateStatus) { - output.WriteRawTag(250, 3); - output.WriteMessage(AuditionStateStatus); - } - if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { - output.WriteRawTag(162, 6); - output.WriteMessage(ProductIdentificationStatus); - } - if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { - output.WriteRawTag(170, 6); - output.WriteMessage(ProductIdentificationRequest); - } - if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { - output.WriteRawTag(178, 6); - output.WriteMessage(FirmwareVersionRequest); - } - if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { - output.WriteRawTag(186, 6); - output.WriteMessage(FirmwareVersionStatus); - } - if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { - output.WriteRawTag(194, 6); - output.WriteMessage(CurrentPresetRequest); - } - if (typeCase_ == TypeOneofCase.RetrievePreset) { - output.WriteRawTag(202, 6); - output.WriteMessage(RetrievePreset); - } - if (typeCase_ == TypeOneofCase.UsbGainRequest) { - output.WriteRawTag(210, 6); - output.WriteMessage(UsbGainRequest); - } - if (typeCase_ == TypeOneofCase.UsbGainStatus) { - output.WriteRawTag(218, 6); - output.WriteMessage(UsbGainStatus); - } - if (typeCase_ == TypeOneofCase.QASlotsRequest) { - output.WriteRawTag(226, 6); - output.WriteMessage(QASlotsRequest); - } - if (typeCase_ == TypeOneofCase.QASlotsStatus) { - output.WriteRawTag(234, 6); - output.WriteMessage(QASlotsStatus); - } - if (typeCase_ == TypeOneofCase.LineOutGainRequest) { - output.WriteRawTag(242, 6); - output.WriteMessage(LineOutGainRequest); - } - if (typeCase_ == TypeOneofCase.LineOutGainStatus) { - output.WriteRawTag(250, 6); - output.WriteMessage(LineOutGainStatus); - } - if (typeCase_ == TypeOneofCase.ModalStatusMessage) { - output.WriteRawTag(138, 7); - output.WriteMessage(ModalStatusMessage); - } - if (typeCase_ == TypeOneofCase.UsbGainSet) { - output.WriteRawTag(146, 7); - output.WriteMessage(UsbGainSet); - } - if (typeCase_ == TypeOneofCase.LineOutGainSet) { - output.WriteRawTag(154, 7); - output.WriteMessage(LineOutGainSet); - } - if (typeCase_ == TypeOneofCase.QASlotsSet) { - output.WriteRawTag(162, 7); - output.WriteMessage(QASlotsSet); - } - if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { - output.WriteRawTag(194, 12); - output.WriteMessage(UnsupportedMessageStatus); - } - if (typeCase_ == TypeOneofCase.Heartbeat) { - output.WriteRawTag(202, 12); - output.WriteMessage(Heartbeat); - } - if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { - output.WriteRawTag(210, 12); - output.WriteMessage(ConnectionStatusRequest); - } - if (typeCase_ == TypeOneofCase.ConnectionStatus) { - output.WriteRawTag(218, 12); - output.WriteMessage(ConnectionStatus); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasResponseType) { - output.WriteRawTag(8); - output.WriteEnum((int) ResponseType); - } - if (typeCase_ == TypeOneofCase.IndexPot) { - output.WriteRawTag(18); - output.WriteMessage(IndexPot); - } - if (typeCase_ == TypeOneofCase.IndexButton) { - output.WriteRawTag(26); - output.WriteMessage(IndexButton); - } - if (typeCase_ == TypeOneofCase.IndexEncoder) { - output.WriteRawTag(34); - output.WriteMessage(IndexEncoder); - } - if (typeCase_ == TypeOneofCase.ActiveDisplay) { - output.WriteRawTag(42); - output.WriteMessage(ActiveDisplay); - } - if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { - output.WriteRawTag(50); - output.WriteMessage(ProcessorUtilizationRequest); - } - if (typeCase_ == TypeOneofCase.ProcessorUtilization) { - output.WriteRawTag(58); - output.WriteMessage(ProcessorUtilization); - } - if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { - output.WriteRawTag(66); - output.WriteMessage(MemoryUsageRequest); - } - if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { - output.WriteRawTag(74); - output.WriteMessage(MemoryUsageStatus); - } - if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { - output.WriteRawTag(82); - output.WriteMessage(PresetJSONMessageRequestLT); - } - if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { - output.WriteRawTag(90); - output.WriteMessage(FrameBufferMessageRequest); - } - if (typeCase_ == TypeOneofCase.FrameBufferMessage) { - output.WriteRawTag(98); - output.WriteMessage(FrameBufferMessage); - } - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { - output.WriteRawTag(106); - output.WriteMessage(Lt4FootswitchModeRequest); - } - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { - output.WriteRawTag(114); - output.WriteMessage(Lt4FootswitchModeStatus); - } - if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { - output.WriteRawTag(122); - output.WriteMessage(LoadPresetTestSuite); - } - if (typeCase_ == TypeOneofCase.LoopbackTest) { - output.WriteRawTag(242, 1); - output.WriteMessage(LoopbackTest); - } - if (typeCase_ == TypeOneofCase.PresetJSONMessage) { - output.WriteRawTag(250, 1); - output.WriteMessage(PresetJSONMessage); - } - if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { - output.WriteRawTag(130, 2); - output.WriteMessage(CurrentPresetStatus); - } - if (typeCase_ == TypeOneofCase.LoadPreset) { - output.WriteRawTag(138, 2); - output.WriteMessage(LoadPreset); - } - if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { - output.WriteRawTag(146, 2); - output.WriteMessage(SetDspUnitParameter); - } - if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { - output.WriteRawTag(154, 2); - output.WriteMessage(SetDspUnitParameterStatus); - } - if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { - output.WriteRawTag(162, 2); - output.WriteMessage(DspUnitParameterStatus); - } - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { - output.WriteRawTag(170, 2); - output.WriteMessage(CurrentLoadedPresetIndexStatus); - } - if (typeCase_ == TypeOneofCase.PresetEditedStatus) { - output.WriteRawTag(178, 2); - output.WriteMessage(PresetEditedStatus); - } - if (typeCase_ == TypeOneofCase.ReplaceNode) { - output.WriteRawTag(186, 2); - output.WriteMessage(ReplaceNode); - } - if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { - output.WriteRawTag(194, 2); - output.WriteMessage(ReplaceNodeStatus); - } - if (typeCase_ == TypeOneofCase.ShiftPreset) { - output.WriteRawTag(202, 2); - output.WriteMessage(ShiftPreset); - } - if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { - output.WriteRawTag(210, 2); - output.WriteMessage(ShiftPresetStatus); - } - if (typeCase_ == TypeOneofCase.SwapPreset) { - output.WriteRawTag(218, 2); - output.WriteMessage(SwapPreset); - } - if (typeCase_ == TypeOneofCase.SwapPresetStatus) { - output.WriteRawTag(226, 2); - output.WriteMessage(SwapPresetStatus); - } - if (typeCase_ == TypeOneofCase.CurrentPresetSet) { - output.WriteRawTag(234, 2); - output.WriteMessage(CurrentPresetSet); - } - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { - output.WriteRawTag(242, 2); - output.WriteMessage(CurrentLoadedPresetIndexBypassStatus); - } - if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { - output.WriteRawTag(250, 2); - output.WriteMessage(CurrentDisplayedPresetIndexStatus); - } - if (typeCase_ == TypeOneofCase.PresetSavedStatus) { - output.WriteRawTag(146, 3); - output.WriteMessage(PresetSavedStatus); - } - if (typeCase_ == TypeOneofCase.ClearPreset) { - output.WriteRawTag(154, 3); - output.WriteMessage(ClearPreset); - } - if (typeCase_ == TypeOneofCase.ClearPresetStatus) { - output.WriteRawTag(162, 3); - output.WriteMessage(ClearPresetStatus); - } - if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { - output.WriteRawTag(170, 3); - output.WriteMessage(SaveCurrentPreset); - } - if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { - output.WriteRawTag(178, 3); - output.WriteMessage(SaveCurrentPresetTo); - } - if (typeCase_ == TypeOneofCase.SavePresetAs) { - output.WriteRawTag(186, 3); - output.WriteMessage(SavePresetAs); - } - if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { - output.WriteRawTag(194, 3); - output.WriteMessage(NewPresetSavedStatus); - } - if (typeCase_ == TypeOneofCase.RenamePresetAt) { - output.WriteRawTag(202, 3); - output.WriteMessage(RenamePresetAt); - } - if (typeCase_ == TypeOneofCase.AuditionPreset) { - output.WriteRawTag(210, 3); - output.WriteMessage(AuditionPreset); - } - if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { - output.WriteRawTag(218, 3); - output.WriteMessage(AuditionPresetStatus); - } - if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { - output.WriteRawTag(226, 3); - output.WriteMessage(ExitAuditionPreset); - } - if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { - output.WriteRawTag(234, 3); - output.WriteMessage(ExitAuditionPresetStatus); - } - if (typeCase_ == TypeOneofCase.AuditionStateRequest) { - output.WriteRawTag(242, 3); - output.WriteMessage(AuditionStateRequest); - } - if (typeCase_ == TypeOneofCase.AuditionStateStatus) { - output.WriteRawTag(250, 3); - output.WriteMessage(AuditionStateStatus); - } - if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { - output.WriteRawTag(162, 6); - output.WriteMessage(ProductIdentificationStatus); - } - if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { - output.WriteRawTag(170, 6); - output.WriteMessage(ProductIdentificationRequest); - } - if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { - output.WriteRawTag(178, 6); - output.WriteMessage(FirmwareVersionRequest); - } - if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { - output.WriteRawTag(186, 6); - output.WriteMessage(FirmwareVersionStatus); - } - if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { - output.WriteRawTag(194, 6); - output.WriteMessage(CurrentPresetRequest); - } - if (typeCase_ == TypeOneofCase.RetrievePreset) { - output.WriteRawTag(202, 6); - output.WriteMessage(RetrievePreset); - } - if (typeCase_ == TypeOneofCase.UsbGainRequest) { - output.WriteRawTag(210, 6); - output.WriteMessage(UsbGainRequest); - } - if (typeCase_ == TypeOneofCase.UsbGainStatus) { - output.WriteRawTag(218, 6); - output.WriteMessage(UsbGainStatus); - } - if (typeCase_ == TypeOneofCase.QASlotsRequest) { - output.WriteRawTag(226, 6); - output.WriteMessage(QASlotsRequest); - } - if (typeCase_ == TypeOneofCase.QASlotsStatus) { - output.WriteRawTag(234, 6); - output.WriteMessage(QASlotsStatus); - } - if (typeCase_ == TypeOneofCase.LineOutGainRequest) { - output.WriteRawTag(242, 6); - output.WriteMessage(LineOutGainRequest); - } - if (typeCase_ == TypeOneofCase.LineOutGainStatus) { - output.WriteRawTag(250, 6); - output.WriteMessage(LineOutGainStatus); - } - if (typeCase_ == TypeOneofCase.ModalStatusMessage) { - output.WriteRawTag(138, 7); - output.WriteMessage(ModalStatusMessage); - } - if (typeCase_ == TypeOneofCase.UsbGainSet) { - output.WriteRawTag(146, 7); - output.WriteMessage(UsbGainSet); - } - if (typeCase_ == TypeOneofCase.LineOutGainSet) { - output.WriteRawTag(154, 7); - output.WriteMessage(LineOutGainSet); - } - if (typeCase_ == TypeOneofCase.QASlotsSet) { - output.WriteRawTag(162, 7); - output.WriteMessage(QASlotsSet); - } - if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { - output.WriteRawTag(194, 12); - output.WriteMessage(UnsupportedMessageStatus); - } - if (typeCase_ == TypeOneofCase.Heartbeat) { - output.WriteRawTag(202, 12); - output.WriteMessage(Heartbeat); - } - if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { - output.WriteRawTag(210, 12); - output.WriteMessage(ConnectionStatusRequest); - } - if (typeCase_ == TypeOneofCase.ConnectionStatus) { - output.WriteRawTag(218, 12); - output.WriteMessage(ConnectionStatus); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasResponseType) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ResponseType); - } - if (typeCase_ == TypeOneofCase.IndexPot) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexPot); - } - if (typeCase_ == TypeOneofCase.IndexButton) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexButton); - } - if (typeCase_ == TypeOneofCase.IndexEncoder) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexEncoder); - } - if (typeCase_ == TypeOneofCase.ActiveDisplay) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ActiveDisplay); - } - if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProcessorUtilizationRequest); - } - if (typeCase_ == TypeOneofCase.ProcessorUtilization) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProcessorUtilization); - } - if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemoryUsageRequest); - } - if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemoryUsageStatus); - } - if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(PresetJSONMessageRequestLT); - } - if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FrameBufferMessageRequest); - } - if (typeCase_ == TypeOneofCase.FrameBufferMessage) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(FrameBufferMessage); - } - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Lt4FootswitchModeRequest); - } - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Lt4FootswitchModeStatus); - } - if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(LoadPresetTestSuite); - } - if (typeCase_ == TypeOneofCase.LoopbackTest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(LoopbackTest); - } - if (typeCase_ == TypeOneofCase.PresetJSONMessage) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PresetJSONMessage); - } - if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentPresetStatus); - } - if (typeCase_ == TypeOneofCase.LoadPreset) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(LoadPreset); - } - if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SetDspUnitParameter); - } - if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SetDspUnitParameterStatus); - } - if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(DspUnitParameterStatus); - } - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentLoadedPresetIndexStatus); - } - if (typeCase_ == TypeOneofCase.PresetEditedStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PresetEditedStatus); - } - if (typeCase_ == TypeOneofCase.ReplaceNode) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ReplaceNode); - } - if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ReplaceNodeStatus); - } - if (typeCase_ == TypeOneofCase.ShiftPreset) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShiftPreset); - } - if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShiftPresetStatus); - } - if (typeCase_ == TypeOneofCase.SwapPreset) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SwapPreset); - } - if (typeCase_ == TypeOneofCase.SwapPresetStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SwapPresetStatus); - } - if (typeCase_ == TypeOneofCase.CurrentPresetSet) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentPresetSet); - } - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentLoadedPresetIndexBypassStatus); - } - if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentDisplayedPresetIndexStatus); - } - if (typeCase_ == TypeOneofCase.PresetSavedStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(PresetSavedStatus); - } - if (typeCase_ == TypeOneofCase.ClearPreset) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ClearPreset); - } - if (typeCase_ == TypeOneofCase.ClearPresetStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ClearPresetStatus); - } - if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SaveCurrentPreset); - } - if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SaveCurrentPresetTo); - } - if (typeCase_ == TypeOneofCase.SavePresetAs) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(SavePresetAs); - } - if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(NewPresetSavedStatus); - } - if (typeCase_ == TypeOneofCase.RenamePresetAt) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RenamePresetAt); - } - if (typeCase_ == TypeOneofCase.AuditionPreset) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuditionPreset); - } - if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuditionPresetStatus); - } - if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ExitAuditionPreset); - } - if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ExitAuditionPresetStatus); - } - if (typeCase_ == TypeOneofCase.AuditionStateRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuditionStateRequest); - } - if (typeCase_ == TypeOneofCase.AuditionStateStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuditionStateStatus); - } - if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ProductIdentificationStatus); - } - if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ProductIdentificationRequest); - } - if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(FirmwareVersionRequest); - } - if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(FirmwareVersionStatus); - } - if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentPresetRequest); - } - if (typeCase_ == TypeOneofCase.RetrievePreset) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(RetrievePreset); - } - if (typeCase_ == TypeOneofCase.UsbGainRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(UsbGainRequest); - } - if (typeCase_ == TypeOneofCase.UsbGainStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(UsbGainStatus); - } - if (typeCase_ == TypeOneofCase.QASlotsRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(QASlotsRequest); - } - if (typeCase_ == TypeOneofCase.QASlotsStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(QASlotsStatus); - } - if (typeCase_ == TypeOneofCase.LineOutGainRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(LineOutGainRequest); - } - if (typeCase_ == TypeOneofCase.LineOutGainStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(LineOutGainStatus); - } - if (typeCase_ == TypeOneofCase.ModalStatusMessage) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ModalStatusMessage); - } - if (typeCase_ == TypeOneofCase.UsbGainSet) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(UsbGainSet); - } - if (typeCase_ == TypeOneofCase.LineOutGainSet) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(LineOutGainSet); - } - if (typeCase_ == TypeOneofCase.QASlotsSet) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(QASlotsSet); - } - if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnsupportedMessageStatus); - } - if (typeCase_ == TypeOneofCase.Heartbeat) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Heartbeat); - } - if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ConnectionStatusRequest); - } - if (typeCase_ == TypeOneofCase.ConnectionStatus) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(ConnectionStatus); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FenderMessageLT other) { - if (other == null) { - return; - } - if (other.HasResponseType) { - ResponseType = other.ResponseType; - } - switch (other.TypeCase) { - case TypeOneofCase.IndexPot: - if (IndexPot == null) { - IndexPot = new global::IndexPot(); - } - IndexPot.MergeFrom(other.IndexPot); - break; - case TypeOneofCase.IndexButton: - if (IndexButton == null) { - IndexButton = new global::IndexButton(); - } - IndexButton.MergeFrom(other.IndexButton); - break; - case TypeOneofCase.IndexEncoder: - if (IndexEncoder == null) { - IndexEncoder = new global::IndexEncoder(); - } - IndexEncoder.MergeFrom(other.IndexEncoder); - break; - case TypeOneofCase.ActiveDisplay: - if (ActiveDisplay == null) { - ActiveDisplay = new global::ActiveDisplay(); - } - ActiveDisplay.MergeFrom(other.ActiveDisplay); - break; - case TypeOneofCase.ProcessorUtilizationRequest: - if (ProcessorUtilizationRequest == null) { - ProcessorUtilizationRequest = new global::ProcessorUtilizationRequest(); - } - ProcessorUtilizationRequest.MergeFrom(other.ProcessorUtilizationRequest); - break; - case TypeOneofCase.ProcessorUtilization: - if (ProcessorUtilization == null) { - ProcessorUtilization = new global::ProcessorUtilization(); - } - ProcessorUtilization.MergeFrom(other.ProcessorUtilization); - break; - case TypeOneofCase.MemoryUsageRequest: - if (MemoryUsageRequest == null) { - MemoryUsageRequest = new global::MemoryUsageRequest(); - } - MemoryUsageRequest.MergeFrom(other.MemoryUsageRequest); - break; - case TypeOneofCase.MemoryUsageStatus: - if (MemoryUsageStatus == null) { - MemoryUsageStatus = new global::MemoryUsageStatus(); - } - MemoryUsageStatus.MergeFrom(other.MemoryUsageStatus); - break; - case TypeOneofCase.PresetJSONMessageRequestLT: - if (PresetJSONMessageRequestLT == null) { - PresetJSONMessageRequestLT = new global::PresetJSONMessageRequest_LT(); - } - PresetJSONMessageRequestLT.MergeFrom(other.PresetJSONMessageRequestLT); - break; - case TypeOneofCase.FrameBufferMessageRequest: - if (FrameBufferMessageRequest == null) { - FrameBufferMessageRequest = new global::FrameBufferMessageRequest(); - } - FrameBufferMessageRequest.MergeFrom(other.FrameBufferMessageRequest); - break; - case TypeOneofCase.FrameBufferMessage: - if (FrameBufferMessage == null) { - FrameBufferMessage = new global::FrameBufferMessage(); - } - FrameBufferMessage.MergeFrom(other.FrameBufferMessage); - break; - case TypeOneofCase.Lt4FootswitchModeRequest: - if (Lt4FootswitchModeRequest == null) { - Lt4FootswitchModeRequest = new global::LT4FootswitchModeRequest(); - } - Lt4FootswitchModeRequest.MergeFrom(other.Lt4FootswitchModeRequest); - break; - case TypeOneofCase.Lt4FootswitchModeStatus: - if (Lt4FootswitchModeStatus == null) { - Lt4FootswitchModeStatus = new global::LT4FootswitchModeStatus(); - } - Lt4FootswitchModeStatus.MergeFrom(other.Lt4FootswitchModeStatus); - break; - case TypeOneofCase.LoadPresetTestSuite: - if (LoadPresetTestSuite == null) { - LoadPresetTestSuite = new global::LoadPreset_TestSuite(); - } - LoadPresetTestSuite.MergeFrom(other.LoadPresetTestSuite); - break; - case TypeOneofCase.LoopbackTest: - if (LoopbackTest == null) { - LoopbackTest = new global::LoopbackTest(); - } - LoopbackTest.MergeFrom(other.LoopbackTest); - break; - case TypeOneofCase.PresetJSONMessage: - if (PresetJSONMessage == null) { - PresetJSONMessage = new global::PresetJSONMessage(); - } - PresetJSONMessage.MergeFrom(other.PresetJSONMessage); - break; - case TypeOneofCase.CurrentPresetStatus: - if (CurrentPresetStatus == null) { - CurrentPresetStatus = new global::CurrentPresetStatus(); - } - CurrentPresetStatus.MergeFrom(other.CurrentPresetStatus); - break; - case TypeOneofCase.LoadPreset: - if (LoadPreset == null) { - LoadPreset = new global::LoadPreset(); - } - LoadPreset.MergeFrom(other.LoadPreset); - break; - case TypeOneofCase.SetDspUnitParameter: - if (SetDspUnitParameter == null) { - SetDspUnitParameter = new global::SetDspUnitParameter(); - } - SetDspUnitParameter.MergeFrom(other.SetDspUnitParameter); - break; - case TypeOneofCase.SetDspUnitParameterStatus: - if (SetDspUnitParameterStatus == null) { - SetDspUnitParameterStatus = new global::SetDspUnitParameterStatus(); - } - SetDspUnitParameterStatus.MergeFrom(other.SetDspUnitParameterStatus); - break; - case TypeOneofCase.DspUnitParameterStatus: - if (DspUnitParameterStatus == null) { - DspUnitParameterStatus = new global::DspUnitParameterStatus(); - } - DspUnitParameterStatus.MergeFrom(other.DspUnitParameterStatus); - break; - case TypeOneofCase.CurrentLoadedPresetIndexStatus: - if (CurrentLoadedPresetIndexStatus == null) { - CurrentLoadedPresetIndexStatus = new global::CurrentLoadedPresetIndexStatus(); - } - CurrentLoadedPresetIndexStatus.MergeFrom(other.CurrentLoadedPresetIndexStatus); - break; - case TypeOneofCase.PresetEditedStatus: - if (PresetEditedStatus == null) { - PresetEditedStatus = new global::PresetEditedStatus(); - } - PresetEditedStatus.MergeFrom(other.PresetEditedStatus); - break; - case TypeOneofCase.ReplaceNode: - if (ReplaceNode == null) { - ReplaceNode = new global::ReplaceNode(); - } - ReplaceNode.MergeFrom(other.ReplaceNode); - break; - case TypeOneofCase.ReplaceNodeStatus: - if (ReplaceNodeStatus == null) { - ReplaceNodeStatus = new global::ReplaceNodeStatus(); - } - ReplaceNodeStatus.MergeFrom(other.ReplaceNodeStatus); - break; - case TypeOneofCase.ShiftPreset: - if (ShiftPreset == null) { - ShiftPreset = new global::ShiftPreset(); - } - ShiftPreset.MergeFrom(other.ShiftPreset); - break; - case TypeOneofCase.ShiftPresetStatus: - if (ShiftPresetStatus == null) { - ShiftPresetStatus = new global::ShiftPresetStatus(); - } - ShiftPresetStatus.MergeFrom(other.ShiftPresetStatus); - break; - case TypeOneofCase.SwapPreset: - if (SwapPreset == null) { - SwapPreset = new global::SwapPreset(); - } - SwapPreset.MergeFrom(other.SwapPreset); - break; - case TypeOneofCase.SwapPresetStatus: - if (SwapPresetStatus == null) { - SwapPresetStatus = new global::SwapPresetStatus(); - } - SwapPresetStatus.MergeFrom(other.SwapPresetStatus); - break; - case TypeOneofCase.CurrentPresetSet: - if (CurrentPresetSet == null) { - CurrentPresetSet = new global::CurrentPresetSet(); - } - CurrentPresetSet.MergeFrom(other.CurrentPresetSet); - break; - case TypeOneofCase.CurrentLoadedPresetIndexBypassStatus: - if (CurrentLoadedPresetIndexBypassStatus == null) { - CurrentLoadedPresetIndexBypassStatus = new global::CurrentLoadedPresetIndexBypassStatus(); - } - CurrentLoadedPresetIndexBypassStatus.MergeFrom(other.CurrentLoadedPresetIndexBypassStatus); - break; - case TypeOneofCase.CurrentDisplayedPresetIndexStatus: - if (CurrentDisplayedPresetIndexStatus == null) { - CurrentDisplayedPresetIndexStatus = new global::CurrentDisplayedPresetIndexStatus(); - } - CurrentDisplayedPresetIndexStatus.MergeFrom(other.CurrentDisplayedPresetIndexStatus); - break; - case TypeOneofCase.PresetSavedStatus: - if (PresetSavedStatus == null) { - PresetSavedStatus = new global::PresetSavedStatus(); - } - PresetSavedStatus.MergeFrom(other.PresetSavedStatus); - break; - case TypeOneofCase.ClearPreset: - if (ClearPreset == null) { - ClearPreset = new global::ClearPreset(); - } - ClearPreset.MergeFrom(other.ClearPreset); - break; - case TypeOneofCase.ClearPresetStatus: - if (ClearPresetStatus == null) { - ClearPresetStatus = new global::ClearPresetStatus(); - } - ClearPresetStatus.MergeFrom(other.ClearPresetStatus); - break; - case TypeOneofCase.SaveCurrentPreset: - if (SaveCurrentPreset == null) { - SaveCurrentPreset = new global::SaveCurrentPreset(); - } - SaveCurrentPreset.MergeFrom(other.SaveCurrentPreset); - break; - case TypeOneofCase.SaveCurrentPresetTo: - if (SaveCurrentPresetTo == null) { - SaveCurrentPresetTo = new global::SaveCurrentPresetTo(); - } - SaveCurrentPresetTo.MergeFrom(other.SaveCurrentPresetTo); - break; - case TypeOneofCase.SavePresetAs: - if (SavePresetAs == null) { - SavePresetAs = new global::SavePresetAs(); - } - SavePresetAs.MergeFrom(other.SavePresetAs); - break; - case TypeOneofCase.NewPresetSavedStatus: - if (NewPresetSavedStatus == null) { - NewPresetSavedStatus = new global::NewPresetSavedStatus(); - } - NewPresetSavedStatus.MergeFrom(other.NewPresetSavedStatus); - break; - case TypeOneofCase.RenamePresetAt: - if (RenamePresetAt == null) { - RenamePresetAt = new global::RenamePresetAt(); - } - RenamePresetAt.MergeFrom(other.RenamePresetAt); - break; - case TypeOneofCase.AuditionPreset: - if (AuditionPreset == null) { - AuditionPreset = new global::AuditionPreset(); - } - AuditionPreset.MergeFrom(other.AuditionPreset); - break; - case TypeOneofCase.AuditionPresetStatus: - if (AuditionPresetStatus == null) { - AuditionPresetStatus = new global::AuditionPresetStatus(); - } - AuditionPresetStatus.MergeFrom(other.AuditionPresetStatus); - break; - case TypeOneofCase.ExitAuditionPreset: - if (ExitAuditionPreset == null) { - ExitAuditionPreset = new global::ExitAuditionPreset(); - } - ExitAuditionPreset.MergeFrom(other.ExitAuditionPreset); - break; - case TypeOneofCase.ExitAuditionPresetStatus: - if (ExitAuditionPresetStatus == null) { - ExitAuditionPresetStatus = new global::ExitAuditionPresetStatus(); - } - ExitAuditionPresetStatus.MergeFrom(other.ExitAuditionPresetStatus); - break; - case TypeOneofCase.AuditionStateRequest: - if (AuditionStateRequest == null) { - AuditionStateRequest = new global::AuditionStateRequest(); - } - AuditionStateRequest.MergeFrom(other.AuditionStateRequest); - break; - case TypeOneofCase.AuditionStateStatus: - if (AuditionStateStatus == null) { - AuditionStateStatus = new global::AuditionStateStatus(); - } - AuditionStateStatus.MergeFrom(other.AuditionStateStatus); - break; - case TypeOneofCase.ProductIdentificationStatus: - if (ProductIdentificationStatus == null) { - ProductIdentificationStatus = new global::ProductIdentificationStatus(); - } - ProductIdentificationStatus.MergeFrom(other.ProductIdentificationStatus); - break; - case TypeOneofCase.ProductIdentificationRequest: - if (ProductIdentificationRequest == null) { - ProductIdentificationRequest = new global::ProductIdentificationRequest(); - } - ProductIdentificationRequest.MergeFrom(other.ProductIdentificationRequest); - break; - case TypeOneofCase.FirmwareVersionRequest: - if (FirmwareVersionRequest == null) { - FirmwareVersionRequest = new global::FirmwareVersionRequest(); - } - FirmwareVersionRequest.MergeFrom(other.FirmwareVersionRequest); - break; - case TypeOneofCase.FirmwareVersionStatus: - if (FirmwareVersionStatus == null) { - FirmwareVersionStatus = new global::FirmwareVersionStatus(); - } - FirmwareVersionStatus.MergeFrom(other.FirmwareVersionStatus); - break; - case TypeOneofCase.CurrentPresetRequest: - if (CurrentPresetRequest == null) { - CurrentPresetRequest = new global::CurrentPresetRequest(); - } - CurrentPresetRequest.MergeFrom(other.CurrentPresetRequest); - break; - case TypeOneofCase.RetrievePreset: - if (RetrievePreset == null) { - RetrievePreset = new global::RetrievePreset(); - } - RetrievePreset.MergeFrom(other.RetrievePreset); - break; - case TypeOneofCase.UsbGainRequest: - if (UsbGainRequest == null) { - UsbGainRequest = new global::UsbGainRequest(); - } - UsbGainRequest.MergeFrom(other.UsbGainRequest); - break; - case TypeOneofCase.UsbGainStatus: - if (UsbGainStatus == null) { - UsbGainStatus = new global::UsbGainStatus(); - } - UsbGainStatus.MergeFrom(other.UsbGainStatus); - break; - case TypeOneofCase.QASlotsRequest: - if (QASlotsRequest == null) { - QASlotsRequest = new global::QASlotsRequest(); - } - QASlotsRequest.MergeFrom(other.QASlotsRequest); - break; - case TypeOneofCase.QASlotsStatus: - if (QASlotsStatus == null) { - QASlotsStatus = new global::QASlotsStatus(); - } - QASlotsStatus.MergeFrom(other.QASlotsStatus); - break; - case TypeOneofCase.LineOutGainRequest: - if (LineOutGainRequest == null) { - LineOutGainRequest = new global::LineOutGainRequest(); - } - LineOutGainRequest.MergeFrom(other.LineOutGainRequest); - break; - case TypeOneofCase.LineOutGainStatus: - if (LineOutGainStatus == null) { - LineOutGainStatus = new global::LineOutGainStatus(); - } - LineOutGainStatus.MergeFrom(other.LineOutGainStatus); - break; - case TypeOneofCase.ModalStatusMessage: - if (ModalStatusMessage == null) { - ModalStatusMessage = new global::ModalStatusMessage(); - } - ModalStatusMessage.MergeFrom(other.ModalStatusMessage); - break; - case TypeOneofCase.UsbGainSet: - if (UsbGainSet == null) { - UsbGainSet = new global::UsbGainSet(); - } - UsbGainSet.MergeFrom(other.UsbGainSet); - break; - case TypeOneofCase.LineOutGainSet: - if (LineOutGainSet == null) { - LineOutGainSet = new global::LineOutGainSet(); - } - LineOutGainSet.MergeFrom(other.LineOutGainSet); - break; - case TypeOneofCase.QASlotsSet: - if (QASlotsSet == null) { - QASlotsSet = new global::QASlotsSet(); - } - QASlotsSet.MergeFrom(other.QASlotsSet); - break; - case TypeOneofCase.UnsupportedMessageStatus: - if (UnsupportedMessageStatus == null) { - UnsupportedMessageStatus = new global::UnsupportedMessageStatus(); - } - UnsupportedMessageStatus.MergeFrom(other.UnsupportedMessageStatus); - break; - case TypeOneofCase.Heartbeat: - if (Heartbeat == null) { - Heartbeat = new global::Heartbeat(); - } - Heartbeat.MergeFrom(other.Heartbeat); - break; - case TypeOneofCase.ConnectionStatusRequest: - if (ConnectionStatusRequest == null) { - ConnectionStatusRequest = new global::ConnectionStatusRequest(); - } - ConnectionStatusRequest.MergeFrom(other.ConnectionStatusRequest); - break; - case TypeOneofCase.ConnectionStatus: - if (ConnectionStatus == null) { - ConnectionStatus = new global::ConnectionStatus(); - } - ConnectionStatus.MergeFrom(other.ConnectionStatus); - break; - } - - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - ResponseType = (global::ResponseType) input.ReadEnum(); - break; - } - case 18: { - global::IndexPot subBuilder = new global::IndexPot(); - if (typeCase_ == TypeOneofCase.IndexPot) { - subBuilder.MergeFrom(IndexPot); - } - input.ReadMessage(subBuilder); - IndexPot = subBuilder; - break; - } - case 26: { - global::IndexButton subBuilder = new global::IndexButton(); - if (typeCase_ == TypeOneofCase.IndexButton) { - subBuilder.MergeFrom(IndexButton); - } - input.ReadMessage(subBuilder); - IndexButton = subBuilder; - break; - } - case 34: { - global::IndexEncoder subBuilder = new global::IndexEncoder(); - if (typeCase_ == TypeOneofCase.IndexEncoder) { - subBuilder.MergeFrom(IndexEncoder); - } - input.ReadMessage(subBuilder); - IndexEncoder = subBuilder; - break; - } - case 42: { - global::ActiveDisplay subBuilder = new global::ActiveDisplay(); - if (typeCase_ == TypeOneofCase.ActiveDisplay) { - subBuilder.MergeFrom(ActiveDisplay); - } - input.ReadMessage(subBuilder); - ActiveDisplay = subBuilder; - break; - } - case 50: { - global::ProcessorUtilizationRequest subBuilder = new global::ProcessorUtilizationRequest(); - if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { - subBuilder.MergeFrom(ProcessorUtilizationRequest); - } - input.ReadMessage(subBuilder); - ProcessorUtilizationRequest = subBuilder; - break; - } - case 58: { - global::ProcessorUtilization subBuilder = new global::ProcessorUtilization(); - if (typeCase_ == TypeOneofCase.ProcessorUtilization) { - subBuilder.MergeFrom(ProcessorUtilization); - } - input.ReadMessage(subBuilder); - ProcessorUtilization = subBuilder; - break; - } - case 66: { - global::MemoryUsageRequest subBuilder = new global::MemoryUsageRequest(); - if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { - subBuilder.MergeFrom(MemoryUsageRequest); - } - input.ReadMessage(subBuilder); - MemoryUsageRequest = subBuilder; - break; - } - case 74: { - global::MemoryUsageStatus subBuilder = new global::MemoryUsageStatus(); - if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { - subBuilder.MergeFrom(MemoryUsageStatus); - } - input.ReadMessage(subBuilder); - MemoryUsageStatus = subBuilder; - break; - } - case 82: { - global::PresetJSONMessageRequest_LT subBuilder = new global::PresetJSONMessageRequest_LT(); - if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { - subBuilder.MergeFrom(PresetJSONMessageRequestLT); - } - input.ReadMessage(subBuilder); - PresetJSONMessageRequestLT = subBuilder; - break; - } - case 90: { - global::FrameBufferMessageRequest subBuilder = new global::FrameBufferMessageRequest(); - if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { - subBuilder.MergeFrom(FrameBufferMessageRequest); - } - input.ReadMessage(subBuilder); - FrameBufferMessageRequest = subBuilder; - break; - } - case 98: { - global::FrameBufferMessage subBuilder = new global::FrameBufferMessage(); - if (typeCase_ == TypeOneofCase.FrameBufferMessage) { - subBuilder.MergeFrom(FrameBufferMessage); - } - input.ReadMessage(subBuilder); - FrameBufferMessage = subBuilder; - break; - } - case 106: { - global::LT4FootswitchModeRequest subBuilder = new global::LT4FootswitchModeRequest(); - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { - subBuilder.MergeFrom(Lt4FootswitchModeRequest); - } - input.ReadMessage(subBuilder); - Lt4FootswitchModeRequest = subBuilder; - break; - } - case 114: { - global::LT4FootswitchModeStatus subBuilder = new global::LT4FootswitchModeStatus(); - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { - subBuilder.MergeFrom(Lt4FootswitchModeStatus); - } - input.ReadMessage(subBuilder); - Lt4FootswitchModeStatus = subBuilder; - break; - } - case 122: { - global::LoadPreset_TestSuite subBuilder = new global::LoadPreset_TestSuite(); - if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { - subBuilder.MergeFrom(LoadPresetTestSuite); - } - input.ReadMessage(subBuilder); - LoadPresetTestSuite = subBuilder; - break; - } - case 242: { - global::LoopbackTest subBuilder = new global::LoopbackTest(); - if (typeCase_ == TypeOneofCase.LoopbackTest) { - subBuilder.MergeFrom(LoopbackTest); - } - input.ReadMessage(subBuilder); - LoopbackTest = subBuilder; - break; - } - case 250: { - global::PresetJSONMessage subBuilder = new global::PresetJSONMessage(); - if (typeCase_ == TypeOneofCase.PresetJSONMessage) { - subBuilder.MergeFrom(PresetJSONMessage); - } - input.ReadMessage(subBuilder); - PresetJSONMessage = subBuilder; - break; - } - case 258: { - global::CurrentPresetStatus subBuilder = new global::CurrentPresetStatus(); - if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { - subBuilder.MergeFrom(CurrentPresetStatus); - } - input.ReadMessage(subBuilder); - CurrentPresetStatus = subBuilder; - break; - } - case 266: { - global::LoadPreset subBuilder = new global::LoadPreset(); - if (typeCase_ == TypeOneofCase.LoadPreset) { - subBuilder.MergeFrom(LoadPreset); - } - input.ReadMessage(subBuilder); - LoadPreset = subBuilder; - break; - } - case 274: { - global::SetDspUnitParameter subBuilder = new global::SetDspUnitParameter(); - if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { - subBuilder.MergeFrom(SetDspUnitParameter); - } - input.ReadMessage(subBuilder); - SetDspUnitParameter = subBuilder; - break; - } - case 282: { - global::SetDspUnitParameterStatus subBuilder = new global::SetDspUnitParameterStatus(); - if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { - subBuilder.MergeFrom(SetDspUnitParameterStatus); - } - input.ReadMessage(subBuilder); - SetDspUnitParameterStatus = subBuilder; - break; - } - case 290: { - global::DspUnitParameterStatus subBuilder = new global::DspUnitParameterStatus(); - if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { - subBuilder.MergeFrom(DspUnitParameterStatus); - } - input.ReadMessage(subBuilder); - DspUnitParameterStatus = subBuilder; - break; - } - case 298: { - global::CurrentLoadedPresetIndexStatus subBuilder = new global::CurrentLoadedPresetIndexStatus(); - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { - subBuilder.MergeFrom(CurrentLoadedPresetIndexStatus); - } - input.ReadMessage(subBuilder); - CurrentLoadedPresetIndexStatus = subBuilder; - break; - } - case 306: { - global::PresetEditedStatus subBuilder = new global::PresetEditedStatus(); - if (typeCase_ == TypeOneofCase.PresetEditedStatus) { - subBuilder.MergeFrom(PresetEditedStatus); - } - input.ReadMessage(subBuilder); - PresetEditedStatus = subBuilder; - break; - } - case 314: { - global::ReplaceNode subBuilder = new global::ReplaceNode(); - if (typeCase_ == TypeOneofCase.ReplaceNode) { - subBuilder.MergeFrom(ReplaceNode); - } - input.ReadMessage(subBuilder); - ReplaceNode = subBuilder; - break; - } - case 322: { - global::ReplaceNodeStatus subBuilder = new global::ReplaceNodeStatus(); - if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { - subBuilder.MergeFrom(ReplaceNodeStatus); - } - input.ReadMessage(subBuilder); - ReplaceNodeStatus = subBuilder; - break; - } - case 330: { - global::ShiftPreset subBuilder = new global::ShiftPreset(); - if (typeCase_ == TypeOneofCase.ShiftPreset) { - subBuilder.MergeFrom(ShiftPreset); - } - input.ReadMessage(subBuilder); - ShiftPreset = subBuilder; - break; - } - case 338: { - global::ShiftPresetStatus subBuilder = new global::ShiftPresetStatus(); - if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { - subBuilder.MergeFrom(ShiftPresetStatus); - } - input.ReadMessage(subBuilder); - ShiftPresetStatus = subBuilder; - break; - } - case 346: { - global::SwapPreset subBuilder = new global::SwapPreset(); - if (typeCase_ == TypeOneofCase.SwapPreset) { - subBuilder.MergeFrom(SwapPreset); - } - input.ReadMessage(subBuilder); - SwapPreset = subBuilder; - break; - } - case 354: { - global::SwapPresetStatus subBuilder = new global::SwapPresetStatus(); - if (typeCase_ == TypeOneofCase.SwapPresetStatus) { - subBuilder.MergeFrom(SwapPresetStatus); - } - input.ReadMessage(subBuilder); - SwapPresetStatus = subBuilder; - break; - } - case 362: { - global::CurrentPresetSet subBuilder = new global::CurrentPresetSet(); - if (typeCase_ == TypeOneofCase.CurrentPresetSet) { - subBuilder.MergeFrom(CurrentPresetSet); - } - input.ReadMessage(subBuilder); - CurrentPresetSet = subBuilder; - break; - } - case 370: { - global::CurrentLoadedPresetIndexBypassStatus subBuilder = new global::CurrentLoadedPresetIndexBypassStatus(); - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { - subBuilder.MergeFrom(CurrentLoadedPresetIndexBypassStatus); - } - input.ReadMessage(subBuilder); - CurrentLoadedPresetIndexBypassStatus = subBuilder; - break; - } - case 378: { - global::CurrentDisplayedPresetIndexStatus subBuilder = new global::CurrentDisplayedPresetIndexStatus(); - if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { - subBuilder.MergeFrom(CurrentDisplayedPresetIndexStatus); - } - input.ReadMessage(subBuilder); - CurrentDisplayedPresetIndexStatus = subBuilder; - break; - } - case 402: { - global::PresetSavedStatus subBuilder = new global::PresetSavedStatus(); - if (typeCase_ == TypeOneofCase.PresetSavedStatus) { - subBuilder.MergeFrom(PresetSavedStatus); - } - input.ReadMessage(subBuilder); - PresetSavedStatus = subBuilder; - break; - } - case 410: { - global::ClearPreset subBuilder = new global::ClearPreset(); - if (typeCase_ == TypeOneofCase.ClearPreset) { - subBuilder.MergeFrom(ClearPreset); - } - input.ReadMessage(subBuilder); - ClearPreset = subBuilder; - break; - } - case 418: { - global::ClearPresetStatus subBuilder = new global::ClearPresetStatus(); - if (typeCase_ == TypeOneofCase.ClearPresetStatus) { - subBuilder.MergeFrom(ClearPresetStatus); - } - input.ReadMessage(subBuilder); - ClearPresetStatus = subBuilder; - break; - } - case 426: { - global::SaveCurrentPreset subBuilder = new global::SaveCurrentPreset(); - if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { - subBuilder.MergeFrom(SaveCurrentPreset); - } - input.ReadMessage(subBuilder); - SaveCurrentPreset = subBuilder; - break; - } - case 434: { - global::SaveCurrentPresetTo subBuilder = new global::SaveCurrentPresetTo(); - if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { - subBuilder.MergeFrom(SaveCurrentPresetTo); - } - input.ReadMessage(subBuilder); - SaveCurrentPresetTo = subBuilder; - break; - } - case 442: { - global::SavePresetAs subBuilder = new global::SavePresetAs(); - if (typeCase_ == TypeOneofCase.SavePresetAs) { - subBuilder.MergeFrom(SavePresetAs); - } - input.ReadMessage(subBuilder); - SavePresetAs = subBuilder; - break; - } - case 450: { - global::NewPresetSavedStatus subBuilder = new global::NewPresetSavedStatus(); - if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { - subBuilder.MergeFrom(NewPresetSavedStatus); - } - input.ReadMessage(subBuilder); - NewPresetSavedStatus = subBuilder; - break; - } - case 458: { - global::RenamePresetAt subBuilder = new global::RenamePresetAt(); - if (typeCase_ == TypeOneofCase.RenamePresetAt) { - subBuilder.MergeFrom(RenamePresetAt); - } - input.ReadMessage(subBuilder); - RenamePresetAt = subBuilder; - break; - } - case 466: { - global::AuditionPreset subBuilder = new global::AuditionPreset(); - if (typeCase_ == TypeOneofCase.AuditionPreset) { - subBuilder.MergeFrom(AuditionPreset); - } - input.ReadMessage(subBuilder); - AuditionPreset = subBuilder; - break; - } - case 474: { - global::AuditionPresetStatus subBuilder = new global::AuditionPresetStatus(); - if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { - subBuilder.MergeFrom(AuditionPresetStatus); - } - input.ReadMessage(subBuilder); - AuditionPresetStatus = subBuilder; - break; - } - case 482: { - global::ExitAuditionPreset subBuilder = new global::ExitAuditionPreset(); - if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { - subBuilder.MergeFrom(ExitAuditionPreset); - } - input.ReadMessage(subBuilder); - ExitAuditionPreset = subBuilder; - break; - } - case 490: { - global::ExitAuditionPresetStatus subBuilder = new global::ExitAuditionPresetStatus(); - if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { - subBuilder.MergeFrom(ExitAuditionPresetStatus); - } - input.ReadMessage(subBuilder); - ExitAuditionPresetStatus = subBuilder; - break; - } - case 498: { - global::AuditionStateRequest subBuilder = new global::AuditionStateRequest(); - if (typeCase_ == TypeOneofCase.AuditionStateRequest) { - subBuilder.MergeFrom(AuditionStateRequest); - } - input.ReadMessage(subBuilder); - AuditionStateRequest = subBuilder; - break; - } - case 506: { - global::AuditionStateStatus subBuilder = new global::AuditionStateStatus(); - if (typeCase_ == TypeOneofCase.AuditionStateStatus) { - subBuilder.MergeFrom(AuditionStateStatus); - } - input.ReadMessage(subBuilder); - AuditionStateStatus = subBuilder; - break; - } - case 802: { - global::ProductIdentificationStatus subBuilder = new global::ProductIdentificationStatus(); - if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { - subBuilder.MergeFrom(ProductIdentificationStatus); - } - input.ReadMessage(subBuilder); - ProductIdentificationStatus = subBuilder; - break; - } - case 810: { - global::ProductIdentificationRequest subBuilder = new global::ProductIdentificationRequest(); - if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { - subBuilder.MergeFrom(ProductIdentificationRequest); - } - input.ReadMessage(subBuilder); - ProductIdentificationRequest = subBuilder; - break; - } - case 818: { - global::FirmwareVersionRequest subBuilder = new global::FirmwareVersionRequest(); - if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { - subBuilder.MergeFrom(FirmwareVersionRequest); - } - input.ReadMessage(subBuilder); - FirmwareVersionRequest = subBuilder; - break; - } - case 826: { - global::FirmwareVersionStatus subBuilder = new global::FirmwareVersionStatus(); - if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { - subBuilder.MergeFrom(FirmwareVersionStatus); - } - input.ReadMessage(subBuilder); - FirmwareVersionStatus = subBuilder; - break; - } - case 834: { - global::CurrentPresetRequest subBuilder = new global::CurrentPresetRequest(); - if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { - subBuilder.MergeFrom(CurrentPresetRequest); - } - input.ReadMessage(subBuilder); - CurrentPresetRequest = subBuilder; - break; - } - case 842: { - global::RetrievePreset subBuilder = new global::RetrievePreset(); - if (typeCase_ == TypeOneofCase.RetrievePreset) { - subBuilder.MergeFrom(RetrievePreset); - } - input.ReadMessage(subBuilder); - RetrievePreset = subBuilder; - break; - } - case 850: { - global::UsbGainRequest subBuilder = new global::UsbGainRequest(); - if (typeCase_ == TypeOneofCase.UsbGainRequest) { - subBuilder.MergeFrom(UsbGainRequest); - } - input.ReadMessage(subBuilder); - UsbGainRequest = subBuilder; - break; - } - case 858: { - global::UsbGainStatus subBuilder = new global::UsbGainStatus(); - if (typeCase_ == TypeOneofCase.UsbGainStatus) { - subBuilder.MergeFrom(UsbGainStatus); - } - input.ReadMessage(subBuilder); - UsbGainStatus = subBuilder; - break; - } - case 866: { - global::QASlotsRequest subBuilder = new global::QASlotsRequest(); - if (typeCase_ == TypeOneofCase.QASlotsRequest) { - subBuilder.MergeFrom(QASlotsRequest); - } - input.ReadMessage(subBuilder); - QASlotsRequest = subBuilder; - break; - } - case 874: { - global::QASlotsStatus subBuilder = new global::QASlotsStatus(); - if (typeCase_ == TypeOneofCase.QASlotsStatus) { - subBuilder.MergeFrom(QASlotsStatus); - } - input.ReadMessage(subBuilder); - QASlotsStatus = subBuilder; - break; - } - case 882: { - global::LineOutGainRequest subBuilder = new global::LineOutGainRequest(); - if (typeCase_ == TypeOneofCase.LineOutGainRequest) { - subBuilder.MergeFrom(LineOutGainRequest); - } - input.ReadMessage(subBuilder); - LineOutGainRequest = subBuilder; - break; - } - case 890: { - global::LineOutGainStatus subBuilder = new global::LineOutGainStatus(); - if (typeCase_ == TypeOneofCase.LineOutGainStatus) { - subBuilder.MergeFrom(LineOutGainStatus); - } - input.ReadMessage(subBuilder); - LineOutGainStatus = subBuilder; - break; - } - case 906: { - global::ModalStatusMessage subBuilder = new global::ModalStatusMessage(); - if (typeCase_ == TypeOneofCase.ModalStatusMessage) { - subBuilder.MergeFrom(ModalStatusMessage); - } - input.ReadMessage(subBuilder); - ModalStatusMessage = subBuilder; - break; - } - case 914: { - global::UsbGainSet subBuilder = new global::UsbGainSet(); - if (typeCase_ == TypeOneofCase.UsbGainSet) { - subBuilder.MergeFrom(UsbGainSet); - } - input.ReadMessage(subBuilder); - UsbGainSet = subBuilder; - break; - } - case 922: { - global::LineOutGainSet subBuilder = new global::LineOutGainSet(); - if (typeCase_ == TypeOneofCase.LineOutGainSet) { - subBuilder.MergeFrom(LineOutGainSet); - } - input.ReadMessage(subBuilder); - LineOutGainSet = subBuilder; - break; - } - case 930: { - global::QASlotsSet subBuilder = new global::QASlotsSet(); - if (typeCase_ == TypeOneofCase.QASlotsSet) { - subBuilder.MergeFrom(QASlotsSet); - } - input.ReadMessage(subBuilder); - QASlotsSet = subBuilder; - break; - } - case 1602: { - global::UnsupportedMessageStatus subBuilder = new global::UnsupportedMessageStatus(); - if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { - subBuilder.MergeFrom(UnsupportedMessageStatus); - } - input.ReadMessage(subBuilder); - UnsupportedMessageStatus = subBuilder; - break; - } - case 1610: { - global::Heartbeat subBuilder = new global::Heartbeat(); - if (typeCase_ == TypeOneofCase.Heartbeat) { - subBuilder.MergeFrom(Heartbeat); - } - input.ReadMessage(subBuilder); - Heartbeat = subBuilder; - break; - } - case 1618: { - global::ConnectionStatusRequest subBuilder = new global::ConnectionStatusRequest(); - if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { - subBuilder.MergeFrom(ConnectionStatusRequest); - } - input.ReadMessage(subBuilder); - ConnectionStatusRequest = subBuilder; - break; - } - case 1626: { - global::ConnectionStatus subBuilder = new global::ConnectionStatus(); - if (typeCase_ == TypeOneofCase.ConnectionStatus) { - subBuilder.MergeFrom(ConnectionStatus); - } - input.ReadMessage(subBuilder); - ConnectionStatus = subBuilder; - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - ResponseType = (global::ResponseType) input.ReadEnum(); - break; - } - case 18: { - global::IndexPot subBuilder = new global::IndexPot(); - if (typeCase_ == TypeOneofCase.IndexPot) { - subBuilder.MergeFrom(IndexPot); - } - input.ReadMessage(subBuilder); - IndexPot = subBuilder; - break; - } - case 26: { - global::IndexButton subBuilder = new global::IndexButton(); - if (typeCase_ == TypeOneofCase.IndexButton) { - subBuilder.MergeFrom(IndexButton); - } - input.ReadMessage(subBuilder); - IndexButton = subBuilder; - break; - } - case 34: { - global::IndexEncoder subBuilder = new global::IndexEncoder(); - if (typeCase_ == TypeOneofCase.IndexEncoder) { - subBuilder.MergeFrom(IndexEncoder); - } - input.ReadMessage(subBuilder); - IndexEncoder = subBuilder; - break; - } - case 42: { - global::ActiveDisplay subBuilder = new global::ActiveDisplay(); - if (typeCase_ == TypeOneofCase.ActiveDisplay) { - subBuilder.MergeFrom(ActiveDisplay); - } - input.ReadMessage(subBuilder); - ActiveDisplay = subBuilder; - break; - } - case 50: { - global::ProcessorUtilizationRequest subBuilder = new global::ProcessorUtilizationRequest(); - if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { - subBuilder.MergeFrom(ProcessorUtilizationRequest); - } - input.ReadMessage(subBuilder); - ProcessorUtilizationRequest = subBuilder; - break; - } - case 58: { - global::ProcessorUtilization subBuilder = new global::ProcessorUtilization(); - if (typeCase_ == TypeOneofCase.ProcessorUtilization) { - subBuilder.MergeFrom(ProcessorUtilization); - } - input.ReadMessage(subBuilder); - ProcessorUtilization = subBuilder; - break; - } - case 66: { - global::MemoryUsageRequest subBuilder = new global::MemoryUsageRequest(); - if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { - subBuilder.MergeFrom(MemoryUsageRequest); - } - input.ReadMessage(subBuilder); - MemoryUsageRequest = subBuilder; - break; - } - case 74: { - global::MemoryUsageStatus subBuilder = new global::MemoryUsageStatus(); - if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { - subBuilder.MergeFrom(MemoryUsageStatus); - } - input.ReadMessage(subBuilder); - MemoryUsageStatus = subBuilder; - break; - } - case 82: { - global::PresetJSONMessageRequest_LT subBuilder = new global::PresetJSONMessageRequest_LT(); - if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { - subBuilder.MergeFrom(PresetJSONMessageRequestLT); - } - input.ReadMessage(subBuilder); - PresetJSONMessageRequestLT = subBuilder; - break; - } - case 90: { - global::FrameBufferMessageRequest subBuilder = new global::FrameBufferMessageRequest(); - if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { - subBuilder.MergeFrom(FrameBufferMessageRequest); - } - input.ReadMessage(subBuilder); - FrameBufferMessageRequest = subBuilder; - break; - } - case 98: { - global::FrameBufferMessage subBuilder = new global::FrameBufferMessage(); - if (typeCase_ == TypeOneofCase.FrameBufferMessage) { - subBuilder.MergeFrom(FrameBufferMessage); - } - input.ReadMessage(subBuilder); - FrameBufferMessage = subBuilder; - break; - } - case 106: { - global::LT4FootswitchModeRequest subBuilder = new global::LT4FootswitchModeRequest(); - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { - subBuilder.MergeFrom(Lt4FootswitchModeRequest); - } - input.ReadMessage(subBuilder); - Lt4FootswitchModeRequest = subBuilder; - break; - } - case 114: { - global::LT4FootswitchModeStatus subBuilder = new global::LT4FootswitchModeStatus(); - if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { - subBuilder.MergeFrom(Lt4FootswitchModeStatus); - } - input.ReadMessage(subBuilder); - Lt4FootswitchModeStatus = subBuilder; - break; - } - case 122: { - global::LoadPreset_TestSuite subBuilder = new global::LoadPreset_TestSuite(); - if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { - subBuilder.MergeFrom(LoadPresetTestSuite); - } - input.ReadMessage(subBuilder); - LoadPresetTestSuite = subBuilder; - break; - } - case 242: { - global::LoopbackTest subBuilder = new global::LoopbackTest(); - if (typeCase_ == TypeOneofCase.LoopbackTest) { - subBuilder.MergeFrom(LoopbackTest); - } - input.ReadMessage(subBuilder); - LoopbackTest = subBuilder; - break; - } - case 250: { - global::PresetJSONMessage subBuilder = new global::PresetJSONMessage(); - if (typeCase_ == TypeOneofCase.PresetJSONMessage) { - subBuilder.MergeFrom(PresetJSONMessage); - } - input.ReadMessage(subBuilder); - PresetJSONMessage = subBuilder; - break; - } - case 258: { - global::CurrentPresetStatus subBuilder = new global::CurrentPresetStatus(); - if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { - subBuilder.MergeFrom(CurrentPresetStatus); - } - input.ReadMessage(subBuilder); - CurrentPresetStatus = subBuilder; - break; - } - case 266: { - global::LoadPreset subBuilder = new global::LoadPreset(); - if (typeCase_ == TypeOneofCase.LoadPreset) { - subBuilder.MergeFrom(LoadPreset); - } - input.ReadMessage(subBuilder); - LoadPreset = subBuilder; - break; - } - case 274: { - global::SetDspUnitParameter subBuilder = new global::SetDspUnitParameter(); - if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { - subBuilder.MergeFrom(SetDspUnitParameter); - } - input.ReadMessage(subBuilder); - SetDspUnitParameter = subBuilder; - break; - } - case 282: { - global::SetDspUnitParameterStatus subBuilder = new global::SetDspUnitParameterStatus(); - if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { - subBuilder.MergeFrom(SetDspUnitParameterStatus); - } - input.ReadMessage(subBuilder); - SetDspUnitParameterStatus = subBuilder; - break; - } - case 290: { - global::DspUnitParameterStatus subBuilder = new global::DspUnitParameterStatus(); - if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { - subBuilder.MergeFrom(DspUnitParameterStatus); - } - input.ReadMessage(subBuilder); - DspUnitParameterStatus = subBuilder; - break; - } - case 298: { - global::CurrentLoadedPresetIndexStatus subBuilder = new global::CurrentLoadedPresetIndexStatus(); - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { - subBuilder.MergeFrom(CurrentLoadedPresetIndexStatus); - } - input.ReadMessage(subBuilder); - CurrentLoadedPresetIndexStatus = subBuilder; - break; - } - case 306: { - global::PresetEditedStatus subBuilder = new global::PresetEditedStatus(); - if (typeCase_ == TypeOneofCase.PresetEditedStatus) { - subBuilder.MergeFrom(PresetEditedStatus); - } - input.ReadMessage(subBuilder); - PresetEditedStatus = subBuilder; - break; - } - case 314: { - global::ReplaceNode subBuilder = new global::ReplaceNode(); - if (typeCase_ == TypeOneofCase.ReplaceNode) { - subBuilder.MergeFrom(ReplaceNode); - } - input.ReadMessage(subBuilder); - ReplaceNode = subBuilder; - break; - } - case 322: { - global::ReplaceNodeStatus subBuilder = new global::ReplaceNodeStatus(); - if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { - subBuilder.MergeFrom(ReplaceNodeStatus); - } - input.ReadMessage(subBuilder); - ReplaceNodeStatus = subBuilder; - break; - } - case 330: { - global::ShiftPreset subBuilder = new global::ShiftPreset(); - if (typeCase_ == TypeOneofCase.ShiftPreset) { - subBuilder.MergeFrom(ShiftPreset); - } - input.ReadMessage(subBuilder); - ShiftPreset = subBuilder; - break; - } - case 338: { - global::ShiftPresetStatus subBuilder = new global::ShiftPresetStatus(); - if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { - subBuilder.MergeFrom(ShiftPresetStatus); - } - input.ReadMessage(subBuilder); - ShiftPresetStatus = subBuilder; - break; - } - case 346: { - global::SwapPreset subBuilder = new global::SwapPreset(); - if (typeCase_ == TypeOneofCase.SwapPreset) { - subBuilder.MergeFrom(SwapPreset); - } - input.ReadMessage(subBuilder); - SwapPreset = subBuilder; - break; - } - case 354: { - global::SwapPresetStatus subBuilder = new global::SwapPresetStatus(); - if (typeCase_ == TypeOneofCase.SwapPresetStatus) { - subBuilder.MergeFrom(SwapPresetStatus); - } - input.ReadMessage(subBuilder); - SwapPresetStatus = subBuilder; - break; - } - case 362: { - global::CurrentPresetSet subBuilder = new global::CurrentPresetSet(); - if (typeCase_ == TypeOneofCase.CurrentPresetSet) { - subBuilder.MergeFrom(CurrentPresetSet); - } - input.ReadMessage(subBuilder); - CurrentPresetSet = subBuilder; - break; - } - case 370: { - global::CurrentLoadedPresetIndexBypassStatus subBuilder = new global::CurrentLoadedPresetIndexBypassStatus(); - if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { - subBuilder.MergeFrom(CurrentLoadedPresetIndexBypassStatus); - } - input.ReadMessage(subBuilder); - CurrentLoadedPresetIndexBypassStatus = subBuilder; - break; - } - case 378: { - global::CurrentDisplayedPresetIndexStatus subBuilder = new global::CurrentDisplayedPresetIndexStatus(); - if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { - subBuilder.MergeFrom(CurrentDisplayedPresetIndexStatus); - } - input.ReadMessage(subBuilder); - CurrentDisplayedPresetIndexStatus = subBuilder; - break; - } - case 402: { - global::PresetSavedStatus subBuilder = new global::PresetSavedStatus(); - if (typeCase_ == TypeOneofCase.PresetSavedStatus) { - subBuilder.MergeFrom(PresetSavedStatus); - } - input.ReadMessage(subBuilder); - PresetSavedStatus = subBuilder; - break; - } - case 410: { - global::ClearPreset subBuilder = new global::ClearPreset(); - if (typeCase_ == TypeOneofCase.ClearPreset) { - subBuilder.MergeFrom(ClearPreset); - } - input.ReadMessage(subBuilder); - ClearPreset = subBuilder; - break; - } - case 418: { - global::ClearPresetStatus subBuilder = new global::ClearPresetStatus(); - if (typeCase_ == TypeOneofCase.ClearPresetStatus) { - subBuilder.MergeFrom(ClearPresetStatus); - } - input.ReadMessage(subBuilder); - ClearPresetStatus = subBuilder; - break; - } - case 426: { - global::SaveCurrentPreset subBuilder = new global::SaveCurrentPreset(); - if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { - subBuilder.MergeFrom(SaveCurrentPreset); - } - input.ReadMessage(subBuilder); - SaveCurrentPreset = subBuilder; - break; - } - case 434: { - global::SaveCurrentPresetTo subBuilder = new global::SaveCurrentPresetTo(); - if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { - subBuilder.MergeFrom(SaveCurrentPresetTo); - } - input.ReadMessage(subBuilder); - SaveCurrentPresetTo = subBuilder; - break; - } - case 442: { - global::SavePresetAs subBuilder = new global::SavePresetAs(); - if (typeCase_ == TypeOneofCase.SavePresetAs) { - subBuilder.MergeFrom(SavePresetAs); - } - input.ReadMessage(subBuilder); - SavePresetAs = subBuilder; - break; - } - case 450: { - global::NewPresetSavedStatus subBuilder = new global::NewPresetSavedStatus(); - if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { - subBuilder.MergeFrom(NewPresetSavedStatus); - } - input.ReadMessage(subBuilder); - NewPresetSavedStatus = subBuilder; - break; - } - case 458: { - global::RenamePresetAt subBuilder = new global::RenamePresetAt(); - if (typeCase_ == TypeOneofCase.RenamePresetAt) { - subBuilder.MergeFrom(RenamePresetAt); - } - input.ReadMessage(subBuilder); - RenamePresetAt = subBuilder; - break; - } - case 466: { - global::AuditionPreset subBuilder = new global::AuditionPreset(); - if (typeCase_ == TypeOneofCase.AuditionPreset) { - subBuilder.MergeFrom(AuditionPreset); - } - input.ReadMessage(subBuilder); - AuditionPreset = subBuilder; - break; - } - case 474: { - global::AuditionPresetStatus subBuilder = new global::AuditionPresetStatus(); - if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { - subBuilder.MergeFrom(AuditionPresetStatus); - } - input.ReadMessage(subBuilder); - AuditionPresetStatus = subBuilder; - break; - } - case 482: { - global::ExitAuditionPreset subBuilder = new global::ExitAuditionPreset(); - if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { - subBuilder.MergeFrom(ExitAuditionPreset); - } - input.ReadMessage(subBuilder); - ExitAuditionPreset = subBuilder; - break; - } - case 490: { - global::ExitAuditionPresetStatus subBuilder = new global::ExitAuditionPresetStatus(); - if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { - subBuilder.MergeFrom(ExitAuditionPresetStatus); - } - input.ReadMessage(subBuilder); - ExitAuditionPresetStatus = subBuilder; - break; - } - case 498: { - global::AuditionStateRequest subBuilder = new global::AuditionStateRequest(); - if (typeCase_ == TypeOneofCase.AuditionStateRequest) { - subBuilder.MergeFrom(AuditionStateRequest); - } - input.ReadMessage(subBuilder); - AuditionStateRequest = subBuilder; - break; - } - case 506: { - global::AuditionStateStatus subBuilder = new global::AuditionStateStatus(); - if (typeCase_ == TypeOneofCase.AuditionStateStatus) { - subBuilder.MergeFrom(AuditionStateStatus); - } - input.ReadMessage(subBuilder); - AuditionStateStatus = subBuilder; - break; - } - case 802: { - global::ProductIdentificationStatus subBuilder = new global::ProductIdentificationStatus(); - if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { - subBuilder.MergeFrom(ProductIdentificationStatus); - } - input.ReadMessage(subBuilder); - ProductIdentificationStatus = subBuilder; - break; - } - case 810: { - global::ProductIdentificationRequest subBuilder = new global::ProductIdentificationRequest(); - if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { - subBuilder.MergeFrom(ProductIdentificationRequest); - } - input.ReadMessage(subBuilder); - ProductIdentificationRequest = subBuilder; - break; - } - case 818: { - global::FirmwareVersionRequest subBuilder = new global::FirmwareVersionRequest(); - if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { - subBuilder.MergeFrom(FirmwareVersionRequest); - } - input.ReadMessage(subBuilder); - FirmwareVersionRequest = subBuilder; - break; - } - case 826: { - global::FirmwareVersionStatus subBuilder = new global::FirmwareVersionStatus(); - if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { - subBuilder.MergeFrom(FirmwareVersionStatus); - } - input.ReadMessage(subBuilder); - FirmwareVersionStatus = subBuilder; - break; - } - case 834: { - global::CurrentPresetRequest subBuilder = new global::CurrentPresetRequest(); - if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { - subBuilder.MergeFrom(CurrentPresetRequest); - } - input.ReadMessage(subBuilder); - CurrentPresetRequest = subBuilder; - break; - } - case 842: { - global::RetrievePreset subBuilder = new global::RetrievePreset(); - if (typeCase_ == TypeOneofCase.RetrievePreset) { - subBuilder.MergeFrom(RetrievePreset); - } - input.ReadMessage(subBuilder); - RetrievePreset = subBuilder; - break; - } - case 850: { - global::UsbGainRequest subBuilder = new global::UsbGainRequest(); - if (typeCase_ == TypeOneofCase.UsbGainRequest) { - subBuilder.MergeFrom(UsbGainRequest); - } - input.ReadMessage(subBuilder); - UsbGainRequest = subBuilder; - break; - } - case 858: { - global::UsbGainStatus subBuilder = new global::UsbGainStatus(); - if (typeCase_ == TypeOneofCase.UsbGainStatus) { - subBuilder.MergeFrom(UsbGainStatus); - } - input.ReadMessage(subBuilder); - UsbGainStatus = subBuilder; - break; - } - case 866: { - global::QASlotsRequest subBuilder = new global::QASlotsRequest(); - if (typeCase_ == TypeOneofCase.QASlotsRequest) { - subBuilder.MergeFrom(QASlotsRequest); - } - input.ReadMessage(subBuilder); - QASlotsRequest = subBuilder; - break; - } - case 874: { - global::QASlotsStatus subBuilder = new global::QASlotsStatus(); - if (typeCase_ == TypeOneofCase.QASlotsStatus) { - subBuilder.MergeFrom(QASlotsStatus); - } - input.ReadMessage(subBuilder); - QASlotsStatus = subBuilder; - break; - } - case 882: { - global::LineOutGainRequest subBuilder = new global::LineOutGainRequest(); - if (typeCase_ == TypeOneofCase.LineOutGainRequest) { - subBuilder.MergeFrom(LineOutGainRequest); - } - input.ReadMessage(subBuilder); - LineOutGainRequest = subBuilder; - break; - } - case 890: { - global::LineOutGainStatus subBuilder = new global::LineOutGainStatus(); - if (typeCase_ == TypeOneofCase.LineOutGainStatus) { - subBuilder.MergeFrom(LineOutGainStatus); - } - input.ReadMessage(subBuilder); - LineOutGainStatus = subBuilder; - break; - } - case 906: { - global::ModalStatusMessage subBuilder = new global::ModalStatusMessage(); - if (typeCase_ == TypeOneofCase.ModalStatusMessage) { - subBuilder.MergeFrom(ModalStatusMessage); - } - input.ReadMessage(subBuilder); - ModalStatusMessage = subBuilder; - break; - } - case 914: { - global::UsbGainSet subBuilder = new global::UsbGainSet(); - if (typeCase_ == TypeOneofCase.UsbGainSet) { - subBuilder.MergeFrom(UsbGainSet); - } - input.ReadMessage(subBuilder); - UsbGainSet = subBuilder; - break; - } - case 922: { - global::LineOutGainSet subBuilder = new global::LineOutGainSet(); - if (typeCase_ == TypeOneofCase.LineOutGainSet) { - subBuilder.MergeFrom(LineOutGainSet); - } - input.ReadMessage(subBuilder); - LineOutGainSet = subBuilder; - break; - } - case 930: { - global::QASlotsSet subBuilder = new global::QASlotsSet(); - if (typeCase_ == TypeOneofCase.QASlotsSet) { - subBuilder.MergeFrom(QASlotsSet); - } - input.ReadMessage(subBuilder); - QASlotsSet = subBuilder; - break; - } - case 1602: { - global::UnsupportedMessageStatus subBuilder = new global::UnsupportedMessageStatus(); - if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { - subBuilder.MergeFrom(UnsupportedMessageStatus); - } - input.ReadMessage(subBuilder); - UnsupportedMessageStatus = subBuilder; - break; - } - case 1610: { - global::Heartbeat subBuilder = new global::Heartbeat(); - if (typeCase_ == TypeOneofCase.Heartbeat) { - subBuilder.MergeFrom(Heartbeat); - } - input.ReadMessage(subBuilder); - Heartbeat = subBuilder; - break; - } - case 1618: { - global::ConnectionStatusRequest subBuilder = new global::ConnectionStatusRequest(); - if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { - subBuilder.MergeFrom(ConnectionStatusRequest); - } - input.ReadMessage(subBuilder); - ConnectionStatusRequest = subBuilder; - break; - } - case 1626: { - global::ConnectionStatus subBuilder = new global::ConnectionStatus(); - if (typeCase_ == TypeOneofCase.ConnectionStatus) { - subBuilder.MergeFrom(ConnectionStatus); - } - input.ReadMessage(subBuilder); - ConnectionStatus = subBuilder; - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: FenderMessageLT.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from FenderMessageLT.proto +public static partial class FenderMessageLTReflection { + + #region Descriptor + /// File descriptor for FenderMessageLT.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FenderMessageLTReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChVGZW5kZXJNZXNzYWdlTFQucHJvdG8aDkluZGV4UG90LnByb3RvGhFJbmRl", + "eEJ1dHRvbi5wcm90bxoSSW5kZXhFbmNvZGVyLnByb3RvGhBMb2FkUHJlc2V0", + "LnByb3RvGiFQcmVzZXRKU09OTWVzc2FnZVJlcXVlc3RfTFQucHJvdG8aF1By", + "ZXNldEpTT05NZXNzYWdlLnByb3RvGiFQcm9jZXNzb3JVdGlsaXphdGlvblJl", + "cXVlc3QucHJvdG8aGlByb2Nlc3NvclV0aWxpemF0aW9uLnByb3RvGh9GcmFt", + "ZUJ1ZmZlck1lc3NhZ2VSZXF1ZXN0LnByb3RvGhhGcmFtZUJ1ZmZlck1lc3Nh", + "Z2UucHJvdG8aE0FjdGl2ZURpc3BsYXkucHJvdG8aF01lbW9yeVVzYWdlU3Rh", + "dHVzLnByb3RvGhhNZW1vcnlVc2FnZVJlcXVlc3QucHJvdG8aEkxvb3BiYWNr", + "VGVzdC5wcm90bxokQ3VycmVudExvYWRlZFByZXNldEluZGV4U3RhdHVzLnBy", + "b3RvGhlTZXREc3BVbml0UGFyYW1ldGVyLnByb3RvGhFBdWRpb1N0YXR1cy5w", + "cm90bxofU2V0RHNwVW5pdFBhcmFtZXRlclN0YXR1cy5wcm90bxocRHNwVW5p", + "dFBhcmFtZXRlclN0YXR1cy5wcm90bxoRUmVwbGFjZU5vZGUucHJvdG8aF1Jl", + "cGxhY2VOb2RlU3RhdHVzLnByb3RvGiJQcm9kdWN0SWRlbnRpZmljYXRpb25S", + "ZXF1ZXN0LnByb3RvGiFQcm9kdWN0SWRlbnRpZmljYXRpb25TdGF0dXMucHJv", + "dG8aHEZpcm13YXJlVmVyc2lvblJlcXVlc3QucHJvdG8aG0Zpcm13YXJlVmVy", + "c2lvblN0YXR1cy5wcm90bxoaQ3VycmVudFByZXNldFJlcXVlc3QucHJvdG8a", + "FkN1cnJlbnRQcmVzZXRTZXQucHJvdG8aGUN1cnJlbnRQcmVzZXRTdGF0dXMu", + "cHJvdG8aFFJldHJpZXZlUHJlc2V0LnByb3RvGhRVc2JHYWluUmVxdWVzdC5w", + "cm90bxoTVXNiR2FpblN0YXR1cy5wcm90bxoQVXNiR2FpblNldC5wcm90bxoY", + "TGluZU91dEdhaW5SZXF1ZXN0LnByb3RvGhdMaW5lT3V0R2FpblN0YXR1cy5w", + "cm90bxoUTGluZU91dEdhaW5TZXQucHJvdG8aFFFBU2xvdHNSZXF1ZXN0LnBy", + "b3RvGhNRQVNsb3RzU3RhdHVzLnByb3RvGhBRQVNsb3RzU2V0LnByb3RvGhdQ", + "cmVzZXRTYXZlZFN0YXR1cy5wcm90bxoYTW9kYWxTdGF0dXNNZXNzYWdlLnBy", + "b3RvGh5VbnN1cHBvcnRlZE1lc3NhZ2VTdGF0dXMucHJvdG8aEUNsZWFyUHJl", + "c2V0LnByb3RvGhdDbGVhclByZXNldFN0YXR1cy5wcm90bxoXU2F2ZUN1cnJl", + "bnRQcmVzZXQucHJvdG8aGVNhdmVDdXJyZW50UHJlc2V0VG8ucHJvdG8aElNh", + "dmVQcmVzZXRBcy5wcm90bxoaTmV3UHJlc2V0U2F2ZWRTdGF0dXMucHJvdG8a", + "FFJlbmFtZVByZXNldEF0LnByb3RvGhRBdWRpdGlvblByZXNldC5wcm90bxoa", + "QXVkaXRpb25QcmVzZXRTdGF0dXMucHJvdG8aGEV4aXRBdWRpdGlvblByZXNl", + "dC5wcm90bxoeRXhpdEF1ZGl0aW9uUHJlc2V0U3RhdHVzLnByb3RvGhpBdWRp", + "dGlvblN0YXRlUmVxdWVzdC5wcm90bxoZQXVkaXRpb25TdGF0ZVN0YXR1cy5w", + "cm90bxoeTFQ0Rm9vdHN3aXRjaE1vZGVSZXF1ZXN0LnByb3RvGh1MVDRGb290", + "c3dpdGNoTW9kZVN0YXR1cy5wcm90bxoPSGVhcnRiZWF0LnByb3RvGhFTaGlm", + "dFByZXNldC5wcm90bxoXU2hpZnRQcmVzZXRTdGF0dXMucHJvdG8aEFN3YXBQ", + "cmVzZXQucHJvdG8aFlN3YXBQcmVzZXRTdGF0dXMucHJvdG8aFkNvbm5lY3Rp", + "b25TdGF0dXMucHJvdG8aHUNvbm5lY3Rpb25TdGF0dXNSZXF1ZXN0LnByb3Rv", + "GhpMb2FkUHJlc2V0X1Rlc3RTdWl0ZS5wcm90bxoqQ3VycmVudExvYWRlZFBy", + "ZXNldEluZGV4QnlwYXNzU3RhdHVzLnByb3RvGidDdXJyZW50RGlzcGxheWVk", + "UHJlc2V0SW5kZXhTdGF0dXMucHJvdG8i9xoKD0ZlbmRlck1lc3NhZ2VMVBIw", + "CgxyZXNwb25zZVR5cGUYASACKA4yDS5SZXNwb25zZVR5cGU6C1VOU09MSUNJ", + "VEVEEh0KCGluZGV4UG90GAIgASgLMgkuSW5kZXhQb3RIABIjCgtpbmRleEJ1", + "dHRvbhgDIAEoCzIMLkluZGV4QnV0dG9uSAASJQoMaW5kZXhFbmNvZGVyGAQg", + "ASgLMg0uSW5kZXhFbmNvZGVySAASJwoNYWN0aXZlRGlzcGxheRgFIAEoCzIO", + "LkFjdGl2ZURpc3BsYXlIABJDChtwcm9jZXNzb3JVdGlsaXphdGlvblJlcXVl", + "c3QYBiABKAsyHC5Qcm9jZXNzb3JVdGlsaXphdGlvblJlcXVlc3RIABI1ChRw", + "cm9jZXNzb3JVdGlsaXphdGlvbhgHIAEoCzIVLlByb2Nlc3NvclV0aWxpemF0", + "aW9uSAASMQoSbWVtb3J5VXNhZ2VSZXF1ZXN0GAggASgLMhMuTWVtb3J5VXNh", + "Z2VSZXF1ZXN0SAASLwoRbWVtb3J5VXNhZ2VTdGF0dXMYCSABKAsyEi5NZW1v", + "cnlVc2FnZVN0YXR1c0gAEkMKG3ByZXNldEpTT05NZXNzYWdlUmVxdWVzdF9M", + "VBgKIAEoCzIcLlByZXNldEpTT05NZXNzYWdlUmVxdWVzdF9MVEgAEj8KGWZy", + "YW1lQnVmZmVyTWVzc2FnZVJlcXVlc3QYCyABKAsyGi5GcmFtZUJ1ZmZlck1l", + "c3NhZ2VSZXF1ZXN0SAASMQoSZnJhbWVCdWZmZXJNZXNzYWdlGAwgASgLMhMu", + "RnJhbWVCdWZmZXJNZXNzYWdlSAASPQoYbHQ0Rm9vdHN3aXRjaE1vZGVSZXF1", + "ZXN0GA0gASgLMhkuTFQ0Rm9vdHN3aXRjaE1vZGVSZXF1ZXN0SAASOwoXbHQ0", + "Rm9vdHN3aXRjaE1vZGVTdGF0dXMYDiABKAsyGC5MVDRGb290c3dpdGNoTW9k", + "ZVN0YXR1c0gAEjUKFGxvYWRQcmVzZXRfVGVzdFN1aXRlGA8gASgLMhUuTG9h", + "ZFByZXNldF9UZXN0U3VpdGVIABIlCgxsb29wYmFja1Rlc3QYHiABKAsyDS5M", + "b29wYmFja1Rlc3RIABIvChFwcmVzZXRKU09OTWVzc2FnZRgfIAEoCzISLlBy", + "ZXNldEpTT05NZXNzYWdlSAASMwoTY3VycmVudFByZXNldFN0YXR1cxggIAEo", + "CzIULkN1cnJlbnRQcmVzZXRTdGF0dXNIABIhCgpsb2FkUHJlc2V0GCEgASgL", + "MgsuTG9hZFByZXNldEgAEjMKE3NldERzcFVuaXRQYXJhbWV0ZXIYIiABKAsy", + "FC5TZXREc3BVbml0UGFyYW1ldGVySAASPwoZc2V0RHNwVW5pdFBhcmFtZXRl", + "clN0YXR1cxgjIAEoCzIaLlNldERzcFVuaXRQYXJhbWV0ZXJTdGF0dXNIABI5", + "ChZkc3BVbml0UGFyYW1ldGVyU3RhdHVzGCQgASgLMhcuRHNwVW5pdFBhcmFt", + "ZXRlclN0YXR1c0gAEkkKHmN1cnJlbnRMb2FkZWRQcmVzZXRJbmRleFN0YXR1", + "cxglIAEoCzIfLkN1cnJlbnRMb2FkZWRQcmVzZXRJbmRleFN0YXR1c0gAEjEK", + "EnByZXNldEVkaXRlZFN0YXR1cxgmIAEoCzITLlByZXNldEVkaXRlZFN0YXR1", + "c0gAEiMKC3JlcGxhY2VOb2RlGCcgASgLMgwuUmVwbGFjZU5vZGVIABIvChFy", + "ZXBsYWNlTm9kZVN0YXR1cxgoIAEoCzISLlJlcGxhY2VOb2RlU3RhdHVzSAAS", + "IwoLc2hpZnRQcmVzZXQYKSABKAsyDC5TaGlmdFByZXNldEgAEi8KEXNoaWZ0", + "UHJlc2V0U3RhdHVzGCogASgLMhIuU2hpZnRQcmVzZXRTdGF0dXNIABIhCgpz", + "d2FwUHJlc2V0GCsgASgLMgsuU3dhcFByZXNldEgAEi0KEHN3YXBQcmVzZXRT", + "dGF0dXMYLCABKAsyES5Td2FwUHJlc2V0U3RhdHVzSAASLQoQY3VycmVudFBy", + "ZXNldFNldBgtIAEoCzIRLkN1cnJlbnRQcmVzZXRTZXRIABJVCiRjdXJyZW50", + "TG9hZGVkUHJlc2V0SW5kZXhCeXBhc3NTdGF0dXMYLiABKAsyJS5DdXJyZW50", + "TG9hZGVkUHJlc2V0SW5kZXhCeXBhc3NTdGF0dXNIABJPCiFjdXJyZW50RGlz", + "cGxheWVkUHJlc2V0SW5kZXhTdGF0dXMYLyABKAsyIi5DdXJyZW50RGlzcGxh", + "eWVkUHJlc2V0SW5kZXhTdGF0dXNIABIvChFwcmVzZXRTYXZlZFN0YXR1cxgy", + "IAEoCzISLlByZXNldFNhdmVkU3RhdHVzSAASIwoLY2xlYXJQcmVzZXQYMyAB", + "KAsyDC5DbGVhclByZXNldEgAEi8KEWNsZWFyUHJlc2V0U3RhdHVzGDQgASgL", + "MhIuQ2xlYXJQcmVzZXRTdGF0dXNIABIvChFzYXZlQ3VycmVudFByZXNldBg1", + "IAEoCzISLlNhdmVDdXJyZW50UHJlc2V0SAASMwoTc2F2ZUN1cnJlbnRQcmVz", + "ZXRUbxg2IAEoCzIULlNhdmVDdXJyZW50UHJlc2V0VG9IABIlCgxzYXZlUHJl", + "c2V0QXMYNyABKAsyDS5TYXZlUHJlc2V0QXNIABI1ChRuZXdQcmVzZXRTYXZl", + "ZFN0YXR1cxg4IAEoCzIVLk5ld1ByZXNldFNhdmVkU3RhdHVzSAASKQoOcmVu", + "YW1lUHJlc2V0QXQYOSABKAsyDy5SZW5hbWVQcmVzZXRBdEgAEikKDmF1ZGl0", + "aW9uUHJlc2V0GDogASgLMg8uQXVkaXRpb25QcmVzZXRIABI1ChRhdWRpdGlv", + "blByZXNldFN0YXR1cxg7IAEoCzIVLkF1ZGl0aW9uUHJlc2V0U3RhdHVzSAAS", + "MQoSZXhpdEF1ZGl0aW9uUHJlc2V0GDwgASgLMhMuRXhpdEF1ZGl0aW9uUHJl", + "c2V0SAASPQoYZXhpdEF1ZGl0aW9uUHJlc2V0U3RhdHVzGD0gASgLMhkuRXhp", + "dEF1ZGl0aW9uUHJlc2V0U3RhdHVzSAASNQoUYXVkaXRpb25TdGF0ZVJlcXVl", + "c3QYPiABKAsyFS5BdWRpdGlvblN0YXRlUmVxdWVzdEgAEjMKE2F1ZGl0aW9u", + "U3RhdGVTdGF0dXMYPyABKAsyFC5BdWRpdGlvblN0YXRlU3RhdHVzSAASQwob", + "cHJvZHVjdElkZW50aWZpY2F0aW9uU3RhdHVzGGQgASgLMhwuUHJvZHVjdElk", + "ZW50aWZpY2F0aW9uU3RhdHVzSAASRQoccHJvZHVjdElkZW50aWZpY2F0aW9u", + "UmVxdWVzdBhlIAEoCzIdLlByb2R1Y3RJZGVudGlmaWNhdGlvblJlcXVlc3RI", + "ABI5ChZmaXJtd2FyZVZlcnNpb25SZXF1ZXN0GGYgASgLMhcuRmlybXdhcmVW", + "ZXJzaW9uUmVxdWVzdEgAEjcKFWZpcm13YXJlVmVyc2lvblN0YXR1cxhnIAEo", + "CzIWLkZpcm13YXJlVmVyc2lvblN0YXR1c0gAEjUKFGN1cnJlbnRQcmVzZXRS", + "ZXF1ZXN0GGggASgLMhUuQ3VycmVudFByZXNldFJlcXVlc3RIABIpCg5yZXRy", + "aWV2ZVByZXNldBhpIAEoCzIPLlJldHJpZXZlUHJlc2V0SAASKQoOdXNiR2Fp", + "blJlcXVlc3QYaiABKAsyDy5Vc2JHYWluUmVxdWVzdEgAEicKDXVzYkdhaW5T", + "dGF0dXMYayABKAsyDi5Vc2JHYWluU3RhdHVzSAASKQoOcUFTbG90c1JlcXVl", + "c3QYbCABKAsyDy5RQVNsb3RzUmVxdWVzdEgAEicKDXFBU2xvdHNTdGF0dXMY", + "bSABKAsyDi5RQVNsb3RzU3RhdHVzSAASMQoSbGluZU91dEdhaW5SZXF1ZXN0", + "GG4gASgLMhMuTGluZU91dEdhaW5SZXF1ZXN0SAASLwoRbGluZU91dEdhaW5T", + "dGF0dXMYbyABKAsyEi5MaW5lT3V0R2FpblN0YXR1c0gAEjEKEm1vZGFsU3Rh", + "dHVzTWVzc2FnZRhxIAEoCzITLk1vZGFsU3RhdHVzTWVzc2FnZUgAEiEKCnVz", + "YkdhaW5TZXQYciABKAsyCy5Vc2JHYWluU2V0SAASKQoObGluZU91dEdhaW5T", + "ZXQYcyABKAsyDy5MaW5lT3V0R2FpblNldEgAEiEKCnFBU2xvdHNTZXQYdCAB", + "KAsyCy5RQVNsb3RzU2V0SAASPgoYdW5zdXBwb3J0ZWRNZXNzYWdlU3RhdHVz", + "GMgBIAEoCzIZLlVuc3VwcG9ydGVkTWVzc2FnZVN0YXR1c0gAEiAKCWhlYXJ0", + "YmVhdBjJASABKAsyCi5IZWFydGJlYXRIABI8Chdjb25uZWN0aW9uU3RhdHVz", + "UmVxdWVzdBjKASABKAsyGC5Db25uZWN0aW9uU3RhdHVzUmVxdWVzdEgAEi4K", + "EGNvbm5lY3Rpb25TdGF0dXMYywEgASgLMhEuQ29ubmVjdGlvblN0YXR1c0gA", + "QgYKBHR5cGUqQgoMUmVzcG9uc2VUeXBlEg8KC1VOU09MSUNJVEVEEAASEAoM", + "Tk9UX0xBU1RfQUNLEAESDwoLSVNfTEFTVF9BQ0sQAg==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { global::IndexPotReflection.Descriptor, global::IndexButtonReflection.Descriptor, global::IndexEncoderReflection.Descriptor, global::LoadPresetReflection.Descriptor, global::PresetJSONMessageRequestLTReflection.Descriptor, global::PresetJSONMessageReflection.Descriptor, global::ProcessorUtilizationRequestReflection.Descriptor, global::ProcessorUtilizationReflection.Descriptor, global::FrameBufferMessageRequestReflection.Descriptor, global::FrameBufferMessageReflection.Descriptor, global::ActiveDisplayReflection.Descriptor, global::MemoryUsageStatusReflection.Descriptor, global::MemoryUsageRequestReflection.Descriptor, global::LoopbackTestReflection.Descriptor, global::CurrentLoadedPresetIndexStatusReflection.Descriptor, global::SetDspUnitParameterReflection.Descriptor, global::AudioStatusReflection.Descriptor, global::SetDspUnitParameterStatusReflection.Descriptor, global::DspUnitParameterStatusReflection.Descriptor, global::ReplaceNodeReflection.Descriptor, global::ReplaceNodeStatusReflection.Descriptor, global::ProductIdentificationRequestReflection.Descriptor, global::ProductIdentificationStatusReflection.Descriptor, global::FirmwareVersionRequestReflection.Descriptor, global::FirmwareVersionStatusReflection.Descriptor, global::CurrentPresetRequestReflection.Descriptor, global::CurrentPresetSetReflection.Descriptor, global::CurrentPresetStatusReflection.Descriptor, global::RetrievePresetReflection.Descriptor, global::UsbGainRequestReflection.Descriptor, global::UsbGainStatusReflection.Descriptor, global::UsbGainSetReflection.Descriptor, global::LineOutGainRequestReflection.Descriptor, global::LineOutGainStatusReflection.Descriptor, global::LineOutGainSetReflection.Descriptor, global::QASlotsRequestReflection.Descriptor, global::QASlotsStatusReflection.Descriptor, global::QASlotsSetReflection.Descriptor, global::PresetSavedStatusReflection.Descriptor, global::ModalStatusMessageReflection.Descriptor, global::UnsupportedMessageStatusReflection.Descriptor, global::ClearPresetReflection.Descriptor, global::ClearPresetStatusReflection.Descriptor, global::SaveCurrentPresetReflection.Descriptor, global::SaveCurrentPresetToReflection.Descriptor, global::SavePresetAsReflection.Descriptor, global::NewPresetSavedStatusReflection.Descriptor, global::RenamePresetAtReflection.Descriptor, global::AuditionPresetReflection.Descriptor, global::AuditionPresetStatusReflection.Descriptor, global::ExitAuditionPresetReflection.Descriptor, global::ExitAuditionPresetStatusReflection.Descriptor, global::AuditionStateRequestReflection.Descriptor, global::AuditionStateStatusReflection.Descriptor, global::LT4FootswitchModeRequestReflection.Descriptor, global::LT4FootswitchModeStatusReflection.Descriptor, global::HeartbeatReflection.Descriptor, global::ShiftPresetReflection.Descriptor, global::ShiftPresetStatusReflection.Descriptor, global::SwapPresetReflection.Descriptor, global::SwapPresetStatusReflection.Descriptor, global::ConnectionStatusReflection.Descriptor, global::ConnectionStatusRequestReflection.Descriptor, global::LoadPresetTestSuiteReflection.Descriptor, global::CurrentLoadedPresetIndexBypassStatusReflection.Descriptor, global::CurrentDisplayedPresetIndexStatusReflection.Descriptor, }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ResponseType), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::FenderMessageLT), global::FenderMessageLT.Parser, new[]{ "ResponseType", "IndexPot", "IndexButton", "IndexEncoder", "ActiveDisplay", "ProcessorUtilizationRequest", "ProcessorUtilization", "MemoryUsageRequest", "MemoryUsageStatus", "PresetJSONMessageRequestLT", "FrameBufferMessageRequest", "FrameBufferMessage", "Lt4FootswitchModeRequest", "Lt4FootswitchModeStatus", "LoadPresetTestSuite", "LoopbackTest", "PresetJSONMessage", "CurrentPresetStatus", "LoadPreset", "SetDspUnitParameter", "SetDspUnitParameterStatus", "DspUnitParameterStatus", "CurrentLoadedPresetIndexStatus", "PresetEditedStatus", "ReplaceNode", "ReplaceNodeStatus", "ShiftPreset", "ShiftPresetStatus", "SwapPreset", "SwapPresetStatus", "CurrentPresetSet", "CurrentLoadedPresetIndexBypassStatus", "CurrentDisplayedPresetIndexStatus", "PresetSavedStatus", "ClearPreset", "ClearPresetStatus", "SaveCurrentPreset", "SaveCurrentPresetTo", "SavePresetAs", "NewPresetSavedStatus", "RenamePresetAt", "AuditionPreset", "AuditionPresetStatus", "ExitAuditionPreset", "ExitAuditionPresetStatus", "AuditionStateRequest", "AuditionStateStatus", "ProductIdentificationStatus", "ProductIdentificationRequest", "FirmwareVersionRequest", "FirmwareVersionStatus", "CurrentPresetRequest", "RetrievePreset", "UsbGainRequest", "UsbGainStatus", "QASlotsRequest", "QASlotsStatus", "LineOutGainRequest", "LineOutGainStatus", "ModalStatusMessage", "UsbGainSet", "LineOutGainSet", "QASlotsSet", "UnsupportedMessageStatus", "Heartbeat", "ConnectionStatusRequest", "ConnectionStatus" }, new[]{ "Type" }, null, null, null) + })); + } + #endregion + +} +#region Enums +/// +/// +/// Message response type +/// +public enum ResponseType { + /// + /// Message sent not as the result of a command + /// + [pbr::OriginalName("UNSOLICITED")] Unsolicited = 0, + /// + /// Message sent as the result of a command, but NOT the last message in the batch + /// + [pbr::OriginalName("NOT_LAST_ACK")] NotLastAck = 1, + /// + /// Message sent as the last result of a command + /// + [pbr::OriginalName("IS_LAST_ACK")] IsLastAck = 2, +} + +#endregion + +#region Messages +/// +/// +/// Base message type used to communicate with the amp +/// +/// All messages are of this type, and encapsulate the actual message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class FenderMessageLT : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FenderMessageLT()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::FenderMessageLTReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FenderMessageLT() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FenderMessageLT(FenderMessageLT other) : this() { + _hasBits0 = other._hasBits0; + responseType_ = other.responseType_; + switch (other.TypeCase) { + case TypeOneofCase.IndexPot: + IndexPot = other.IndexPot.Clone(); + break; + case TypeOneofCase.IndexButton: + IndexButton = other.IndexButton.Clone(); + break; + case TypeOneofCase.IndexEncoder: + IndexEncoder = other.IndexEncoder.Clone(); + break; + case TypeOneofCase.ActiveDisplay: + ActiveDisplay = other.ActiveDisplay.Clone(); + break; + case TypeOneofCase.ProcessorUtilizationRequest: + ProcessorUtilizationRequest = other.ProcessorUtilizationRequest.Clone(); + break; + case TypeOneofCase.ProcessorUtilization: + ProcessorUtilization = other.ProcessorUtilization.Clone(); + break; + case TypeOneofCase.MemoryUsageRequest: + MemoryUsageRequest = other.MemoryUsageRequest.Clone(); + break; + case TypeOneofCase.MemoryUsageStatus: + MemoryUsageStatus = other.MemoryUsageStatus.Clone(); + break; + case TypeOneofCase.PresetJSONMessageRequestLT: + PresetJSONMessageRequestLT = other.PresetJSONMessageRequestLT.Clone(); + break; + case TypeOneofCase.FrameBufferMessageRequest: + FrameBufferMessageRequest = other.FrameBufferMessageRequest.Clone(); + break; + case TypeOneofCase.FrameBufferMessage: + FrameBufferMessage = other.FrameBufferMessage.Clone(); + break; + case TypeOneofCase.Lt4FootswitchModeRequest: + Lt4FootswitchModeRequest = other.Lt4FootswitchModeRequest.Clone(); + break; + case TypeOneofCase.Lt4FootswitchModeStatus: + Lt4FootswitchModeStatus = other.Lt4FootswitchModeStatus.Clone(); + break; + case TypeOneofCase.LoadPresetTestSuite: + LoadPresetTestSuite = other.LoadPresetTestSuite.Clone(); + break; + case TypeOneofCase.LoopbackTest: + LoopbackTest = other.LoopbackTest.Clone(); + break; + case TypeOneofCase.PresetJSONMessage: + PresetJSONMessage = other.PresetJSONMessage.Clone(); + break; + case TypeOneofCase.CurrentPresetStatus: + CurrentPresetStatus = other.CurrentPresetStatus.Clone(); + break; + case TypeOneofCase.LoadPreset: + LoadPreset = other.LoadPreset.Clone(); + break; + case TypeOneofCase.SetDspUnitParameter: + SetDspUnitParameter = other.SetDspUnitParameter.Clone(); + break; + case TypeOneofCase.SetDspUnitParameterStatus: + SetDspUnitParameterStatus = other.SetDspUnitParameterStatus.Clone(); + break; + case TypeOneofCase.DspUnitParameterStatus: + DspUnitParameterStatus = other.DspUnitParameterStatus.Clone(); + break; + case TypeOneofCase.CurrentLoadedPresetIndexStatus: + CurrentLoadedPresetIndexStatus = other.CurrentLoadedPresetIndexStatus.Clone(); + break; + case TypeOneofCase.PresetEditedStatus: + PresetEditedStatus = other.PresetEditedStatus.Clone(); + break; + case TypeOneofCase.ReplaceNode: + ReplaceNode = other.ReplaceNode.Clone(); + break; + case TypeOneofCase.ReplaceNodeStatus: + ReplaceNodeStatus = other.ReplaceNodeStatus.Clone(); + break; + case TypeOneofCase.ShiftPreset: + ShiftPreset = other.ShiftPreset.Clone(); + break; + case TypeOneofCase.ShiftPresetStatus: + ShiftPresetStatus = other.ShiftPresetStatus.Clone(); + break; + case TypeOneofCase.SwapPreset: + SwapPreset = other.SwapPreset.Clone(); + break; + case TypeOneofCase.SwapPresetStatus: + SwapPresetStatus = other.SwapPresetStatus.Clone(); + break; + case TypeOneofCase.CurrentPresetSet: + CurrentPresetSet = other.CurrentPresetSet.Clone(); + break; + case TypeOneofCase.CurrentLoadedPresetIndexBypassStatus: + CurrentLoadedPresetIndexBypassStatus = other.CurrentLoadedPresetIndexBypassStatus.Clone(); + break; + case TypeOneofCase.CurrentDisplayedPresetIndexStatus: + CurrentDisplayedPresetIndexStatus = other.CurrentDisplayedPresetIndexStatus.Clone(); + break; + case TypeOneofCase.PresetSavedStatus: + PresetSavedStatus = other.PresetSavedStatus.Clone(); + break; + case TypeOneofCase.ClearPreset: + ClearPreset = other.ClearPreset.Clone(); + break; + case TypeOneofCase.ClearPresetStatus: + ClearPresetStatus = other.ClearPresetStatus.Clone(); + break; + case TypeOneofCase.SaveCurrentPreset: + SaveCurrentPreset = other.SaveCurrentPreset.Clone(); + break; + case TypeOneofCase.SaveCurrentPresetTo: + SaveCurrentPresetTo = other.SaveCurrentPresetTo.Clone(); + break; + case TypeOneofCase.SavePresetAs: + SavePresetAs = other.SavePresetAs.Clone(); + break; + case TypeOneofCase.NewPresetSavedStatus: + NewPresetSavedStatus = other.NewPresetSavedStatus.Clone(); + break; + case TypeOneofCase.RenamePresetAt: + RenamePresetAt = other.RenamePresetAt.Clone(); + break; + case TypeOneofCase.AuditionPreset: + AuditionPreset = other.AuditionPreset.Clone(); + break; + case TypeOneofCase.AuditionPresetStatus: + AuditionPresetStatus = other.AuditionPresetStatus.Clone(); + break; + case TypeOneofCase.ExitAuditionPreset: + ExitAuditionPreset = other.ExitAuditionPreset.Clone(); + break; + case TypeOneofCase.ExitAuditionPresetStatus: + ExitAuditionPresetStatus = other.ExitAuditionPresetStatus.Clone(); + break; + case TypeOneofCase.AuditionStateRequest: + AuditionStateRequest = other.AuditionStateRequest.Clone(); + break; + case TypeOneofCase.AuditionStateStatus: + AuditionStateStatus = other.AuditionStateStatus.Clone(); + break; + case TypeOneofCase.ProductIdentificationStatus: + ProductIdentificationStatus = other.ProductIdentificationStatus.Clone(); + break; + case TypeOneofCase.ProductIdentificationRequest: + ProductIdentificationRequest = other.ProductIdentificationRequest.Clone(); + break; + case TypeOneofCase.FirmwareVersionRequest: + FirmwareVersionRequest = other.FirmwareVersionRequest.Clone(); + break; + case TypeOneofCase.FirmwareVersionStatus: + FirmwareVersionStatus = other.FirmwareVersionStatus.Clone(); + break; + case TypeOneofCase.CurrentPresetRequest: + CurrentPresetRequest = other.CurrentPresetRequest.Clone(); + break; + case TypeOneofCase.RetrievePreset: + RetrievePreset = other.RetrievePreset.Clone(); + break; + case TypeOneofCase.UsbGainRequest: + UsbGainRequest = other.UsbGainRequest.Clone(); + break; + case TypeOneofCase.UsbGainStatus: + UsbGainStatus = other.UsbGainStatus.Clone(); + break; + case TypeOneofCase.QASlotsRequest: + QASlotsRequest = other.QASlotsRequest.Clone(); + break; + case TypeOneofCase.QASlotsStatus: + QASlotsStatus = other.QASlotsStatus.Clone(); + break; + case TypeOneofCase.LineOutGainRequest: + LineOutGainRequest = other.LineOutGainRequest.Clone(); + break; + case TypeOneofCase.LineOutGainStatus: + LineOutGainStatus = other.LineOutGainStatus.Clone(); + break; + case TypeOneofCase.ModalStatusMessage: + ModalStatusMessage = other.ModalStatusMessage.Clone(); + break; + case TypeOneofCase.UsbGainSet: + UsbGainSet = other.UsbGainSet.Clone(); + break; + case TypeOneofCase.LineOutGainSet: + LineOutGainSet = other.LineOutGainSet.Clone(); + break; + case TypeOneofCase.QASlotsSet: + QASlotsSet = other.QASlotsSet.Clone(); + break; + case TypeOneofCase.UnsupportedMessageStatus: + UnsupportedMessageStatus = other.UnsupportedMessageStatus.Clone(); + break; + case TypeOneofCase.Heartbeat: + Heartbeat = other.Heartbeat.Clone(); + break; + case TypeOneofCase.ConnectionStatusRequest: + ConnectionStatusRequest = other.ConnectionStatusRequest.Clone(); + break; + case TypeOneofCase.ConnectionStatus: + ConnectionStatus = other.ConnectionStatus.Clone(); + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FenderMessageLT Clone() { + return new FenderMessageLT(this); + } + + /// Field number for the "responseType" field. + public const int ResponseTypeFieldNumber = 1; + private readonly static global::ResponseType ResponseTypeDefaultValue = global::ResponseType.Unsolicited; + + private global::ResponseType responseType_; + /// + /// Response type. All messages from the host to the amp are UNSOLICITED + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ResponseType ResponseType { + get { if ((_hasBits0 & 1) != 0) { return responseType_; } else { return ResponseTypeDefaultValue; } } + set { + _hasBits0 |= 1; + responseType_ = value; + } + } + /// Gets whether the "responseType" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasResponseType { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "responseType" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearResponseType() { + _hasBits0 &= ~1; + } + + /// Field number for the "indexPot" field. + public const int IndexPotFieldNumber = 2; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::IndexPot IndexPot { + get { return typeCase_ == TypeOneofCase.IndexPot ? (global::IndexPot) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.IndexPot; + } + } + + /// Field number for the "indexButton" field. + public const int IndexButtonFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::IndexButton IndexButton { + get { return typeCase_ == TypeOneofCase.IndexButton ? (global::IndexButton) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.IndexButton; + } + } + + /// Field number for the "indexEncoder" field. + public const int IndexEncoderFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::IndexEncoder IndexEncoder { + get { return typeCase_ == TypeOneofCase.IndexEncoder ? (global::IndexEncoder) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.IndexEncoder; + } + } + + /// Field number for the "activeDisplay" field. + public const int ActiveDisplayFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ActiveDisplay ActiveDisplay { + get { return typeCase_ == TypeOneofCase.ActiveDisplay ? (global::ActiveDisplay) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ActiveDisplay; + } + } + + /// Field number for the "processorUtilizationRequest" field. + public const int ProcessorUtilizationRequestFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ProcessorUtilizationRequest ProcessorUtilizationRequest { + get { return typeCase_ == TypeOneofCase.ProcessorUtilizationRequest ? (global::ProcessorUtilizationRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ProcessorUtilizationRequest; + } + } + + /// Field number for the "processorUtilization" field. + public const int ProcessorUtilizationFieldNumber = 7; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ProcessorUtilization ProcessorUtilization { + get { return typeCase_ == TypeOneofCase.ProcessorUtilization ? (global::ProcessorUtilization) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ProcessorUtilization; + } + } + + /// Field number for the "memoryUsageRequest" field. + public const int MemoryUsageRequestFieldNumber = 8; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MemoryUsageRequest MemoryUsageRequest { + get { return typeCase_ == TypeOneofCase.MemoryUsageRequest ? (global::MemoryUsageRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.MemoryUsageRequest; + } + } + + /// Field number for the "memoryUsageStatus" field. + public const int MemoryUsageStatusFieldNumber = 9; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::MemoryUsageStatus MemoryUsageStatus { + get { return typeCase_ == TypeOneofCase.MemoryUsageStatus ? (global::MemoryUsageStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.MemoryUsageStatus; + } + } + + /// Field number for the "presetJSONMessageRequest_LT" field. + public const int PresetJSONMessageRequestLTFieldNumber = 10; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::PresetJSONMessageRequest_LT PresetJSONMessageRequestLT { + get { return typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT ? (global::PresetJSONMessageRequest_LT) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.PresetJSONMessageRequestLT; + } + } + + /// Field number for the "frameBufferMessageRequest" field. + public const int FrameBufferMessageRequestFieldNumber = 11; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::FrameBufferMessageRequest FrameBufferMessageRequest { + get { return typeCase_ == TypeOneofCase.FrameBufferMessageRequest ? (global::FrameBufferMessageRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.FrameBufferMessageRequest; + } + } + + /// Field number for the "frameBufferMessage" field. + public const int FrameBufferMessageFieldNumber = 12; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::FrameBufferMessage FrameBufferMessage { + get { return typeCase_ == TypeOneofCase.FrameBufferMessage ? (global::FrameBufferMessage) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.FrameBufferMessage; + } + } + + /// Field number for the "lt4FootswitchModeRequest" field. + public const int Lt4FootswitchModeRequestFieldNumber = 13; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LT4FootswitchModeRequest Lt4FootswitchModeRequest { + get { return typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest ? (global::LT4FootswitchModeRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Lt4FootswitchModeRequest; + } + } + + /// Field number for the "lt4FootswitchModeStatus" field. + public const int Lt4FootswitchModeStatusFieldNumber = 14; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LT4FootswitchModeStatus Lt4FootswitchModeStatus { + get { return typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus ? (global::LT4FootswitchModeStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Lt4FootswitchModeStatus; + } + } + + /// Field number for the "loadPreset_TestSuite" field. + public const int LoadPresetTestSuiteFieldNumber = 15; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LoadPreset_TestSuite LoadPresetTestSuite { + get { return typeCase_ == TypeOneofCase.LoadPresetTestSuite ? (global::LoadPreset_TestSuite) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LoadPresetTestSuite; + } + } + + /// Field number for the "loopbackTest" field. + public const int LoopbackTestFieldNumber = 30; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LoopbackTest LoopbackTest { + get { return typeCase_ == TypeOneofCase.LoopbackTest ? (global::LoopbackTest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LoopbackTest; + } + } + + /// Field number for the "presetJSONMessage" field. + public const int PresetJSONMessageFieldNumber = 31; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::PresetJSONMessage PresetJSONMessage { + get { return typeCase_ == TypeOneofCase.PresetJSONMessage ? (global::PresetJSONMessage) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.PresetJSONMessage; + } + } + + /// Field number for the "currentPresetStatus" field. + public const int CurrentPresetStatusFieldNumber = 32; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::CurrentPresetStatus CurrentPresetStatus { + get { return typeCase_ == TypeOneofCase.CurrentPresetStatus ? (global::CurrentPresetStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentPresetStatus; + } + } + + /// Field number for the "loadPreset" field. + public const int LoadPresetFieldNumber = 33; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LoadPreset LoadPreset { + get { return typeCase_ == TypeOneofCase.LoadPreset ? (global::LoadPreset) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LoadPreset; + } + } + + /// Field number for the "setDspUnitParameter" field. + public const int SetDspUnitParameterFieldNumber = 34; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::SetDspUnitParameter SetDspUnitParameter { + get { return typeCase_ == TypeOneofCase.SetDspUnitParameter ? (global::SetDspUnitParameter) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SetDspUnitParameter; + } + } + + /// Field number for the "setDspUnitParameterStatus" field. + public const int SetDspUnitParameterStatusFieldNumber = 35; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::SetDspUnitParameterStatus SetDspUnitParameterStatus { + get { return typeCase_ == TypeOneofCase.SetDspUnitParameterStatus ? (global::SetDspUnitParameterStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SetDspUnitParameterStatus; + } + } + + /// Field number for the "dspUnitParameterStatus" field. + public const int DspUnitParameterStatusFieldNumber = 36; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::DspUnitParameterStatus DspUnitParameterStatus { + get { return typeCase_ == TypeOneofCase.DspUnitParameterStatus ? (global::DspUnitParameterStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.DspUnitParameterStatus; + } + } + + /// Field number for the "currentLoadedPresetIndexStatus" field. + public const int CurrentLoadedPresetIndexStatusFieldNumber = 37; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::CurrentLoadedPresetIndexStatus CurrentLoadedPresetIndexStatus { + get { return typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus ? (global::CurrentLoadedPresetIndexStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentLoadedPresetIndexStatus; + } + } + + /// Field number for the "presetEditedStatus" field. + public const int PresetEditedStatusFieldNumber = 38; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::PresetEditedStatus PresetEditedStatus { + get { return typeCase_ == TypeOneofCase.PresetEditedStatus ? (global::PresetEditedStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.PresetEditedStatus; + } + } + + /// Field number for the "replaceNode" field. + public const int ReplaceNodeFieldNumber = 39; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ReplaceNode ReplaceNode { + get { return typeCase_ == TypeOneofCase.ReplaceNode ? (global::ReplaceNode) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ReplaceNode; + } + } + + /// Field number for the "replaceNodeStatus" field. + public const int ReplaceNodeStatusFieldNumber = 40; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ReplaceNodeStatus ReplaceNodeStatus { + get { return typeCase_ == TypeOneofCase.ReplaceNodeStatus ? (global::ReplaceNodeStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ReplaceNodeStatus; + } + } + + /// Field number for the "shiftPreset" field. + public const int ShiftPresetFieldNumber = 41; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ShiftPreset ShiftPreset { + get { return typeCase_ == TypeOneofCase.ShiftPreset ? (global::ShiftPreset) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ShiftPreset; + } + } + + /// Field number for the "shiftPresetStatus" field. + public const int ShiftPresetStatusFieldNumber = 42; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ShiftPresetStatus ShiftPresetStatus { + get { return typeCase_ == TypeOneofCase.ShiftPresetStatus ? (global::ShiftPresetStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ShiftPresetStatus; + } + } + + /// Field number for the "swapPreset" field. + public const int SwapPresetFieldNumber = 43; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::SwapPreset SwapPreset { + get { return typeCase_ == TypeOneofCase.SwapPreset ? (global::SwapPreset) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SwapPreset; + } + } + + /// Field number for the "swapPresetStatus" field. + public const int SwapPresetStatusFieldNumber = 44; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::SwapPresetStatus SwapPresetStatus { + get { return typeCase_ == TypeOneofCase.SwapPresetStatus ? (global::SwapPresetStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SwapPresetStatus; + } + } + + /// Field number for the "currentPresetSet" field. + public const int CurrentPresetSetFieldNumber = 45; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::CurrentPresetSet CurrentPresetSet { + get { return typeCase_ == TypeOneofCase.CurrentPresetSet ? (global::CurrentPresetSet) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentPresetSet; + } + } + + /// Field number for the "currentLoadedPresetIndexBypassStatus" field. + public const int CurrentLoadedPresetIndexBypassStatusFieldNumber = 46; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::CurrentLoadedPresetIndexBypassStatus CurrentLoadedPresetIndexBypassStatus { + get { return typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus ? (global::CurrentLoadedPresetIndexBypassStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentLoadedPresetIndexBypassStatus; + } + } + + /// Field number for the "currentDisplayedPresetIndexStatus" field. + public const int CurrentDisplayedPresetIndexStatusFieldNumber = 47; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::CurrentDisplayedPresetIndexStatus CurrentDisplayedPresetIndexStatus { + get { return typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus ? (global::CurrentDisplayedPresetIndexStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentDisplayedPresetIndexStatus; + } + } + + /// Field number for the "presetSavedStatus" field. + public const int PresetSavedStatusFieldNumber = 50; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::PresetSavedStatus PresetSavedStatus { + get { return typeCase_ == TypeOneofCase.PresetSavedStatus ? (global::PresetSavedStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.PresetSavedStatus; + } + } + + /// Field number for the "clearPreset" field. + public const int ClearPresetFieldNumber = 51; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ClearPreset ClearPreset { + get { return typeCase_ == TypeOneofCase.ClearPreset ? (global::ClearPreset) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ClearPreset; + } + } + + /// Field number for the "clearPresetStatus" field. + public const int ClearPresetStatusFieldNumber = 52; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ClearPresetStatus ClearPresetStatus { + get { return typeCase_ == TypeOneofCase.ClearPresetStatus ? (global::ClearPresetStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ClearPresetStatus; + } + } + + /// Field number for the "saveCurrentPreset" field. + public const int SaveCurrentPresetFieldNumber = 53; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::SaveCurrentPreset SaveCurrentPreset { + get { return typeCase_ == TypeOneofCase.SaveCurrentPreset ? (global::SaveCurrentPreset) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SaveCurrentPreset; + } + } + + /// Field number for the "saveCurrentPresetTo" field. + public const int SaveCurrentPresetToFieldNumber = 54; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::SaveCurrentPresetTo SaveCurrentPresetTo { + get { return typeCase_ == TypeOneofCase.SaveCurrentPresetTo ? (global::SaveCurrentPresetTo) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SaveCurrentPresetTo; + } + } + + /// Field number for the "savePresetAs" field. + public const int SavePresetAsFieldNumber = 55; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::SavePresetAs SavePresetAs { + get { return typeCase_ == TypeOneofCase.SavePresetAs ? (global::SavePresetAs) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.SavePresetAs; + } + } + + /// Field number for the "newPresetSavedStatus" field. + public const int NewPresetSavedStatusFieldNumber = 56; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::NewPresetSavedStatus NewPresetSavedStatus { + get { return typeCase_ == TypeOneofCase.NewPresetSavedStatus ? (global::NewPresetSavedStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.NewPresetSavedStatus; + } + } + + /// Field number for the "renamePresetAt" field. + public const int RenamePresetAtFieldNumber = 57; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::RenamePresetAt RenamePresetAt { + get { return typeCase_ == TypeOneofCase.RenamePresetAt ? (global::RenamePresetAt) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.RenamePresetAt; + } + } + + /// Field number for the "auditionPreset" field. + public const int AuditionPresetFieldNumber = 58; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::AuditionPreset AuditionPreset { + get { return typeCase_ == TypeOneofCase.AuditionPreset ? (global::AuditionPreset) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.AuditionPreset; + } + } + + /// Field number for the "auditionPresetStatus" field. + public const int AuditionPresetStatusFieldNumber = 59; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::AuditionPresetStatus AuditionPresetStatus { + get { return typeCase_ == TypeOneofCase.AuditionPresetStatus ? (global::AuditionPresetStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.AuditionPresetStatus; + } + } + + /// Field number for the "exitAuditionPreset" field. + public const int ExitAuditionPresetFieldNumber = 60; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ExitAuditionPreset ExitAuditionPreset { + get { return typeCase_ == TypeOneofCase.ExitAuditionPreset ? (global::ExitAuditionPreset) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ExitAuditionPreset; + } + } + + /// Field number for the "exitAuditionPresetStatus" field. + public const int ExitAuditionPresetStatusFieldNumber = 61; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ExitAuditionPresetStatus ExitAuditionPresetStatus { + get { return typeCase_ == TypeOneofCase.ExitAuditionPresetStatus ? (global::ExitAuditionPresetStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ExitAuditionPresetStatus; + } + } + + /// Field number for the "auditionStateRequest" field. + public const int AuditionStateRequestFieldNumber = 62; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::AuditionStateRequest AuditionStateRequest { + get { return typeCase_ == TypeOneofCase.AuditionStateRequest ? (global::AuditionStateRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.AuditionStateRequest; + } + } + + /// Field number for the "auditionStateStatus" field. + public const int AuditionStateStatusFieldNumber = 63; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::AuditionStateStatus AuditionStateStatus { + get { return typeCase_ == TypeOneofCase.AuditionStateStatus ? (global::AuditionStateStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.AuditionStateStatus; + } + } + + /// Field number for the "productIdentificationStatus" field. + public const int ProductIdentificationStatusFieldNumber = 100; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ProductIdentificationStatus ProductIdentificationStatus { + get { return typeCase_ == TypeOneofCase.ProductIdentificationStatus ? (global::ProductIdentificationStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ProductIdentificationStatus; + } + } + + /// Field number for the "productIdentificationRequest" field. + public const int ProductIdentificationRequestFieldNumber = 101; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ProductIdentificationRequest ProductIdentificationRequest { + get { return typeCase_ == TypeOneofCase.ProductIdentificationRequest ? (global::ProductIdentificationRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ProductIdentificationRequest; + } + } + + /// Field number for the "firmwareVersionRequest" field. + public const int FirmwareVersionRequestFieldNumber = 102; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::FirmwareVersionRequest FirmwareVersionRequest { + get { return typeCase_ == TypeOneofCase.FirmwareVersionRequest ? (global::FirmwareVersionRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.FirmwareVersionRequest; + } + } + + /// Field number for the "firmwareVersionStatus" field. + public const int FirmwareVersionStatusFieldNumber = 103; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::FirmwareVersionStatus FirmwareVersionStatus { + get { return typeCase_ == TypeOneofCase.FirmwareVersionStatus ? (global::FirmwareVersionStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.FirmwareVersionStatus; + } + } + + /// Field number for the "currentPresetRequest" field. + public const int CurrentPresetRequestFieldNumber = 104; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::CurrentPresetRequest CurrentPresetRequest { + get { return typeCase_ == TypeOneofCase.CurrentPresetRequest ? (global::CurrentPresetRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.CurrentPresetRequest; + } + } + + /// Field number for the "retrievePreset" field. + public const int RetrievePresetFieldNumber = 105; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::RetrievePreset RetrievePreset { + get { return typeCase_ == TypeOneofCase.RetrievePreset ? (global::RetrievePreset) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.RetrievePreset; + } + } + + /// Field number for the "usbGainRequest" field. + public const int UsbGainRequestFieldNumber = 106; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::UsbGainRequest UsbGainRequest { + get { return typeCase_ == TypeOneofCase.UsbGainRequest ? (global::UsbGainRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UsbGainRequest; + } + } + + /// Field number for the "usbGainStatus" field. + public const int UsbGainStatusFieldNumber = 107; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::UsbGainStatus UsbGainStatus { + get { return typeCase_ == TypeOneofCase.UsbGainStatus ? (global::UsbGainStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UsbGainStatus; + } + } + + /// Field number for the "qASlotsRequest" field. + public const int QASlotsRequestFieldNumber = 108; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::QASlotsRequest QASlotsRequest { + get { return typeCase_ == TypeOneofCase.QASlotsRequest ? (global::QASlotsRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.QASlotsRequest; + } + } + + /// Field number for the "qASlotsStatus" field. + public const int QASlotsStatusFieldNumber = 109; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::QASlotsStatus QASlotsStatus { + get { return typeCase_ == TypeOneofCase.QASlotsStatus ? (global::QASlotsStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.QASlotsStatus; + } + } + + /// Field number for the "lineOutGainRequest" field. + public const int LineOutGainRequestFieldNumber = 110; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LineOutGainRequest LineOutGainRequest { + get { return typeCase_ == TypeOneofCase.LineOutGainRequest ? (global::LineOutGainRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LineOutGainRequest; + } + } + + /// Field number for the "lineOutGainStatus" field. + public const int LineOutGainStatusFieldNumber = 111; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LineOutGainStatus LineOutGainStatus { + get { return typeCase_ == TypeOneofCase.LineOutGainStatus ? (global::LineOutGainStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LineOutGainStatus; + } + } + + /// Field number for the "modalStatusMessage" field. + public const int ModalStatusMessageFieldNumber = 113; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ModalStatusMessage ModalStatusMessage { + get { return typeCase_ == TypeOneofCase.ModalStatusMessage ? (global::ModalStatusMessage) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ModalStatusMessage; + } + } + + /// Field number for the "usbGainSet" field. + public const int UsbGainSetFieldNumber = 114; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::UsbGainSet UsbGainSet { + get { return typeCase_ == TypeOneofCase.UsbGainSet ? (global::UsbGainSet) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UsbGainSet; + } + } + + /// Field number for the "lineOutGainSet" field. + public const int LineOutGainSetFieldNumber = 115; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LineOutGainSet LineOutGainSet { + get { return typeCase_ == TypeOneofCase.LineOutGainSet ? (global::LineOutGainSet) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.LineOutGainSet; + } + } + + /// Field number for the "qASlotsSet" field. + public const int QASlotsSetFieldNumber = 116; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::QASlotsSet QASlotsSet { + get { return typeCase_ == TypeOneofCase.QASlotsSet ? (global::QASlotsSet) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.QASlotsSet; + } + } + + /// Field number for the "unsupportedMessageStatus" field. + public const int UnsupportedMessageStatusFieldNumber = 200; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::UnsupportedMessageStatus UnsupportedMessageStatus { + get { return typeCase_ == TypeOneofCase.UnsupportedMessageStatus ? (global::UnsupportedMessageStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.UnsupportedMessageStatus; + } + } + + /// Field number for the "heartbeat" field. + public const int HeartbeatFieldNumber = 201; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Heartbeat Heartbeat { + get { return typeCase_ == TypeOneofCase.Heartbeat ? (global::Heartbeat) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.Heartbeat; + } + } + + /// Field number for the "connectionStatusRequest" field. + public const int ConnectionStatusRequestFieldNumber = 202; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ConnectionStatusRequest ConnectionStatusRequest { + get { return typeCase_ == TypeOneofCase.ConnectionStatusRequest ? (global::ConnectionStatusRequest) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ConnectionStatusRequest; + } + } + + /// Field number for the "connectionStatus" field. + public const int ConnectionStatusFieldNumber = 203; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ConnectionStatus ConnectionStatus { + get { return typeCase_ == TypeOneofCase.ConnectionStatus ? (global::ConnectionStatus) type_ : null; } + set { + type_ = value; + typeCase_ = value == null ? TypeOneofCase.None : TypeOneofCase.ConnectionStatus; + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + IndexPot = 2, + IndexButton = 3, + IndexEncoder = 4, + ActiveDisplay = 5, + ProcessorUtilizationRequest = 6, + ProcessorUtilization = 7, + MemoryUsageRequest = 8, + MemoryUsageStatus = 9, + PresetJSONMessageRequestLT = 10, + FrameBufferMessageRequest = 11, + FrameBufferMessage = 12, + Lt4FootswitchModeRequest = 13, + Lt4FootswitchModeStatus = 14, + LoadPresetTestSuite = 15, + LoopbackTest = 30, + PresetJSONMessage = 31, + CurrentPresetStatus = 32, + LoadPreset = 33, + SetDspUnitParameter = 34, + SetDspUnitParameterStatus = 35, + DspUnitParameterStatus = 36, + CurrentLoadedPresetIndexStatus = 37, + PresetEditedStatus = 38, + ReplaceNode = 39, + ReplaceNodeStatus = 40, + ShiftPreset = 41, + ShiftPresetStatus = 42, + SwapPreset = 43, + SwapPresetStatus = 44, + CurrentPresetSet = 45, + CurrentLoadedPresetIndexBypassStatus = 46, + CurrentDisplayedPresetIndexStatus = 47, + PresetSavedStatus = 50, + ClearPreset = 51, + ClearPresetStatus = 52, + SaveCurrentPreset = 53, + SaveCurrentPresetTo = 54, + SavePresetAs = 55, + NewPresetSavedStatus = 56, + RenamePresetAt = 57, + AuditionPreset = 58, + AuditionPresetStatus = 59, + ExitAuditionPreset = 60, + ExitAuditionPresetStatus = 61, + AuditionStateRequest = 62, + AuditionStateStatus = 63, + ProductIdentificationStatus = 100, + ProductIdentificationRequest = 101, + FirmwareVersionRequest = 102, + FirmwareVersionStatus = 103, + CurrentPresetRequest = 104, + RetrievePreset = 105, + UsbGainRequest = 106, + UsbGainStatus = 107, + QASlotsRequest = 108, + QASlotsStatus = 109, + LineOutGainRequest = 110, + LineOutGainStatus = 111, + ModalStatusMessage = 113, + UsbGainSet = 114, + LineOutGainSet = 115, + QASlotsSet = 116, + UnsupportedMessageStatus = 200, + Heartbeat = 201, + ConnectionStatusRequest = 202, + ConnectionStatus = 203, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FenderMessageLT); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FenderMessageLT other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ResponseType != other.ResponseType) return false; + if (!object.Equals(IndexPot, other.IndexPot)) return false; + if (!object.Equals(IndexButton, other.IndexButton)) return false; + if (!object.Equals(IndexEncoder, other.IndexEncoder)) return false; + if (!object.Equals(ActiveDisplay, other.ActiveDisplay)) return false; + if (!object.Equals(ProcessorUtilizationRequest, other.ProcessorUtilizationRequest)) return false; + if (!object.Equals(ProcessorUtilization, other.ProcessorUtilization)) return false; + if (!object.Equals(MemoryUsageRequest, other.MemoryUsageRequest)) return false; + if (!object.Equals(MemoryUsageStatus, other.MemoryUsageStatus)) return false; + if (!object.Equals(PresetJSONMessageRequestLT, other.PresetJSONMessageRequestLT)) return false; + if (!object.Equals(FrameBufferMessageRequest, other.FrameBufferMessageRequest)) return false; + if (!object.Equals(FrameBufferMessage, other.FrameBufferMessage)) return false; + if (!object.Equals(Lt4FootswitchModeRequest, other.Lt4FootswitchModeRequest)) return false; + if (!object.Equals(Lt4FootswitchModeStatus, other.Lt4FootswitchModeStatus)) return false; + if (!object.Equals(LoadPresetTestSuite, other.LoadPresetTestSuite)) return false; + if (!object.Equals(LoopbackTest, other.LoopbackTest)) return false; + if (!object.Equals(PresetJSONMessage, other.PresetJSONMessage)) return false; + if (!object.Equals(CurrentPresetStatus, other.CurrentPresetStatus)) return false; + if (!object.Equals(LoadPreset, other.LoadPreset)) return false; + if (!object.Equals(SetDspUnitParameter, other.SetDspUnitParameter)) return false; + if (!object.Equals(SetDspUnitParameterStatus, other.SetDspUnitParameterStatus)) return false; + if (!object.Equals(DspUnitParameterStatus, other.DspUnitParameterStatus)) return false; + if (!object.Equals(CurrentLoadedPresetIndexStatus, other.CurrentLoadedPresetIndexStatus)) return false; + if (!object.Equals(PresetEditedStatus, other.PresetEditedStatus)) return false; + if (!object.Equals(ReplaceNode, other.ReplaceNode)) return false; + if (!object.Equals(ReplaceNodeStatus, other.ReplaceNodeStatus)) return false; + if (!object.Equals(ShiftPreset, other.ShiftPreset)) return false; + if (!object.Equals(ShiftPresetStatus, other.ShiftPresetStatus)) return false; + if (!object.Equals(SwapPreset, other.SwapPreset)) return false; + if (!object.Equals(SwapPresetStatus, other.SwapPresetStatus)) return false; + if (!object.Equals(CurrentPresetSet, other.CurrentPresetSet)) return false; + if (!object.Equals(CurrentLoadedPresetIndexBypassStatus, other.CurrentLoadedPresetIndexBypassStatus)) return false; + if (!object.Equals(CurrentDisplayedPresetIndexStatus, other.CurrentDisplayedPresetIndexStatus)) return false; + if (!object.Equals(PresetSavedStatus, other.PresetSavedStatus)) return false; + if (!object.Equals(ClearPreset, other.ClearPreset)) return false; + if (!object.Equals(ClearPresetStatus, other.ClearPresetStatus)) return false; + if (!object.Equals(SaveCurrentPreset, other.SaveCurrentPreset)) return false; + if (!object.Equals(SaveCurrentPresetTo, other.SaveCurrentPresetTo)) return false; + if (!object.Equals(SavePresetAs, other.SavePresetAs)) return false; + if (!object.Equals(NewPresetSavedStatus, other.NewPresetSavedStatus)) return false; + if (!object.Equals(RenamePresetAt, other.RenamePresetAt)) return false; + if (!object.Equals(AuditionPreset, other.AuditionPreset)) return false; + if (!object.Equals(AuditionPresetStatus, other.AuditionPresetStatus)) return false; + if (!object.Equals(ExitAuditionPreset, other.ExitAuditionPreset)) return false; + if (!object.Equals(ExitAuditionPresetStatus, other.ExitAuditionPresetStatus)) return false; + if (!object.Equals(AuditionStateRequest, other.AuditionStateRequest)) return false; + if (!object.Equals(AuditionStateStatus, other.AuditionStateStatus)) return false; + if (!object.Equals(ProductIdentificationStatus, other.ProductIdentificationStatus)) return false; + if (!object.Equals(ProductIdentificationRequest, other.ProductIdentificationRequest)) return false; + if (!object.Equals(FirmwareVersionRequest, other.FirmwareVersionRequest)) return false; + if (!object.Equals(FirmwareVersionStatus, other.FirmwareVersionStatus)) return false; + if (!object.Equals(CurrentPresetRequest, other.CurrentPresetRequest)) return false; + if (!object.Equals(RetrievePreset, other.RetrievePreset)) return false; + if (!object.Equals(UsbGainRequest, other.UsbGainRequest)) return false; + if (!object.Equals(UsbGainStatus, other.UsbGainStatus)) return false; + if (!object.Equals(QASlotsRequest, other.QASlotsRequest)) return false; + if (!object.Equals(QASlotsStatus, other.QASlotsStatus)) return false; + if (!object.Equals(LineOutGainRequest, other.LineOutGainRequest)) return false; + if (!object.Equals(LineOutGainStatus, other.LineOutGainStatus)) return false; + if (!object.Equals(ModalStatusMessage, other.ModalStatusMessage)) return false; + if (!object.Equals(UsbGainSet, other.UsbGainSet)) return false; + if (!object.Equals(LineOutGainSet, other.LineOutGainSet)) return false; + if (!object.Equals(QASlotsSet, other.QASlotsSet)) return false; + if (!object.Equals(UnsupportedMessageStatus, other.UnsupportedMessageStatus)) return false; + if (!object.Equals(Heartbeat, other.Heartbeat)) return false; + if (!object.Equals(ConnectionStatusRequest, other.ConnectionStatusRequest)) return false; + if (!object.Equals(ConnectionStatus, other.ConnectionStatus)) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasResponseType) hash ^= ResponseType.GetHashCode(); + if (typeCase_ == TypeOneofCase.IndexPot) hash ^= IndexPot.GetHashCode(); + if (typeCase_ == TypeOneofCase.IndexButton) hash ^= IndexButton.GetHashCode(); + if (typeCase_ == TypeOneofCase.IndexEncoder) hash ^= IndexEncoder.GetHashCode(); + if (typeCase_ == TypeOneofCase.ActiveDisplay) hash ^= ActiveDisplay.GetHashCode(); + if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) hash ^= ProcessorUtilizationRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.ProcessorUtilization) hash ^= ProcessorUtilization.GetHashCode(); + if (typeCase_ == TypeOneofCase.MemoryUsageRequest) hash ^= MemoryUsageRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.MemoryUsageStatus) hash ^= MemoryUsageStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) hash ^= PresetJSONMessageRequestLT.GetHashCode(); + if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) hash ^= FrameBufferMessageRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.FrameBufferMessage) hash ^= FrameBufferMessage.GetHashCode(); + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) hash ^= Lt4FootswitchModeRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) hash ^= Lt4FootswitchModeStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) hash ^= LoadPresetTestSuite.GetHashCode(); + if (typeCase_ == TypeOneofCase.LoopbackTest) hash ^= LoopbackTest.GetHashCode(); + if (typeCase_ == TypeOneofCase.PresetJSONMessage) hash ^= PresetJSONMessage.GetHashCode(); + if (typeCase_ == TypeOneofCase.CurrentPresetStatus) hash ^= CurrentPresetStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.LoadPreset) hash ^= LoadPreset.GetHashCode(); + if (typeCase_ == TypeOneofCase.SetDspUnitParameter) hash ^= SetDspUnitParameter.GetHashCode(); + if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) hash ^= SetDspUnitParameterStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) hash ^= DspUnitParameterStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) hash ^= CurrentLoadedPresetIndexStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.PresetEditedStatus) hash ^= PresetEditedStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.ReplaceNode) hash ^= ReplaceNode.GetHashCode(); + if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) hash ^= ReplaceNodeStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.ShiftPreset) hash ^= ShiftPreset.GetHashCode(); + if (typeCase_ == TypeOneofCase.ShiftPresetStatus) hash ^= ShiftPresetStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.SwapPreset) hash ^= SwapPreset.GetHashCode(); + if (typeCase_ == TypeOneofCase.SwapPresetStatus) hash ^= SwapPresetStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.CurrentPresetSet) hash ^= CurrentPresetSet.GetHashCode(); + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) hash ^= CurrentLoadedPresetIndexBypassStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) hash ^= CurrentDisplayedPresetIndexStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.PresetSavedStatus) hash ^= PresetSavedStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.ClearPreset) hash ^= ClearPreset.GetHashCode(); + if (typeCase_ == TypeOneofCase.ClearPresetStatus) hash ^= ClearPresetStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.SaveCurrentPreset) hash ^= SaveCurrentPreset.GetHashCode(); + if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) hash ^= SaveCurrentPresetTo.GetHashCode(); + if (typeCase_ == TypeOneofCase.SavePresetAs) hash ^= SavePresetAs.GetHashCode(); + if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) hash ^= NewPresetSavedStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.RenamePresetAt) hash ^= RenamePresetAt.GetHashCode(); + if (typeCase_ == TypeOneofCase.AuditionPreset) hash ^= AuditionPreset.GetHashCode(); + if (typeCase_ == TypeOneofCase.AuditionPresetStatus) hash ^= AuditionPresetStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.ExitAuditionPreset) hash ^= ExitAuditionPreset.GetHashCode(); + if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) hash ^= ExitAuditionPresetStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.AuditionStateRequest) hash ^= AuditionStateRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.AuditionStateStatus) hash ^= AuditionStateStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) hash ^= ProductIdentificationStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) hash ^= ProductIdentificationRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) hash ^= FirmwareVersionRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) hash ^= FirmwareVersionStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.CurrentPresetRequest) hash ^= CurrentPresetRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.RetrievePreset) hash ^= RetrievePreset.GetHashCode(); + if (typeCase_ == TypeOneofCase.UsbGainRequest) hash ^= UsbGainRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.UsbGainStatus) hash ^= UsbGainStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.QASlotsRequest) hash ^= QASlotsRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.QASlotsStatus) hash ^= QASlotsStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.LineOutGainRequest) hash ^= LineOutGainRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.LineOutGainStatus) hash ^= LineOutGainStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.ModalStatusMessage) hash ^= ModalStatusMessage.GetHashCode(); + if (typeCase_ == TypeOneofCase.UsbGainSet) hash ^= UsbGainSet.GetHashCode(); + if (typeCase_ == TypeOneofCase.LineOutGainSet) hash ^= LineOutGainSet.GetHashCode(); + if (typeCase_ == TypeOneofCase.QASlotsSet) hash ^= QASlotsSet.GetHashCode(); + if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) hash ^= UnsupportedMessageStatus.GetHashCode(); + if (typeCase_ == TypeOneofCase.Heartbeat) hash ^= Heartbeat.GetHashCode(); + if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) hash ^= ConnectionStatusRequest.GetHashCode(); + if (typeCase_ == TypeOneofCase.ConnectionStatus) hash ^= ConnectionStatus.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasResponseType) { + output.WriteRawTag(8); + output.WriteEnum((int) ResponseType); + } + if (typeCase_ == TypeOneofCase.IndexPot) { + output.WriteRawTag(18); + output.WriteMessage(IndexPot); + } + if (typeCase_ == TypeOneofCase.IndexButton) { + output.WriteRawTag(26); + output.WriteMessage(IndexButton); + } + if (typeCase_ == TypeOneofCase.IndexEncoder) { + output.WriteRawTag(34); + output.WriteMessage(IndexEncoder); + } + if (typeCase_ == TypeOneofCase.ActiveDisplay) { + output.WriteRawTag(42); + output.WriteMessage(ActiveDisplay); + } + if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { + output.WriteRawTag(50); + output.WriteMessage(ProcessorUtilizationRequest); + } + if (typeCase_ == TypeOneofCase.ProcessorUtilization) { + output.WriteRawTag(58); + output.WriteMessage(ProcessorUtilization); + } + if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { + output.WriteRawTag(66); + output.WriteMessage(MemoryUsageRequest); + } + if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { + output.WriteRawTag(74); + output.WriteMessage(MemoryUsageStatus); + } + if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { + output.WriteRawTag(82); + output.WriteMessage(PresetJSONMessageRequestLT); + } + if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { + output.WriteRawTag(90); + output.WriteMessage(FrameBufferMessageRequest); + } + if (typeCase_ == TypeOneofCase.FrameBufferMessage) { + output.WriteRawTag(98); + output.WriteMessage(FrameBufferMessage); + } + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { + output.WriteRawTag(106); + output.WriteMessage(Lt4FootswitchModeRequest); + } + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { + output.WriteRawTag(114); + output.WriteMessage(Lt4FootswitchModeStatus); + } + if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { + output.WriteRawTag(122); + output.WriteMessage(LoadPresetTestSuite); + } + if (typeCase_ == TypeOneofCase.LoopbackTest) { + output.WriteRawTag(242, 1); + output.WriteMessage(LoopbackTest); + } + if (typeCase_ == TypeOneofCase.PresetJSONMessage) { + output.WriteRawTag(250, 1); + output.WriteMessage(PresetJSONMessage); + } + if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { + output.WriteRawTag(130, 2); + output.WriteMessage(CurrentPresetStatus); + } + if (typeCase_ == TypeOneofCase.LoadPreset) { + output.WriteRawTag(138, 2); + output.WriteMessage(LoadPreset); + } + if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { + output.WriteRawTag(146, 2); + output.WriteMessage(SetDspUnitParameter); + } + if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { + output.WriteRawTag(154, 2); + output.WriteMessage(SetDspUnitParameterStatus); + } + if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { + output.WriteRawTag(162, 2); + output.WriteMessage(DspUnitParameterStatus); + } + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { + output.WriteRawTag(170, 2); + output.WriteMessage(CurrentLoadedPresetIndexStatus); + } + if (typeCase_ == TypeOneofCase.PresetEditedStatus) { + output.WriteRawTag(178, 2); + output.WriteMessage(PresetEditedStatus); + } + if (typeCase_ == TypeOneofCase.ReplaceNode) { + output.WriteRawTag(186, 2); + output.WriteMessage(ReplaceNode); + } + if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { + output.WriteRawTag(194, 2); + output.WriteMessage(ReplaceNodeStatus); + } + if (typeCase_ == TypeOneofCase.ShiftPreset) { + output.WriteRawTag(202, 2); + output.WriteMessage(ShiftPreset); + } + if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { + output.WriteRawTag(210, 2); + output.WriteMessage(ShiftPresetStatus); + } + if (typeCase_ == TypeOneofCase.SwapPreset) { + output.WriteRawTag(218, 2); + output.WriteMessage(SwapPreset); + } + if (typeCase_ == TypeOneofCase.SwapPresetStatus) { + output.WriteRawTag(226, 2); + output.WriteMessage(SwapPresetStatus); + } + if (typeCase_ == TypeOneofCase.CurrentPresetSet) { + output.WriteRawTag(234, 2); + output.WriteMessage(CurrentPresetSet); + } + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { + output.WriteRawTag(242, 2); + output.WriteMessage(CurrentLoadedPresetIndexBypassStatus); + } + if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { + output.WriteRawTag(250, 2); + output.WriteMessage(CurrentDisplayedPresetIndexStatus); + } + if (typeCase_ == TypeOneofCase.PresetSavedStatus) { + output.WriteRawTag(146, 3); + output.WriteMessage(PresetSavedStatus); + } + if (typeCase_ == TypeOneofCase.ClearPreset) { + output.WriteRawTag(154, 3); + output.WriteMessage(ClearPreset); + } + if (typeCase_ == TypeOneofCase.ClearPresetStatus) { + output.WriteRawTag(162, 3); + output.WriteMessage(ClearPresetStatus); + } + if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { + output.WriteRawTag(170, 3); + output.WriteMessage(SaveCurrentPreset); + } + if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { + output.WriteRawTag(178, 3); + output.WriteMessage(SaveCurrentPresetTo); + } + if (typeCase_ == TypeOneofCase.SavePresetAs) { + output.WriteRawTag(186, 3); + output.WriteMessage(SavePresetAs); + } + if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { + output.WriteRawTag(194, 3); + output.WriteMessage(NewPresetSavedStatus); + } + if (typeCase_ == TypeOneofCase.RenamePresetAt) { + output.WriteRawTag(202, 3); + output.WriteMessage(RenamePresetAt); + } + if (typeCase_ == TypeOneofCase.AuditionPreset) { + output.WriteRawTag(210, 3); + output.WriteMessage(AuditionPreset); + } + if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { + output.WriteRawTag(218, 3); + output.WriteMessage(AuditionPresetStatus); + } + if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { + output.WriteRawTag(226, 3); + output.WriteMessage(ExitAuditionPreset); + } + if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { + output.WriteRawTag(234, 3); + output.WriteMessage(ExitAuditionPresetStatus); + } + if (typeCase_ == TypeOneofCase.AuditionStateRequest) { + output.WriteRawTag(242, 3); + output.WriteMessage(AuditionStateRequest); + } + if (typeCase_ == TypeOneofCase.AuditionStateStatus) { + output.WriteRawTag(250, 3); + output.WriteMessage(AuditionStateStatus); + } + if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { + output.WriteRawTag(162, 6); + output.WriteMessage(ProductIdentificationStatus); + } + if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { + output.WriteRawTag(170, 6); + output.WriteMessage(ProductIdentificationRequest); + } + if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { + output.WriteRawTag(178, 6); + output.WriteMessage(FirmwareVersionRequest); + } + if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { + output.WriteRawTag(186, 6); + output.WriteMessage(FirmwareVersionStatus); + } + if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { + output.WriteRawTag(194, 6); + output.WriteMessage(CurrentPresetRequest); + } + if (typeCase_ == TypeOneofCase.RetrievePreset) { + output.WriteRawTag(202, 6); + output.WriteMessage(RetrievePreset); + } + if (typeCase_ == TypeOneofCase.UsbGainRequest) { + output.WriteRawTag(210, 6); + output.WriteMessage(UsbGainRequest); + } + if (typeCase_ == TypeOneofCase.UsbGainStatus) { + output.WriteRawTag(218, 6); + output.WriteMessage(UsbGainStatus); + } + if (typeCase_ == TypeOneofCase.QASlotsRequest) { + output.WriteRawTag(226, 6); + output.WriteMessage(QASlotsRequest); + } + if (typeCase_ == TypeOneofCase.QASlotsStatus) { + output.WriteRawTag(234, 6); + output.WriteMessage(QASlotsStatus); + } + if (typeCase_ == TypeOneofCase.LineOutGainRequest) { + output.WriteRawTag(242, 6); + output.WriteMessage(LineOutGainRequest); + } + if (typeCase_ == TypeOneofCase.LineOutGainStatus) { + output.WriteRawTag(250, 6); + output.WriteMessage(LineOutGainStatus); + } + if (typeCase_ == TypeOneofCase.ModalStatusMessage) { + output.WriteRawTag(138, 7); + output.WriteMessage(ModalStatusMessage); + } + if (typeCase_ == TypeOneofCase.UsbGainSet) { + output.WriteRawTag(146, 7); + output.WriteMessage(UsbGainSet); + } + if (typeCase_ == TypeOneofCase.LineOutGainSet) { + output.WriteRawTag(154, 7); + output.WriteMessage(LineOutGainSet); + } + if (typeCase_ == TypeOneofCase.QASlotsSet) { + output.WriteRawTag(162, 7); + output.WriteMessage(QASlotsSet); + } + if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { + output.WriteRawTag(194, 12); + output.WriteMessage(UnsupportedMessageStatus); + } + if (typeCase_ == TypeOneofCase.Heartbeat) { + output.WriteRawTag(202, 12); + output.WriteMessage(Heartbeat); + } + if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { + output.WriteRawTag(210, 12); + output.WriteMessage(ConnectionStatusRequest); + } + if (typeCase_ == TypeOneofCase.ConnectionStatus) { + output.WriteRawTag(218, 12); + output.WriteMessage(ConnectionStatus); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasResponseType) { + output.WriteRawTag(8); + output.WriteEnum((int) ResponseType); + } + if (typeCase_ == TypeOneofCase.IndexPot) { + output.WriteRawTag(18); + output.WriteMessage(IndexPot); + } + if (typeCase_ == TypeOneofCase.IndexButton) { + output.WriteRawTag(26); + output.WriteMessage(IndexButton); + } + if (typeCase_ == TypeOneofCase.IndexEncoder) { + output.WriteRawTag(34); + output.WriteMessage(IndexEncoder); + } + if (typeCase_ == TypeOneofCase.ActiveDisplay) { + output.WriteRawTag(42); + output.WriteMessage(ActiveDisplay); + } + if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { + output.WriteRawTag(50); + output.WriteMessage(ProcessorUtilizationRequest); + } + if (typeCase_ == TypeOneofCase.ProcessorUtilization) { + output.WriteRawTag(58); + output.WriteMessage(ProcessorUtilization); + } + if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { + output.WriteRawTag(66); + output.WriteMessage(MemoryUsageRequest); + } + if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { + output.WriteRawTag(74); + output.WriteMessage(MemoryUsageStatus); + } + if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { + output.WriteRawTag(82); + output.WriteMessage(PresetJSONMessageRequestLT); + } + if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { + output.WriteRawTag(90); + output.WriteMessage(FrameBufferMessageRequest); + } + if (typeCase_ == TypeOneofCase.FrameBufferMessage) { + output.WriteRawTag(98); + output.WriteMessage(FrameBufferMessage); + } + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { + output.WriteRawTag(106); + output.WriteMessage(Lt4FootswitchModeRequest); + } + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { + output.WriteRawTag(114); + output.WriteMessage(Lt4FootswitchModeStatus); + } + if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { + output.WriteRawTag(122); + output.WriteMessage(LoadPresetTestSuite); + } + if (typeCase_ == TypeOneofCase.LoopbackTest) { + output.WriteRawTag(242, 1); + output.WriteMessage(LoopbackTest); + } + if (typeCase_ == TypeOneofCase.PresetJSONMessage) { + output.WriteRawTag(250, 1); + output.WriteMessage(PresetJSONMessage); + } + if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { + output.WriteRawTag(130, 2); + output.WriteMessage(CurrentPresetStatus); + } + if (typeCase_ == TypeOneofCase.LoadPreset) { + output.WriteRawTag(138, 2); + output.WriteMessage(LoadPreset); + } + if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { + output.WriteRawTag(146, 2); + output.WriteMessage(SetDspUnitParameter); + } + if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { + output.WriteRawTag(154, 2); + output.WriteMessage(SetDspUnitParameterStatus); + } + if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { + output.WriteRawTag(162, 2); + output.WriteMessage(DspUnitParameterStatus); + } + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { + output.WriteRawTag(170, 2); + output.WriteMessage(CurrentLoadedPresetIndexStatus); + } + if (typeCase_ == TypeOneofCase.PresetEditedStatus) { + output.WriteRawTag(178, 2); + output.WriteMessage(PresetEditedStatus); + } + if (typeCase_ == TypeOneofCase.ReplaceNode) { + output.WriteRawTag(186, 2); + output.WriteMessage(ReplaceNode); + } + if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { + output.WriteRawTag(194, 2); + output.WriteMessage(ReplaceNodeStatus); + } + if (typeCase_ == TypeOneofCase.ShiftPreset) { + output.WriteRawTag(202, 2); + output.WriteMessage(ShiftPreset); + } + if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { + output.WriteRawTag(210, 2); + output.WriteMessage(ShiftPresetStatus); + } + if (typeCase_ == TypeOneofCase.SwapPreset) { + output.WriteRawTag(218, 2); + output.WriteMessage(SwapPreset); + } + if (typeCase_ == TypeOneofCase.SwapPresetStatus) { + output.WriteRawTag(226, 2); + output.WriteMessage(SwapPresetStatus); + } + if (typeCase_ == TypeOneofCase.CurrentPresetSet) { + output.WriteRawTag(234, 2); + output.WriteMessage(CurrentPresetSet); + } + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { + output.WriteRawTag(242, 2); + output.WriteMessage(CurrentLoadedPresetIndexBypassStatus); + } + if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { + output.WriteRawTag(250, 2); + output.WriteMessage(CurrentDisplayedPresetIndexStatus); + } + if (typeCase_ == TypeOneofCase.PresetSavedStatus) { + output.WriteRawTag(146, 3); + output.WriteMessage(PresetSavedStatus); + } + if (typeCase_ == TypeOneofCase.ClearPreset) { + output.WriteRawTag(154, 3); + output.WriteMessage(ClearPreset); + } + if (typeCase_ == TypeOneofCase.ClearPresetStatus) { + output.WriteRawTag(162, 3); + output.WriteMessage(ClearPresetStatus); + } + if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { + output.WriteRawTag(170, 3); + output.WriteMessage(SaveCurrentPreset); + } + if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { + output.WriteRawTag(178, 3); + output.WriteMessage(SaveCurrentPresetTo); + } + if (typeCase_ == TypeOneofCase.SavePresetAs) { + output.WriteRawTag(186, 3); + output.WriteMessage(SavePresetAs); + } + if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { + output.WriteRawTag(194, 3); + output.WriteMessage(NewPresetSavedStatus); + } + if (typeCase_ == TypeOneofCase.RenamePresetAt) { + output.WriteRawTag(202, 3); + output.WriteMessage(RenamePresetAt); + } + if (typeCase_ == TypeOneofCase.AuditionPreset) { + output.WriteRawTag(210, 3); + output.WriteMessage(AuditionPreset); + } + if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { + output.WriteRawTag(218, 3); + output.WriteMessage(AuditionPresetStatus); + } + if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { + output.WriteRawTag(226, 3); + output.WriteMessage(ExitAuditionPreset); + } + if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { + output.WriteRawTag(234, 3); + output.WriteMessage(ExitAuditionPresetStatus); + } + if (typeCase_ == TypeOneofCase.AuditionStateRequest) { + output.WriteRawTag(242, 3); + output.WriteMessage(AuditionStateRequest); + } + if (typeCase_ == TypeOneofCase.AuditionStateStatus) { + output.WriteRawTag(250, 3); + output.WriteMessage(AuditionStateStatus); + } + if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { + output.WriteRawTag(162, 6); + output.WriteMessage(ProductIdentificationStatus); + } + if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { + output.WriteRawTag(170, 6); + output.WriteMessage(ProductIdentificationRequest); + } + if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { + output.WriteRawTag(178, 6); + output.WriteMessage(FirmwareVersionRequest); + } + if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { + output.WriteRawTag(186, 6); + output.WriteMessage(FirmwareVersionStatus); + } + if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { + output.WriteRawTag(194, 6); + output.WriteMessage(CurrentPresetRequest); + } + if (typeCase_ == TypeOneofCase.RetrievePreset) { + output.WriteRawTag(202, 6); + output.WriteMessage(RetrievePreset); + } + if (typeCase_ == TypeOneofCase.UsbGainRequest) { + output.WriteRawTag(210, 6); + output.WriteMessage(UsbGainRequest); + } + if (typeCase_ == TypeOneofCase.UsbGainStatus) { + output.WriteRawTag(218, 6); + output.WriteMessage(UsbGainStatus); + } + if (typeCase_ == TypeOneofCase.QASlotsRequest) { + output.WriteRawTag(226, 6); + output.WriteMessage(QASlotsRequest); + } + if (typeCase_ == TypeOneofCase.QASlotsStatus) { + output.WriteRawTag(234, 6); + output.WriteMessage(QASlotsStatus); + } + if (typeCase_ == TypeOneofCase.LineOutGainRequest) { + output.WriteRawTag(242, 6); + output.WriteMessage(LineOutGainRequest); + } + if (typeCase_ == TypeOneofCase.LineOutGainStatus) { + output.WriteRawTag(250, 6); + output.WriteMessage(LineOutGainStatus); + } + if (typeCase_ == TypeOneofCase.ModalStatusMessage) { + output.WriteRawTag(138, 7); + output.WriteMessage(ModalStatusMessage); + } + if (typeCase_ == TypeOneofCase.UsbGainSet) { + output.WriteRawTag(146, 7); + output.WriteMessage(UsbGainSet); + } + if (typeCase_ == TypeOneofCase.LineOutGainSet) { + output.WriteRawTag(154, 7); + output.WriteMessage(LineOutGainSet); + } + if (typeCase_ == TypeOneofCase.QASlotsSet) { + output.WriteRawTag(162, 7); + output.WriteMessage(QASlotsSet); + } + if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { + output.WriteRawTag(194, 12); + output.WriteMessage(UnsupportedMessageStatus); + } + if (typeCase_ == TypeOneofCase.Heartbeat) { + output.WriteRawTag(202, 12); + output.WriteMessage(Heartbeat); + } + if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { + output.WriteRawTag(210, 12); + output.WriteMessage(ConnectionStatusRequest); + } + if (typeCase_ == TypeOneofCase.ConnectionStatus) { + output.WriteRawTag(218, 12); + output.WriteMessage(ConnectionStatus); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasResponseType) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ResponseType); + } + if (typeCase_ == TypeOneofCase.IndexPot) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexPot); + } + if (typeCase_ == TypeOneofCase.IndexButton) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexButton); + } + if (typeCase_ == TypeOneofCase.IndexEncoder) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(IndexEncoder); + } + if (typeCase_ == TypeOneofCase.ActiveDisplay) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ActiveDisplay); + } + if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProcessorUtilizationRequest); + } + if (typeCase_ == TypeOneofCase.ProcessorUtilization) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProcessorUtilization); + } + if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemoryUsageRequest); + } + if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(MemoryUsageStatus); + } + if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PresetJSONMessageRequestLT); + } + if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(FrameBufferMessageRequest); + } + if (typeCase_ == TypeOneofCase.FrameBufferMessage) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(FrameBufferMessage); + } + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Lt4FootswitchModeRequest); + } + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Lt4FootswitchModeStatus); + } + if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(LoadPresetTestSuite); + } + if (typeCase_ == TypeOneofCase.LoopbackTest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(LoopbackTest); + } + if (typeCase_ == TypeOneofCase.PresetJSONMessage) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(PresetJSONMessage); + } + if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentPresetStatus); + } + if (typeCase_ == TypeOneofCase.LoadPreset) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(LoadPreset); + } + if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SetDspUnitParameter); + } + if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SetDspUnitParameterStatus); + } + if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(DspUnitParameterStatus); + } + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentLoadedPresetIndexStatus); + } + if (typeCase_ == TypeOneofCase.PresetEditedStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(PresetEditedStatus); + } + if (typeCase_ == TypeOneofCase.ReplaceNode) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ReplaceNode); + } + if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ReplaceNodeStatus); + } + if (typeCase_ == TypeOneofCase.ShiftPreset) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShiftPreset); + } + if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShiftPresetStatus); + } + if (typeCase_ == TypeOneofCase.SwapPreset) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SwapPreset); + } + if (typeCase_ == TypeOneofCase.SwapPresetStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SwapPresetStatus); + } + if (typeCase_ == TypeOneofCase.CurrentPresetSet) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentPresetSet); + } + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentLoadedPresetIndexBypassStatus); + } + if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentDisplayedPresetIndexStatus); + } + if (typeCase_ == TypeOneofCase.PresetSavedStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(PresetSavedStatus); + } + if (typeCase_ == TypeOneofCase.ClearPreset) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ClearPreset); + } + if (typeCase_ == TypeOneofCase.ClearPresetStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ClearPresetStatus); + } + if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SaveCurrentPreset); + } + if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SaveCurrentPresetTo); + } + if (typeCase_ == TypeOneofCase.SavePresetAs) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SavePresetAs); + } + if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(NewPresetSavedStatus); + } + if (typeCase_ == TypeOneofCase.RenamePresetAt) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(RenamePresetAt); + } + if (typeCase_ == TypeOneofCase.AuditionPreset) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuditionPreset); + } + if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuditionPresetStatus); + } + if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ExitAuditionPreset); + } + if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ExitAuditionPresetStatus); + } + if (typeCase_ == TypeOneofCase.AuditionStateRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuditionStateRequest); + } + if (typeCase_ == TypeOneofCase.AuditionStateStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(AuditionStateStatus); + } + if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ProductIdentificationStatus); + } + if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ProductIdentificationRequest); + } + if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(FirmwareVersionRequest); + } + if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(FirmwareVersionStatus); + } + if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CurrentPresetRequest); + } + if (typeCase_ == TypeOneofCase.RetrievePreset) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(RetrievePreset); + } + if (typeCase_ == TypeOneofCase.UsbGainRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UsbGainRequest); + } + if (typeCase_ == TypeOneofCase.UsbGainStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UsbGainStatus); + } + if (typeCase_ == TypeOneofCase.QASlotsRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(QASlotsRequest); + } + if (typeCase_ == TypeOneofCase.QASlotsStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(QASlotsStatus); + } + if (typeCase_ == TypeOneofCase.LineOutGainRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(LineOutGainRequest); + } + if (typeCase_ == TypeOneofCase.LineOutGainStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(LineOutGainStatus); + } + if (typeCase_ == TypeOneofCase.ModalStatusMessage) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ModalStatusMessage); + } + if (typeCase_ == TypeOneofCase.UsbGainSet) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UsbGainSet); + } + if (typeCase_ == TypeOneofCase.LineOutGainSet) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(LineOutGainSet); + } + if (typeCase_ == TypeOneofCase.QASlotsSet) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(QASlotsSet); + } + if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnsupportedMessageStatus); + } + if (typeCase_ == TypeOneofCase.Heartbeat) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Heartbeat); + } + if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ConnectionStatusRequest); + } + if (typeCase_ == TypeOneofCase.ConnectionStatus) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ConnectionStatus); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FenderMessageLT other) { + if (other == null) { + return; + } + if (other.HasResponseType) { + ResponseType = other.ResponseType; + } + switch (other.TypeCase) { + case TypeOneofCase.IndexPot: + if (IndexPot == null) { + IndexPot = new global::IndexPot(); + } + IndexPot.MergeFrom(other.IndexPot); + break; + case TypeOneofCase.IndexButton: + if (IndexButton == null) { + IndexButton = new global::IndexButton(); + } + IndexButton.MergeFrom(other.IndexButton); + break; + case TypeOneofCase.IndexEncoder: + if (IndexEncoder == null) { + IndexEncoder = new global::IndexEncoder(); + } + IndexEncoder.MergeFrom(other.IndexEncoder); + break; + case TypeOneofCase.ActiveDisplay: + if (ActiveDisplay == null) { + ActiveDisplay = new global::ActiveDisplay(); + } + ActiveDisplay.MergeFrom(other.ActiveDisplay); + break; + case TypeOneofCase.ProcessorUtilizationRequest: + if (ProcessorUtilizationRequest == null) { + ProcessorUtilizationRequest = new global::ProcessorUtilizationRequest(); + } + ProcessorUtilizationRequest.MergeFrom(other.ProcessorUtilizationRequest); + break; + case TypeOneofCase.ProcessorUtilization: + if (ProcessorUtilization == null) { + ProcessorUtilization = new global::ProcessorUtilization(); + } + ProcessorUtilization.MergeFrom(other.ProcessorUtilization); + break; + case TypeOneofCase.MemoryUsageRequest: + if (MemoryUsageRequest == null) { + MemoryUsageRequest = new global::MemoryUsageRequest(); + } + MemoryUsageRequest.MergeFrom(other.MemoryUsageRequest); + break; + case TypeOneofCase.MemoryUsageStatus: + if (MemoryUsageStatus == null) { + MemoryUsageStatus = new global::MemoryUsageStatus(); + } + MemoryUsageStatus.MergeFrom(other.MemoryUsageStatus); + break; + case TypeOneofCase.PresetJSONMessageRequestLT: + if (PresetJSONMessageRequestLT == null) { + PresetJSONMessageRequestLT = new global::PresetJSONMessageRequest_LT(); + } + PresetJSONMessageRequestLT.MergeFrom(other.PresetJSONMessageRequestLT); + break; + case TypeOneofCase.FrameBufferMessageRequest: + if (FrameBufferMessageRequest == null) { + FrameBufferMessageRequest = new global::FrameBufferMessageRequest(); + } + FrameBufferMessageRequest.MergeFrom(other.FrameBufferMessageRequest); + break; + case TypeOneofCase.FrameBufferMessage: + if (FrameBufferMessage == null) { + FrameBufferMessage = new global::FrameBufferMessage(); + } + FrameBufferMessage.MergeFrom(other.FrameBufferMessage); + break; + case TypeOneofCase.Lt4FootswitchModeRequest: + if (Lt4FootswitchModeRequest == null) { + Lt4FootswitchModeRequest = new global::LT4FootswitchModeRequest(); + } + Lt4FootswitchModeRequest.MergeFrom(other.Lt4FootswitchModeRequest); + break; + case TypeOneofCase.Lt4FootswitchModeStatus: + if (Lt4FootswitchModeStatus == null) { + Lt4FootswitchModeStatus = new global::LT4FootswitchModeStatus(); + } + Lt4FootswitchModeStatus.MergeFrom(other.Lt4FootswitchModeStatus); + break; + case TypeOneofCase.LoadPresetTestSuite: + if (LoadPresetTestSuite == null) { + LoadPresetTestSuite = new global::LoadPreset_TestSuite(); + } + LoadPresetTestSuite.MergeFrom(other.LoadPresetTestSuite); + break; + case TypeOneofCase.LoopbackTest: + if (LoopbackTest == null) { + LoopbackTest = new global::LoopbackTest(); + } + LoopbackTest.MergeFrom(other.LoopbackTest); + break; + case TypeOneofCase.PresetJSONMessage: + if (PresetJSONMessage == null) { + PresetJSONMessage = new global::PresetJSONMessage(); + } + PresetJSONMessage.MergeFrom(other.PresetJSONMessage); + break; + case TypeOneofCase.CurrentPresetStatus: + if (CurrentPresetStatus == null) { + CurrentPresetStatus = new global::CurrentPresetStatus(); + } + CurrentPresetStatus.MergeFrom(other.CurrentPresetStatus); + break; + case TypeOneofCase.LoadPreset: + if (LoadPreset == null) { + LoadPreset = new global::LoadPreset(); + } + LoadPreset.MergeFrom(other.LoadPreset); + break; + case TypeOneofCase.SetDspUnitParameter: + if (SetDspUnitParameter == null) { + SetDspUnitParameter = new global::SetDspUnitParameter(); + } + SetDspUnitParameter.MergeFrom(other.SetDspUnitParameter); + break; + case TypeOneofCase.SetDspUnitParameterStatus: + if (SetDspUnitParameterStatus == null) { + SetDspUnitParameterStatus = new global::SetDspUnitParameterStatus(); + } + SetDspUnitParameterStatus.MergeFrom(other.SetDspUnitParameterStatus); + break; + case TypeOneofCase.DspUnitParameterStatus: + if (DspUnitParameterStatus == null) { + DspUnitParameterStatus = new global::DspUnitParameterStatus(); + } + DspUnitParameterStatus.MergeFrom(other.DspUnitParameterStatus); + break; + case TypeOneofCase.CurrentLoadedPresetIndexStatus: + if (CurrentLoadedPresetIndexStatus == null) { + CurrentLoadedPresetIndexStatus = new global::CurrentLoadedPresetIndexStatus(); + } + CurrentLoadedPresetIndexStatus.MergeFrom(other.CurrentLoadedPresetIndexStatus); + break; + case TypeOneofCase.PresetEditedStatus: + if (PresetEditedStatus == null) { + PresetEditedStatus = new global::PresetEditedStatus(); + } + PresetEditedStatus.MergeFrom(other.PresetEditedStatus); + break; + case TypeOneofCase.ReplaceNode: + if (ReplaceNode == null) { + ReplaceNode = new global::ReplaceNode(); + } + ReplaceNode.MergeFrom(other.ReplaceNode); + break; + case TypeOneofCase.ReplaceNodeStatus: + if (ReplaceNodeStatus == null) { + ReplaceNodeStatus = new global::ReplaceNodeStatus(); + } + ReplaceNodeStatus.MergeFrom(other.ReplaceNodeStatus); + break; + case TypeOneofCase.ShiftPreset: + if (ShiftPreset == null) { + ShiftPreset = new global::ShiftPreset(); + } + ShiftPreset.MergeFrom(other.ShiftPreset); + break; + case TypeOneofCase.ShiftPresetStatus: + if (ShiftPresetStatus == null) { + ShiftPresetStatus = new global::ShiftPresetStatus(); + } + ShiftPresetStatus.MergeFrom(other.ShiftPresetStatus); + break; + case TypeOneofCase.SwapPreset: + if (SwapPreset == null) { + SwapPreset = new global::SwapPreset(); + } + SwapPreset.MergeFrom(other.SwapPreset); + break; + case TypeOneofCase.SwapPresetStatus: + if (SwapPresetStatus == null) { + SwapPresetStatus = new global::SwapPresetStatus(); + } + SwapPresetStatus.MergeFrom(other.SwapPresetStatus); + break; + case TypeOneofCase.CurrentPresetSet: + if (CurrentPresetSet == null) { + CurrentPresetSet = new global::CurrentPresetSet(); + } + CurrentPresetSet.MergeFrom(other.CurrentPresetSet); + break; + case TypeOneofCase.CurrentLoadedPresetIndexBypassStatus: + if (CurrentLoadedPresetIndexBypassStatus == null) { + CurrentLoadedPresetIndexBypassStatus = new global::CurrentLoadedPresetIndexBypassStatus(); + } + CurrentLoadedPresetIndexBypassStatus.MergeFrom(other.CurrentLoadedPresetIndexBypassStatus); + break; + case TypeOneofCase.CurrentDisplayedPresetIndexStatus: + if (CurrentDisplayedPresetIndexStatus == null) { + CurrentDisplayedPresetIndexStatus = new global::CurrentDisplayedPresetIndexStatus(); + } + CurrentDisplayedPresetIndexStatus.MergeFrom(other.CurrentDisplayedPresetIndexStatus); + break; + case TypeOneofCase.PresetSavedStatus: + if (PresetSavedStatus == null) { + PresetSavedStatus = new global::PresetSavedStatus(); + } + PresetSavedStatus.MergeFrom(other.PresetSavedStatus); + break; + case TypeOneofCase.ClearPreset: + if (ClearPreset == null) { + ClearPreset = new global::ClearPreset(); + } + ClearPreset.MergeFrom(other.ClearPreset); + break; + case TypeOneofCase.ClearPresetStatus: + if (ClearPresetStatus == null) { + ClearPresetStatus = new global::ClearPresetStatus(); + } + ClearPresetStatus.MergeFrom(other.ClearPresetStatus); + break; + case TypeOneofCase.SaveCurrentPreset: + if (SaveCurrentPreset == null) { + SaveCurrentPreset = new global::SaveCurrentPreset(); + } + SaveCurrentPreset.MergeFrom(other.SaveCurrentPreset); + break; + case TypeOneofCase.SaveCurrentPresetTo: + if (SaveCurrentPresetTo == null) { + SaveCurrentPresetTo = new global::SaveCurrentPresetTo(); + } + SaveCurrentPresetTo.MergeFrom(other.SaveCurrentPresetTo); + break; + case TypeOneofCase.SavePresetAs: + if (SavePresetAs == null) { + SavePresetAs = new global::SavePresetAs(); + } + SavePresetAs.MergeFrom(other.SavePresetAs); + break; + case TypeOneofCase.NewPresetSavedStatus: + if (NewPresetSavedStatus == null) { + NewPresetSavedStatus = new global::NewPresetSavedStatus(); + } + NewPresetSavedStatus.MergeFrom(other.NewPresetSavedStatus); + break; + case TypeOneofCase.RenamePresetAt: + if (RenamePresetAt == null) { + RenamePresetAt = new global::RenamePresetAt(); + } + RenamePresetAt.MergeFrom(other.RenamePresetAt); + break; + case TypeOneofCase.AuditionPreset: + if (AuditionPreset == null) { + AuditionPreset = new global::AuditionPreset(); + } + AuditionPreset.MergeFrom(other.AuditionPreset); + break; + case TypeOneofCase.AuditionPresetStatus: + if (AuditionPresetStatus == null) { + AuditionPresetStatus = new global::AuditionPresetStatus(); + } + AuditionPresetStatus.MergeFrom(other.AuditionPresetStatus); + break; + case TypeOneofCase.ExitAuditionPreset: + if (ExitAuditionPreset == null) { + ExitAuditionPreset = new global::ExitAuditionPreset(); + } + ExitAuditionPreset.MergeFrom(other.ExitAuditionPreset); + break; + case TypeOneofCase.ExitAuditionPresetStatus: + if (ExitAuditionPresetStatus == null) { + ExitAuditionPresetStatus = new global::ExitAuditionPresetStatus(); + } + ExitAuditionPresetStatus.MergeFrom(other.ExitAuditionPresetStatus); + break; + case TypeOneofCase.AuditionStateRequest: + if (AuditionStateRequest == null) { + AuditionStateRequest = new global::AuditionStateRequest(); + } + AuditionStateRequest.MergeFrom(other.AuditionStateRequest); + break; + case TypeOneofCase.AuditionStateStatus: + if (AuditionStateStatus == null) { + AuditionStateStatus = new global::AuditionStateStatus(); + } + AuditionStateStatus.MergeFrom(other.AuditionStateStatus); + break; + case TypeOneofCase.ProductIdentificationStatus: + if (ProductIdentificationStatus == null) { + ProductIdentificationStatus = new global::ProductIdentificationStatus(); + } + ProductIdentificationStatus.MergeFrom(other.ProductIdentificationStatus); + break; + case TypeOneofCase.ProductIdentificationRequest: + if (ProductIdentificationRequest == null) { + ProductIdentificationRequest = new global::ProductIdentificationRequest(); + } + ProductIdentificationRequest.MergeFrom(other.ProductIdentificationRequest); + break; + case TypeOneofCase.FirmwareVersionRequest: + if (FirmwareVersionRequest == null) { + FirmwareVersionRequest = new global::FirmwareVersionRequest(); + } + FirmwareVersionRequest.MergeFrom(other.FirmwareVersionRequest); + break; + case TypeOneofCase.FirmwareVersionStatus: + if (FirmwareVersionStatus == null) { + FirmwareVersionStatus = new global::FirmwareVersionStatus(); + } + FirmwareVersionStatus.MergeFrom(other.FirmwareVersionStatus); + break; + case TypeOneofCase.CurrentPresetRequest: + if (CurrentPresetRequest == null) { + CurrentPresetRequest = new global::CurrentPresetRequest(); + } + CurrentPresetRequest.MergeFrom(other.CurrentPresetRequest); + break; + case TypeOneofCase.RetrievePreset: + if (RetrievePreset == null) { + RetrievePreset = new global::RetrievePreset(); + } + RetrievePreset.MergeFrom(other.RetrievePreset); + break; + case TypeOneofCase.UsbGainRequest: + if (UsbGainRequest == null) { + UsbGainRequest = new global::UsbGainRequest(); + } + UsbGainRequest.MergeFrom(other.UsbGainRequest); + break; + case TypeOneofCase.UsbGainStatus: + if (UsbGainStatus == null) { + UsbGainStatus = new global::UsbGainStatus(); + } + UsbGainStatus.MergeFrom(other.UsbGainStatus); + break; + case TypeOneofCase.QASlotsRequest: + if (QASlotsRequest == null) { + QASlotsRequest = new global::QASlotsRequest(); + } + QASlotsRequest.MergeFrom(other.QASlotsRequest); + break; + case TypeOneofCase.QASlotsStatus: + if (QASlotsStatus == null) { + QASlotsStatus = new global::QASlotsStatus(); + } + QASlotsStatus.MergeFrom(other.QASlotsStatus); + break; + case TypeOneofCase.LineOutGainRequest: + if (LineOutGainRequest == null) { + LineOutGainRequest = new global::LineOutGainRequest(); + } + LineOutGainRequest.MergeFrom(other.LineOutGainRequest); + break; + case TypeOneofCase.LineOutGainStatus: + if (LineOutGainStatus == null) { + LineOutGainStatus = new global::LineOutGainStatus(); + } + LineOutGainStatus.MergeFrom(other.LineOutGainStatus); + break; + case TypeOneofCase.ModalStatusMessage: + if (ModalStatusMessage == null) { + ModalStatusMessage = new global::ModalStatusMessage(); + } + ModalStatusMessage.MergeFrom(other.ModalStatusMessage); + break; + case TypeOneofCase.UsbGainSet: + if (UsbGainSet == null) { + UsbGainSet = new global::UsbGainSet(); + } + UsbGainSet.MergeFrom(other.UsbGainSet); + break; + case TypeOneofCase.LineOutGainSet: + if (LineOutGainSet == null) { + LineOutGainSet = new global::LineOutGainSet(); + } + LineOutGainSet.MergeFrom(other.LineOutGainSet); + break; + case TypeOneofCase.QASlotsSet: + if (QASlotsSet == null) { + QASlotsSet = new global::QASlotsSet(); + } + QASlotsSet.MergeFrom(other.QASlotsSet); + break; + case TypeOneofCase.UnsupportedMessageStatus: + if (UnsupportedMessageStatus == null) { + UnsupportedMessageStatus = new global::UnsupportedMessageStatus(); + } + UnsupportedMessageStatus.MergeFrom(other.UnsupportedMessageStatus); + break; + case TypeOneofCase.Heartbeat: + if (Heartbeat == null) { + Heartbeat = new global::Heartbeat(); + } + Heartbeat.MergeFrom(other.Heartbeat); + break; + case TypeOneofCase.ConnectionStatusRequest: + if (ConnectionStatusRequest == null) { + ConnectionStatusRequest = new global::ConnectionStatusRequest(); + } + ConnectionStatusRequest.MergeFrom(other.ConnectionStatusRequest); + break; + case TypeOneofCase.ConnectionStatus: + if (ConnectionStatus == null) { + ConnectionStatus = new global::ConnectionStatus(); + } + ConnectionStatus.MergeFrom(other.ConnectionStatus); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + ResponseType = (global::ResponseType) input.ReadEnum(); + break; + } + case 18: { + global::IndexPot subBuilder = new global::IndexPot(); + if (typeCase_ == TypeOneofCase.IndexPot) { + subBuilder.MergeFrom(IndexPot); + } + input.ReadMessage(subBuilder); + IndexPot = subBuilder; + break; + } + case 26: { + global::IndexButton subBuilder = new global::IndexButton(); + if (typeCase_ == TypeOneofCase.IndexButton) { + subBuilder.MergeFrom(IndexButton); + } + input.ReadMessage(subBuilder); + IndexButton = subBuilder; + break; + } + case 34: { + global::IndexEncoder subBuilder = new global::IndexEncoder(); + if (typeCase_ == TypeOneofCase.IndexEncoder) { + subBuilder.MergeFrom(IndexEncoder); + } + input.ReadMessage(subBuilder); + IndexEncoder = subBuilder; + break; + } + case 42: { + global::ActiveDisplay subBuilder = new global::ActiveDisplay(); + if (typeCase_ == TypeOneofCase.ActiveDisplay) { + subBuilder.MergeFrom(ActiveDisplay); + } + input.ReadMessage(subBuilder); + ActiveDisplay = subBuilder; + break; + } + case 50: { + global::ProcessorUtilizationRequest subBuilder = new global::ProcessorUtilizationRequest(); + if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { + subBuilder.MergeFrom(ProcessorUtilizationRequest); + } + input.ReadMessage(subBuilder); + ProcessorUtilizationRequest = subBuilder; + break; + } + case 58: { + global::ProcessorUtilization subBuilder = new global::ProcessorUtilization(); + if (typeCase_ == TypeOneofCase.ProcessorUtilization) { + subBuilder.MergeFrom(ProcessorUtilization); + } + input.ReadMessage(subBuilder); + ProcessorUtilization = subBuilder; + break; + } + case 66: { + global::MemoryUsageRequest subBuilder = new global::MemoryUsageRequest(); + if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { + subBuilder.MergeFrom(MemoryUsageRequest); + } + input.ReadMessage(subBuilder); + MemoryUsageRequest = subBuilder; + break; + } + case 74: { + global::MemoryUsageStatus subBuilder = new global::MemoryUsageStatus(); + if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { + subBuilder.MergeFrom(MemoryUsageStatus); + } + input.ReadMessage(subBuilder); + MemoryUsageStatus = subBuilder; + break; + } + case 82: { + global::PresetJSONMessageRequest_LT subBuilder = new global::PresetJSONMessageRequest_LT(); + if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { + subBuilder.MergeFrom(PresetJSONMessageRequestLT); + } + input.ReadMessage(subBuilder); + PresetJSONMessageRequestLT = subBuilder; + break; + } + case 90: { + global::FrameBufferMessageRequest subBuilder = new global::FrameBufferMessageRequest(); + if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { + subBuilder.MergeFrom(FrameBufferMessageRequest); + } + input.ReadMessage(subBuilder); + FrameBufferMessageRequest = subBuilder; + break; + } + case 98: { + global::FrameBufferMessage subBuilder = new global::FrameBufferMessage(); + if (typeCase_ == TypeOneofCase.FrameBufferMessage) { + subBuilder.MergeFrom(FrameBufferMessage); + } + input.ReadMessage(subBuilder); + FrameBufferMessage = subBuilder; + break; + } + case 106: { + global::LT4FootswitchModeRequest subBuilder = new global::LT4FootswitchModeRequest(); + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { + subBuilder.MergeFrom(Lt4FootswitchModeRequest); + } + input.ReadMessage(subBuilder); + Lt4FootswitchModeRequest = subBuilder; + break; + } + case 114: { + global::LT4FootswitchModeStatus subBuilder = new global::LT4FootswitchModeStatus(); + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { + subBuilder.MergeFrom(Lt4FootswitchModeStatus); + } + input.ReadMessage(subBuilder); + Lt4FootswitchModeStatus = subBuilder; + break; + } + case 122: { + global::LoadPreset_TestSuite subBuilder = new global::LoadPreset_TestSuite(); + if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { + subBuilder.MergeFrom(LoadPresetTestSuite); + } + input.ReadMessage(subBuilder); + LoadPresetTestSuite = subBuilder; + break; + } + case 242: { + global::LoopbackTest subBuilder = new global::LoopbackTest(); + if (typeCase_ == TypeOneofCase.LoopbackTest) { + subBuilder.MergeFrom(LoopbackTest); + } + input.ReadMessage(subBuilder); + LoopbackTest = subBuilder; + break; + } + case 250: { + global::PresetJSONMessage subBuilder = new global::PresetJSONMessage(); + if (typeCase_ == TypeOneofCase.PresetJSONMessage) { + subBuilder.MergeFrom(PresetJSONMessage); + } + input.ReadMessage(subBuilder); + PresetJSONMessage = subBuilder; + break; + } + case 258: { + global::CurrentPresetStatus subBuilder = new global::CurrentPresetStatus(); + if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { + subBuilder.MergeFrom(CurrentPresetStatus); + } + input.ReadMessage(subBuilder); + CurrentPresetStatus = subBuilder; + break; + } + case 266: { + global::LoadPreset subBuilder = new global::LoadPreset(); + if (typeCase_ == TypeOneofCase.LoadPreset) { + subBuilder.MergeFrom(LoadPreset); + } + input.ReadMessage(subBuilder); + LoadPreset = subBuilder; + break; + } + case 274: { + global::SetDspUnitParameter subBuilder = new global::SetDspUnitParameter(); + if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { + subBuilder.MergeFrom(SetDspUnitParameter); + } + input.ReadMessage(subBuilder); + SetDspUnitParameter = subBuilder; + break; + } + case 282: { + global::SetDspUnitParameterStatus subBuilder = new global::SetDspUnitParameterStatus(); + if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { + subBuilder.MergeFrom(SetDspUnitParameterStatus); + } + input.ReadMessage(subBuilder); + SetDspUnitParameterStatus = subBuilder; + break; + } + case 290: { + global::DspUnitParameterStatus subBuilder = new global::DspUnitParameterStatus(); + if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { + subBuilder.MergeFrom(DspUnitParameterStatus); + } + input.ReadMessage(subBuilder); + DspUnitParameterStatus = subBuilder; + break; + } + case 298: { + global::CurrentLoadedPresetIndexStatus subBuilder = new global::CurrentLoadedPresetIndexStatus(); + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { + subBuilder.MergeFrom(CurrentLoadedPresetIndexStatus); + } + input.ReadMessage(subBuilder); + CurrentLoadedPresetIndexStatus = subBuilder; + break; + } + case 306: { + global::PresetEditedStatus subBuilder = new global::PresetEditedStatus(); + if (typeCase_ == TypeOneofCase.PresetEditedStatus) { + subBuilder.MergeFrom(PresetEditedStatus); + } + input.ReadMessage(subBuilder); + PresetEditedStatus = subBuilder; + break; + } + case 314: { + global::ReplaceNode subBuilder = new global::ReplaceNode(); + if (typeCase_ == TypeOneofCase.ReplaceNode) { + subBuilder.MergeFrom(ReplaceNode); + } + input.ReadMessage(subBuilder); + ReplaceNode = subBuilder; + break; + } + case 322: { + global::ReplaceNodeStatus subBuilder = new global::ReplaceNodeStatus(); + if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { + subBuilder.MergeFrom(ReplaceNodeStatus); + } + input.ReadMessage(subBuilder); + ReplaceNodeStatus = subBuilder; + break; + } + case 330: { + global::ShiftPreset subBuilder = new global::ShiftPreset(); + if (typeCase_ == TypeOneofCase.ShiftPreset) { + subBuilder.MergeFrom(ShiftPreset); + } + input.ReadMessage(subBuilder); + ShiftPreset = subBuilder; + break; + } + case 338: { + global::ShiftPresetStatus subBuilder = new global::ShiftPresetStatus(); + if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { + subBuilder.MergeFrom(ShiftPresetStatus); + } + input.ReadMessage(subBuilder); + ShiftPresetStatus = subBuilder; + break; + } + case 346: { + global::SwapPreset subBuilder = new global::SwapPreset(); + if (typeCase_ == TypeOneofCase.SwapPreset) { + subBuilder.MergeFrom(SwapPreset); + } + input.ReadMessage(subBuilder); + SwapPreset = subBuilder; + break; + } + case 354: { + global::SwapPresetStatus subBuilder = new global::SwapPresetStatus(); + if (typeCase_ == TypeOneofCase.SwapPresetStatus) { + subBuilder.MergeFrom(SwapPresetStatus); + } + input.ReadMessage(subBuilder); + SwapPresetStatus = subBuilder; + break; + } + case 362: { + global::CurrentPresetSet subBuilder = new global::CurrentPresetSet(); + if (typeCase_ == TypeOneofCase.CurrentPresetSet) { + subBuilder.MergeFrom(CurrentPresetSet); + } + input.ReadMessage(subBuilder); + CurrentPresetSet = subBuilder; + break; + } + case 370: { + global::CurrentLoadedPresetIndexBypassStatus subBuilder = new global::CurrentLoadedPresetIndexBypassStatus(); + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { + subBuilder.MergeFrom(CurrentLoadedPresetIndexBypassStatus); + } + input.ReadMessage(subBuilder); + CurrentLoadedPresetIndexBypassStatus = subBuilder; + break; + } + case 378: { + global::CurrentDisplayedPresetIndexStatus subBuilder = new global::CurrentDisplayedPresetIndexStatus(); + if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { + subBuilder.MergeFrom(CurrentDisplayedPresetIndexStatus); + } + input.ReadMessage(subBuilder); + CurrentDisplayedPresetIndexStatus = subBuilder; + break; + } + case 402: { + global::PresetSavedStatus subBuilder = new global::PresetSavedStatus(); + if (typeCase_ == TypeOneofCase.PresetSavedStatus) { + subBuilder.MergeFrom(PresetSavedStatus); + } + input.ReadMessage(subBuilder); + PresetSavedStatus = subBuilder; + break; + } + case 410: { + global::ClearPreset subBuilder = new global::ClearPreset(); + if (typeCase_ == TypeOneofCase.ClearPreset) { + subBuilder.MergeFrom(ClearPreset); + } + input.ReadMessage(subBuilder); + ClearPreset = subBuilder; + break; + } + case 418: { + global::ClearPresetStatus subBuilder = new global::ClearPresetStatus(); + if (typeCase_ == TypeOneofCase.ClearPresetStatus) { + subBuilder.MergeFrom(ClearPresetStatus); + } + input.ReadMessage(subBuilder); + ClearPresetStatus = subBuilder; + break; + } + case 426: { + global::SaveCurrentPreset subBuilder = new global::SaveCurrentPreset(); + if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { + subBuilder.MergeFrom(SaveCurrentPreset); + } + input.ReadMessage(subBuilder); + SaveCurrentPreset = subBuilder; + break; + } + case 434: { + global::SaveCurrentPresetTo subBuilder = new global::SaveCurrentPresetTo(); + if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { + subBuilder.MergeFrom(SaveCurrentPresetTo); + } + input.ReadMessage(subBuilder); + SaveCurrentPresetTo = subBuilder; + break; + } + case 442: { + global::SavePresetAs subBuilder = new global::SavePresetAs(); + if (typeCase_ == TypeOneofCase.SavePresetAs) { + subBuilder.MergeFrom(SavePresetAs); + } + input.ReadMessage(subBuilder); + SavePresetAs = subBuilder; + break; + } + case 450: { + global::NewPresetSavedStatus subBuilder = new global::NewPresetSavedStatus(); + if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { + subBuilder.MergeFrom(NewPresetSavedStatus); + } + input.ReadMessage(subBuilder); + NewPresetSavedStatus = subBuilder; + break; + } + case 458: { + global::RenamePresetAt subBuilder = new global::RenamePresetAt(); + if (typeCase_ == TypeOneofCase.RenamePresetAt) { + subBuilder.MergeFrom(RenamePresetAt); + } + input.ReadMessage(subBuilder); + RenamePresetAt = subBuilder; + break; + } + case 466: { + global::AuditionPreset subBuilder = new global::AuditionPreset(); + if (typeCase_ == TypeOneofCase.AuditionPreset) { + subBuilder.MergeFrom(AuditionPreset); + } + input.ReadMessage(subBuilder); + AuditionPreset = subBuilder; + break; + } + case 474: { + global::AuditionPresetStatus subBuilder = new global::AuditionPresetStatus(); + if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { + subBuilder.MergeFrom(AuditionPresetStatus); + } + input.ReadMessage(subBuilder); + AuditionPresetStatus = subBuilder; + break; + } + case 482: { + global::ExitAuditionPreset subBuilder = new global::ExitAuditionPreset(); + if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { + subBuilder.MergeFrom(ExitAuditionPreset); + } + input.ReadMessage(subBuilder); + ExitAuditionPreset = subBuilder; + break; + } + case 490: { + global::ExitAuditionPresetStatus subBuilder = new global::ExitAuditionPresetStatus(); + if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { + subBuilder.MergeFrom(ExitAuditionPresetStatus); + } + input.ReadMessage(subBuilder); + ExitAuditionPresetStatus = subBuilder; + break; + } + case 498: { + global::AuditionStateRequest subBuilder = new global::AuditionStateRequest(); + if (typeCase_ == TypeOneofCase.AuditionStateRequest) { + subBuilder.MergeFrom(AuditionStateRequest); + } + input.ReadMessage(subBuilder); + AuditionStateRequest = subBuilder; + break; + } + case 506: { + global::AuditionStateStatus subBuilder = new global::AuditionStateStatus(); + if (typeCase_ == TypeOneofCase.AuditionStateStatus) { + subBuilder.MergeFrom(AuditionStateStatus); + } + input.ReadMessage(subBuilder); + AuditionStateStatus = subBuilder; + break; + } + case 802: { + global::ProductIdentificationStatus subBuilder = new global::ProductIdentificationStatus(); + if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { + subBuilder.MergeFrom(ProductIdentificationStatus); + } + input.ReadMessage(subBuilder); + ProductIdentificationStatus = subBuilder; + break; + } + case 810: { + global::ProductIdentificationRequest subBuilder = new global::ProductIdentificationRequest(); + if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { + subBuilder.MergeFrom(ProductIdentificationRequest); + } + input.ReadMessage(subBuilder); + ProductIdentificationRequest = subBuilder; + break; + } + case 818: { + global::FirmwareVersionRequest subBuilder = new global::FirmwareVersionRequest(); + if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { + subBuilder.MergeFrom(FirmwareVersionRequest); + } + input.ReadMessage(subBuilder); + FirmwareVersionRequest = subBuilder; + break; + } + case 826: { + global::FirmwareVersionStatus subBuilder = new global::FirmwareVersionStatus(); + if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { + subBuilder.MergeFrom(FirmwareVersionStatus); + } + input.ReadMessage(subBuilder); + FirmwareVersionStatus = subBuilder; + break; + } + case 834: { + global::CurrentPresetRequest subBuilder = new global::CurrentPresetRequest(); + if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { + subBuilder.MergeFrom(CurrentPresetRequest); + } + input.ReadMessage(subBuilder); + CurrentPresetRequest = subBuilder; + break; + } + case 842: { + global::RetrievePreset subBuilder = new global::RetrievePreset(); + if (typeCase_ == TypeOneofCase.RetrievePreset) { + subBuilder.MergeFrom(RetrievePreset); + } + input.ReadMessage(subBuilder); + RetrievePreset = subBuilder; + break; + } + case 850: { + global::UsbGainRequest subBuilder = new global::UsbGainRequest(); + if (typeCase_ == TypeOneofCase.UsbGainRequest) { + subBuilder.MergeFrom(UsbGainRequest); + } + input.ReadMessage(subBuilder); + UsbGainRequest = subBuilder; + break; + } + case 858: { + global::UsbGainStatus subBuilder = new global::UsbGainStatus(); + if (typeCase_ == TypeOneofCase.UsbGainStatus) { + subBuilder.MergeFrom(UsbGainStatus); + } + input.ReadMessage(subBuilder); + UsbGainStatus = subBuilder; + break; + } + case 866: { + global::QASlotsRequest subBuilder = new global::QASlotsRequest(); + if (typeCase_ == TypeOneofCase.QASlotsRequest) { + subBuilder.MergeFrom(QASlotsRequest); + } + input.ReadMessage(subBuilder); + QASlotsRequest = subBuilder; + break; + } + case 874: { + global::QASlotsStatus subBuilder = new global::QASlotsStatus(); + if (typeCase_ == TypeOneofCase.QASlotsStatus) { + subBuilder.MergeFrom(QASlotsStatus); + } + input.ReadMessage(subBuilder); + QASlotsStatus = subBuilder; + break; + } + case 882: { + global::LineOutGainRequest subBuilder = new global::LineOutGainRequest(); + if (typeCase_ == TypeOneofCase.LineOutGainRequest) { + subBuilder.MergeFrom(LineOutGainRequest); + } + input.ReadMessage(subBuilder); + LineOutGainRequest = subBuilder; + break; + } + case 890: { + global::LineOutGainStatus subBuilder = new global::LineOutGainStatus(); + if (typeCase_ == TypeOneofCase.LineOutGainStatus) { + subBuilder.MergeFrom(LineOutGainStatus); + } + input.ReadMessage(subBuilder); + LineOutGainStatus = subBuilder; + break; + } + case 906: { + global::ModalStatusMessage subBuilder = new global::ModalStatusMessage(); + if (typeCase_ == TypeOneofCase.ModalStatusMessage) { + subBuilder.MergeFrom(ModalStatusMessage); + } + input.ReadMessage(subBuilder); + ModalStatusMessage = subBuilder; + break; + } + case 914: { + global::UsbGainSet subBuilder = new global::UsbGainSet(); + if (typeCase_ == TypeOneofCase.UsbGainSet) { + subBuilder.MergeFrom(UsbGainSet); + } + input.ReadMessage(subBuilder); + UsbGainSet = subBuilder; + break; + } + case 922: { + global::LineOutGainSet subBuilder = new global::LineOutGainSet(); + if (typeCase_ == TypeOneofCase.LineOutGainSet) { + subBuilder.MergeFrom(LineOutGainSet); + } + input.ReadMessage(subBuilder); + LineOutGainSet = subBuilder; + break; + } + case 930: { + global::QASlotsSet subBuilder = new global::QASlotsSet(); + if (typeCase_ == TypeOneofCase.QASlotsSet) { + subBuilder.MergeFrom(QASlotsSet); + } + input.ReadMessage(subBuilder); + QASlotsSet = subBuilder; + break; + } + case 1602: { + global::UnsupportedMessageStatus subBuilder = new global::UnsupportedMessageStatus(); + if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { + subBuilder.MergeFrom(UnsupportedMessageStatus); + } + input.ReadMessage(subBuilder); + UnsupportedMessageStatus = subBuilder; + break; + } + case 1610: { + global::Heartbeat subBuilder = new global::Heartbeat(); + if (typeCase_ == TypeOneofCase.Heartbeat) { + subBuilder.MergeFrom(Heartbeat); + } + input.ReadMessage(subBuilder); + Heartbeat = subBuilder; + break; + } + case 1618: { + global::ConnectionStatusRequest subBuilder = new global::ConnectionStatusRequest(); + if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { + subBuilder.MergeFrom(ConnectionStatusRequest); + } + input.ReadMessage(subBuilder); + ConnectionStatusRequest = subBuilder; + break; + } + case 1626: { + global::ConnectionStatus subBuilder = new global::ConnectionStatus(); + if (typeCase_ == TypeOneofCase.ConnectionStatus) { + subBuilder.MergeFrom(ConnectionStatus); + } + input.ReadMessage(subBuilder); + ConnectionStatus = subBuilder; + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + ResponseType = (global::ResponseType) input.ReadEnum(); + break; + } + case 18: { + global::IndexPot subBuilder = new global::IndexPot(); + if (typeCase_ == TypeOneofCase.IndexPot) { + subBuilder.MergeFrom(IndexPot); + } + input.ReadMessage(subBuilder); + IndexPot = subBuilder; + break; + } + case 26: { + global::IndexButton subBuilder = new global::IndexButton(); + if (typeCase_ == TypeOneofCase.IndexButton) { + subBuilder.MergeFrom(IndexButton); + } + input.ReadMessage(subBuilder); + IndexButton = subBuilder; + break; + } + case 34: { + global::IndexEncoder subBuilder = new global::IndexEncoder(); + if (typeCase_ == TypeOneofCase.IndexEncoder) { + subBuilder.MergeFrom(IndexEncoder); + } + input.ReadMessage(subBuilder); + IndexEncoder = subBuilder; + break; + } + case 42: { + global::ActiveDisplay subBuilder = new global::ActiveDisplay(); + if (typeCase_ == TypeOneofCase.ActiveDisplay) { + subBuilder.MergeFrom(ActiveDisplay); + } + input.ReadMessage(subBuilder); + ActiveDisplay = subBuilder; + break; + } + case 50: { + global::ProcessorUtilizationRequest subBuilder = new global::ProcessorUtilizationRequest(); + if (typeCase_ == TypeOneofCase.ProcessorUtilizationRequest) { + subBuilder.MergeFrom(ProcessorUtilizationRequest); + } + input.ReadMessage(subBuilder); + ProcessorUtilizationRequest = subBuilder; + break; + } + case 58: { + global::ProcessorUtilization subBuilder = new global::ProcessorUtilization(); + if (typeCase_ == TypeOneofCase.ProcessorUtilization) { + subBuilder.MergeFrom(ProcessorUtilization); + } + input.ReadMessage(subBuilder); + ProcessorUtilization = subBuilder; + break; + } + case 66: { + global::MemoryUsageRequest subBuilder = new global::MemoryUsageRequest(); + if (typeCase_ == TypeOneofCase.MemoryUsageRequest) { + subBuilder.MergeFrom(MemoryUsageRequest); + } + input.ReadMessage(subBuilder); + MemoryUsageRequest = subBuilder; + break; + } + case 74: { + global::MemoryUsageStatus subBuilder = new global::MemoryUsageStatus(); + if (typeCase_ == TypeOneofCase.MemoryUsageStatus) { + subBuilder.MergeFrom(MemoryUsageStatus); + } + input.ReadMessage(subBuilder); + MemoryUsageStatus = subBuilder; + break; + } + case 82: { + global::PresetJSONMessageRequest_LT subBuilder = new global::PresetJSONMessageRequest_LT(); + if (typeCase_ == TypeOneofCase.PresetJSONMessageRequestLT) { + subBuilder.MergeFrom(PresetJSONMessageRequestLT); + } + input.ReadMessage(subBuilder); + PresetJSONMessageRequestLT = subBuilder; + break; + } + case 90: { + global::FrameBufferMessageRequest subBuilder = new global::FrameBufferMessageRequest(); + if (typeCase_ == TypeOneofCase.FrameBufferMessageRequest) { + subBuilder.MergeFrom(FrameBufferMessageRequest); + } + input.ReadMessage(subBuilder); + FrameBufferMessageRequest = subBuilder; + break; + } + case 98: { + global::FrameBufferMessage subBuilder = new global::FrameBufferMessage(); + if (typeCase_ == TypeOneofCase.FrameBufferMessage) { + subBuilder.MergeFrom(FrameBufferMessage); + } + input.ReadMessage(subBuilder); + FrameBufferMessage = subBuilder; + break; + } + case 106: { + global::LT4FootswitchModeRequest subBuilder = new global::LT4FootswitchModeRequest(); + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeRequest) { + subBuilder.MergeFrom(Lt4FootswitchModeRequest); + } + input.ReadMessage(subBuilder); + Lt4FootswitchModeRequest = subBuilder; + break; + } + case 114: { + global::LT4FootswitchModeStatus subBuilder = new global::LT4FootswitchModeStatus(); + if (typeCase_ == TypeOneofCase.Lt4FootswitchModeStatus) { + subBuilder.MergeFrom(Lt4FootswitchModeStatus); + } + input.ReadMessage(subBuilder); + Lt4FootswitchModeStatus = subBuilder; + break; + } + case 122: { + global::LoadPreset_TestSuite subBuilder = new global::LoadPreset_TestSuite(); + if (typeCase_ == TypeOneofCase.LoadPresetTestSuite) { + subBuilder.MergeFrom(LoadPresetTestSuite); + } + input.ReadMessage(subBuilder); + LoadPresetTestSuite = subBuilder; + break; + } + case 242: { + global::LoopbackTest subBuilder = new global::LoopbackTest(); + if (typeCase_ == TypeOneofCase.LoopbackTest) { + subBuilder.MergeFrom(LoopbackTest); + } + input.ReadMessage(subBuilder); + LoopbackTest = subBuilder; + break; + } + case 250: { + global::PresetJSONMessage subBuilder = new global::PresetJSONMessage(); + if (typeCase_ == TypeOneofCase.PresetJSONMessage) { + subBuilder.MergeFrom(PresetJSONMessage); + } + input.ReadMessage(subBuilder); + PresetJSONMessage = subBuilder; + break; + } + case 258: { + global::CurrentPresetStatus subBuilder = new global::CurrentPresetStatus(); + if (typeCase_ == TypeOneofCase.CurrentPresetStatus) { + subBuilder.MergeFrom(CurrentPresetStatus); + } + input.ReadMessage(subBuilder); + CurrentPresetStatus = subBuilder; + break; + } + case 266: { + global::LoadPreset subBuilder = new global::LoadPreset(); + if (typeCase_ == TypeOneofCase.LoadPreset) { + subBuilder.MergeFrom(LoadPreset); + } + input.ReadMessage(subBuilder); + LoadPreset = subBuilder; + break; + } + case 274: { + global::SetDspUnitParameter subBuilder = new global::SetDspUnitParameter(); + if (typeCase_ == TypeOneofCase.SetDspUnitParameter) { + subBuilder.MergeFrom(SetDspUnitParameter); + } + input.ReadMessage(subBuilder); + SetDspUnitParameter = subBuilder; + break; + } + case 282: { + global::SetDspUnitParameterStatus subBuilder = new global::SetDspUnitParameterStatus(); + if (typeCase_ == TypeOneofCase.SetDspUnitParameterStatus) { + subBuilder.MergeFrom(SetDspUnitParameterStatus); + } + input.ReadMessage(subBuilder); + SetDspUnitParameterStatus = subBuilder; + break; + } + case 290: { + global::DspUnitParameterStatus subBuilder = new global::DspUnitParameterStatus(); + if (typeCase_ == TypeOneofCase.DspUnitParameterStatus) { + subBuilder.MergeFrom(DspUnitParameterStatus); + } + input.ReadMessage(subBuilder); + DspUnitParameterStatus = subBuilder; + break; + } + case 298: { + global::CurrentLoadedPresetIndexStatus subBuilder = new global::CurrentLoadedPresetIndexStatus(); + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexStatus) { + subBuilder.MergeFrom(CurrentLoadedPresetIndexStatus); + } + input.ReadMessage(subBuilder); + CurrentLoadedPresetIndexStatus = subBuilder; + break; + } + case 306: { + global::PresetEditedStatus subBuilder = new global::PresetEditedStatus(); + if (typeCase_ == TypeOneofCase.PresetEditedStatus) { + subBuilder.MergeFrom(PresetEditedStatus); + } + input.ReadMessage(subBuilder); + PresetEditedStatus = subBuilder; + break; + } + case 314: { + global::ReplaceNode subBuilder = new global::ReplaceNode(); + if (typeCase_ == TypeOneofCase.ReplaceNode) { + subBuilder.MergeFrom(ReplaceNode); + } + input.ReadMessage(subBuilder); + ReplaceNode = subBuilder; + break; + } + case 322: { + global::ReplaceNodeStatus subBuilder = new global::ReplaceNodeStatus(); + if (typeCase_ == TypeOneofCase.ReplaceNodeStatus) { + subBuilder.MergeFrom(ReplaceNodeStatus); + } + input.ReadMessage(subBuilder); + ReplaceNodeStatus = subBuilder; + break; + } + case 330: { + global::ShiftPreset subBuilder = new global::ShiftPreset(); + if (typeCase_ == TypeOneofCase.ShiftPreset) { + subBuilder.MergeFrom(ShiftPreset); + } + input.ReadMessage(subBuilder); + ShiftPreset = subBuilder; + break; + } + case 338: { + global::ShiftPresetStatus subBuilder = new global::ShiftPresetStatus(); + if (typeCase_ == TypeOneofCase.ShiftPresetStatus) { + subBuilder.MergeFrom(ShiftPresetStatus); + } + input.ReadMessage(subBuilder); + ShiftPresetStatus = subBuilder; + break; + } + case 346: { + global::SwapPreset subBuilder = new global::SwapPreset(); + if (typeCase_ == TypeOneofCase.SwapPreset) { + subBuilder.MergeFrom(SwapPreset); + } + input.ReadMessage(subBuilder); + SwapPreset = subBuilder; + break; + } + case 354: { + global::SwapPresetStatus subBuilder = new global::SwapPresetStatus(); + if (typeCase_ == TypeOneofCase.SwapPresetStatus) { + subBuilder.MergeFrom(SwapPresetStatus); + } + input.ReadMessage(subBuilder); + SwapPresetStatus = subBuilder; + break; + } + case 362: { + global::CurrentPresetSet subBuilder = new global::CurrentPresetSet(); + if (typeCase_ == TypeOneofCase.CurrentPresetSet) { + subBuilder.MergeFrom(CurrentPresetSet); + } + input.ReadMessage(subBuilder); + CurrentPresetSet = subBuilder; + break; + } + case 370: { + global::CurrentLoadedPresetIndexBypassStatus subBuilder = new global::CurrentLoadedPresetIndexBypassStatus(); + if (typeCase_ == TypeOneofCase.CurrentLoadedPresetIndexBypassStatus) { + subBuilder.MergeFrom(CurrentLoadedPresetIndexBypassStatus); + } + input.ReadMessage(subBuilder); + CurrentLoadedPresetIndexBypassStatus = subBuilder; + break; + } + case 378: { + global::CurrentDisplayedPresetIndexStatus subBuilder = new global::CurrentDisplayedPresetIndexStatus(); + if (typeCase_ == TypeOneofCase.CurrentDisplayedPresetIndexStatus) { + subBuilder.MergeFrom(CurrentDisplayedPresetIndexStatus); + } + input.ReadMessage(subBuilder); + CurrentDisplayedPresetIndexStatus = subBuilder; + break; + } + case 402: { + global::PresetSavedStatus subBuilder = new global::PresetSavedStatus(); + if (typeCase_ == TypeOneofCase.PresetSavedStatus) { + subBuilder.MergeFrom(PresetSavedStatus); + } + input.ReadMessage(subBuilder); + PresetSavedStatus = subBuilder; + break; + } + case 410: { + global::ClearPreset subBuilder = new global::ClearPreset(); + if (typeCase_ == TypeOneofCase.ClearPreset) { + subBuilder.MergeFrom(ClearPreset); + } + input.ReadMessage(subBuilder); + ClearPreset = subBuilder; + break; + } + case 418: { + global::ClearPresetStatus subBuilder = new global::ClearPresetStatus(); + if (typeCase_ == TypeOneofCase.ClearPresetStatus) { + subBuilder.MergeFrom(ClearPresetStatus); + } + input.ReadMessage(subBuilder); + ClearPresetStatus = subBuilder; + break; + } + case 426: { + global::SaveCurrentPreset subBuilder = new global::SaveCurrentPreset(); + if (typeCase_ == TypeOneofCase.SaveCurrentPreset) { + subBuilder.MergeFrom(SaveCurrentPreset); + } + input.ReadMessage(subBuilder); + SaveCurrentPreset = subBuilder; + break; + } + case 434: { + global::SaveCurrentPresetTo subBuilder = new global::SaveCurrentPresetTo(); + if (typeCase_ == TypeOneofCase.SaveCurrentPresetTo) { + subBuilder.MergeFrom(SaveCurrentPresetTo); + } + input.ReadMessage(subBuilder); + SaveCurrentPresetTo = subBuilder; + break; + } + case 442: { + global::SavePresetAs subBuilder = new global::SavePresetAs(); + if (typeCase_ == TypeOneofCase.SavePresetAs) { + subBuilder.MergeFrom(SavePresetAs); + } + input.ReadMessage(subBuilder); + SavePresetAs = subBuilder; + break; + } + case 450: { + global::NewPresetSavedStatus subBuilder = new global::NewPresetSavedStatus(); + if (typeCase_ == TypeOneofCase.NewPresetSavedStatus) { + subBuilder.MergeFrom(NewPresetSavedStatus); + } + input.ReadMessage(subBuilder); + NewPresetSavedStatus = subBuilder; + break; + } + case 458: { + global::RenamePresetAt subBuilder = new global::RenamePresetAt(); + if (typeCase_ == TypeOneofCase.RenamePresetAt) { + subBuilder.MergeFrom(RenamePresetAt); + } + input.ReadMessage(subBuilder); + RenamePresetAt = subBuilder; + break; + } + case 466: { + global::AuditionPreset subBuilder = new global::AuditionPreset(); + if (typeCase_ == TypeOneofCase.AuditionPreset) { + subBuilder.MergeFrom(AuditionPreset); + } + input.ReadMessage(subBuilder); + AuditionPreset = subBuilder; + break; + } + case 474: { + global::AuditionPresetStatus subBuilder = new global::AuditionPresetStatus(); + if (typeCase_ == TypeOneofCase.AuditionPresetStatus) { + subBuilder.MergeFrom(AuditionPresetStatus); + } + input.ReadMessage(subBuilder); + AuditionPresetStatus = subBuilder; + break; + } + case 482: { + global::ExitAuditionPreset subBuilder = new global::ExitAuditionPreset(); + if (typeCase_ == TypeOneofCase.ExitAuditionPreset) { + subBuilder.MergeFrom(ExitAuditionPreset); + } + input.ReadMessage(subBuilder); + ExitAuditionPreset = subBuilder; + break; + } + case 490: { + global::ExitAuditionPresetStatus subBuilder = new global::ExitAuditionPresetStatus(); + if (typeCase_ == TypeOneofCase.ExitAuditionPresetStatus) { + subBuilder.MergeFrom(ExitAuditionPresetStatus); + } + input.ReadMessage(subBuilder); + ExitAuditionPresetStatus = subBuilder; + break; + } + case 498: { + global::AuditionStateRequest subBuilder = new global::AuditionStateRequest(); + if (typeCase_ == TypeOneofCase.AuditionStateRequest) { + subBuilder.MergeFrom(AuditionStateRequest); + } + input.ReadMessage(subBuilder); + AuditionStateRequest = subBuilder; + break; + } + case 506: { + global::AuditionStateStatus subBuilder = new global::AuditionStateStatus(); + if (typeCase_ == TypeOneofCase.AuditionStateStatus) { + subBuilder.MergeFrom(AuditionStateStatus); + } + input.ReadMessage(subBuilder); + AuditionStateStatus = subBuilder; + break; + } + case 802: { + global::ProductIdentificationStatus subBuilder = new global::ProductIdentificationStatus(); + if (typeCase_ == TypeOneofCase.ProductIdentificationStatus) { + subBuilder.MergeFrom(ProductIdentificationStatus); + } + input.ReadMessage(subBuilder); + ProductIdentificationStatus = subBuilder; + break; + } + case 810: { + global::ProductIdentificationRequest subBuilder = new global::ProductIdentificationRequest(); + if (typeCase_ == TypeOneofCase.ProductIdentificationRequest) { + subBuilder.MergeFrom(ProductIdentificationRequest); + } + input.ReadMessage(subBuilder); + ProductIdentificationRequest = subBuilder; + break; + } + case 818: { + global::FirmwareVersionRequest subBuilder = new global::FirmwareVersionRequest(); + if (typeCase_ == TypeOneofCase.FirmwareVersionRequest) { + subBuilder.MergeFrom(FirmwareVersionRequest); + } + input.ReadMessage(subBuilder); + FirmwareVersionRequest = subBuilder; + break; + } + case 826: { + global::FirmwareVersionStatus subBuilder = new global::FirmwareVersionStatus(); + if (typeCase_ == TypeOneofCase.FirmwareVersionStatus) { + subBuilder.MergeFrom(FirmwareVersionStatus); + } + input.ReadMessage(subBuilder); + FirmwareVersionStatus = subBuilder; + break; + } + case 834: { + global::CurrentPresetRequest subBuilder = new global::CurrentPresetRequest(); + if (typeCase_ == TypeOneofCase.CurrentPresetRequest) { + subBuilder.MergeFrom(CurrentPresetRequest); + } + input.ReadMessage(subBuilder); + CurrentPresetRequest = subBuilder; + break; + } + case 842: { + global::RetrievePreset subBuilder = new global::RetrievePreset(); + if (typeCase_ == TypeOneofCase.RetrievePreset) { + subBuilder.MergeFrom(RetrievePreset); + } + input.ReadMessage(subBuilder); + RetrievePreset = subBuilder; + break; + } + case 850: { + global::UsbGainRequest subBuilder = new global::UsbGainRequest(); + if (typeCase_ == TypeOneofCase.UsbGainRequest) { + subBuilder.MergeFrom(UsbGainRequest); + } + input.ReadMessage(subBuilder); + UsbGainRequest = subBuilder; + break; + } + case 858: { + global::UsbGainStatus subBuilder = new global::UsbGainStatus(); + if (typeCase_ == TypeOneofCase.UsbGainStatus) { + subBuilder.MergeFrom(UsbGainStatus); + } + input.ReadMessage(subBuilder); + UsbGainStatus = subBuilder; + break; + } + case 866: { + global::QASlotsRequest subBuilder = new global::QASlotsRequest(); + if (typeCase_ == TypeOneofCase.QASlotsRequest) { + subBuilder.MergeFrom(QASlotsRequest); + } + input.ReadMessage(subBuilder); + QASlotsRequest = subBuilder; + break; + } + case 874: { + global::QASlotsStatus subBuilder = new global::QASlotsStatus(); + if (typeCase_ == TypeOneofCase.QASlotsStatus) { + subBuilder.MergeFrom(QASlotsStatus); + } + input.ReadMessage(subBuilder); + QASlotsStatus = subBuilder; + break; + } + case 882: { + global::LineOutGainRequest subBuilder = new global::LineOutGainRequest(); + if (typeCase_ == TypeOneofCase.LineOutGainRequest) { + subBuilder.MergeFrom(LineOutGainRequest); + } + input.ReadMessage(subBuilder); + LineOutGainRequest = subBuilder; + break; + } + case 890: { + global::LineOutGainStatus subBuilder = new global::LineOutGainStatus(); + if (typeCase_ == TypeOneofCase.LineOutGainStatus) { + subBuilder.MergeFrom(LineOutGainStatus); + } + input.ReadMessage(subBuilder); + LineOutGainStatus = subBuilder; + break; + } + case 906: { + global::ModalStatusMessage subBuilder = new global::ModalStatusMessage(); + if (typeCase_ == TypeOneofCase.ModalStatusMessage) { + subBuilder.MergeFrom(ModalStatusMessage); + } + input.ReadMessage(subBuilder); + ModalStatusMessage = subBuilder; + break; + } + case 914: { + global::UsbGainSet subBuilder = new global::UsbGainSet(); + if (typeCase_ == TypeOneofCase.UsbGainSet) { + subBuilder.MergeFrom(UsbGainSet); + } + input.ReadMessage(subBuilder); + UsbGainSet = subBuilder; + break; + } + case 922: { + global::LineOutGainSet subBuilder = new global::LineOutGainSet(); + if (typeCase_ == TypeOneofCase.LineOutGainSet) { + subBuilder.MergeFrom(LineOutGainSet); + } + input.ReadMessage(subBuilder); + LineOutGainSet = subBuilder; + break; + } + case 930: { + global::QASlotsSet subBuilder = new global::QASlotsSet(); + if (typeCase_ == TypeOneofCase.QASlotsSet) { + subBuilder.MergeFrom(QASlotsSet); + } + input.ReadMessage(subBuilder); + QASlotsSet = subBuilder; + break; + } + case 1602: { + global::UnsupportedMessageStatus subBuilder = new global::UnsupportedMessageStatus(); + if (typeCase_ == TypeOneofCase.UnsupportedMessageStatus) { + subBuilder.MergeFrom(UnsupportedMessageStatus); + } + input.ReadMessage(subBuilder); + UnsupportedMessageStatus = subBuilder; + break; + } + case 1610: { + global::Heartbeat subBuilder = new global::Heartbeat(); + if (typeCase_ == TypeOneofCase.Heartbeat) { + subBuilder.MergeFrom(Heartbeat); + } + input.ReadMessage(subBuilder); + Heartbeat = subBuilder; + break; + } + case 1618: { + global::ConnectionStatusRequest subBuilder = new global::ConnectionStatusRequest(); + if (typeCase_ == TypeOneofCase.ConnectionStatusRequest) { + subBuilder.MergeFrom(ConnectionStatusRequest); + } + input.ReadMessage(subBuilder); + ConnectionStatusRequest = subBuilder; + break; + } + case 1626: { + global::ConnectionStatus subBuilder = new global::ConnectionStatus(); + if (typeCase_ == TypeOneofCase.ConnectionStatus) { + subBuilder.MergeFrom(ConnectionStatus); + } + input.ReadMessage(subBuilder); + ConnectionStatus = subBuilder; + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FirmwareVersionRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FirmwareVersionRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/FirmwareVersionRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FirmwareVersionRequest.cs index f371f52..9ffa84d 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FirmwareVersionRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FirmwareVersionRequest.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FirmwareVersionRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from FirmwareVersionRequest.proto -public static partial class FirmwareVersionRequestReflection { - - #region Descriptor - /// File descriptor for FirmwareVersionRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static FirmwareVersionRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChxGaXJtd2FyZVZlcnNpb25SZXF1ZXN0LnByb3RvIikKFkZpcm13YXJlVmVy", - "c2lvblJlcXVlc3QSDwoHcmVxdWVzdBgBIAIoCA==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::FirmwareVersionRequest), global::FirmwareVersionRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Requests the current filrware version -/// -/// response: FirmwareVersionStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class FirmwareVersionRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FirmwareVersionRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::FirmwareVersionRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FirmwareVersionRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FirmwareVersionRequest(FirmwareVersionRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FirmwareVersionRequest Clone() { - return new FirmwareVersionRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FirmwareVersionRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FirmwareVersionRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FirmwareVersionRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: FirmwareVersionRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from FirmwareVersionRequest.proto +public static partial class FirmwareVersionRequestReflection { + + #region Descriptor + /// File descriptor for FirmwareVersionRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FirmwareVersionRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChxGaXJtd2FyZVZlcnNpb25SZXF1ZXN0LnByb3RvIikKFkZpcm13YXJlVmVy", + "c2lvblJlcXVlc3QSDwoHcmVxdWVzdBgBIAIoCA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::FirmwareVersionRequest), global::FirmwareVersionRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Requests the current filrware version +/// +/// response: FirmwareVersionStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class FirmwareVersionRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FirmwareVersionRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::FirmwareVersionRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FirmwareVersionRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FirmwareVersionRequest(FirmwareVersionRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FirmwareVersionRequest Clone() { + return new FirmwareVersionRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FirmwareVersionRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FirmwareVersionRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FirmwareVersionRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FirmwareVersionStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FirmwareVersionStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/FirmwareVersionStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FirmwareVersionStatus.cs index f8586f0..c13db3a 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FirmwareVersionStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FirmwareVersionStatus.cs @@ -1,251 +1,251 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FirmwareVersionStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from FirmwareVersionStatus.proto -public static partial class FirmwareVersionStatusReflection { - - #region Descriptor - /// File descriptor for FirmwareVersionStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static FirmwareVersionStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChtGaXJtd2FyZVZlcnNpb25TdGF0dXMucHJvdG8iKAoVRmlybXdhcmVWZXJz", - "aW9uU3RhdHVzEg8KB3ZlcnNpb24YASACKAk=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::FirmwareVersionStatus), global::FirmwareVersionStatus.Parser, new[]{ "Version" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// The firmware version of the amp -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class FirmwareVersionStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FirmwareVersionStatus()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::FirmwareVersionStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FirmwareVersionStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FirmwareVersionStatus(FirmwareVersionStatus other) : this() { - version_ = other.version_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FirmwareVersionStatus Clone() { - return new FirmwareVersionStatus(this); - } - - /// Field number for the "version" field. - public const int VersionFieldNumber = 1; - private readonly static string VersionDefaultValue = ""; - - private string version_; - /// - /// Firmware Version - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Version { - get { return version_ ?? VersionDefaultValue; } - set { - version_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "version" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasVersion { - get { return version_ != null; } - } - /// Clears the value of the "version" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearVersion() { - version_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FirmwareVersionStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FirmwareVersionStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Version != other.Version) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasVersion) hash ^= Version.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasVersion) { - output.WriteRawTag(10); - output.WriteString(Version); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasVersion) { - output.WriteRawTag(10); - output.WriteString(Version); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasVersion) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FirmwareVersionStatus other) { - if (other == null) { - return; - } - if (other.HasVersion) { - Version = other.Version; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Version = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Version = input.ReadString(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: FirmwareVersionStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from FirmwareVersionStatus.proto +public static partial class FirmwareVersionStatusReflection { + + #region Descriptor + /// File descriptor for FirmwareVersionStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FirmwareVersionStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChtGaXJtd2FyZVZlcnNpb25TdGF0dXMucHJvdG8iKAoVRmlybXdhcmVWZXJz", + "aW9uU3RhdHVzEg8KB3ZlcnNpb24YASACKAk=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::FirmwareVersionStatus), global::FirmwareVersionStatus.Parser, new[]{ "Version" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// The firmware version of the amp +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class FirmwareVersionStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FirmwareVersionStatus()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::FirmwareVersionStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FirmwareVersionStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FirmwareVersionStatus(FirmwareVersionStatus other) : this() { + version_ = other.version_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FirmwareVersionStatus Clone() { + return new FirmwareVersionStatus(this); + } + + /// Field number for the "version" field. + public const int VersionFieldNumber = 1; + private readonly static string VersionDefaultValue = ""; + + private string version_; + /// + /// Firmware Version + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Version { + get { return version_ ?? VersionDefaultValue; } + set { + version_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "version" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasVersion { + get { return version_ != null; } + } + /// Clears the value of the "version" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearVersion() { + version_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FirmwareVersionStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FirmwareVersionStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Version != other.Version) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasVersion) hash ^= Version.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasVersion) { + output.WriteRawTag(10); + output.WriteString(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasVersion) { + output.WriteRawTag(10); + output.WriteString(Version); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasVersion) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FirmwareVersionStatus other) { + if (other == null) { + return; + } + if (other.HasVersion) { + Version = other.Version; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Version = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Version = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FrameBufferMessage.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FrameBufferMessage.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/FrameBufferMessage.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FrameBufferMessage.cs index b16aeb4..e8a28d6 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FrameBufferMessage.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FrameBufferMessage.cs @@ -1,244 +1,244 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FrameBufferMessage.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from FrameBufferMessage.proto -public static partial class FrameBufferMessageReflection { - - #region Descriptor - /// File descriptor for FrameBufferMessage.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static FrameBufferMessageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhGcmFtZUJ1ZmZlck1lc3NhZ2UucHJvdG8iIgoSRnJhbWVCdWZmZXJNZXNz", - "YWdlEgwKBGRhdGEYASACKAw=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::FrameBufferMessage), global::FrameBufferMessage.Parser, new[]{ "Data" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class FrameBufferMessage : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FrameBufferMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::FrameBufferMessageReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FrameBufferMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FrameBufferMessage(FrameBufferMessage other) : this() { - data_ = other.data_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FrameBufferMessage Clone() { - return new FrameBufferMessage(this); - } - - /// Field number for the "data" field. - public const int DataFieldNumber = 1; - private readonly static pb::ByteString DataDefaultValue = pb::ByteString.Empty; - - private pb::ByteString data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Data { - get { return data_ ?? DataDefaultValue; } - set { - data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "data" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasData { - get { return data_ != null; } - } - /// Clears the value of the "data" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearData() { - data_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FrameBufferMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FrameBufferMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Data != other.Data) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasData) hash ^= Data.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasData) { - output.WriteRawTag(10); - output.WriteBytes(Data); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasData) { - output.WriteRawTag(10); - output.WriteBytes(Data); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasData) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FrameBufferMessage other) { - if (other == null) { - return; - } - if (other.HasData) { - Data = other.Data; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Data = input.ReadBytes(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Data = input.ReadBytes(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: FrameBufferMessage.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from FrameBufferMessage.proto +public static partial class FrameBufferMessageReflection { + + #region Descriptor + /// File descriptor for FrameBufferMessage.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FrameBufferMessageReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhGcmFtZUJ1ZmZlck1lc3NhZ2UucHJvdG8iIgoSRnJhbWVCdWZmZXJNZXNz", + "YWdlEgwKBGRhdGEYASACKAw=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::FrameBufferMessage), global::FrameBufferMessage.Parser, new[]{ "Data" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class FrameBufferMessage : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FrameBufferMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::FrameBufferMessageReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameBufferMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameBufferMessage(FrameBufferMessage other) : this() { + data_ = other.data_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameBufferMessage Clone() { + return new FrameBufferMessage(this); + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private readonly static pb::ByteString DataDefaultValue = pb::ByteString.Empty; + + private pb::ByteString data_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Data { + get { return data_ ?? DataDefaultValue; } + set { + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "data" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasData { + get { return data_ != null; } + } + /// Clears the value of the "data" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearData() { + data_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FrameBufferMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FrameBufferMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Data != other.Data) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasData) hash ^= Data.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasData) { + output.WriteRawTag(10); + output.WriteBytes(Data); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasData) { + output.WriteRawTag(10); + output.WriteBytes(Data); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasData) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FrameBufferMessage other) { + if (other == null) { + return; + } + if (other.HasData) { + Data = other.Data; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Data = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Data = input.ReadBytes(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FrameBufferMessageRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FrameBufferMessageRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/FrameBufferMessageRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FrameBufferMessageRequest.cs index 15cd189..c0bc530 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/FrameBufferMessageRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/FrameBufferMessageRequest.cs @@ -1,250 +1,250 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: FrameBufferMessageRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from FrameBufferMessageRequest.proto -public static partial class FrameBufferMessageRequestReflection { - - #region Descriptor - /// File descriptor for FrameBufferMessageRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static FrameBufferMessageRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch9GcmFtZUJ1ZmZlck1lc3NhZ2VSZXF1ZXN0LnByb3RvIiwKGUZyYW1lQnVm", - "ZmVyTWVzc2FnZVJlcXVlc3QSDwoHcmVxdWVzdBgBIAIoCA==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::FrameBufferMessageRequest), global::FrameBufferMessageRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class FrameBufferMessageRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FrameBufferMessageRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::FrameBufferMessageRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FrameBufferMessageRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FrameBufferMessageRequest(FrameBufferMessageRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FrameBufferMessageRequest Clone() { - return new FrameBufferMessageRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FrameBufferMessageRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FrameBufferMessageRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FrameBufferMessageRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: FrameBufferMessageRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from FrameBufferMessageRequest.proto +public static partial class FrameBufferMessageRequestReflection { + + #region Descriptor + /// File descriptor for FrameBufferMessageRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FrameBufferMessageRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch9GcmFtZUJ1ZmZlck1lc3NhZ2VSZXF1ZXN0LnByb3RvIiwKGUZyYW1lQnVm", + "ZmVyTWVzc2FnZVJlcXVlc3QSDwoHcmVxdWVzdBgBIAIoCA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::FrameBufferMessageRequest), global::FrameBufferMessageRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class FrameBufferMessageRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FrameBufferMessageRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::FrameBufferMessageRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameBufferMessageRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameBufferMessageRequest(FrameBufferMessageRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameBufferMessageRequest Clone() { + return new FrameBufferMessageRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FrameBufferMessageRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FrameBufferMessageRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FrameBufferMessageRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/Heartbeat.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/Heartbeat.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/Heartbeat.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/Heartbeat.cs index 00d2893..5b402a5 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/Heartbeat.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/Heartbeat.cs @@ -1,250 +1,250 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: Heartbeat.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from Heartbeat.proto -public static partial class HeartbeatReflection { - - #region Descriptor - /// File descriptor for Heartbeat.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static HeartbeatReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg9IZWFydGJlYXQucHJvdG8iHwoJSGVhcnRiZWF0EhIKCmR1bW15RmllbGQY", - "ASACKAg=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Heartbeat), global::Heartbeat.Parser, new[]{ "DummyField" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// Heartbeat message sent every second to keep the connection alive -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class Heartbeat : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Heartbeat()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::HeartbeatReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Heartbeat() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Heartbeat(Heartbeat other) : this() { - _hasBits0 = other._hasBits0; - dummyField_ = other.dummyField_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Heartbeat Clone() { - return new Heartbeat(this); - } - - /// Field number for the "dummyField" field. - public const int DummyFieldFieldNumber = 1; - private readonly static bool DummyFieldDefaultValue = false; - - private bool dummyField_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool DummyField { - get { if ((_hasBits0 & 1) != 0) { return dummyField_; } else { return DummyFieldDefaultValue; } } - set { - _hasBits0 |= 1; - dummyField_ = value; - } - } - /// Gets whether the "dummyField" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasDummyField { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "dummyField" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearDummyField() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Heartbeat); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Heartbeat other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (DummyField != other.DummyField) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasDummyField) hash ^= DummyField.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasDummyField) { - output.WriteRawTag(8); - output.WriteBool(DummyField); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasDummyField) { - output.WriteRawTag(8); - output.WriteBool(DummyField); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasDummyField) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Heartbeat other) { - if (other == null) { - return; - } - if (other.HasDummyField) { - DummyField = other.DummyField; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - DummyField = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - DummyField = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: Heartbeat.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from Heartbeat.proto +public static partial class HeartbeatReflection { + + #region Descriptor + /// File descriptor for Heartbeat.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static HeartbeatReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cg9IZWFydGJlYXQucHJvdG8iHwoJSGVhcnRiZWF0EhIKCmR1bW15RmllbGQY", + "ASACKAg=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Heartbeat), global::Heartbeat.Parser, new[]{ "DummyField" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// Heartbeat message sent every second to keep the connection alive +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class Heartbeat : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Heartbeat()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HeartbeatReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Heartbeat() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Heartbeat(Heartbeat other) : this() { + _hasBits0 = other._hasBits0; + dummyField_ = other.dummyField_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Heartbeat Clone() { + return new Heartbeat(this); + } + + /// Field number for the "dummyField" field. + public const int DummyFieldFieldNumber = 1; + private readonly static bool DummyFieldDefaultValue = false; + + private bool dummyField_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DummyField { + get { if ((_hasBits0 & 1) != 0) { return dummyField_; } else { return DummyFieldDefaultValue; } } + set { + _hasBits0 |= 1; + dummyField_ = value; + } + } + /// Gets whether the "dummyField" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDummyField { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "dummyField" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDummyField() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Heartbeat); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Heartbeat other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (DummyField != other.DummyField) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasDummyField) hash ^= DummyField.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasDummyField) { + output.WriteRawTag(8); + output.WriteBool(DummyField); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasDummyField) { + output.WriteRawTag(8); + output.WriteBool(DummyField); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasDummyField) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Heartbeat other) { + if (other == null) { + return; + } + if (other.HasDummyField) { + DummyField = other.DummyField; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + DummyField = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + DummyField = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/IndexButton.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/IndexButton.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/IndexButton.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/IndexButton.cs index 813691a..a9ad0c1 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/IndexButton.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/IndexButton.cs @@ -1,369 +1,369 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: IndexButton.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from IndexButton.proto -public static partial class IndexButtonReflection { - - #region Descriptor - /// File descriptor for IndexButton.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static IndexButtonReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFJbmRleEJ1dHRvbi5wcm90byKgAQoLSW5kZXhCdXR0b24SDQoFaW5kZXgY", - "ASACKAUSIQoFZXZlbnQYAiACKA4yEi5JbmRleEJ1dHRvbi5FdmVudBIUCgx0", - "aW1lc3RhbXBfbXMYAyABKA0iSQoFRXZlbnQSDwoLRVZFTlRfRVJST1IQABIP", - "CgtCVVRUT05fRE9XThABEg0KCUJVVFRPTl9VUBACEg8KC0JVVFRPTl9IRUxE", - "EAM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::IndexButton), global::IndexButton.Parser, new[]{ "Index", "Event", "TimestampMs" }, null, new[]{ typeof(global::IndexButton.Types.Event) }, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class IndexButton : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IndexButton()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::IndexButtonReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IndexButton() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IndexButton(IndexButton other) : this() { - _hasBits0 = other._hasBits0; - index_ = other.index_; - event_ = other.event_; - timestampMs_ = other.timestampMs_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IndexButton Clone() { - return new IndexButton(this); - } - - /// Field number for the "index" field. - public const int IndexFieldNumber = 1; - private readonly static int IndexDefaultValue = 0; - - private int index_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Index { - get { if ((_hasBits0 & 1) != 0) { return index_; } else { return IndexDefaultValue; } } - set { - _hasBits0 |= 1; - index_ = value; - } - } - /// Gets whether the "index" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "index" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndex() { - _hasBits0 &= ~1; - } - - /// Field number for the "event" field. - public const int EventFieldNumber = 2; - private readonly static global::IndexButton.Types.Event EventDefaultValue = global::IndexButton.Types.Event.Error; - - private global::IndexButton.Types.Event event_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::IndexButton.Types.Event Event { - get { if ((_hasBits0 & 2) != 0) { return event_; } else { return EventDefaultValue; } } - set { - _hasBits0 |= 2; - event_ = value; - } - } - /// Gets whether the "event" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasEvent { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "event" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearEvent() { - _hasBits0 &= ~2; - } - - /// Field number for the "timestamp_ms" field. - public const int TimestampMsFieldNumber = 3; - private readonly static uint TimestampMsDefaultValue = 0; - - private uint timestampMs_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint TimestampMs { - get { if ((_hasBits0 & 4) != 0) { return timestampMs_; } else { return TimestampMsDefaultValue; } } - set { - _hasBits0 |= 4; - timestampMs_ = value; - } - } - /// Gets whether the "timestamp_ms" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasTimestampMs { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "timestamp_ms" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearTimestampMs() { - _hasBits0 &= ~4; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as IndexButton); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(IndexButton other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Index != other.Index) return false; - if (Event != other.Event) return false; - if (TimestampMs != other.TimestampMs) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIndex) hash ^= Index.GetHashCode(); - if (HasEvent) hash ^= Event.GetHashCode(); - if (HasTimestampMs) hash ^= TimestampMs.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIndex) { - output.WriteRawTag(8); - output.WriteInt32(Index); - } - if (HasEvent) { - output.WriteRawTag(16); - output.WriteEnum((int) Event); - } - if (HasTimestampMs) { - output.WriteRawTag(24); - output.WriteUInt32(TimestampMs); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIndex) { - output.WriteRawTag(8); - output.WriteInt32(Index); - } - if (HasEvent) { - output.WriteRawTag(16); - output.WriteEnum((int) Event); - } - if (HasTimestampMs) { - output.WriteRawTag(24); - output.WriteUInt32(TimestampMs); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); - } - if (HasEvent) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Event); - } - if (HasTimestampMs) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TimestampMs); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(IndexButton other) { - if (other == null) { - return; - } - if (other.HasIndex) { - Index = other.Index; - } - if (other.HasEvent) { - Event = other.Event; - } - if (other.HasTimestampMs) { - TimestampMs = other.TimestampMs; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Index = input.ReadInt32(); - break; - } - case 16: { - Event = (global::IndexButton.Types.Event) input.ReadEnum(); - break; - } - case 24: { - TimestampMs = input.ReadUInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Index = input.ReadInt32(); - break; - } - case 16: { - Event = (global::IndexButton.Types.Event) input.ReadEnum(); - break; - } - case 24: { - TimestampMs = input.ReadUInt32(); - break; - } - } - } - } - #endif - - #region Nested types - /// Container for nested types declared in the IndexButton message type. - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static partial class Types { - public enum Event { - [pbr::OriginalName("EVENT_ERROR")] Error = 0, - [pbr::OriginalName("BUTTON_DOWN")] ButtonDown = 1, - [pbr::OriginalName("BUTTON_UP")] ButtonUp = 2, - [pbr::OriginalName("BUTTON_HELD")] ButtonHeld = 3, - } - - } - #endregion - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: IndexButton.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from IndexButton.proto +public static partial class IndexButtonReflection { + + #region Descriptor + /// File descriptor for IndexButton.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static IndexButtonReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFJbmRleEJ1dHRvbi5wcm90byKgAQoLSW5kZXhCdXR0b24SDQoFaW5kZXgY", + "ASACKAUSIQoFZXZlbnQYAiACKA4yEi5JbmRleEJ1dHRvbi5FdmVudBIUCgx0", + "aW1lc3RhbXBfbXMYAyABKA0iSQoFRXZlbnQSDwoLRVZFTlRfRVJST1IQABIP", + "CgtCVVRUT05fRE9XThABEg0KCUJVVFRPTl9VUBACEg8KC0JVVFRPTl9IRUxE", + "EAM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::IndexButton), global::IndexButton.Parser, new[]{ "Index", "Event", "TimestampMs" }, null, new[]{ typeof(global::IndexButton.Types.Event) }, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class IndexButton : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IndexButton()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::IndexButtonReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IndexButton() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IndexButton(IndexButton other) : this() { + _hasBits0 = other._hasBits0; + index_ = other.index_; + event_ = other.event_; + timestampMs_ = other.timestampMs_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IndexButton Clone() { + return new IndexButton(this); + } + + /// Field number for the "index" field. + public const int IndexFieldNumber = 1; + private readonly static int IndexDefaultValue = 0; + + private int index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Index { + get { if ((_hasBits0 & 1) != 0) { return index_; } else { return IndexDefaultValue; } } + set { + _hasBits0 |= 1; + index_ = value; + } + } + /// Gets whether the "index" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "index" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndex() { + _hasBits0 &= ~1; + } + + /// Field number for the "event" field. + public const int EventFieldNumber = 2; + private readonly static global::IndexButton.Types.Event EventDefaultValue = global::IndexButton.Types.Event.Error; + + private global::IndexButton.Types.Event event_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::IndexButton.Types.Event Event { + get { if ((_hasBits0 & 2) != 0) { return event_; } else { return EventDefaultValue; } } + set { + _hasBits0 |= 2; + event_ = value; + } + } + /// Gets whether the "event" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasEvent { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "event" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearEvent() { + _hasBits0 &= ~2; + } + + /// Field number for the "timestamp_ms" field. + public const int TimestampMsFieldNumber = 3; + private readonly static uint TimestampMsDefaultValue = 0; + + private uint timestampMs_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TimestampMs { + get { if ((_hasBits0 & 4) != 0) { return timestampMs_; } else { return TimestampMsDefaultValue; } } + set { + _hasBits0 |= 4; + timestampMs_ = value; + } + } + /// Gets whether the "timestamp_ms" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTimestampMs { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "timestamp_ms" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTimestampMs() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IndexButton); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IndexButton other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Index != other.Index) return false; + if (Event != other.Event) return false; + if (TimestampMs != other.TimestampMs) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIndex) hash ^= Index.GetHashCode(); + if (HasEvent) hash ^= Event.GetHashCode(); + if (HasTimestampMs) hash ^= TimestampMs.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIndex) { + output.WriteRawTag(8); + output.WriteInt32(Index); + } + if (HasEvent) { + output.WriteRawTag(16); + output.WriteEnum((int) Event); + } + if (HasTimestampMs) { + output.WriteRawTag(24); + output.WriteUInt32(TimestampMs); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIndex) { + output.WriteRawTag(8); + output.WriteInt32(Index); + } + if (HasEvent) { + output.WriteRawTag(16); + output.WriteEnum((int) Event); + } + if (HasTimestampMs) { + output.WriteRawTag(24); + output.WriteUInt32(TimestampMs); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); + } + if (HasEvent) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Event); + } + if (HasTimestampMs) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TimestampMs); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IndexButton other) { + if (other == null) { + return; + } + if (other.HasIndex) { + Index = other.Index; + } + if (other.HasEvent) { + Event = other.Event; + } + if (other.HasTimestampMs) { + TimestampMs = other.TimestampMs; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Index = input.ReadInt32(); + break; + } + case 16: { + Event = (global::IndexButton.Types.Event) input.ReadEnum(); + break; + } + case 24: { + TimestampMs = input.ReadUInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Index = input.ReadInt32(); + break; + } + case 16: { + Event = (global::IndexButton.Types.Event) input.ReadEnum(); + break; + } + case 24: { + TimestampMs = input.ReadUInt32(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the IndexButton message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum Event { + [pbr::OriginalName("EVENT_ERROR")] Error = 0, + [pbr::OriginalName("BUTTON_DOWN")] ButtonDown = 1, + [pbr::OriginalName("BUTTON_UP")] ButtonUp = 2, + [pbr::OriginalName("BUTTON_HELD")] ButtonHeld = 3, + } + + } + #endregion + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/IndexEncoder.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/IndexEncoder.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/IndexEncoder.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/IndexEncoder.cs index e837910..72825af 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/IndexEncoder.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/IndexEncoder.cs @@ -1,299 +1,299 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: IndexEncoder.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from IndexEncoder.proto -public static partial class IndexEncoderReflection { - - #region Descriptor - /// File descriptor for IndexEncoder.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static IndexEncoderReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJJbmRleEVuY29kZXIucHJvdG8iLAoMSW5kZXhFbmNvZGVyEg0KBWluZGV4", - "GAEgAigFEg0KBXRpY2tzGAIgAigF")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::IndexEncoder), global::IndexEncoder.Parser, new[]{ "Index", "Ticks" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class IndexEncoder : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IndexEncoder()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::IndexEncoderReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IndexEncoder() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IndexEncoder(IndexEncoder other) : this() { - _hasBits0 = other._hasBits0; - index_ = other.index_; - ticks_ = other.ticks_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IndexEncoder Clone() { - return new IndexEncoder(this); - } - - /// Field number for the "index" field. - public const int IndexFieldNumber = 1; - private readonly static int IndexDefaultValue = 0; - - private int index_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Index { - get { if ((_hasBits0 & 1) != 0) { return index_; } else { return IndexDefaultValue; } } - set { - _hasBits0 |= 1; - index_ = value; - } - } - /// Gets whether the "index" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "index" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndex() { - _hasBits0 &= ~1; - } - - /// Field number for the "ticks" field. - public const int TicksFieldNumber = 2; - private readonly static int TicksDefaultValue = 0; - - private int ticks_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Ticks { - get { if ((_hasBits0 & 2) != 0) { return ticks_; } else { return TicksDefaultValue; } } - set { - _hasBits0 |= 2; - ticks_ = value; - } - } - /// Gets whether the "ticks" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasTicks { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "ticks" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearTicks() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as IndexEncoder); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(IndexEncoder other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Index != other.Index) return false; - if (Ticks != other.Ticks) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIndex) hash ^= Index.GetHashCode(); - if (HasTicks) hash ^= Ticks.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIndex) { - output.WriteRawTag(8); - output.WriteInt32(Index); - } - if (HasTicks) { - output.WriteRawTag(16); - output.WriteInt32(Ticks); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIndex) { - output.WriteRawTag(8); - output.WriteInt32(Index); - } - if (HasTicks) { - output.WriteRawTag(16); - output.WriteInt32(Ticks); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); - } - if (HasTicks) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Ticks); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(IndexEncoder other) { - if (other == null) { - return; - } - if (other.HasIndex) { - Index = other.Index; - } - if (other.HasTicks) { - Ticks = other.Ticks; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Index = input.ReadInt32(); - break; - } - case 16: { - Ticks = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Index = input.ReadInt32(); - break; - } - case 16: { - Ticks = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: IndexEncoder.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from IndexEncoder.proto +public static partial class IndexEncoderReflection { + + #region Descriptor + /// File descriptor for IndexEncoder.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static IndexEncoderReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChJJbmRleEVuY29kZXIucHJvdG8iLAoMSW5kZXhFbmNvZGVyEg0KBWluZGV4", + "GAEgAigFEg0KBXRpY2tzGAIgAigF")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::IndexEncoder), global::IndexEncoder.Parser, new[]{ "Index", "Ticks" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class IndexEncoder : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IndexEncoder()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::IndexEncoderReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IndexEncoder() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IndexEncoder(IndexEncoder other) : this() { + _hasBits0 = other._hasBits0; + index_ = other.index_; + ticks_ = other.ticks_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IndexEncoder Clone() { + return new IndexEncoder(this); + } + + /// Field number for the "index" field. + public const int IndexFieldNumber = 1; + private readonly static int IndexDefaultValue = 0; + + private int index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Index { + get { if ((_hasBits0 & 1) != 0) { return index_; } else { return IndexDefaultValue; } } + set { + _hasBits0 |= 1; + index_ = value; + } + } + /// Gets whether the "index" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "index" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndex() { + _hasBits0 &= ~1; + } + + /// Field number for the "ticks" field. + public const int TicksFieldNumber = 2; + private readonly static int TicksDefaultValue = 0; + + private int ticks_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Ticks { + get { if ((_hasBits0 & 2) != 0) { return ticks_; } else { return TicksDefaultValue; } } + set { + _hasBits0 |= 2; + ticks_ = value; + } + } + /// Gets whether the "ticks" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTicks { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "ticks" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTicks() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IndexEncoder); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IndexEncoder other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Index != other.Index) return false; + if (Ticks != other.Ticks) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIndex) hash ^= Index.GetHashCode(); + if (HasTicks) hash ^= Ticks.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIndex) { + output.WriteRawTag(8); + output.WriteInt32(Index); + } + if (HasTicks) { + output.WriteRawTag(16); + output.WriteInt32(Ticks); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIndex) { + output.WriteRawTag(8); + output.WriteInt32(Index); + } + if (HasTicks) { + output.WriteRawTag(16); + output.WriteInt32(Ticks); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); + } + if (HasTicks) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Ticks); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IndexEncoder other) { + if (other == null) { + return; + } + if (other.HasIndex) { + Index = other.Index; + } + if (other.HasTicks) { + Ticks = other.Ticks; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Index = input.ReadInt32(); + break; + } + case 16: { + Ticks = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Index = input.ReadInt32(); + break; + } + case 16: { + Ticks = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/IndexPot.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/IndexPot.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/IndexPot.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/IndexPot.cs index 1949762..0cdd5c5 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/IndexPot.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/IndexPot.cs @@ -1,299 +1,299 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: IndexPot.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from IndexPot.proto -public static partial class IndexPotReflection { - - #region Descriptor - /// File descriptor for IndexPot.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static IndexPotReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Cg5JbmRleFBvdC5wcm90byIrCghJbmRleFBvdBINCgVpbmRleBgBIAIoBRIQ", - "Cghwb3NpdGlvbhgCIAIoAg==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::IndexPot), global::IndexPot.Parser, new[]{ "Index", "Position" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class IndexPot : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IndexPot()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::IndexPotReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IndexPot() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IndexPot(IndexPot other) : this() { - _hasBits0 = other._hasBits0; - index_ = other.index_; - position_ = other.position_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public IndexPot Clone() { - return new IndexPot(this); - } - - /// Field number for the "index" field. - public const int IndexFieldNumber = 1; - private readonly static int IndexDefaultValue = 0; - - private int index_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Index { - get { if ((_hasBits0 & 1) != 0) { return index_; } else { return IndexDefaultValue; } } - set { - _hasBits0 |= 1; - index_ = value; - } - } - /// Gets whether the "index" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "index" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndex() { - _hasBits0 &= ~1; - } - - /// Field number for the "position" field. - public const int PositionFieldNumber = 2; - private readonly static float PositionDefaultValue = 0F; - - private float position_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Position { - get { if ((_hasBits0 & 2) != 0) { return position_; } else { return PositionDefaultValue; } } - set { - _hasBits0 |= 2; - position_ = value; - } - } - /// Gets whether the "position" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPosition { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "position" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPosition() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as IndexPot); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(IndexPot other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Index != other.Index) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Position, other.Position)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIndex) hash ^= Index.GetHashCode(); - if (HasPosition) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Position); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIndex) { - output.WriteRawTag(8); - output.WriteInt32(Index); - } - if (HasPosition) { - output.WriteRawTag(21); - output.WriteFloat(Position); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIndex) { - output.WriteRawTag(8); - output.WriteInt32(Index); - } - if (HasPosition) { - output.WriteRawTag(21); - output.WriteFloat(Position); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); - } - if (HasPosition) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(IndexPot other) { - if (other == null) { - return; - } - if (other.HasIndex) { - Index = other.Index; - } - if (other.HasPosition) { - Position = other.Position; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Index = input.ReadInt32(); - break; - } - case 21: { - Position = input.ReadFloat(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Index = input.ReadInt32(); - break; - } - case 21: { - Position = input.ReadFloat(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: IndexPot.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from IndexPot.proto +public static partial class IndexPotReflection { + + #region Descriptor + /// File descriptor for IndexPot.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static IndexPotReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cg5JbmRleFBvdC5wcm90byIrCghJbmRleFBvdBINCgVpbmRleBgBIAIoBRIQ", + "Cghwb3NpdGlvbhgCIAIoAg==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::IndexPot), global::IndexPot.Parser, new[]{ "Index", "Position" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class IndexPot : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new IndexPot()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::IndexPotReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IndexPot() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IndexPot(IndexPot other) : this() { + _hasBits0 = other._hasBits0; + index_ = other.index_; + position_ = other.position_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public IndexPot Clone() { + return new IndexPot(this); + } + + /// Field number for the "index" field. + public const int IndexFieldNumber = 1; + private readonly static int IndexDefaultValue = 0; + + private int index_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Index { + get { if ((_hasBits0 & 1) != 0) { return index_; } else { return IndexDefaultValue; } } + set { + _hasBits0 |= 1; + index_ = value; + } + } + /// Gets whether the "index" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "index" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndex() { + _hasBits0 &= ~1; + } + + /// Field number for the "position" field. + public const int PositionFieldNumber = 2; + private readonly static float PositionDefaultValue = 0F; + + private float position_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Position { + get { if ((_hasBits0 & 2) != 0) { return position_; } else { return PositionDefaultValue; } } + set { + _hasBits0 |= 2; + position_ = value; + } + } + /// Gets whether the "position" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPosition { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "position" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPosition() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as IndexPot); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(IndexPot other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Index != other.Index) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Position, other.Position)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIndex) hash ^= Index.GetHashCode(); + if (HasPosition) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Position); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIndex) { + output.WriteRawTag(8); + output.WriteInt32(Index); + } + if (HasPosition) { + output.WriteRawTag(21); + output.WriteFloat(Position); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIndex) { + output.WriteRawTag(8); + output.WriteInt32(Index); + } + if (HasPosition) { + output.WriteRawTag(21); + output.WriteFloat(Position); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Index); + } + if (HasPosition) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(IndexPot other) { + if (other == null) { + return; + } + if (other.HasIndex) { + Index = other.Index; + } + if (other.HasPosition) { + Position = other.Position; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Index = input.ReadInt32(); + break; + } + case 21: { + Position = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Index = input.ReadInt32(); + break; + } + case 21: { + Position = input.ReadFloat(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LT4FootswitchModeRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LT4FootswitchModeRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/LT4FootswitchModeRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LT4FootswitchModeRequest.cs index 953e6d0..6878e21 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LT4FootswitchModeRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LT4FootswitchModeRequest.cs @@ -1,250 +1,250 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LT4FootswitchModeRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from LT4FootswitchModeRequest.proto -public static partial class LT4FootswitchModeRequestReflection { - - #region Descriptor - /// File descriptor for LT4FootswitchModeRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LT4FootswitchModeRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch5MVDRGb290c3dpdGNoTW9kZVJlcXVlc3QucHJvdG8iKwoYTFQ0Rm9vdHN3", - "aXRjaE1vZGVSZXF1ZXN0Eg8KB3JlcXVlc3QYASACKAg=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::LT4FootswitchModeRequest), global::LT4FootswitchModeRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class LT4FootswitchModeRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LT4FootswitchModeRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LT4FootswitchModeRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LT4FootswitchModeRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LT4FootswitchModeRequest(LT4FootswitchModeRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LT4FootswitchModeRequest Clone() { - return new LT4FootswitchModeRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LT4FootswitchModeRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LT4FootswitchModeRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LT4FootswitchModeRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: LT4FootswitchModeRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from LT4FootswitchModeRequest.proto +public static partial class LT4FootswitchModeRequestReflection { + + #region Descriptor + /// File descriptor for LT4FootswitchModeRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LT4FootswitchModeRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch5MVDRGb290c3dpdGNoTW9kZVJlcXVlc3QucHJvdG8iKwoYTFQ0Rm9vdHN3", + "aXRjaE1vZGVSZXF1ZXN0Eg8KB3JlcXVlc3QYASACKAg=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::LT4FootswitchModeRequest), global::LT4FootswitchModeRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LT4FootswitchModeRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LT4FootswitchModeRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::LT4FootswitchModeRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LT4FootswitchModeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LT4FootswitchModeRequest(LT4FootswitchModeRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LT4FootswitchModeRequest Clone() { + return new LT4FootswitchModeRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LT4FootswitchModeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LT4FootswitchModeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LT4FootswitchModeRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LT4FootswitchModeStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LT4FootswitchModeStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/LT4FootswitchModeStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LT4FootswitchModeStatus.cs index 115dba9..1975729 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LT4FootswitchModeStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LT4FootswitchModeStatus.cs @@ -1,260 +1,260 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LT4FootswitchModeStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from LT4FootswitchModeStatus.proto -public static partial class LT4FootswitchModeStatusReflection { - - #region Descriptor - /// File descriptor for LT4FootswitchModeStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LT4FootswitchModeStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch1MVDRGb290c3dpdGNoTW9kZVN0YXR1cy5wcm90byJQChdMVDRGb290c3dp", - "dGNoTW9kZVN0YXR1cxI1CgtjdXJyZW50TW9kZRgBIAIoDjINLkxUNEZ0c3dN", - "b2RlczoRTFQ0X0ZUU1dfTU9ERV9PRkYqbQoMTFQ0RnRzd01vZGVzEhUKEUxU", - "NF9GVFNXX01PREVfT0ZGEAASFwoTTFQ0X0ZUU1dfTU9ERV9CQU5LMRABEhcK", - "E0xUNF9GVFNXX01PREVfQkFOSzIQAhIUChBMVDRfRlRTV19NT0RFX0ZYEAM=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::LT4FtswModes), }, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::LT4FootswitchModeStatus), global::LT4FootswitchModeStatus.Parser, new[]{ "CurrentMode" }, null, null, null, null) - })); - } - #endregion - -} -#region Enums -public enum LT4FtswModes { - [pbr::OriginalName("LT4_FTSW_MODE_OFF")] Lt4FtswModeOff = 0, - [pbr::OriginalName("LT4_FTSW_MODE_BANK1")] Lt4FtswModeBank1 = 1, - [pbr::OriginalName("LT4_FTSW_MODE_BANK2")] Lt4FtswModeBank2 = 2, - [pbr::OriginalName("LT4_FTSW_MODE_FX")] Lt4FtswModeFx = 3, -} - -#endregion - -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class LT4FootswitchModeStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LT4FootswitchModeStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LT4FootswitchModeStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LT4FootswitchModeStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LT4FootswitchModeStatus(LT4FootswitchModeStatus other) : this() { - _hasBits0 = other._hasBits0; - currentMode_ = other.currentMode_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LT4FootswitchModeStatus Clone() { - return new LT4FootswitchModeStatus(this); - } - - /// Field number for the "currentMode" field. - public const int CurrentModeFieldNumber = 1; - private readonly static global::LT4FtswModes CurrentModeDefaultValue = global::LT4FtswModes.Lt4FtswModeOff; - - private global::LT4FtswModes currentMode_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::LT4FtswModes CurrentMode { - get { if ((_hasBits0 & 1) != 0) { return currentMode_; } else { return CurrentModeDefaultValue; } } - set { - _hasBits0 |= 1; - currentMode_ = value; - } - } - /// Gets whether the "currentMode" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrentMode { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "currentMode" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrentMode() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LT4FootswitchModeStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LT4FootswitchModeStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CurrentMode != other.CurrentMode) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasCurrentMode) hash ^= CurrentMode.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasCurrentMode) { - output.WriteRawTag(8); - output.WriteEnum((int) CurrentMode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasCurrentMode) { - output.WriteRawTag(8); - output.WriteEnum((int) CurrentMode); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasCurrentMode) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CurrentMode); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LT4FootswitchModeStatus other) { - if (other == null) { - return; - } - if (other.HasCurrentMode) { - CurrentMode = other.CurrentMode; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - CurrentMode = (global::LT4FtswModes) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - CurrentMode = (global::LT4FtswModes) input.ReadEnum(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: LT4FootswitchModeStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from LT4FootswitchModeStatus.proto +public static partial class LT4FootswitchModeStatusReflection { + + #region Descriptor + /// File descriptor for LT4FootswitchModeStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LT4FootswitchModeStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch1MVDRGb290c3dpdGNoTW9kZVN0YXR1cy5wcm90byJQChdMVDRGb290c3dp", + "dGNoTW9kZVN0YXR1cxI1CgtjdXJyZW50TW9kZRgBIAIoDjINLkxUNEZ0c3dN", + "b2RlczoRTFQ0X0ZUU1dfTU9ERV9PRkYqbQoMTFQ0RnRzd01vZGVzEhUKEUxU", + "NF9GVFNXX01PREVfT0ZGEAASFwoTTFQ0X0ZUU1dfTU9ERV9CQU5LMRABEhcK", + "E0xUNF9GVFNXX01PREVfQkFOSzIQAhIUChBMVDRfRlRTV19NT0RFX0ZYEAM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::LT4FtswModes), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::LT4FootswitchModeStatus), global::LT4FootswitchModeStatus.Parser, new[]{ "CurrentMode" }, null, null, null, null) + })); + } + #endregion + +} +#region Enums +public enum LT4FtswModes { + [pbr::OriginalName("LT4_FTSW_MODE_OFF")] Lt4FtswModeOff = 0, + [pbr::OriginalName("LT4_FTSW_MODE_BANK1")] Lt4FtswModeBank1 = 1, + [pbr::OriginalName("LT4_FTSW_MODE_BANK2")] Lt4FtswModeBank2 = 2, + [pbr::OriginalName("LT4_FTSW_MODE_FX")] Lt4FtswModeFx = 3, +} + +#endregion + +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LT4FootswitchModeStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LT4FootswitchModeStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::LT4FootswitchModeStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LT4FootswitchModeStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LT4FootswitchModeStatus(LT4FootswitchModeStatus other) : this() { + _hasBits0 = other._hasBits0; + currentMode_ = other.currentMode_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LT4FootswitchModeStatus Clone() { + return new LT4FootswitchModeStatus(this); + } + + /// Field number for the "currentMode" field. + public const int CurrentModeFieldNumber = 1; + private readonly static global::LT4FtswModes CurrentModeDefaultValue = global::LT4FtswModes.Lt4FtswModeOff; + + private global::LT4FtswModes currentMode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::LT4FtswModes CurrentMode { + get { if ((_hasBits0 & 1) != 0) { return currentMode_; } else { return CurrentModeDefaultValue; } } + set { + _hasBits0 |= 1; + currentMode_ = value; + } + } + /// Gets whether the "currentMode" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrentMode { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "currentMode" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrentMode() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LT4FootswitchModeStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LT4FootswitchModeStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (CurrentMode != other.CurrentMode) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasCurrentMode) hash ^= CurrentMode.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasCurrentMode) { + output.WriteRawTag(8); + output.WriteEnum((int) CurrentMode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasCurrentMode) { + output.WriteRawTag(8); + output.WriteEnum((int) CurrentMode); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasCurrentMode) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) CurrentMode); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LT4FootswitchModeStatus other) { + if (other == null) { + return; + } + if (other.HasCurrentMode) { + CurrentMode = other.CurrentMode; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + CurrentMode = (global::LT4FtswModes) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + CurrentMode = (global::LT4FtswModes) input.ReadEnum(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LineOutGainRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LineOutGainRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/LineOutGainRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LineOutGainRequest.cs index e87e6d2..0441538 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LineOutGainRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LineOutGainRequest.cs @@ -1,250 +1,250 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LineOutGainRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from LineOutGainRequest.proto -public static partial class LineOutGainRequestReflection { - - #region Descriptor - /// File descriptor for LineOutGainRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LineOutGainRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhMaW5lT3V0R2FpblJlcXVlc3QucHJvdG8iJQoSTGluZU91dEdhaW5SZXF1", - "ZXN0Eg8KB3JlcXVlc3QYASACKAg=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::LineOutGainRequest), global::LineOutGainRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class LineOutGainRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LineOutGainRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LineOutGainRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LineOutGainRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LineOutGainRequest(LineOutGainRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LineOutGainRequest Clone() { - return new LineOutGainRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LineOutGainRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LineOutGainRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LineOutGainRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: LineOutGainRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from LineOutGainRequest.proto +public static partial class LineOutGainRequestReflection { + + #region Descriptor + /// File descriptor for LineOutGainRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LineOutGainRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhMaW5lT3V0R2FpblJlcXVlc3QucHJvdG8iJQoSTGluZU91dEdhaW5SZXF1", + "ZXN0Eg8KB3JlcXVlc3QYASACKAg=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::LineOutGainRequest), global::LineOutGainRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LineOutGainRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LineOutGainRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::LineOutGainRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LineOutGainRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LineOutGainRequest(LineOutGainRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LineOutGainRequest Clone() { + return new LineOutGainRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LineOutGainRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LineOutGainRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LineOutGainRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LineOutGainSet.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LineOutGainSet.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/LineOutGainSet.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LineOutGainSet.cs index a02f8bf..221721e 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LineOutGainSet.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LineOutGainSet.cs @@ -1,247 +1,247 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LineOutGainSet.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from LineOutGainSet.proto -public static partial class LineOutGainSetReflection { - - #region Descriptor - /// File descriptor for LineOutGainSet.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LineOutGainSetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRMaW5lT3V0R2FpblNldC5wcm90byIhCg5MaW5lT3V0R2FpblNldBIPCgd2", - "YWx1ZURCGAEgAigC")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::LineOutGainSet), global::LineOutGainSet.Parser, new[]{ "ValueDB" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class LineOutGainSet : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LineOutGainSet()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LineOutGainSetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LineOutGainSet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LineOutGainSet(LineOutGainSet other) : this() { - _hasBits0 = other._hasBits0; - valueDB_ = other.valueDB_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LineOutGainSet Clone() { - return new LineOutGainSet(this); - } - - /// Field number for the "valueDB" field. - public const int ValueDBFieldNumber = 1; - private readonly static float ValueDBDefaultValue = 0F; - - private float valueDB_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float ValueDB { - get { if ((_hasBits0 & 1) != 0) { return valueDB_; } else { return ValueDBDefaultValue; } } - set { - _hasBits0 |= 1; - valueDB_ = value; - } - } - /// Gets whether the "valueDB" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasValueDB { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "valueDB" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearValueDB() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LineOutGainSet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LineOutGainSet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueDB, other.ValueDB)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasValueDB) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueDB); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasValueDB) { - output.WriteRawTag(13); - output.WriteFloat(ValueDB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasValueDB) { - output.WriteRawTag(13); - output.WriteFloat(ValueDB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasValueDB) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LineOutGainSet other) { - if (other == null) { - return; - } - if (other.HasValueDB) { - ValueDB = other.ValueDB; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 13: { - ValueDB = input.ReadFloat(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 13: { - ValueDB = input.ReadFloat(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: LineOutGainSet.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from LineOutGainSet.proto +public static partial class LineOutGainSetReflection { + + #region Descriptor + /// File descriptor for LineOutGainSet.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LineOutGainSetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChRMaW5lT3V0R2FpblNldC5wcm90byIhCg5MaW5lT3V0R2FpblNldBIPCgd2", + "YWx1ZURCGAEgAigC")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::LineOutGainSet), global::LineOutGainSet.Parser, new[]{ "ValueDB" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LineOutGainSet : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LineOutGainSet()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::LineOutGainSetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LineOutGainSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LineOutGainSet(LineOutGainSet other) : this() { + _hasBits0 = other._hasBits0; + valueDB_ = other.valueDB_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LineOutGainSet Clone() { + return new LineOutGainSet(this); + } + + /// Field number for the "valueDB" field. + public const int ValueDBFieldNumber = 1; + private readonly static float ValueDBDefaultValue = 0F; + + private float valueDB_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ValueDB { + get { if ((_hasBits0 & 1) != 0) { return valueDB_; } else { return ValueDBDefaultValue; } } + set { + _hasBits0 |= 1; + valueDB_ = value; + } + } + /// Gets whether the "valueDB" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasValueDB { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "valueDB" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearValueDB() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LineOutGainSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LineOutGainSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueDB, other.ValueDB)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasValueDB) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueDB); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasValueDB) { + output.WriteRawTag(13); + output.WriteFloat(ValueDB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasValueDB) { + output.WriteRawTag(13); + output.WriteFloat(ValueDB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasValueDB) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LineOutGainSet other) { + if (other == null) { + return; + } + if (other.HasValueDB) { + ValueDB = other.ValueDB; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + ValueDB = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + ValueDB = input.ReadFloat(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LineOutGainStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LineOutGainStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/LineOutGainStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LineOutGainStatus.cs index 2f7a932..49863df 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LineOutGainStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LineOutGainStatus.cs @@ -1,247 +1,247 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LineOutGainStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from LineOutGainStatus.proto -public static partial class LineOutGainStatusReflection { - - #region Descriptor - /// File descriptor for LineOutGainStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LineOutGainStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdMaW5lT3V0R2FpblN0YXR1cy5wcm90byIkChFMaW5lT3V0R2FpblN0YXR1", - "cxIPCgd2YWx1ZURCGAEgAigC")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::LineOutGainStatus), global::LineOutGainStatus.Parser, new[]{ "ValueDB" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class LineOutGainStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LineOutGainStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LineOutGainStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LineOutGainStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LineOutGainStatus(LineOutGainStatus other) : this() { - _hasBits0 = other._hasBits0; - valueDB_ = other.valueDB_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LineOutGainStatus Clone() { - return new LineOutGainStatus(this); - } - - /// Field number for the "valueDB" field. - public const int ValueDBFieldNumber = 1; - private readonly static float ValueDBDefaultValue = 0F; - - private float valueDB_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float ValueDB { - get { if ((_hasBits0 & 1) != 0) { return valueDB_; } else { return ValueDBDefaultValue; } } - set { - _hasBits0 |= 1; - valueDB_ = value; - } - } - /// Gets whether the "valueDB" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasValueDB { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "valueDB" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearValueDB() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LineOutGainStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LineOutGainStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueDB, other.ValueDB)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasValueDB) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueDB); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasValueDB) { - output.WriteRawTag(13); - output.WriteFloat(ValueDB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasValueDB) { - output.WriteRawTag(13); - output.WriteFloat(ValueDB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasValueDB) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LineOutGainStatus other) { - if (other == null) { - return; - } - if (other.HasValueDB) { - ValueDB = other.ValueDB; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 13: { - ValueDB = input.ReadFloat(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 13: { - ValueDB = input.ReadFloat(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: LineOutGainStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from LineOutGainStatus.proto +public static partial class LineOutGainStatusReflection { + + #region Descriptor + /// File descriptor for LineOutGainStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LineOutGainStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdMaW5lT3V0R2FpblN0YXR1cy5wcm90byIkChFMaW5lT3V0R2FpblN0YXR1", + "cxIPCgd2YWx1ZURCGAEgAigC")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::LineOutGainStatus), global::LineOutGainStatus.Parser, new[]{ "ValueDB" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LineOutGainStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LineOutGainStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::LineOutGainStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LineOutGainStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LineOutGainStatus(LineOutGainStatus other) : this() { + _hasBits0 = other._hasBits0; + valueDB_ = other.valueDB_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LineOutGainStatus Clone() { + return new LineOutGainStatus(this); + } + + /// Field number for the "valueDB" field. + public const int ValueDBFieldNumber = 1; + private readonly static float ValueDBDefaultValue = 0F; + + private float valueDB_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ValueDB { + get { if ((_hasBits0 & 1) != 0) { return valueDB_; } else { return ValueDBDefaultValue; } } + set { + _hasBits0 |= 1; + valueDB_ = value; + } + } + /// Gets whether the "valueDB" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasValueDB { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "valueDB" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearValueDB() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LineOutGainStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LineOutGainStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueDB, other.ValueDB)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasValueDB) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueDB); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasValueDB) { + output.WriteRawTag(13); + output.WriteFloat(ValueDB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasValueDB) { + output.WriteRawTag(13); + output.WriteFloat(ValueDB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasValueDB) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LineOutGainStatus other) { + if (other == null) { + return; + } + if (other.HasValueDB) { + ValueDB = other.ValueDB; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + ValueDB = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + ValueDB = input.ReadFloat(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LoadPreset.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LoadPreset.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/LoadPreset.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LoadPreset.cs index 49229c8..5d4fad5 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LoadPreset.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LoadPreset.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LoadPreset.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from LoadPreset.proto -public static partial class LoadPresetReflection { - - #region Descriptor - /// File descriptor for LoadPreset.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LoadPresetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBMb2FkUHJlc2V0LnByb3RvIiEKCkxvYWRQcmVzZXQSEwoLcHJlc2V0SW5k", - "ZXgYASACKAU=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::LoadPreset), global::LoadPreset.Parser, new[]{ "PresetIndex" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Switches the amp to the specified preset number -/// -/// response: CurrentLoadedPresetIndexStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class LoadPreset : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadPreset()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LoadPresetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoadPreset() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoadPreset(LoadPreset other) : this() { - _hasBits0 = other._hasBits0; - presetIndex_ = other.presetIndex_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoadPreset Clone() { - return new LoadPreset(this); - } - - /// Field number for the "presetIndex" field. - public const int PresetIndexFieldNumber = 1; - private readonly static int PresetIndexDefaultValue = 0; - - private int presetIndex_; - /// - /// Preset bank number currently loaded - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PresetIndex { - get { if ((_hasBits0 & 1) != 0) { return presetIndex_; } else { return PresetIndexDefaultValue; } } - set { - _hasBits0 |= 1; - presetIndex_ = value; - } - } - /// Gets whether the "presetIndex" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "presetIndex" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetIndex() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LoadPreset); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LoadPreset other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PresetIndex != other.PresetIndex) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPresetIndex) hash ^= PresetIndex.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(PresetIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(PresetIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPresetIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetIndex); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LoadPreset other) { - if (other == null) { - return; - } - if (other.HasPresetIndex) { - PresetIndex = other.PresetIndex; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - PresetIndex = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - PresetIndex = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: LoadPreset.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from LoadPreset.proto +public static partial class LoadPresetReflection { + + #region Descriptor + /// File descriptor for LoadPreset.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LoadPresetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChBMb2FkUHJlc2V0LnByb3RvIiEKCkxvYWRQcmVzZXQSEwoLcHJlc2V0SW5k", + "ZXgYASACKAU=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::LoadPreset), global::LoadPreset.Parser, new[]{ "PresetIndex" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Switches the amp to the specified preset number +/// +/// response: CurrentLoadedPresetIndexStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LoadPreset : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadPreset()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::LoadPresetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPreset() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPreset(LoadPreset other) : this() { + _hasBits0 = other._hasBits0; + presetIndex_ = other.presetIndex_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPreset Clone() { + return new LoadPreset(this); + } + + /// Field number for the "presetIndex" field. + public const int PresetIndexFieldNumber = 1; + private readonly static int PresetIndexDefaultValue = 0; + + private int presetIndex_; + /// + /// Preset bank number currently loaded + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PresetIndex { + get { if ((_hasBits0 & 1) != 0) { return presetIndex_; } else { return PresetIndexDefaultValue; } } + set { + _hasBits0 |= 1; + presetIndex_ = value; + } + } + /// Gets whether the "presetIndex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "presetIndex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetIndex() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LoadPreset); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoadPreset other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PresetIndex != other.PresetIndex) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPresetIndex) hash ^= PresetIndex.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(PresetIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(PresetIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPresetIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetIndex); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoadPreset other) { + if (other == null) { + return; + } + if (other.HasPresetIndex) { + PresetIndex = other.PresetIndex; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + PresetIndex = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PresetIndex = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LoadPresetTestSuite.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LoadPresetTestSuite.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/LoadPresetTestSuite.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LoadPresetTestSuite.cs index 6391c1d..5fca173 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LoadPresetTestSuite.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LoadPresetTestSuite.cs @@ -1,247 +1,247 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LoadPreset_TestSuite.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from LoadPreset_TestSuite.proto -public static partial class LoadPresetTestSuiteReflection { - - #region Descriptor - /// File descriptor for LoadPreset_TestSuite.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LoadPresetTestSuiteReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpMb2FkUHJlc2V0X1Rlc3RTdWl0ZS5wcm90byIrChRMb2FkUHJlc2V0X1Rl", - "c3RTdWl0ZRITCgtwcmVzZXRJbmRleBgBIAIoBQ==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::LoadPreset_TestSuite), global::LoadPreset_TestSuite.Parser, new[]{ "PresetIndex" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class LoadPreset_TestSuite : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadPreset_TestSuite()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LoadPresetTestSuiteReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoadPreset_TestSuite() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoadPreset_TestSuite(LoadPreset_TestSuite other) : this() { - _hasBits0 = other._hasBits0; - presetIndex_ = other.presetIndex_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoadPreset_TestSuite Clone() { - return new LoadPreset_TestSuite(this); - } - - /// Field number for the "presetIndex" field. - public const int PresetIndexFieldNumber = 1; - private readonly static int PresetIndexDefaultValue = 0; - - private int presetIndex_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PresetIndex { - get { if ((_hasBits0 & 1) != 0) { return presetIndex_; } else { return PresetIndexDefaultValue; } } - set { - _hasBits0 |= 1; - presetIndex_ = value; - } - } - /// Gets whether the "presetIndex" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "presetIndex" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetIndex() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LoadPreset_TestSuite); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LoadPreset_TestSuite other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PresetIndex != other.PresetIndex) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPresetIndex) hash ^= PresetIndex.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(PresetIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPresetIndex) { - output.WriteRawTag(8); - output.WriteInt32(PresetIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPresetIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetIndex); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LoadPreset_TestSuite other) { - if (other == null) { - return; - } - if (other.HasPresetIndex) { - PresetIndex = other.PresetIndex; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - PresetIndex = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - PresetIndex = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: LoadPreset_TestSuite.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from LoadPreset_TestSuite.proto +public static partial class LoadPresetTestSuiteReflection { + + #region Descriptor + /// File descriptor for LoadPreset_TestSuite.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LoadPresetTestSuiteReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChpMb2FkUHJlc2V0X1Rlc3RTdWl0ZS5wcm90byIrChRMb2FkUHJlc2V0X1Rl", + "c3RTdWl0ZRITCgtwcmVzZXRJbmRleBgBIAIoBQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::LoadPreset_TestSuite), global::LoadPreset_TestSuite.Parser, new[]{ "PresetIndex" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LoadPreset_TestSuite : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoadPreset_TestSuite()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::LoadPresetTestSuiteReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPreset_TestSuite() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPreset_TestSuite(LoadPreset_TestSuite other) : this() { + _hasBits0 = other._hasBits0; + presetIndex_ = other.presetIndex_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoadPreset_TestSuite Clone() { + return new LoadPreset_TestSuite(this); + } + + /// Field number for the "presetIndex" field. + public const int PresetIndexFieldNumber = 1; + private readonly static int PresetIndexDefaultValue = 0; + + private int presetIndex_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PresetIndex { + get { if ((_hasBits0 & 1) != 0) { return presetIndex_; } else { return PresetIndexDefaultValue; } } + set { + _hasBits0 |= 1; + presetIndex_ = value; + } + } + /// Gets whether the "presetIndex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "presetIndex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetIndex() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LoadPreset_TestSuite); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoadPreset_TestSuite other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PresetIndex != other.PresetIndex) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPresetIndex) hash ^= PresetIndex.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(PresetIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPresetIndex) { + output.WriteRawTag(8); + output.WriteInt32(PresetIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPresetIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetIndex); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoadPreset_TestSuite other) { + if (other == null) { + return; + } + if (other.HasPresetIndex) { + PresetIndex = other.PresetIndex; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + PresetIndex = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PresetIndex = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LoopbackTest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LoopbackTest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/LoopbackTest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LoopbackTest.cs index ef2a30d..d76ee1b 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/LoopbackTest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/LoopbackTest.cs @@ -1,244 +1,244 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: LoopbackTest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from LoopbackTest.proto -public static partial class LoopbackTestReflection { - - #region Descriptor - /// File descriptor for LoopbackTest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static LoopbackTestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJMb29wYmFja1Rlc3QucHJvdG8iHAoMTG9vcGJhY2tUZXN0EgwKBGRhdGEY", - "ASACKAk=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::LoopbackTest), global::LoopbackTest.Parser, new[]{ "Data" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class LoopbackTest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoopbackTest()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::LoopbackTestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoopbackTest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoopbackTest(LoopbackTest other) : this() { - data_ = other.data_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public LoopbackTest Clone() { - return new LoopbackTest(this); - } - - /// Field number for the "data" field. - public const int DataFieldNumber = 1; - private readonly static string DataDefaultValue = ""; - - private string data_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Data { - get { return data_ ?? DataDefaultValue; } - set { - data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "data" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasData { - get { return data_ != null; } - } - /// Clears the value of the "data" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearData() { - data_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as LoopbackTest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(LoopbackTest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Data != other.Data) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasData) hash ^= Data.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasData) { - output.WriteRawTag(10); - output.WriteString(Data); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasData) { - output.WriteRawTag(10); - output.WriteString(Data); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasData) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(LoopbackTest other) { - if (other == null) { - return; - } - if (other.HasData) { - Data = other.Data; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Data = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Data = input.ReadString(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: LoopbackTest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from LoopbackTest.proto +public static partial class LoopbackTestReflection { + + #region Descriptor + /// File descriptor for LoopbackTest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static LoopbackTestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChJMb29wYmFja1Rlc3QucHJvdG8iHAoMTG9vcGJhY2tUZXN0EgwKBGRhdGEY", + "ASACKAk=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::LoopbackTest), global::LoopbackTest.Parser, new[]{ "Data" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LoopbackTest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoopbackTest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::LoopbackTestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoopbackTest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoopbackTest(LoopbackTest other) : this() { + data_ = other.data_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoopbackTest Clone() { + return new LoopbackTest(this); + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private readonly static string DataDefaultValue = ""; + + private string data_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Data { + get { return data_ ?? DataDefaultValue; } + set { + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "data" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasData { + get { return data_ != null; } + } + /// Clears the value of the "data" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearData() { + data_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LoopbackTest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoopbackTest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Data != other.Data) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasData) hash ^= Data.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasData) { + output.WriteRawTag(10); + output.WriteString(Data); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasData) { + output.WriteRawTag(10); + output.WriteString(Data); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasData) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoopbackTest other) { + if (other == null) { + return; + } + if (other.HasData) { + Data = other.Data; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Data = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Data = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/MemoryUsageRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/MemoryUsageRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/MemoryUsageRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/MemoryUsageRequest.cs index d30ed7c..7e019f2 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/MemoryUsageRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/MemoryUsageRequest.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MemoryUsageRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from MemoryUsageRequest.proto -public static partial class MemoryUsageRequestReflection { - - #region Descriptor - /// File descriptor for MemoryUsageRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MemoryUsageRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhNZW1vcnlVc2FnZVJlcXVlc3QucHJvdG8iJQoSTWVtb3J5VXNhZ2VSZXF1", - "ZXN0Eg8KB3JlcXVlc3QYASACKAg=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MemoryUsageRequest), global::MemoryUsageRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Requests memory usage statistics from the amp -/// -/// response: MemoryUsageStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class MemoryUsageRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemoryUsageRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::MemoryUsageRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MemoryUsageRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MemoryUsageRequest(MemoryUsageRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MemoryUsageRequest Clone() { - return new MemoryUsageRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MemoryUsageRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MemoryUsageRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MemoryUsageRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: MemoryUsageRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from MemoryUsageRequest.proto +public static partial class MemoryUsageRequestReflection { + + #region Descriptor + /// File descriptor for MemoryUsageRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MemoryUsageRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhNZW1vcnlVc2FnZVJlcXVlc3QucHJvdG8iJQoSTWVtb3J5VXNhZ2VSZXF1", + "ZXN0Eg8KB3JlcXVlc3QYASACKAg=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::MemoryUsageRequest), global::MemoryUsageRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Requests memory usage statistics from the amp +/// +/// response: MemoryUsageStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class MemoryUsageRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemoryUsageRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MemoryUsageRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemoryUsageRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemoryUsageRequest(MemoryUsageRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemoryUsageRequest Clone() { + return new MemoryUsageRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemoryUsageRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemoryUsageRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemoryUsageRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/MemoryUsageStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/MemoryUsageStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/MemoryUsageStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/MemoryUsageStatus.cs index 3d035f5..7be7386 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/MemoryUsageStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/MemoryUsageStatus.cs @@ -1,303 +1,303 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: MemoryUsageStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from MemoryUsageStatus.proto -public static partial class MemoryUsageStatusReflection { - - #region Descriptor - /// File descriptor for MemoryUsageStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static MemoryUsageStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdNZW1vcnlVc2FnZVN0YXR1cy5wcm90byIwChFNZW1vcnlVc2FnZVN0YXR1", - "cxINCgVzdGFjaxgBIAIoBRIMCgRoZWFwGAIgAigF")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MemoryUsageStatus), global::MemoryUsageStatus.Parser, new[]{ "Stack", "Heap" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Message conainting current memory usage statistics -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class MemoryUsageStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemoryUsageStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::MemoryUsageStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MemoryUsageStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MemoryUsageStatus(MemoryUsageStatus other) : this() { - _hasBits0 = other._hasBits0; - stack_ = other.stack_; - heap_ = other.heap_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MemoryUsageStatus Clone() { - return new MemoryUsageStatus(this); - } - - /// Field number for the "stack" field. - public const int StackFieldNumber = 1; - private readonly static int StackDefaultValue = 0; - - private int stack_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Stack { - get { if ((_hasBits0 & 1) != 0) { return stack_; } else { return StackDefaultValue; } } - set { - _hasBits0 |= 1; - stack_ = value; - } - } - /// Gets whether the "stack" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasStack { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "stack" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearStack() { - _hasBits0 &= ~1; - } - - /// Field number for the "heap" field. - public const int HeapFieldNumber = 2; - private readonly static int HeapDefaultValue = 0; - - private int heap_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Heap { - get { if ((_hasBits0 & 2) != 0) { return heap_; } else { return HeapDefaultValue; } } - set { - _hasBits0 |= 2; - heap_ = value; - } - } - /// Gets whether the "heap" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasHeap { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "heap" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearHeap() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as MemoryUsageStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(MemoryUsageStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Stack != other.Stack) return false; - if (Heap != other.Heap) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasStack) hash ^= Stack.GetHashCode(); - if (HasHeap) hash ^= Heap.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasStack) { - output.WriteRawTag(8); - output.WriteInt32(Stack); - } - if (HasHeap) { - output.WriteRawTag(16); - output.WriteInt32(Heap); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasStack) { - output.WriteRawTag(8); - output.WriteInt32(Stack); - } - if (HasHeap) { - output.WriteRawTag(16); - output.WriteInt32(Heap); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasStack) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stack); - } - if (HasHeap) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Heap); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(MemoryUsageStatus other) { - if (other == null) { - return; - } - if (other.HasStack) { - Stack = other.Stack; - } - if (other.HasHeap) { - Heap = other.Heap; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Stack = input.ReadInt32(); - break; - } - case 16: { - Heap = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Stack = input.ReadInt32(); - break; - } - case 16: { - Heap = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: MemoryUsageStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from MemoryUsageStatus.proto +public static partial class MemoryUsageStatusReflection { + + #region Descriptor + /// File descriptor for MemoryUsageStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MemoryUsageStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdNZW1vcnlVc2FnZVN0YXR1cy5wcm90byIwChFNZW1vcnlVc2FnZVN0YXR1", + "cxINCgVzdGFjaxgBIAIoBRIMCgRoZWFwGAIgAigF")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::MemoryUsageStatus), global::MemoryUsageStatus.Parser, new[]{ "Stack", "Heap" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Message conainting current memory usage statistics +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class MemoryUsageStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MemoryUsageStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MemoryUsageStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemoryUsageStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemoryUsageStatus(MemoryUsageStatus other) : this() { + _hasBits0 = other._hasBits0; + stack_ = other.stack_; + heap_ = other.heap_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MemoryUsageStatus Clone() { + return new MemoryUsageStatus(this); + } + + /// Field number for the "stack" field. + public const int StackFieldNumber = 1; + private readonly static int StackDefaultValue = 0; + + private int stack_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stack { + get { if ((_hasBits0 & 1) != 0) { return stack_; } else { return StackDefaultValue; } } + set { + _hasBits0 |= 1; + stack_ = value; + } + } + /// Gets whether the "stack" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStack { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "stack" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStack() { + _hasBits0 &= ~1; + } + + /// Field number for the "heap" field. + public const int HeapFieldNumber = 2; + private readonly static int HeapDefaultValue = 0; + + private int heap_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Heap { + get { if ((_hasBits0 & 2) != 0) { return heap_; } else { return HeapDefaultValue; } } + set { + _hasBits0 |= 2; + heap_ = value; + } + } + /// Gets whether the "heap" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHeap { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "heap" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHeap() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MemoryUsageStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MemoryUsageStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Stack != other.Stack) return false; + if (Heap != other.Heap) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStack) hash ^= Stack.GetHashCode(); + if (HasHeap) hash ^= Heap.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStack) { + output.WriteRawTag(8); + output.WriteInt32(Stack); + } + if (HasHeap) { + output.WriteRawTag(16); + output.WriteInt32(Heap); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStack) { + output.WriteRawTag(8); + output.WriteInt32(Stack); + } + if (HasHeap) { + output.WriteRawTag(16); + output.WriteInt32(Heap); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStack) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stack); + } + if (HasHeap) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Heap); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MemoryUsageStatus other) { + if (other == null) { + return; + } + if (other.HasStack) { + Stack = other.Stack; + } + if (other.HasHeap) { + Heap = other.Heap; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Stack = input.ReadInt32(); + break; + } + case 16: { + Heap = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Stack = input.ReadInt32(); + break; + } + case 16: { + Heap = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ModalStatusMessage.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ModalStatusMessage.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ModalStatusMessage.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ModalStatusMessage.cs index ddaf51d..bd74a59 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ModalStatusMessage.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ModalStatusMessage.cs @@ -1,359 +1,359 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ModalStatusMessage.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ModalStatusMessage.proto -public static partial class ModalStatusMessageReflection { - - #region Descriptor - /// File descriptor for ModalStatusMessage.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ModalStatusMessageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChhNb2RhbFN0YXR1c01lc3NhZ2UucHJvdG8iUAoSTW9kYWxTdGF0dXNNZXNz", - "YWdlEh4KB2NvbnRleHQYASACKA4yDS5Nb2RhbENvbnRleHQSGgoFc3RhdGUY", - "AiACKA4yCy5Nb2RhbFN0YXRlKvMBCgxNb2RhbENvbnRleHQSDgoKU1lOQ19C", - "RUdJThAAEgwKCFNZTkNfRU5EEAESEAoMQkFDS1VQX0JFR0lOEAISDgoKQkFD", - "S1VQX0VORBADEhEKDVJFU1RPUkVfQkVHSU4QBBIPCgtSRVNUT1JFX0VORBAF", - "EhAKDFRVTkVSX0VOQUJMRRAGEhEKDVRVTkVSX0RJU0FCTEUQBxIZChVGQUNU", - "T1JZX1JFU1RPUkVfQkVHSU4QCBIXChNGQUNUT1JZX1JFU1RPUkVfRU5EEAkS", - "EwoPVE9ORV9CVVNZX0JFR0lOEAoSEQoNVE9ORV9CVVNZX0VORBALKh4KCk1v", - "ZGFsU3RhdGUSBgoCT0sQABIICgRGQUlMEAE=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ModalContext), typeof(global::ModalState), }, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ModalStatusMessage), global::ModalStatusMessage.Parser, new[]{ "Context", "State" }, null, null, null, null) - })); - } - #endregion - -} -#region Enums -public enum ModalContext { - /// - /// Used during the initialization of the connection - /// - [pbr::OriginalName("SYNC_BEGIN")] SyncBegin = 0, - /// - /// Used during the initialization of the connection - /// - [pbr::OriginalName("SYNC_END")] SyncEnd = 1, - [pbr::OriginalName("BACKUP_BEGIN")] BackupBegin = 2, - [pbr::OriginalName("BACKUP_END")] BackupEnd = 3, - [pbr::OriginalName("RESTORE_BEGIN")] RestoreBegin = 4, - [pbr::OriginalName("RESTORE_END")] RestoreEnd = 5, - /// - /// Enables the tuner - /// - [pbr::OriginalName("TUNER_ENABLE")] TunerEnable = 6, - /// - /// Disables the tuner - /// - [pbr::OriginalName("TUNER_DISABLE")] TunerDisable = 7, - [pbr::OriginalName("FACTORY_RESTORE_BEGIN")] FactoryRestoreBegin = 8, - [pbr::OriginalName("FACTORY_RESTORE_END")] FactoryRestoreEnd = 9, - [pbr::OriginalName("TONE_BUSY_BEGIN")] ToneBusyBegin = 10, - [pbr::OriginalName("TONE_BUSY_END")] ToneBusyEnd = 11, -} - -public enum ModalState { - /// - /// Success; also the default when sending this message to the amp - /// - [pbr::OriginalName("OK")] Ok = 0, - /// - /// Failure - /// - [pbr::OriginalName("FAIL")] Fail = 1, -} - -#endregion - -#region Messages -/// -/// -/// Changes the state of the amp -/// -/// response: A ModalStatusMessage with the result of the request -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ModalStatusMessage : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ModalStatusMessage()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ModalStatusMessageReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ModalStatusMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ModalStatusMessage(ModalStatusMessage other) : this() { - _hasBits0 = other._hasBits0; - context_ = other.context_; - state_ = other.state_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ModalStatusMessage Clone() { - return new ModalStatusMessage(this); - } - - /// Field number for the "context" field. - public const int ContextFieldNumber = 1; - private readonly static global::ModalContext ContextDefaultValue = global::ModalContext.SyncBegin; - - private global::ModalContext context_; - /// - /// Context to switch to - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ModalContext Context { - get { if ((_hasBits0 & 1) != 0) { return context_; } else { return ContextDefaultValue; } } - set { - _hasBits0 |= 1; - context_ = value; - } - } - /// Gets whether the "context" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasContext { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "context" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearContext() { - _hasBits0 &= ~1; - } - - /// Field number for the "state" field. - public const int StateFieldNumber = 2; - private readonly static global::ModalState StateDefaultValue = global::ModalState.Ok; - - private global::ModalState state_; - /// - /// The result of the request. Requests to the amp are sent with an OK state - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ModalState State { - get { if ((_hasBits0 & 2) != 0) { return state_; } else { return StateDefaultValue; } } - set { - _hasBits0 |= 2; - state_ = value; - } - } - /// Gets whether the "state" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasState { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "state" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearState() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ModalStatusMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ModalStatusMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Context != other.Context) return false; - if (State != other.State) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasContext) hash ^= Context.GetHashCode(); - if (HasState) hash ^= State.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasContext) { - output.WriteRawTag(8); - output.WriteEnum((int) Context); - } - if (HasState) { - output.WriteRawTag(16); - output.WriteEnum((int) State); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasContext) { - output.WriteRawTag(8); - output.WriteEnum((int) Context); - } - if (HasState) { - output.WriteRawTag(16); - output.WriteEnum((int) State); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasContext) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Context); - } - if (HasState) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ModalStatusMessage other) { - if (other == null) { - return; - } - if (other.HasContext) { - Context = other.Context; - } - if (other.HasState) { - State = other.State; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Context = (global::ModalContext) input.ReadEnum(); - break; - } - case 16: { - State = (global::ModalState) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Context = (global::ModalContext) input.ReadEnum(); - break; - } - case 16: { - State = (global::ModalState) input.ReadEnum(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ModalStatusMessage.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ModalStatusMessage.proto +public static partial class ModalStatusMessageReflection { + + #region Descriptor + /// File descriptor for ModalStatusMessage.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ModalStatusMessageReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChhNb2RhbFN0YXR1c01lc3NhZ2UucHJvdG8iUAoSTW9kYWxTdGF0dXNNZXNz", + "YWdlEh4KB2NvbnRleHQYASACKA4yDS5Nb2RhbENvbnRleHQSGgoFc3RhdGUY", + "AiACKA4yCy5Nb2RhbFN0YXRlKvMBCgxNb2RhbENvbnRleHQSDgoKU1lOQ19C", + "RUdJThAAEgwKCFNZTkNfRU5EEAESEAoMQkFDS1VQX0JFR0lOEAISDgoKQkFD", + "S1VQX0VORBADEhEKDVJFU1RPUkVfQkVHSU4QBBIPCgtSRVNUT1JFX0VORBAF", + "EhAKDFRVTkVSX0VOQUJMRRAGEhEKDVRVTkVSX0RJU0FCTEUQBxIZChVGQUNU", + "T1JZX1JFU1RPUkVfQkVHSU4QCBIXChNGQUNUT1JZX1JFU1RPUkVfRU5EEAkS", + "EwoPVE9ORV9CVVNZX0JFR0lOEAoSEQoNVE9ORV9CVVNZX0VORBALKh4KCk1v", + "ZGFsU3RhdGUSBgoCT0sQABIICgRGQUlMEAE=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ModalContext), typeof(global::ModalState), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ModalStatusMessage), global::ModalStatusMessage.Parser, new[]{ "Context", "State" }, null, null, null, null) + })); + } + #endregion + +} +#region Enums +public enum ModalContext { + /// + /// Used during the initialization of the connection + /// + [pbr::OriginalName("SYNC_BEGIN")] SyncBegin = 0, + /// + /// Used during the initialization of the connection + /// + [pbr::OriginalName("SYNC_END")] SyncEnd = 1, + [pbr::OriginalName("BACKUP_BEGIN")] BackupBegin = 2, + [pbr::OriginalName("BACKUP_END")] BackupEnd = 3, + [pbr::OriginalName("RESTORE_BEGIN")] RestoreBegin = 4, + [pbr::OriginalName("RESTORE_END")] RestoreEnd = 5, + /// + /// Enables the tuner + /// + [pbr::OriginalName("TUNER_ENABLE")] TunerEnable = 6, + /// + /// Disables the tuner + /// + [pbr::OriginalName("TUNER_DISABLE")] TunerDisable = 7, + [pbr::OriginalName("FACTORY_RESTORE_BEGIN")] FactoryRestoreBegin = 8, + [pbr::OriginalName("FACTORY_RESTORE_END")] FactoryRestoreEnd = 9, + [pbr::OriginalName("TONE_BUSY_BEGIN")] ToneBusyBegin = 10, + [pbr::OriginalName("TONE_BUSY_END")] ToneBusyEnd = 11, +} + +public enum ModalState { + /// + /// Success; also the default when sending this message to the amp + /// + [pbr::OriginalName("OK")] Ok = 0, + /// + /// Failure + /// + [pbr::OriginalName("FAIL")] Fail = 1, +} + +#endregion + +#region Messages +/// +/// +/// Changes the state of the amp +/// +/// response: A ModalStatusMessage with the result of the request +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ModalStatusMessage : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ModalStatusMessage()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ModalStatusMessageReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModalStatusMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModalStatusMessage(ModalStatusMessage other) : this() { + _hasBits0 = other._hasBits0; + context_ = other.context_; + state_ = other.state_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ModalStatusMessage Clone() { + return new ModalStatusMessage(this); + } + + /// Field number for the "context" field. + public const int ContextFieldNumber = 1; + private readonly static global::ModalContext ContextDefaultValue = global::ModalContext.SyncBegin; + + private global::ModalContext context_; + /// + /// Context to switch to + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ModalContext Context { + get { if ((_hasBits0 & 1) != 0) { return context_; } else { return ContextDefaultValue; } } + set { + _hasBits0 |= 1; + context_ = value; + } + } + /// Gets whether the "context" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContext { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "context" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContext() { + _hasBits0 &= ~1; + } + + /// Field number for the "state" field. + public const int StateFieldNumber = 2; + private readonly static global::ModalState StateDefaultValue = global::ModalState.Ok; + + private global::ModalState state_; + /// + /// The result of the request. Requests to the amp are sent with an OK state + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ModalState State { + get { if ((_hasBits0 & 2) != 0) { return state_; } else { return StateDefaultValue; } } + set { + _hasBits0 |= 2; + state_ = value; + } + } + /// Gets whether the "state" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasState { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "state" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearState() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ModalStatusMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ModalStatusMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Context != other.Context) return false; + if (State != other.State) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasContext) hash ^= Context.GetHashCode(); + if (HasState) hash ^= State.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasContext) { + output.WriteRawTag(8); + output.WriteEnum((int) Context); + } + if (HasState) { + output.WriteRawTag(16); + output.WriteEnum((int) State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasContext) { + output.WriteRawTag(8); + output.WriteEnum((int) Context); + } + if (HasState) { + output.WriteRawTag(16); + output.WriteEnum((int) State); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasContext) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Context); + } + if (HasState) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) State); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ModalStatusMessage other) { + if (other == null) { + return; + } + if (other.HasContext) { + Context = other.Context; + } + if (other.HasState) { + State = other.State; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Context = (global::ModalContext) input.ReadEnum(); + break; + } + case 16: { + State = (global::ModalState) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Context = (global::ModalContext) input.ReadEnum(); + break; + } + case 16: { + State = (global::ModalState) input.ReadEnum(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/NewPresetSavedStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/NewPresetSavedStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/NewPresetSavedStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/NewPresetSavedStatus.cs index 5e42d6e..11e6b47 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/NewPresetSavedStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/NewPresetSavedStatus.cs @@ -1,299 +1,299 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: NewPresetSavedStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from NewPresetSavedStatus.proto -public static partial class NewPresetSavedStatusReflection { - - #region Descriptor - /// File descriptor for NewPresetSavedStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static NewPresetSavedStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpOZXdQcmVzZXRTYXZlZFN0YXR1cy5wcm90byI+ChROZXdQcmVzZXRTYXZl", - "ZFN0YXR1cxISCgpwcmVzZXREYXRhGAEgAigJEhIKCnByZXNldFNsb3QYAiAC", - "KAU=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::NewPresetSavedStatus), global::NewPresetSavedStatus.Parser, new[]{ "PresetData", "PresetSlot" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class NewPresetSavedStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NewPresetSavedStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::NewPresetSavedStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NewPresetSavedStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NewPresetSavedStatus(NewPresetSavedStatus other) : this() { - _hasBits0 = other._hasBits0; - presetData_ = other.presetData_; - presetSlot_ = other.presetSlot_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public NewPresetSavedStatus Clone() { - return new NewPresetSavedStatus(this); - } - - /// Field number for the "presetData" field. - public const int PresetDataFieldNumber = 1; - private readonly static string PresetDataDefaultValue = ""; - - private string presetData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PresetData { - get { return presetData_ ?? PresetDataDefaultValue; } - set { - presetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "presetData" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetData { - get { return presetData_ != null; } - } - /// Clears the value of the "presetData" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetData() { - presetData_ = null; - } - - /// Field number for the "presetSlot" field. - public const int PresetSlotFieldNumber = 2; - private readonly static int PresetSlotDefaultValue = 0; - - private int presetSlot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PresetSlot { - get { if ((_hasBits0 & 1) != 0) { return presetSlot_; } else { return PresetSlotDefaultValue; } } - set { - _hasBits0 |= 1; - presetSlot_ = value; - } - } - /// Gets whether the "presetSlot" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetSlot { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "presetSlot" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetSlot() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as NewPresetSavedStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(NewPresetSavedStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PresetData != other.PresetData) return false; - if (PresetSlot != other.PresetSlot) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPresetData) hash ^= PresetData.GetHashCode(); - if (HasPresetSlot) hash ^= PresetSlot.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPresetData) { - output.WriteRawTag(10); - output.WriteString(PresetData); - } - if (HasPresetSlot) { - output.WriteRawTag(16); - output.WriteInt32(PresetSlot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPresetData) { - output.WriteRawTag(10); - output.WriteString(PresetData); - } - if (HasPresetSlot) { - output.WriteRawTag(16); - output.WriteInt32(PresetSlot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPresetData) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetData); - } - if (HasPresetSlot) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetSlot); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(NewPresetSavedStatus other) { - if (other == null) { - return; - } - if (other.HasPresetData) { - PresetData = other.PresetData; - } - if (other.HasPresetSlot) { - PresetSlot = other.PresetSlot; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - PresetData = input.ReadString(); - break; - } - case 16: { - PresetSlot = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - PresetData = input.ReadString(); - break; - } - case 16: { - PresetSlot = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: NewPresetSavedStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from NewPresetSavedStatus.proto +public static partial class NewPresetSavedStatusReflection { + + #region Descriptor + /// File descriptor for NewPresetSavedStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static NewPresetSavedStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChpOZXdQcmVzZXRTYXZlZFN0YXR1cy5wcm90byI+ChROZXdQcmVzZXRTYXZl", + "ZFN0YXR1cxISCgpwcmVzZXREYXRhGAEgAigJEhIKCnByZXNldFNsb3QYAiAC", + "KAU=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::NewPresetSavedStatus), global::NewPresetSavedStatus.Parser, new[]{ "PresetData", "PresetSlot" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class NewPresetSavedStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NewPresetSavedStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::NewPresetSavedStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewPresetSavedStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewPresetSavedStatus(NewPresetSavedStatus other) : this() { + _hasBits0 = other._hasBits0; + presetData_ = other.presetData_; + presetSlot_ = other.presetSlot_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NewPresetSavedStatus Clone() { + return new NewPresetSavedStatus(this); + } + + /// Field number for the "presetData" field. + public const int PresetDataFieldNumber = 1; + private readonly static string PresetDataDefaultValue = ""; + + private string presetData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PresetData { + get { return presetData_ ?? PresetDataDefaultValue; } + set { + presetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "presetData" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetData { + get { return presetData_ != null; } + } + /// Clears the value of the "presetData" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetData() { + presetData_ = null; + } + + /// Field number for the "presetSlot" field. + public const int PresetSlotFieldNumber = 2; + private readonly static int PresetSlotDefaultValue = 0; + + private int presetSlot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PresetSlot { + get { if ((_hasBits0 & 1) != 0) { return presetSlot_; } else { return PresetSlotDefaultValue; } } + set { + _hasBits0 |= 1; + presetSlot_ = value; + } + } + /// Gets whether the "presetSlot" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetSlot { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "presetSlot" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetSlot() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NewPresetSavedStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NewPresetSavedStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PresetData != other.PresetData) return false; + if (PresetSlot != other.PresetSlot) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPresetData) hash ^= PresetData.GetHashCode(); + if (HasPresetSlot) hash ^= PresetSlot.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPresetData) { + output.WriteRawTag(10); + output.WriteString(PresetData); + } + if (HasPresetSlot) { + output.WriteRawTag(16); + output.WriteInt32(PresetSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPresetData) { + output.WriteRawTag(10); + output.WriteString(PresetData); + } + if (HasPresetSlot) { + output.WriteRawTag(16); + output.WriteInt32(PresetSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPresetData) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetData); + } + if (HasPresetSlot) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetSlot); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NewPresetSavedStatus other) { + if (other == null) { + return; + } + if (other.HasPresetData) { + PresetData = other.PresetData; + } + if (other.HasPresetSlot) { + PresetSlot = other.PresetSlot; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + PresetData = input.ReadString(); + break; + } + case 16: { + PresetSlot = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + PresetData = input.ReadString(); + break; + } + case 16: { + PresetSlot = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/PresetJSONMessage.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/PresetJSONMessage.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/PresetJSONMessage.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/PresetJSONMessage.cs index b586189..e4ec189 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/PresetJSONMessage.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/PresetJSONMessage.cs @@ -1,308 +1,308 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PresetJSONMessage.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from PresetJSONMessage.proto -public static partial class PresetJSONMessageReflection { - - #region Descriptor - /// File descriptor for PresetJSONMessage.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PresetJSONMessageReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdQcmVzZXRKU09OTWVzc2FnZS5wcm90byI0ChFQcmVzZXRKU09OTWVzc2Fn", - "ZRIMCgRkYXRhGAEgAigJEhEKCXNsb3RJbmRleBgCIAIoBQ==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::PresetJSONMessage), global::PresetJSONMessage.Parser, new[]{ "Data", "SlotIndex" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Saved preset data -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class PresetJSONMessage : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresetJSONMessage()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::PresetJSONMessageReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetJSONMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetJSONMessage(PresetJSONMessage other) : this() { - _hasBits0 = other._hasBits0; - data_ = other.data_; - slotIndex_ = other.slotIndex_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetJSONMessage Clone() { - return new PresetJSONMessage(this); - } - - /// Field number for the "data" field. - public const int DataFieldNumber = 1; - private readonly static string DataDefaultValue = ""; - - private string data_; - /// - /// JSON data conatining preset data for requested preset bank - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Data { - get { return data_ ?? DataDefaultValue; } - set { - data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "data" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasData { - get { return data_ != null; } - } - /// Clears the value of the "data" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearData() { - data_ = null; - } - - /// Field number for the "slotIndex" field. - public const int SlotIndexFieldNumber = 2; - private readonly static int SlotIndexDefaultValue = 0; - - private int slotIndex_; - /// - /// Preset bank this preset is stored in - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int SlotIndex { - get { if ((_hasBits0 & 1) != 0) { return slotIndex_; } else { return SlotIndexDefaultValue; } } - set { - _hasBits0 |= 1; - slotIndex_ = value; - } - } - /// Gets whether the "slotIndex" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSlotIndex { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "slotIndex" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSlotIndex() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PresetJSONMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PresetJSONMessage other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Data != other.Data) return false; - if (SlotIndex != other.SlotIndex) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasData) hash ^= Data.GetHashCode(); - if (HasSlotIndex) hash ^= SlotIndex.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasData) { - output.WriteRawTag(10); - output.WriteString(Data); - } - if (HasSlotIndex) { - output.WriteRawTag(16); - output.WriteInt32(SlotIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasData) { - output.WriteRawTag(10); - output.WriteString(Data); - } - if (HasSlotIndex) { - output.WriteRawTag(16); - output.WriteInt32(SlotIndex); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasData) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); - } - if (HasSlotIndex) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(SlotIndex); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PresetJSONMessage other) { - if (other == null) { - return; - } - if (other.HasData) { - Data = other.Data; - } - if (other.HasSlotIndex) { - SlotIndex = other.SlotIndex; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Data = input.ReadString(); - break; - } - case 16: { - SlotIndex = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Data = input.ReadString(); - break; - } - case 16: { - SlotIndex = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: PresetJSONMessage.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from PresetJSONMessage.proto +public static partial class PresetJSONMessageReflection { + + #region Descriptor + /// File descriptor for PresetJSONMessage.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PresetJSONMessageReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdQcmVzZXRKU09OTWVzc2FnZS5wcm90byI0ChFQcmVzZXRKU09OTWVzc2Fn", + "ZRIMCgRkYXRhGAEgAigJEhEKCXNsb3RJbmRleBgCIAIoBQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::PresetJSONMessage), global::PresetJSONMessage.Parser, new[]{ "Data", "SlotIndex" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Saved preset data +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PresetJSONMessage : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresetJSONMessage()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::PresetJSONMessageReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetJSONMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetJSONMessage(PresetJSONMessage other) : this() { + _hasBits0 = other._hasBits0; + data_ = other.data_; + slotIndex_ = other.slotIndex_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetJSONMessage Clone() { + return new PresetJSONMessage(this); + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 1; + private readonly static string DataDefaultValue = ""; + + private string data_; + /// + /// JSON data conatining preset data for requested preset bank + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Data { + get { return data_ ?? DataDefaultValue; } + set { + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "data" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasData { + get { return data_ != null; } + } + /// Clears the value of the "data" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearData() { + data_ = null; + } + + /// Field number for the "slotIndex" field. + public const int SlotIndexFieldNumber = 2; + private readonly static int SlotIndexDefaultValue = 0; + + private int slotIndex_; + /// + /// Preset bank this preset is stored in + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SlotIndex { + get { if ((_hasBits0 & 1) != 0) { return slotIndex_; } else { return SlotIndexDefaultValue; } } + set { + _hasBits0 |= 1; + slotIndex_ = value; + } + } + /// Gets whether the "slotIndex" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSlotIndex { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "slotIndex" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSlotIndex() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PresetJSONMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PresetJSONMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Data != other.Data) return false; + if (SlotIndex != other.SlotIndex) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasData) hash ^= Data.GetHashCode(); + if (HasSlotIndex) hash ^= SlotIndex.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasData) { + output.WriteRawTag(10); + output.WriteString(Data); + } + if (HasSlotIndex) { + output.WriteRawTag(16); + output.WriteInt32(SlotIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasData) { + output.WriteRawTag(10); + output.WriteString(Data); + } + if (HasSlotIndex) { + output.WriteRawTag(16); + output.WriteInt32(SlotIndex); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasData) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); + } + if (HasSlotIndex) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SlotIndex); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PresetJSONMessage other) { + if (other == null) { + return; + } + if (other.HasData) { + Data = other.Data; + } + if (other.HasSlotIndex) { + SlotIndex = other.SlotIndex; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Data = input.ReadString(); + break; + } + case 16: { + SlotIndex = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Data = input.ReadString(); + break; + } + case 16: { + SlotIndex = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/PresetJSONMessageRequestLT.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/PresetJSONMessageRequestLT.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/PresetJSONMessageRequestLT.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/PresetJSONMessageRequestLT.cs index 94293a9..0f5cd8d 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/PresetJSONMessageRequestLT.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/PresetJSONMessageRequestLT.cs @@ -1,247 +1,247 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PresetJSONMessageRequest_LT.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from PresetJSONMessageRequest_LT.proto -public static partial class PresetJSONMessageRequestLTReflection { - - #region Descriptor - /// File descriptor for PresetJSONMessageRequest_LT.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PresetJSONMessageRequestLTReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiFQcmVzZXRKU09OTWVzc2FnZVJlcXVlc3RfTFQucHJvdG8iLgobUHJlc2V0", - "SlNPTk1lc3NhZ2VSZXF1ZXN0X0xUEg8KB3JlcXVlc3QYASACKAU=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::PresetJSONMessageRequest_LT), global::PresetJSONMessageRequest_LT.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class PresetJSONMessageRequest_LT : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresetJSONMessageRequest_LT()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::PresetJSONMessageRequestLTReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetJSONMessageRequest_LT() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetJSONMessageRequest_LT(PresetJSONMessageRequest_LT other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetJSONMessageRequest_LT Clone() { - return new PresetJSONMessageRequest_LT(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static int RequestDefaultValue = 0; - - private int request_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PresetJSONMessageRequest_LT); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PresetJSONMessageRequest_LT other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteInt32(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteInt32(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Request); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PresetJSONMessageRequest_LT other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: PresetJSONMessageRequest_LT.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from PresetJSONMessageRequest_LT.proto +public static partial class PresetJSONMessageRequestLTReflection { + + #region Descriptor + /// File descriptor for PresetJSONMessageRequest_LT.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PresetJSONMessageRequestLTReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFQcmVzZXRKU09OTWVzc2FnZVJlcXVlc3RfTFQucHJvdG8iLgobUHJlc2V0", + "SlNPTk1lc3NhZ2VSZXF1ZXN0X0xUEg8KB3JlcXVlc3QYASACKAU=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::PresetJSONMessageRequest_LT), global::PresetJSONMessageRequest_LT.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PresetJSONMessageRequest_LT : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresetJSONMessageRequest_LT()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::PresetJSONMessageRequestLTReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetJSONMessageRequest_LT() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetJSONMessageRequest_LT(PresetJSONMessageRequest_LT other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetJSONMessageRequest_LT Clone() { + return new PresetJSONMessageRequest_LT(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static int RequestDefaultValue = 0; + + private int request_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PresetJSONMessageRequest_LT); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PresetJSONMessageRequest_LT other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteInt32(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteInt32(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Request); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PresetJSONMessageRequest_LT other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/PresetSavedStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/PresetSavedStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/PresetSavedStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/PresetSavedStatus.cs index e5bc2eb..f16f7b7 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/PresetSavedStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/PresetSavedStatus.cs @@ -1,308 +1,308 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: PresetSavedStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from PresetSavedStatus.proto -public static partial class PresetSavedStatusReflection { - - #region Descriptor - /// File descriptor for PresetSavedStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static PresetSavedStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdQcmVzZXRTYXZlZFN0YXR1cy5wcm90byIvChFQcmVzZXRTYXZlZFN0YXR1", - "cxIMCgRuYW1lGAEgAigJEgwKBHNsb3QYAiACKAU=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::PresetSavedStatus), global::PresetSavedStatus.Parser, new[]{ "Name", "Slot" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Result of a SaveCurrentPreset, SaveCurrentPresetTo, or SavePresetAs message. Also sent when the preset is saved on the amp. -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class PresetSavedStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresetSavedStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::PresetSavedStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetSavedStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetSavedStatus(PresetSavedStatus other) : this() { - _hasBits0 = other._hasBits0; - name_ = other.name_; - slot_ = other.slot_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public PresetSavedStatus Clone() { - return new PresetSavedStatus(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - private readonly static string NameDefaultValue = ""; - - private string name_; - /// - /// Name of the preset saved - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_ ?? NameDefaultValue; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "name" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasName { - get { return name_ != null; } - } - /// Clears the value of the "name" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearName() { - name_ = null; - } - - /// Field number for the "slot" field. - public const int SlotFieldNumber = 2; - private readonly static int SlotDefaultValue = 0; - - private int slot_; - /// - /// Preset bank of the saved preset - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Slot { - get { if ((_hasBits0 & 1) != 0) { return slot_; } else { return SlotDefaultValue; } } - set { - _hasBits0 |= 1; - slot_ = value; - } - } - /// Gets whether the "slot" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSlot { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "slot" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSlot() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as PresetSavedStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(PresetSavedStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Name != other.Name) return false; - if (Slot != other.Slot) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasName) hash ^= Name.GetHashCode(); - if (HasSlot) hash ^= Slot.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasName) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (HasSlot) { - output.WriteRawTag(16); - output.WriteInt32(Slot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasName) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (HasSlot) { - output.WriteRawTag(16); - output.WriteInt32(Slot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasName) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (HasSlot) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Slot); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(PresetSavedStatus other) { - if (other == null) { - return; - } - if (other.HasName) { - Name = other.Name; - } - if (other.HasSlot) { - Slot = other.Slot; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 16: { - Slot = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 16: { - Slot = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: PresetSavedStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from PresetSavedStatus.proto +public static partial class PresetSavedStatusReflection { + + #region Descriptor + /// File descriptor for PresetSavedStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PresetSavedStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdQcmVzZXRTYXZlZFN0YXR1cy5wcm90byIvChFQcmVzZXRTYXZlZFN0YXR1", + "cxIMCgRuYW1lGAEgAigJEgwKBHNsb3QYAiACKAU=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::PresetSavedStatus), global::PresetSavedStatus.Parser, new[]{ "Name", "Slot" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Result of a SaveCurrentPreset, SaveCurrentPresetTo, or SavePresetAs message. Also sent when the preset is saved on the amp. +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PresetSavedStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PresetSavedStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::PresetSavedStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetSavedStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetSavedStatus(PresetSavedStatus other) : this() { + _hasBits0 = other._hasBits0; + name_ = other.name_; + slot_ = other.slot_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PresetSavedStatus Clone() { + return new PresetSavedStatus(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private readonly static string NameDefaultValue = ""; + + private string name_; + /// + /// Name of the preset saved + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_ ?? NameDefaultValue; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() { + name_ = null; + } + + /// Field number for the "slot" field. + public const int SlotFieldNumber = 2; + private readonly static int SlotDefaultValue = 0; + + private int slot_; + /// + /// Preset bank of the saved preset + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Slot { + get { if ((_hasBits0 & 1) != 0) { return slot_; } else { return SlotDefaultValue; } } + set { + _hasBits0 |= 1; + slot_ = value; + } + } + /// Gets whether the "slot" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSlot { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "slot" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSlot() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PresetSavedStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PresetSavedStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (Slot != other.Slot) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasName) hash ^= Name.GetHashCode(); + if (HasSlot) hash ^= Slot.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasName) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (HasSlot) { + output.WriteRawTag(16); + output.WriteInt32(Slot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasName) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (HasSlot) { + output.WriteRawTag(16); + output.WriteInt32(Slot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (HasSlot) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Slot); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PresetSavedStatus other) { + if (other == null) { + return; + } + if (other.HasName) { + Name = other.Name; + } + if (other.HasSlot) { + Slot = other.Slot; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + Slot = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Name = input.ReadString(); + break; + } + case 16: { + Slot = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ProcessorUtilization.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProcessorUtilization.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ProcessorUtilization.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProcessorUtilization.cs index 153d8a2..090beca 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ProcessorUtilization.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProcessorUtilization.cs @@ -1,356 +1,356 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ProcessorUtilization.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ProcessorUtilization.proto -public static partial class ProcessorUtilizationReflection { - - #region Descriptor - /// File descriptor for ProcessorUtilization.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ProcessorUtilizationReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChpQcm9jZXNzb3JVdGlsaXphdGlvbi5wcm90byJPChRQcm9jZXNzb3JVdGls", - "aXphdGlvbhIPCgdwZXJjZW50GAEgAigCEhIKCm1pblBlcmNlbnQYAiACKAIS", - "EgoKbWF4UGVyY2VudBgDIAIoAg==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ProcessorUtilization), global::ProcessorUtilization.Parser, new[]{ "Percent", "MinPercent", "MaxPercent" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Current processor utilization statistics -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ProcessorUtilization : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProcessorUtilization()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ProcessorUtilizationReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProcessorUtilization() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProcessorUtilization(ProcessorUtilization other) : this() { - _hasBits0 = other._hasBits0; - percent_ = other.percent_; - minPercent_ = other.minPercent_; - maxPercent_ = other.maxPercent_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProcessorUtilization Clone() { - return new ProcessorUtilization(this); - } - - /// Field number for the "percent" field. - public const int PercentFieldNumber = 1; - private readonly static float PercentDefaultValue = 0F; - - private float percent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float Percent { - get { if ((_hasBits0 & 1) != 0) { return percent_; } else { return PercentDefaultValue; } } - set { - _hasBits0 |= 1; - percent_ = value; - } - } - /// Gets whether the "percent" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPercent { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "percent" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPercent() { - _hasBits0 &= ~1; - } - - /// Field number for the "minPercent" field. - public const int MinPercentFieldNumber = 2; - private readonly static float MinPercentDefaultValue = 0F; - - private float minPercent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float MinPercent { - get { if ((_hasBits0 & 2) != 0) { return minPercent_; } else { return MinPercentDefaultValue; } } - set { - _hasBits0 |= 2; - minPercent_ = value; - } - } - /// Gets whether the "minPercent" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasMinPercent { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "minPercent" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearMinPercent() { - _hasBits0 &= ~2; - } - - /// Field number for the "maxPercent" field. - public const int MaxPercentFieldNumber = 3; - private readonly static float MaxPercentDefaultValue = 0F; - - private float maxPercent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float MaxPercent { - get { if ((_hasBits0 & 4) != 0) { return maxPercent_; } else { return MaxPercentDefaultValue; } } - set { - _hasBits0 |= 4; - maxPercent_ = value; - } - } - /// Gets whether the "maxPercent" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasMaxPercent { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "maxPercent" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearMaxPercent() { - _hasBits0 &= ~4; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProcessorUtilization); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProcessorUtilization other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Percent, other.Percent)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MinPercent, other.MinPercent)) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxPercent, other.MaxPercent)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPercent) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Percent); - if (HasMinPercent) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MinPercent); - if (HasMaxPercent) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxPercent); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPercent) { - output.WriteRawTag(13); - output.WriteFloat(Percent); - } - if (HasMinPercent) { - output.WriteRawTag(21); - output.WriteFloat(MinPercent); - } - if (HasMaxPercent) { - output.WriteRawTag(29); - output.WriteFloat(MaxPercent); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPercent) { - output.WriteRawTag(13); - output.WriteFloat(Percent); - } - if (HasMinPercent) { - output.WriteRawTag(21); - output.WriteFloat(MinPercent); - } - if (HasMaxPercent) { - output.WriteRawTag(29); - output.WriteFloat(MaxPercent); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPercent) { - size += 1 + 4; - } - if (HasMinPercent) { - size += 1 + 4; - } - if (HasMaxPercent) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProcessorUtilization other) { - if (other == null) { - return; - } - if (other.HasPercent) { - Percent = other.Percent; - } - if (other.HasMinPercent) { - MinPercent = other.MinPercent; - } - if (other.HasMaxPercent) { - MaxPercent = other.MaxPercent; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 13: { - Percent = input.ReadFloat(); - break; - } - case 21: { - MinPercent = input.ReadFloat(); - break; - } - case 29: { - MaxPercent = input.ReadFloat(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 13: { - Percent = input.ReadFloat(); - break; - } - case 21: { - MinPercent = input.ReadFloat(); - break; - } - case 29: { - MaxPercent = input.ReadFloat(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ProcessorUtilization.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ProcessorUtilization.proto +public static partial class ProcessorUtilizationReflection { + + #region Descriptor + /// File descriptor for ProcessorUtilization.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ProcessorUtilizationReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChpQcm9jZXNzb3JVdGlsaXphdGlvbi5wcm90byJPChRQcm9jZXNzb3JVdGls", + "aXphdGlvbhIPCgdwZXJjZW50GAEgAigCEhIKCm1pblBlcmNlbnQYAiACKAIS", + "EgoKbWF4UGVyY2VudBgDIAIoAg==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ProcessorUtilization), global::ProcessorUtilization.Parser, new[]{ "Percent", "MinPercent", "MaxPercent" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Current processor utilization statistics +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ProcessorUtilization : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProcessorUtilization()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ProcessorUtilizationReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessorUtilization() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessorUtilization(ProcessorUtilization other) : this() { + _hasBits0 = other._hasBits0; + percent_ = other.percent_; + minPercent_ = other.minPercent_; + maxPercent_ = other.maxPercent_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessorUtilization Clone() { + return new ProcessorUtilization(this); + } + + /// Field number for the "percent" field. + public const int PercentFieldNumber = 1; + private readonly static float PercentDefaultValue = 0F; + + private float percent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Percent { + get { if ((_hasBits0 & 1) != 0) { return percent_; } else { return PercentDefaultValue; } } + set { + _hasBits0 |= 1; + percent_ = value; + } + } + /// Gets whether the "percent" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPercent { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "percent" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPercent() { + _hasBits0 &= ~1; + } + + /// Field number for the "minPercent" field. + public const int MinPercentFieldNumber = 2; + private readonly static float MinPercentDefaultValue = 0F; + + private float minPercent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float MinPercent { + get { if ((_hasBits0 & 2) != 0) { return minPercent_; } else { return MinPercentDefaultValue; } } + set { + _hasBits0 |= 2; + minPercent_ = value; + } + } + /// Gets whether the "minPercent" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMinPercent { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "minPercent" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMinPercent() { + _hasBits0 &= ~2; + } + + /// Field number for the "maxPercent" field. + public const int MaxPercentFieldNumber = 3; + private readonly static float MaxPercentDefaultValue = 0F; + + private float maxPercent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float MaxPercent { + get { if ((_hasBits0 & 4) != 0) { return maxPercent_; } else { return MaxPercentDefaultValue; } } + set { + _hasBits0 |= 4; + maxPercent_ = value; + } + } + /// Gets whether the "maxPercent" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxPercent { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "maxPercent" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxPercent() { + _hasBits0 &= ~4; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProcessorUtilization); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProcessorUtilization other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Percent, other.Percent)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MinPercent, other.MinPercent)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxPercent, other.MaxPercent)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPercent) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Percent); + if (HasMinPercent) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MinPercent); + if (HasMaxPercent) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxPercent); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPercent) { + output.WriteRawTag(13); + output.WriteFloat(Percent); + } + if (HasMinPercent) { + output.WriteRawTag(21); + output.WriteFloat(MinPercent); + } + if (HasMaxPercent) { + output.WriteRawTag(29); + output.WriteFloat(MaxPercent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPercent) { + output.WriteRawTag(13); + output.WriteFloat(Percent); + } + if (HasMinPercent) { + output.WriteRawTag(21); + output.WriteFloat(MinPercent); + } + if (HasMaxPercent) { + output.WriteRawTag(29); + output.WriteFloat(MaxPercent); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPercent) { + size += 1 + 4; + } + if (HasMinPercent) { + size += 1 + 4; + } + if (HasMaxPercent) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProcessorUtilization other) { + if (other == null) { + return; + } + if (other.HasPercent) { + Percent = other.Percent; + } + if (other.HasMinPercent) { + MinPercent = other.MinPercent; + } + if (other.HasMaxPercent) { + MaxPercent = other.MaxPercent; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + Percent = input.ReadFloat(); + break; + } + case 21: { + MinPercent = input.ReadFloat(); + break; + } + case 29: { + MaxPercent = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + Percent = input.ReadFloat(); + break; + } + case 21: { + MinPercent = input.ReadFloat(); + break; + } + case 29: { + MaxPercent = input.ReadFloat(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ProcessorUtilizationRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProcessorUtilizationRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ProcessorUtilizationRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProcessorUtilizationRequest.cs index 250ec2a..6b95033 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ProcessorUtilizationRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProcessorUtilizationRequest.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ProcessorUtilizationRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ProcessorUtilizationRequest.proto -public static partial class ProcessorUtilizationRequestReflection { - - #region Descriptor - /// File descriptor for ProcessorUtilizationRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ProcessorUtilizationRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiFQcm9jZXNzb3JVdGlsaXphdGlvblJlcXVlc3QucHJvdG8iLgobUHJvY2Vz", - "c29yVXRpbGl6YXRpb25SZXF1ZXN0Eg8KB3JlcXVlc3QYASACKAg=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ProcessorUtilizationRequest), global::ProcessorUtilizationRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Requests processor statistics from the amp -/// -/// response: ProcessorUtilization message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ProcessorUtilizationRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProcessorUtilizationRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ProcessorUtilizationRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProcessorUtilizationRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProcessorUtilizationRequest(ProcessorUtilizationRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProcessorUtilizationRequest Clone() { - return new ProcessorUtilizationRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProcessorUtilizationRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProcessorUtilizationRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProcessorUtilizationRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ProcessorUtilizationRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ProcessorUtilizationRequest.proto +public static partial class ProcessorUtilizationRequestReflection { + + #region Descriptor + /// File descriptor for ProcessorUtilizationRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ProcessorUtilizationRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFQcm9jZXNzb3JVdGlsaXphdGlvblJlcXVlc3QucHJvdG8iLgobUHJvY2Vz", + "c29yVXRpbGl6YXRpb25SZXF1ZXN0Eg8KB3JlcXVlc3QYASACKAg=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ProcessorUtilizationRequest), global::ProcessorUtilizationRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Requests processor statistics from the amp +/// +/// response: ProcessorUtilization message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ProcessorUtilizationRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProcessorUtilizationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ProcessorUtilizationRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessorUtilizationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessorUtilizationRequest(ProcessorUtilizationRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProcessorUtilizationRequest Clone() { + return new ProcessorUtilizationRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProcessorUtilizationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProcessorUtilizationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProcessorUtilizationRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ProductIdentificationRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProductIdentificationRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ProductIdentificationRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProductIdentificationRequest.cs index f5d2945..a306e97 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ProductIdentificationRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProductIdentificationRequest.cs @@ -1,250 +1,250 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ProductIdentificationRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ProductIdentificationRequest.proto -public static partial class ProductIdentificationRequestReflection { - - #region Descriptor - /// File descriptor for ProductIdentificationRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ProductIdentificationRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiJQcm9kdWN0SWRlbnRpZmljYXRpb25SZXF1ZXN0LnByb3RvIi8KHFByb2R1", - "Y3RJZGVudGlmaWNhdGlvblJlcXVlc3QSDwoHcmVxdWVzdBgBIAIoCA==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ProductIdentificationRequest), global::ProductIdentificationRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ProductIdentificationRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProductIdentificationRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ProductIdentificationRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProductIdentificationRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProductIdentificationRequest(ProductIdentificationRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProductIdentificationRequest Clone() { - return new ProductIdentificationRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProductIdentificationRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProductIdentificationRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProductIdentificationRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ProductIdentificationRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ProductIdentificationRequest.proto +public static partial class ProductIdentificationRequestReflection { + + #region Descriptor + /// File descriptor for ProductIdentificationRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ProductIdentificationRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiJQcm9kdWN0SWRlbnRpZmljYXRpb25SZXF1ZXN0LnByb3RvIi8KHFByb2R1", + "Y3RJZGVudGlmaWNhdGlvblJlcXVlc3QSDwoHcmVxdWVzdBgBIAIoCA==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ProductIdentificationRequest), global::ProductIdentificationRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ProductIdentificationRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProductIdentificationRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ProductIdentificationRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductIdentificationRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductIdentificationRequest(ProductIdentificationRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductIdentificationRequest Clone() { + return new ProductIdentificationRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProductIdentificationRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProductIdentificationRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProductIdentificationRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ProductIdentificationStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProductIdentificationStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ProductIdentificationStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProductIdentificationStatus.cs index d311bdc..3f2adae 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ProductIdentificationStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ProductIdentificationStatus.cs @@ -1,244 +1,244 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ProductIdentificationStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ProductIdentificationStatus.proto -public static partial class ProductIdentificationStatusReflection { - - #region Descriptor - /// File descriptor for ProductIdentificationStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ProductIdentificationStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CiFQcm9kdWN0SWRlbnRpZmljYXRpb25TdGF0dXMucHJvdG8iKQobUHJvZHVj", - "dElkZW50aWZpY2F0aW9uU3RhdHVzEgoKAmlkGAEgAigJ")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ProductIdentificationStatus), global::ProductIdentificationStatus.Parser, new[]{ "Id" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ProductIdentificationStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProductIdentificationStatus()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ProductIdentificationStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProductIdentificationStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProductIdentificationStatus(ProductIdentificationStatus other) : this() { - id_ = other.id_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProductIdentificationStatus Clone() { - return new ProductIdentificationStatus(this); - } - - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private readonly static string IdDefaultValue = ""; - - private string id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Id { - get { return id_ ?? IdDefaultValue; } - set { - id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasId { - get { return id_ != null; } - } - /// Clears the value of the "id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearId() { - id_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ProductIdentificationStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProductIdentificationStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasId) hash ^= Id.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasId) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasId) { - output.WriteRawTag(10); - output.WriteString(Id); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasId) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProductIdentificationStatus other) { - if (other == null) { - return; - } - if (other.HasId) { - Id = other.Id; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - Id = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Id = input.ReadString(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ProductIdentificationStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ProductIdentificationStatus.proto +public static partial class ProductIdentificationStatusReflection { + + #region Descriptor + /// File descriptor for ProductIdentificationStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ProductIdentificationStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CiFQcm9kdWN0SWRlbnRpZmljYXRpb25TdGF0dXMucHJvdG8iKQobUHJvZHVj", + "dElkZW50aWZpY2F0aW9uU3RhdHVzEgoKAmlkGAEgAigJ")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ProductIdentificationStatus), global::ProductIdentificationStatus.Parser, new[]{ "Id" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ProductIdentificationStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProductIdentificationStatus()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ProductIdentificationStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductIdentificationStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductIdentificationStatus(ProductIdentificationStatus other) : this() { + id_ = other.id_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProductIdentificationStatus Clone() { + return new ProductIdentificationStatus(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static string IdDefaultValue = ""; + + private string id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_ ?? IdDefaultValue; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId { + get { return id_ != null; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() { + id_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProductIdentificationStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProductIdentificationStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasId) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasId) { + output.WriteRawTag(10); + output.WriteString(Id); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProductIdentificationStatus other) { + if (other == null) { + return; + } + if (other.HasId) { + Id = other.Id; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + Id = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + Id = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/QASlotsRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/QASlotsRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/QASlotsRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/QASlotsRequest.cs index 358efbc..03f9ad7 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/QASlotsRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/QASlotsRequest.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: QASlotsRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from QASlotsRequest.proto -public static partial class QASlotsRequestReflection { - - #region Descriptor - /// File descriptor for QASlotsRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static QASlotsRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRRQVNsb3RzUmVxdWVzdC5wcm90byIhCg5RQVNsb3RzUmVxdWVzdBIPCgdy", - "ZXF1ZXN0GAEgAigI")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::QASlotsRequest), global::QASlotsRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Requests the settings of the footswitch presets -/// -/// response: QASlotsStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class QASlotsRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QASlotsRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::QASlotsRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public QASlotsRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public QASlotsRequest(QASlotsRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public QASlotsRequest Clone() { - return new QASlotsRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - /// - /// Always true on requests - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as QASlotsRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(QASlotsRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(QASlotsRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: QASlotsRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from QASlotsRequest.proto +public static partial class QASlotsRequestReflection { + + #region Descriptor + /// File descriptor for QASlotsRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static QASlotsRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChRRQVNsb3RzUmVxdWVzdC5wcm90byIhCg5RQVNsb3RzUmVxdWVzdBIPCgdy", + "ZXF1ZXN0GAEgAigI")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::QASlotsRequest), global::QASlotsRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Requests the settings of the footswitch presets +/// +/// response: QASlotsStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class QASlotsRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QASlotsRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::QASlotsRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QASlotsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QASlotsRequest(QASlotsRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QASlotsRequest Clone() { + return new QASlotsRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + /// + /// Always true on requests + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QASlotsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QASlotsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QASlotsRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/QASlotsSet.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/QASlotsSet.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/QASlotsSet.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/QASlotsSet.cs index 35a1b2b..3040a7b 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/QASlotsSet.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/QASlotsSet.cs @@ -1,230 +1,230 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: QASlotsSet.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from QASlotsSet.proto -public static partial class QASlotsSetReflection { - - #region Descriptor - /// File descriptor for QASlotsSet.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static QASlotsSetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBRQVNsb3RzU2V0LnByb3RvIhsKClFBU2xvdHNTZXQSDQoFc2xvdHMYASAD", - "KA0=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::QASlotsSet), global::QASlotsSet.Parser, new[]{ "Slots" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Assigns preset banks to the footswitch -/// -/// response: QASlotsStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class QASlotsSet : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QASlotsSet()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::QASlotsSetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public QASlotsSet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public QASlotsSet(QASlotsSet other) : this() { - slots_ = other.slots_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public QASlotsSet Clone() { - return new QASlotsSet(this); - } - - /// Field number for the "slots" field. - public const int SlotsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_slots_codec - = pb::FieldCodec.ForUInt32(8); - private readonly pbc::RepeatedField slots_ = new pbc::RepeatedField(); - /// - /// Preset banks to assign to the footswitch - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Slots { - get { return slots_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as QASlotsSet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(QASlotsSet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!slots_.Equals(other.slots_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= slots_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - slots_.WriteTo(output, _repeated_slots_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - slots_.WriteTo(ref output, _repeated_slots_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += slots_.CalculateSize(_repeated_slots_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(QASlotsSet other) { - if (other == null) { - return; - } - slots_.Add(other.slots_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: - case 8: { - slots_.AddEntriesFrom(input, _repeated_slots_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: - case 8: { - slots_.AddEntriesFrom(ref input, _repeated_slots_codec); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: QASlotsSet.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from QASlotsSet.proto +public static partial class QASlotsSetReflection { + + #region Descriptor + /// File descriptor for QASlotsSet.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static QASlotsSetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChBRQVNsb3RzU2V0LnByb3RvIhsKClFBU2xvdHNTZXQSDQoFc2xvdHMYASAD", + "KA0=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::QASlotsSet), global::QASlotsSet.Parser, new[]{ "Slots" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Assigns preset banks to the footswitch +/// +/// response: QASlotsStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class QASlotsSet : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QASlotsSet()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::QASlotsSetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QASlotsSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QASlotsSet(QASlotsSet other) : this() { + slots_ = other.slots_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QASlotsSet Clone() { + return new QASlotsSet(this); + } + + /// Field number for the "slots" field. + public const int SlotsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_slots_codec + = pb::FieldCodec.ForUInt32(8); + private readonly pbc::RepeatedField slots_ = new pbc::RepeatedField(); + /// + /// Preset banks to assign to the footswitch + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Slots { + get { return slots_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QASlotsSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QASlotsSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!slots_.Equals(other.slots_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= slots_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + slots_.WriteTo(output, _repeated_slots_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + slots_.WriteTo(ref output, _repeated_slots_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += slots_.CalculateSize(_repeated_slots_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QASlotsSet other) { + if (other == null) { + return; + } + slots_.Add(other.slots_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + slots_.AddEntriesFrom(input, _repeated_slots_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + slots_.AddEntriesFrom(ref input, _repeated_slots_codec); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/QASlotsStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/QASlotsStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/QASlotsStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/QASlotsStatus.cs index add3722..c0c6736 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/QASlotsStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/QASlotsStatus.cs @@ -1,228 +1,228 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: QASlotsStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from QASlotsStatus.proto -public static partial class QASlotsStatusReflection { - - #region Descriptor - /// File descriptor for QASlotsStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static QASlotsStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNRQVNsb3RzU3RhdHVzLnByb3RvIh4KDVFBU2xvdHNTdGF0dXMSDQoFc2xv", - "dHMYASADKA0=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::QASlotsStatus), global::QASlotsStatus.Parser, new[]{ "Slots" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// The current settings of the footswitch presets -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class QASlotsStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QASlotsStatus()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::QASlotsStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public QASlotsStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public QASlotsStatus(QASlotsStatus other) : this() { - slots_ = other.slots_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public QASlotsStatus Clone() { - return new QASlotsStatus(this); - } - - /// Field number for the "slots" field. - public const int SlotsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_slots_codec - = pb::FieldCodec.ForUInt32(8); - private readonly pbc::RepeatedField slots_ = new pbc::RepeatedField(); - /// - /// The preset banks assigned to the footswitch - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Slots { - get { return slots_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as QASlotsStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(QASlotsStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!slots_.Equals(other.slots_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= slots_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - slots_.WriteTo(output, _repeated_slots_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - slots_.WriteTo(ref output, _repeated_slots_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += slots_.CalculateSize(_repeated_slots_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(QASlotsStatus other) { - if (other == null) { - return; - } - slots_.Add(other.slots_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: - case 8: { - slots_.AddEntriesFrom(input, _repeated_slots_codec); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: - case 8: { - slots_.AddEntriesFrom(ref input, _repeated_slots_codec); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: QASlotsStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from QASlotsStatus.proto +public static partial class QASlotsStatusReflection { + + #region Descriptor + /// File descriptor for QASlotsStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static QASlotsStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChNRQVNsb3RzU3RhdHVzLnByb3RvIh4KDVFBU2xvdHNTdGF0dXMSDQoFc2xv", + "dHMYASADKA0=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::QASlotsStatus), global::QASlotsStatus.Parser, new[]{ "Slots" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// The current settings of the footswitch presets +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class QASlotsStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new QASlotsStatus()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::QASlotsStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QASlotsStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QASlotsStatus(QASlotsStatus other) : this() { + slots_ = other.slots_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public QASlotsStatus Clone() { + return new QASlotsStatus(this); + } + + /// Field number for the "slots" field. + public const int SlotsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_slots_codec + = pb::FieldCodec.ForUInt32(8); + private readonly pbc::RepeatedField slots_ = new pbc::RepeatedField(); + /// + /// The preset banks assigned to the footswitch + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Slots { + get { return slots_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as QASlotsStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(QASlotsStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!slots_.Equals(other.slots_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + hash ^= slots_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + slots_.WriteTo(output, _repeated_slots_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + slots_.WriteTo(ref output, _repeated_slots_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + size += slots_.CalculateSize(_repeated_slots_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(QASlotsStatus other) { + if (other == null) { + return; + } + slots_.Add(other.slots_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: + case 8: { + slots_.AddEntriesFrom(input, _repeated_slots_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + case 8: { + slots_.AddEntriesFrom(ref input, _repeated_slots_codec); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/RenamePresetAt.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/RenamePresetAt.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/RenamePresetAt.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/RenamePresetAt.cs index 5b152dc..a009dfc 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/RenamePresetAt.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/RenamePresetAt.cs @@ -1,298 +1,298 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: RenamePresetAt.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from RenamePresetAt.proto -public static partial class RenamePresetAtReflection { - - #region Descriptor - /// File descriptor for RenamePresetAt.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static RenamePresetAtReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRSZW5hbWVQcmVzZXRBdC5wcm90byI4Cg5SZW5hbWVQcmVzZXRBdBISCgpw", - "cmVzZXROYW1lGAEgAigJEhIKCnByZXNldFNsb3QYAiACKAU=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::RenamePresetAt), global::RenamePresetAt.Parser, new[]{ "PresetName", "PresetSlot" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class RenamePresetAt : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenamePresetAt()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::RenamePresetAtReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RenamePresetAt() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RenamePresetAt(RenamePresetAt other) : this() { - _hasBits0 = other._hasBits0; - presetName_ = other.presetName_; - presetSlot_ = other.presetSlot_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RenamePresetAt Clone() { - return new RenamePresetAt(this); - } - - /// Field number for the "presetName" field. - public const int PresetNameFieldNumber = 1; - private readonly static string PresetNameDefaultValue = ""; - - private string presetName_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PresetName { - get { return presetName_ ?? PresetNameDefaultValue; } - set { - presetName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "presetName" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetName { - get { return presetName_ != null; } - } - /// Clears the value of the "presetName" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetName() { - presetName_ = null; - } - - /// Field number for the "presetSlot" field. - public const int PresetSlotFieldNumber = 2; - private readonly static int PresetSlotDefaultValue = 0; - - private int presetSlot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PresetSlot { - get { if ((_hasBits0 & 1) != 0) { return presetSlot_; } else { return PresetSlotDefaultValue; } } - set { - _hasBits0 |= 1; - presetSlot_ = value; - } - } - /// Gets whether the "presetSlot" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetSlot { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "presetSlot" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetSlot() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RenamePresetAt); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RenamePresetAt other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PresetName != other.PresetName) return false; - if (PresetSlot != other.PresetSlot) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPresetName) hash ^= PresetName.GetHashCode(); - if (HasPresetSlot) hash ^= PresetSlot.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPresetName) { - output.WriteRawTag(10); - output.WriteString(PresetName); - } - if (HasPresetSlot) { - output.WriteRawTag(16); - output.WriteInt32(PresetSlot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPresetName) { - output.WriteRawTag(10); - output.WriteString(PresetName); - } - if (HasPresetSlot) { - output.WriteRawTag(16); - output.WriteInt32(PresetSlot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPresetName) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetName); - } - if (HasPresetSlot) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetSlot); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RenamePresetAt other) { - if (other == null) { - return; - } - if (other.HasPresetName) { - PresetName = other.PresetName; - } - if (other.HasPresetSlot) { - PresetSlot = other.PresetSlot; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - PresetName = input.ReadString(); - break; - } - case 16: { - PresetSlot = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - PresetName = input.ReadString(); - break; - } - case 16: { - PresetSlot = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: RenamePresetAt.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from RenamePresetAt.proto +public static partial class RenamePresetAtReflection { + + #region Descriptor + /// File descriptor for RenamePresetAt.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RenamePresetAtReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChRSZW5hbWVQcmVzZXRBdC5wcm90byI4Cg5SZW5hbWVQcmVzZXRBdBISCgpw", + "cmVzZXROYW1lGAEgAigJEhIKCnByZXNldFNsb3QYAiACKAU=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::RenamePresetAt), global::RenamePresetAt.Parser, new[]{ "PresetName", "PresetSlot" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class RenamePresetAt : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RenamePresetAt()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::RenamePresetAtReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenamePresetAt() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenamePresetAt(RenamePresetAt other) : this() { + _hasBits0 = other._hasBits0; + presetName_ = other.presetName_; + presetSlot_ = other.presetSlot_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RenamePresetAt Clone() { + return new RenamePresetAt(this); + } + + /// Field number for the "presetName" field. + public const int PresetNameFieldNumber = 1; + private readonly static string PresetNameDefaultValue = ""; + + private string presetName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PresetName { + get { return presetName_ ?? PresetNameDefaultValue; } + set { + presetName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "presetName" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetName { + get { return presetName_ != null; } + } + /// Clears the value of the "presetName" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetName() { + presetName_ = null; + } + + /// Field number for the "presetSlot" field. + public const int PresetSlotFieldNumber = 2; + private readonly static int PresetSlotDefaultValue = 0; + + private int presetSlot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PresetSlot { + get { if ((_hasBits0 & 1) != 0) { return presetSlot_; } else { return PresetSlotDefaultValue; } } + set { + _hasBits0 |= 1; + presetSlot_ = value; + } + } + /// Gets whether the "presetSlot" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetSlot { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "presetSlot" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetSlot() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RenamePresetAt); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RenamePresetAt other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PresetName != other.PresetName) return false; + if (PresetSlot != other.PresetSlot) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPresetName) hash ^= PresetName.GetHashCode(); + if (HasPresetSlot) hash ^= PresetSlot.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPresetName) { + output.WriteRawTag(10); + output.WriteString(PresetName); + } + if (HasPresetSlot) { + output.WriteRawTag(16); + output.WriteInt32(PresetSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPresetName) { + output.WriteRawTag(10); + output.WriteString(PresetName); + } + if (HasPresetSlot) { + output.WriteRawTag(16); + output.WriteInt32(PresetSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPresetName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetName); + } + if (HasPresetSlot) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetSlot); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RenamePresetAt other) { + if (other == null) { + return; + } + if (other.HasPresetName) { + PresetName = other.PresetName; + } + if (other.HasPresetSlot) { + PresetSlot = other.PresetSlot; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + PresetName = input.ReadString(); + break; + } + case 16: { + PresetSlot = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + PresetName = input.ReadString(); + break; + } + case 16: { + PresetSlot = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ReplaceNode.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ReplaceNode.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ReplaceNode.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ReplaceNode.cs index f97b268..20dbb08 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ReplaceNode.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ReplaceNode.cs @@ -1,307 +1,307 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ReplaceNode.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ReplaceNode.proto -public static partial class ReplaceNodeReflection { - - #region Descriptor - /// File descriptor for ReplaceNode.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ReplaceNodeReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFSZXBsYWNlTm9kZS5wcm90byJFCgtSZXBsYWNlTm9kZRIXCg9ub2RlSWRU", - "b1JlcGxhY2UYASACKAkSHQoVZmVuZGVySWRUb1JlcGxhY2VXaXRoGAIgAigJ")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ReplaceNode), global::ReplaceNode.Parser, new[]{ "NodeIdToReplace", "FenderIdToReplaceWith" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Swaps out a node (amp, stomp, mod, delay, or reverb) -/// -/// response: ReplaceNodeStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ReplaceNode : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReplaceNode()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ReplaceNodeReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ReplaceNode() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ReplaceNode(ReplaceNode other) : this() { - nodeIdToReplace_ = other.nodeIdToReplace_; - fenderIdToReplaceWith_ = other.fenderIdToReplaceWith_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ReplaceNode Clone() { - return new ReplaceNode(this); - } - - /// Field number for the "nodeIdToReplace" field. - public const int NodeIdToReplaceFieldNumber = 1; - private readonly static string NodeIdToReplaceDefaultValue = ""; - - private string nodeIdToReplace_; - /// - /// node to replace (amp, stomp, mod, delay, or reverb) - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NodeIdToReplace { - get { return nodeIdToReplace_ ?? NodeIdToReplaceDefaultValue; } - set { - nodeIdToReplace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "nodeIdToReplace" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasNodeIdToReplace { - get { return nodeIdToReplace_ != null; } - } - /// Clears the value of the "nodeIdToReplace" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearNodeIdToReplace() { - nodeIdToReplace_ = null; - } - - /// Field number for the "fenderIdToReplaceWith" field. - public const int FenderIdToReplaceWithFieldNumber = 2; - private readonly static string FenderIdToReplaceWithDefaultValue = ""; - - private string fenderIdToReplaceWith_; - /// - /// FenderId of node to set - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FenderIdToReplaceWith { - get { return fenderIdToReplaceWith_ ?? FenderIdToReplaceWithDefaultValue; } - set { - fenderIdToReplaceWith_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "fenderIdToReplaceWith" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFenderIdToReplaceWith { - get { return fenderIdToReplaceWith_ != null; } - } - /// Clears the value of the "fenderIdToReplaceWith" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearFenderIdToReplaceWith() { - fenderIdToReplaceWith_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ReplaceNode); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ReplaceNode other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (NodeIdToReplace != other.NodeIdToReplace) return false; - if (FenderIdToReplaceWith != other.FenderIdToReplaceWith) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasNodeIdToReplace) hash ^= NodeIdToReplace.GetHashCode(); - if (HasFenderIdToReplaceWith) hash ^= FenderIdToReplaceWith.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasNodeIdToReplace) { - output.WriteRawTag(10); - output.WriteString(NodeIdToReplace); - } - if (HasFenderIdToReplaceWith) { - output.WriteRawTag(18); - output.WriteString(FenderIdToReplaceWith); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasNodeIdToReplace) { - output.WriteRawTag(10); - output.WriteString(NodeIdToReplace); - } - if (HasFenderIdToReplaceWith) { - output.WriteRawTag(18); - output.WriteString(FenderIdToReplaceWith); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasNodeIdToReplace) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeIdToReplace); - } - if (HasFenderIdToReplaceWith) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FenderIdToReplaceWith); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ReplaceNode other) { - if (other == null) { - return; - } - if (other.HasNodeIdToReplace) { - NodeIdToReplace = other.NodeIdToReplace; - } - if (other.HasFenderIdToReplaceWith) { - FenderIdToReplaceWith = other.FenderIdToReplaceWith; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - NodeIdToReplace = input.ReadString(); - break; - } - case 18: { - FenderIdToReplaceWith = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - NodeIdToReplace = input.ReadString(); - break; - } - case 18: { - FenderIdToReplaceWith = input.ReadString(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ReplaceNode.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ReplaceNode.proto +public static partial class ReplaceNodeReflection { + + #region Descriptor + /// File descriptor for ReplaceNode.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ReplaceNodeReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFSZXBsYWNlTm9kZS5wcm90byJFCgtSZXBsYWNlTm9kZRIXCg9ub2RlSWRU", + "b1JlcGxhY2UYASACKAkSHQoVZmVuZGVySWRUb1JlcGxhY2VXaXRoGAIgAigJ")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ReplaceNode), global::ReplaceNode.Parser, new[]{ "NodeIdToReplace", "FenderIdToReplaceWith" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Swaps out a node (amp, stomp, mod, delay, or reverb) +/// +/// response: ReplaceNodeStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ReplaceNode : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReplaceNode()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ReplaceNodeReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReplaceNode() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReplaceNode(ReplaceNode other) : this() { + nodeIdToReplace_ = other.nodeIdToReplace_; + fenderIdToReplaceWith_ = other.fenderIdToReplaceWith_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReplaceNode Clone() { + return new ReplaceNode(this); + } + + /// Field number for the "nodeIdToReplace" field. + public const int NodeIdToReplaceFieldNumber = 1; + private readonly static string NodeIdToReplaceDefaultValue = ""; + + private string nodeIdToReplace_; + /// + /// node to replace (amp, stomp, mod, delay, or reverb) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NodeIdToReplace { + get { return nodeIdToReplace_ ?? NodeIdToReplaceDefaultValue; } + set { + nodeIdToReplace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "nodeIdToReplace" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNodeIdToReplace { + get { return nodeIdToReplace_ != null; } + } + /// Clears the value of the "nodeIdToReplace" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNodeIdToReplace() { + nodeIdToReplace_ = null; + } + + /// Field number for the "fenderIdToReplaceWith" field. + public const int FenderIdToReplaceWithFieldNumber = 2; + private readonly static string FenderIdToReplaceWithDefaultValue = ""; + + private string fenderIdToReplaceWith_; + /// + /// FenderId of node to set + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FenderIdToReplaceWith { + get { return fenderIdToReplaceWith_ ?? FenderIdToReplaceWithDefaultValue; } + set { + fenderIdToReplaceWith_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "fenderIdToReplaceWith" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFenderIdToReplaceWith { + get { return fenderIdToReplaceWith_ != null; } + } + /// Clears the value of the "fenderIdToReplaceWith" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFenderIdToReplaceWith() { + fenderIdToReplaceWith_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReplaceNode); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReplaceNode other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NodeIdToReplace != other.NodeIdToReplace) return false; + if (FenderIdToReplaceWith != other.FenderIdToReplaceWith) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasNodeIdToReplace) hash ^= NodeIdToReplace.GetHashCode(); + if (HasFenderIdToReplaceWith) hash ^= FenderIdToReplaceWith.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasNodeIdToReplace) { + output.WriteRawTag(10); + output.WriteString(NodeIdToReplace); + } + if (HasFenderIdToReplaceWith) { + output.WriteRawTag(18); + output.WriteString(FenderIdToReplaceWith); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasNodeIdToReplace) { + output.WriteRawTag(10); + output.WriteString(NodeIdToReplace); + } + if (HasFenderIdToReplaceWith) { + output.WriteRawTag(18); + output.WriteString(FenderIdToReplaceWith); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasNodeIdToReplace) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeIdToReplace); + } + if (HasFenderIdToReplaceWith) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FenderIdToReplaceWith); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReplaceNode other) { + if (other == null) { + return; + } + if (other.HasNodeIdToReplace) { + NodeIdToReplace = other.NodeIdToReplace; + } + if (other.HasFenderIdToReplaceWith) { + FenderIdToReplaceWith = other.FenderIdToReplaceWith; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + NodeIdToReplace = input.ReadString(); + break; + } + case 18: { + FenderIdToReplaceWith = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + NodeIdToReplace = input.ReadString(); + break; + } + case 18: { + FenderIdToReplaceWith = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ReplaceNodeStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ReplaceNodeStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ReplaceNodeStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ReplaceNodeStatus.cs index 4d15b52..c627a6e 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ReplaceNodeStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ReplaceNodeStatus.cs @@ -1,306 +1,306 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ReplaceNodeStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ReplaceNodeStatus.proto -public static partial class ReplaceNodeStatusReflection { - - #region Descriptor - /// File descriptor for ReplaceNodeStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ReplaceNodeStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdSZXBsYWNlTm9kZVN0YXR1cy5wcm90byJFChFSZXBsYWNlTm9kZVN0YXR1", - "cxIWCg5ub2RlSWRSZXBsYWNlZBgBIAIoCRIYChBmZW5kZXJJZFJlcGxhY2Vk", - "GAIgAigJ")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ReplaceNodeStatus), global::ReplaceNodeStatus.Parser, new[]{ "NodeIdReplaced", "FenderIdReplaced" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Status of a ReplaceNode message; also sent when the node is changed at the amp -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ReplaceNodeStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReplaceNodeStatus()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ReplaceNodeStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ReplaceNodeStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ReplaceNodeStatus(ReplaceNodeStatus other) : this() { - nodeIdReplaced_ = other.nodeIdReplaced_; - fenderIdReplaced_ = other.fenderIdReplaced_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ReplaceNodeStatus Clone() { - return new ReplaceNodeStatus(this); - } - - /// Field number for the "nodeIdReplaced" field. - public const int NodeIdReplacedFieldNumber = 1; - private readonly static string NodeIdReplacedDefaultValue = ""; - - private string nodeIdReplaced_; - /// - /// node replaced (amp, stomp, mod, delay, or reverb) - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NodeIdReplaced { - get { return nodeIdReplaced_ ?? NodeIdReplacedDefaultValue; } - set { - nodeIdReplaced_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "nodeIdReplaced" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasNodeIdReplaced { - get { return nodeIdReplaced_ != null; } - } - /// Clears the value of the "nodeIdReplaced" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearNodeIdReplaced() { - nodeIdReplaced_ = null; - } - - /// Field number for the "fenderIdReplaced" field. - public const int FenderIdReplacedFieldNumber = 2; - private readonly static string FenderIdReplacedDefaultValue = ""; - - private string fenderIdReplaced_; - /// - /// FenderId of node set - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string FenderIdReplaced { - get { return fenderIdReplaced_ ?? FenderIdReplacedDefaultValue; } - set { - fenderIdReplaced_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "fenderIdReplaced" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFenderIdReplaced { - get { return fenderIdReplaced_ != null; } - } - /// Clears the value of the "fenderIdReplaced" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearFenderIdReplaced() { - fenderIdReplaced_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ReplaceNodeStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ReplaceNodeStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (NodeIdReplaced != other.NodeIdReplaced) return false; - if (FenderIdReplaced != other.FenderIdReplaced) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasNodeIdReplaced) hash ^= NodeIdReplaced.GetHashCode(); - if (HasFenderIdReplaced) hash ^= FenderIdReplaced.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasNodeIdReplaced) { - output.WriteRawTag(10); - output.WriteString(NodeIdReplaced); - } - if (HasFenderIdReplaced) { - output.WriteRawTag(18); - output.WriteString(FenderIdReplaced); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasNodeIdReplaced) { - output.WriteRawTag(10); - output.WriteString(NodeIdReplaced); - } - if (HasFenderIdReplaced) { - output.WriteRawTag(18); - output.WriteString(FenderIdReplaced); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasNodeIdReplaced) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeIdReplaced); - } - if (HasFenderIdReplaced) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(FenderIdReplaced); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ReplaceNodeStatus other) { - if (other == null) { - return; - } - if (other.HasNodeIdReplaced) { - NodeIdReplaced = other.NodeIdReplaced; - } - if (other.HasFenderIdReplaced) { - FenderIdReplaced = other.FenderIdReplaced; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - NodeIdReplaced = input.ReadString(); - break; - } - case 18: { - FenderIdReplaced = input.ReadString(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - NodeIdReplaced = input.ReadString(); - break; - } - case 18: { - FenderIdReplaced = input.ReadString(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ReplaceNodeStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ReplaceNodeStatus.proto +public static partial class ReplaceNodeStatusReflection { + + #region Descriptor + /// File descriptor for ReplaceNodeStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ReplaceNodeStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdSZXBsYWNlTm9kZVN0YXR1cy5wcm90byJFChFSZXBsYWNlTm9kZVN0YXR1", + "cxIWCg5ub2RlSWRSZXBsYWNlZBgBIAIoCRIYChBmZW5kZXJJZFJlcGxhY2Vk", + "GAIgAigJ")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ReplaceNodeStatus), global::ReplaceNodeStatus.Parser, new[]{ "NodeIdReplaced", "FenderIdReplaced" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Status of a ReplaceNode message; also sent when the node is changed at the amp +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ReplaceNodeStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ReplaceNodeStatus()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ReplaceNodeStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReplaceNodeStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReplaceNodeStatus(ReplaceNodeStatus other) : this() { + nodeIdReplaced_ = other.nodeIdReplaced_; + fenderIdReplaced_ = other.fenderIdReplaced_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ReplaceNodeStatus Clone() { + return new ReplaceNodeStatus(this); + } + + /// Field number for the "nodeIdReplaced" field. + public const int NodeIdReplacedFieldNumber = 1; + private readonly static string NodeIdReplacedDefaultValue = ""; + + private string nodeIdReplaced_; + /// + /// node replaced (amp, stomp, mod, delay, or reverb) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NodeIdReplaced { + get { return nodeIdReplaced_ ?? NodeIdReplacedDefaultValue; } + set { + nodeIdReplaced_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "nodeIdReplaced" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNodeIdReplaced { + get { return nodeIdReplaced_ != null; } + } + /// Clears the value of the "nodeIdReplaced" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNodeIdReplaced() { + nodeIdReplaced_ = null; + } + + /// Field number for the "fenderIdReplaced" field. + public const int FenderIdReplacedFieldNumber = 2; + private readonly static string FenderIdReplacedDefaultValue = ""; + + private string fenderIdReplaced_; + /// + /// FenderId of node set + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FenderIdReplaced { + get { return fenderIdReplaced_ ?? FenderIdReplacedDefaultValue; } + set { + fenderIdReplaced_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "fenderIdReplaced" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFenderIdReplaced { + get { return fenderIdReplaced_ != null; } + } + /// Clears the value of the "fenderIdReplaced" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFenderIdReplaced() { + fenderIdReplaced_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ReplaceNodeStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ReplaceNodeStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NodeIdReplaced != other.NodeIdReplaced) return false; + if (FenderIdReplaced != other.FenderIdReplaced) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasNodeIdReplaced) hash ^= NodeIdReplaced.GetHashCode(); + if (HasFenderIdReplaced) hash ^= FenderIdReplaced.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasNodeIdReplaced) { + output.WriteRawTag(10); + output.WriteString(NodeIdReplaced); + } + if (HasFenderIdReplaced) { + output.WriteRawTag(18); + output.WriteString(FenderIdReplaced); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasNodeIdReplaced) { + output.WriteRawTag(10); + output.WriteString(NodeIdReplaced); + } + if (HasFenderIdReplaced) { + output.WriteRawTag(18); + output.WriteString(FenderIdReplaced); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasNodeIdReplaced) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeIdReplaced); + } + if (HasFenderIdReplaced) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FenderIdReplaced); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ReplaceNodeStatus other) { + if (other == null) { + return; + } + if (other.HasNodeIdReplaced) { + NodeIdReplaced = other.NodeIdReplaced; + } + if (other.HasFenderIdReplaced) { + FenderIdReplaced = other.FenderIdReplaced; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + NodeIdReplaced = input.ReadString(); + break; + } + case 18: { + FenderIdReplaced = input.ReadString(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + NodeIdReplaced = input.ReadString(); + break; + } + case 18: { + FenderIdReplaced = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/RetrievePreset.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/RetrievePreset.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/RetrievePreset.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/RetrievePreset.cs index 2d42699..ae10f32 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/RetrievePreset.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/RetrievePreset.cs @@ -1,256 +1,256 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: RetrievePreset.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from RetrievePreset.proto -public static partial class RetrievePresetReflection { - - #region Descriptor - /// File descriptor for RetrievePreset.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static RetrievePresetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRSZXRyaWV2ZVByZXNldC5wcm90byIeCg5SZXRyaWV2ZVByZXNldBIMCgRz", - "bG90GAEgAigF")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::RetrievePreset), global::RetrievePreset.Parser, new[]{ "Slot" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Queries the amp on the stored presets -/// -/// response: PresetJsonMessage -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class RetrievePreset : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RetrievePreset()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::RetrievePresetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RetrievePreset() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RetrievePreset(RetrievePreset other) : this() { - _hasBits0 = other._hasBits0; - slot_ = other.slot_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public RetrievePreset Clone() { - return new RetrievePreset(this); - } - - /// Field number for the "slot" field. - public const int SlotFieldNumber = 1; - private readonly static int SlotDefaultValue = 0; - - private int slot_; - /// - /// Preset bank to retrieve - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Slot { - get { if ((_hasBits0 & 1) != 0) { return slot_; } else { return SlotDefaultValue; } } - set { - _hasBits0 |= 1; - slot_ = value; - } - } - /// Gets whether the "slot" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSlot { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "slot" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSlot() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as RetrievePreset); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(RetrievePreset other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Slot != other.Slot) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasSlot) hash ^= Slot.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasSlot) { - output.WriteRawTag(8); - output.WriteInt32(Slot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasSlot) { - output.WriteRawTag(8); - output.WriteInt32(Slot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasSlot) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(Slot); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(RetrievePreset other) { - if (other == null) { - return; - } - if (other.HasSlot) { - Slot = other.Slot; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Slot = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Slot = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: RetrievePreset.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from RetrievePreset.proto +public static partial class RetrievePresetReflection { + + #region Descriptor + /// File descriptor for RetrievePreset.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RetrievePresetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChRSZXRyaWV2ZVByZXNldC5wcm90byIeCg5SZXRyaWV2ZVByZXNldBIMCgRz", + "bG90GAEgAigF")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::RetrievePreset), global::RetrievePreset.Parser, new[]{ "Slot" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Queries the amp on the stored presets +/// +/// response: PresetJsonMessage +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class RetrievePreset : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RetrievePreset()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::RetrievePresetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RetrievePreset() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RetrievePreset(RetrievePreset other) : this() { + _hasBits0 = other._hasBits0; + slot_ = other.slot_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RetrievePreset Clone() { + return new RetrievePreset(this); + } + + /// Field number for the "slot" field. + public const int SlotFieldNumber = 1; + private readonly static int SlotDefaultValue = 0; + + private int slot_; + /// + /// Preset bank to retrieve + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Slot { + get { if ((_hasBits0 & 1) != 0) { return slot_; } else { return SlotDefaultValue; } } + set { + _hasBits0 |= 1; + slot_ = value; + } + } + /// Gets whether the "slot" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSlot { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "slot" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSlot() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RetrievePreset); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RetrievePreset other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Slot != other.Slot) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasSlot) hash ^= Slot.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasSlot) { + output.WriteRawTag(8); + output.WriteInt32(Slot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasSlot) { + output.WriteRawTag(8); + output.WriteInt32(Slot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasSlot) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Slot); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RetrievePreset other) { + if (other == null) { + return; + } + if (other.HasSlot) { + Slot = other.Slot; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Slot = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Slot = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SaveCurrentPreset.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SaveCurrentPreset.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/SaveCurrentPreset.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SaveCurrentPreset.cs index a8fc4d3..5a3e53a 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SaveCurrentPreset.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SaveCurrentPreset.cs @@ -1,247 +1,247 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SaveCurrentPreset.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from SaveCurrentPreset.proto -public static partial class SaveCurrentPresetReflection { - - #region Descriptor - /// File descriptor for SaveCurrentPreset.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SaveCurrentPresetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdTYXZlQ3VycmVudFByZXNldC5wcm90byIhChFTYXZlQ3VycmVudFByZXNl", - "dBIMCgRzYXZlGAEgAigI")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::SaveCurrentPreset), global::SaveCurrentPreset.Parser, new[]{ "Save" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class SaveCurrentPreset : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SaveCurrentPreset()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::SaveCurrentPresetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SaveCurrentPreset() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SaveCurrentPreset(SaveCurrentPreset other) : this() { - _hasBits0 = other._hasBits0; - save_ = other.save_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SaveCurrentPreset Clone() { - return new SaveCurrentPreset(this); - } - - /// Field number for the "save" field. - public const int SaveFieldNumber = 1; - private readonly static bool SaveDefaultValue = false; - - private bool save_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Save { - get { if ((_hasBits0 & 1) != 0) { return save_; } else { return SaveDefaultValue; } } - set { - _hasBits0 |= 1; - save_ = value; - } - } - /// Gets whether the "save" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSave { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "save" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSave() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SaveCurrentPreset); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SaveCurrentPreset other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Save != other.Save) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasSave) hash ^= Save.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasSave) { - output.WriteRawTag(8); - output.WriteBool(Save); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasSave) { - output.WriteRawTag(8); - output.WriteBool(Save); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasSave) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SaveCurrentPreset other) { - if (other == null) { - return; - } - if (other.HasSave) { - Save = other.Save; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Save = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Save = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SaveCurrentPreset.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from SaveCurrentPreset.proto +public static partial class SaveCurrentPresetReflection { + + #region Descriptor + /// File descriptor for SaveCurrentPreset.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SaveCurrentPresetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdTYXZlQ3VycmVudFByZXNldC5wcm90byIhChFTYXZlQ3VycmVudFByZXNl", + "dBIMCgRzYXZlGAEgAigI")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::SaveCurrentPreset), global::SaveCurrentPreset.Parser, new[]{ "Save" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class SaveCurrentPreset : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SaveCurrentPreset()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::SaveCurrentPresetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SaveCurrentPreset() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SaveCurrentPreset(SaveCurrentPreset other) : this() { + _hasBits0 = other._hasBits0; + save_ = other.save_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SaveCurrentPreset Clone() { + return new SaveCurrentPreset(this); + } + + /// Field number for the "save" field. + public const int SaveFieldNumber = 1; + private readonly static bool SaveDefaultValue = false; + + private bool save_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Save { + get { if ((_hasBits0 & 1) != 0) { return save_; } else { return SaveDefaultValue; } } + set { + _hasBits0 |= 1; + save_ = value; + } + } + /// Gets whether the "save" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSave { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "save" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSave() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SaveCurrentPreset); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SaveCurrentPreset other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Save != other.Save) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasSave) hash ^= Save.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasSave) { + output.WriteRawTag(8); + output.WriteBool(Save); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasSave) { + output.WriteRawTag(8); + output.WriteBool(Save); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasSave) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SaveCurrentPreset other) { + if (other == null) { + return; + } + if (other.HasSave) { + Save = other.Save; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Save = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Save = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SaveCurrentPresetTo.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SaveCurrentPresetTo.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/SaveCurrentPresetTo.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SaveCurrentPresetTo.cs index 82e10a8..285962e 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SaveCurrentPresetTo.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SaveCurrentPresetTo.cs @@ -1,298 +1,298 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SaveCurrentPresetTo.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from SaveCurrentPresetTo.proto -public static partial class SaveCurrentPresetToReflection { - - #region Descriptor - /// File descriptor for SaveCurrentPresetTo.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SaveCurrentPresetToReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlTYXZlQ3VycmVudFByZXNldFRvLnByb3RvIj0KE1NhdmVDdXJyZW50UHJl", - "c2V0VG8SEgoKcHJlc2V0TmFtZRgBIAIoCRISCgpwcmVzZXRTbG90GAIgAigF")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::SaveCurrentPresetTo), global::SaveCurrentPresetTo.Parser, new[]{ "PresetName", "PresetSlot" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class SaveCurrentPresetTo : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SaveCurrentPresetTo()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::SaveCurrentPresetToReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SaveCurrentPresetTo() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SaveCurrentPresetTo(SaveCurrentPresetTo other) : this() { - _hasBits0 = other._hasBits0; - presetName_ = other.presetName_; - presetSlot_ = other.presetSlot_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SaveCurrentPresetTo Clone() { - return new SaveCurrentPresetTo(this); - } - - /// Field number for the "presetName" field. - public const int PresetNameFieldNumber = 1; - private readonly static string PresetNameDefaultValue = ""; - - private string presetName_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PresetName { - get { return presetName_ ?? PresetNameDefaultValue; } - set { - presetName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "presetName" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetName { - get { return presetName_ != null; } - } - /// Clears the value of the "presetName" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetName() { - presetName_ = null; - } - - /// Field number for the "presetSlot" field. - public const int PresetSlotFieldNumber = 2; - private readonly static int PresetSlotDefaultValue = 0; - - private int presetSlot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PresetSlot { - get { if ((_hasBits0 & 1) != 0) { return presetSlot_; } else { return PresetSlotDefaultValue; } } - set { - _hasBits0 |= 1; - presetSlot_ = value; - } - } - /// Gets whether the "presetSlot" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetSlot { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "presetSlot" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetSlot() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SaveCurrentPresetTo); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SaveCurrentPresetTo other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PresetName != other.PresetName) return false; - if (PresetSlot != other.PresetSlot) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPresetName) hash ^= PresetName.GetHashCode(); - if (HasPresetSlot) hash ^= PresetSlot.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPresetName) { - output.WriteRawTag(10); - output.WriteString(PresetName); - } - if (HasPresetSlot) { - output.WriteRawTag(16); - output.WriteInt32(PresetSlot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPresetName) { - output.WriteRawTag(10); - output.WriteString(PresetName); - } - if (HasPresetSlot) { - output.WriteRawTag(16); - output.WriteInt32(PresetSlot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPresetName) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetName); - } - if (HasPresetSlot) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetSlot); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SaveCurrentPresetTo other) { - if (other == null) { - return; - } - if (other.HasPresetName) { - PresetName = other.PresetName; - } - if (other.HasPresetSlot) { - PresetSlot = other.PresetSlot; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - PresetName = input.ReadString(); - break; - } - case 16: { - PresetSlot = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - PresetName = input.ReadString(); - break; - } - case 16: { - PresetSlot = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SaveCurrentPresetTo.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from SaveCurrentPresetTo.proto +public static partial class SaveCurrentPresetToReflection { + + #region Descriptor + /// File descriptor for SaveCurrentPresetTo.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SaveCurrentPresetToReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChlTYXZlQ3VycmVudFByZXNldFRvLnByb3RvIj0KE1NhdmVDdXJyZW50UHJl", + "c2V0VG8SEgoKcHJlc2V0TmFtZRgBIAIoCRISCgpwcmVzZXRTbG90GAIgAigF")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::SaveCurrentPresetTo), global::SaveCurrentPresetTo.Parser, new[]{ "PresetName", "PresetSlot" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class SaveCurrentPresetTo : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SaveCurrentPresetTo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::SaveCurrentPresetToReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SaveCurrentPresetTo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SaveCurrentPresetTo(SaveCurrentPresetTo other) : this() { + _hasBits0 = other._hasBits0; + presetName_ = other.presetName_; + presetSlot_ = other.presetSlot_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SaveCurrentPresetTo Clone() { + return new SaveCurrentPresetTo(this); + } + + /// Field number for the "presetName" field. + public const int PresetNameFieldNumber = 1; + private readonly static string PresetNameDefaultValue = ""; + + private string presetName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PresetName { + get { return presetName_ ?? PresetNameDefaultValue; } + set { + presetName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "presetName" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetName { + get { return presetName_ != null; } + } + /// Clears the value of the "presetName" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetName() { + presetName_ = null; + } + + /// Field number for the "presetSlot" field. + public const int PresetSlotFieldNumber = 2; + private readonly static int PresetSlotDefaultValue = 0; + + private int presetSlot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PresetSlot { + get { if ((_hasBits0 & 1) != 0) { return presetSlot_; } else { return PresetSlotDefaultValue; } } + set { + _hasBits0 |= 1; + presetSlot_ = value; + } + } + /// Gets whether the "presetSlot" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetSlot { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "presetSlot" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetSlot() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SaveCurrentPresetTo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SaveCurrentPresetTo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PresetName != other.PresetName) return false; + if (PresetSlot != other.PresetSlot) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPresetName) hash ^= PresetName.GetHashCode(); + if (HasPresetSlot) hash ^= PresetSlot.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPresetName) { + output.WriteRawTag(10); + output.WriteString(PresetName); + } + if (HasPresetSlot) { + output.WriteRawTag(16); + output.WriteInt32(PresetSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPresetName) { + output.WriteRawTag(10); + output.WriteString(PresetName); + } + if (HasPresetSlot) { + output.WriteRawTag(16); + output.WriteInt32(PresetSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPresetName) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetName); + } + if (HasPresetSlot) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetSlot); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SaveCurrentPresetTo other) { + if (other == null) { + return; + } + if (other.HasPresetName) { + PresetName = other.PresetName; + } + if (other.HasPresetSlot) { + PresetSlot = other.PresetSlot; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + PresetName = input.ReadString(); + break; + } + case 16: { + PresetSlot = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + PresetName = input.ReadString(); + break; + } + case 16: { + PresetSlot = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SavePresetAs.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SavePresetAs.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/SavePresetAs.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SavePresetAs.cs index f2eee14..bab6484 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SavePresetAs.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SavePresetAs.cs @@ -1,351 +1,351 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SavePresetAs.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from SavePresetAs.proto -public static partial class SavePresetAsReflection { - - #region Descriptor - /// File descriptor for SavePresetAs.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SavePresetAsReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChJTYXZlUHJlc2V0QXMucHJvdG8iTAoMU2F2ZVByZXNldEFzEhIKCnByZXNl", - "dERhdGEYASACKAkSFAoMaXNMb2FkUHJlc2V0GAIgAigIEhIKCnByZXNldFNs", - "b3QYAyACKAU=")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::SavePresetAs), global::SavePresetAs.Parser, new[]{ "PresetData", "IsLoadPreset", "PresetSlot" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class SavePresetAs : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SavePresetAs()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::SavePresetAsReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SavePresetAs() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SavePresetAs(SavePresetAs other) : this() { - _hasBits0 = other._hasBits0; - presetData_ = other.presetData_; - isLoadPreset_ = other.isLoadPreset_; - presetSlot_ = other.presetSlot_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SavePresetAs Clone() { - return new SavePresetAs(this); - } - - /// Field number for the "presetData" field. - public const int PresetDataFieldNumber = 1; - private readonly static string PresetDataDefaultValue = ""; - - private string presetData_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string PresetData { - get { return presetData_ ?? PresetDataDefaultValue; } - set { - presetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "presetData" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetData { - get { return presetData_ != null; } - } - /// Clears the value of the "presetData" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetData() { - presetData_ = null; - } - - /// Field number for the "isLoadPreset" field. - public const int IsLoadPresetFieldNumber = 2; - private readonly static bool IsLoadPresetDefaultValue = false; - - private bool isLoadPreset_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsLoadPreset { - get { if ((_hasBits0 & 1) != 0) { return isLoadPreset_; } else { return IsLoadPresetDefaultValue; } } - set { - _hasBits0 |= 1; - isLoadPreset_ = value; - } - } - /// Gets whether the "isLoadPreset" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIsLoadPreset { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "isLoadPreset" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIsLoadPreset() { - _hasBits0 &= ~1; - } - - /// Field number for the "presetSlot" field. - public const int PresetSlotFieldNumber = 3; - private readonly static int PresetSlotDefaultValue = 0; - - private int presetSlot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int PresetSlot { - get { if ((_hasBits0 & 2) != 0) { return presetSlot_; } else { return PresetSlotDefaultValue; } } - set { - _hasBits0 |= 2; - presetSlot_ = value; - } - } - /// Gets whether the "presetSlot" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPresetSlot { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "presetSlot" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPresetSlot() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SavePresetAs); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SavePresetAs other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PresetData != other.PresetData) return false; - if (IsLoadPreset != other.IsLoadPreset) return false; - if (PresetSlot != other.PresetSlot) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPresetData) hash ^= PresetData.GetHashCode(); - if (HasIsLoadPreset) hash ^= IsLoadPreset.GetHashCode(); - if (HasPresetSlot) hash ^= PresetSlot.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasPresetData) { - output.WriteRawTag(10); - output.WriteString(PresetData); - } - if (HasIsLoadPreset) { - output.WriteRawTag(16); - output.WriteBool(IsLoadPreset); - } - if (HasPresetSlot) { - output.WriteRawTag(24); - output.WriteInt32(PresetSlot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPresetData) { - output.WriteRawTag(10); - output.WriteString(PresetData); - } - if (HasIsLoadPreset) { - output.WriteRawTag(16); - output.WriteBool(IsLoadPreset); - } - if (HasPresetSlot) { - output.WriteRawTag(24); - output.WriteInt32(PresetSlot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPresetData) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetData); - } - if (HasIsLoadPreset) { - size += 1 + 1; - } - if (HasPresetSlot) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetSlot); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SavePresetAs other) { - if (other == null) { - return; - } - if (other.HasPresetData) { - PresetData = other.PresetData; - } - if (other.HasIsLoadPreset) { - IsLoadPreset = other.IsLoadPreset; - } - if (other.HasPresetSlot) { - PresetSlot = other.PresetSlot; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - PresetData = input.ReadString(); - break; - } - case 16: { - IsLoadPreset = input.ReadBool(); - break; - } - case 24: { - PresetSlot = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - PresetData = input.ReadString(); - break; - } - case 16: { - IsLoadPreset = input.ReadBool(); - break; - } - case 24: { - PresetSlot = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SavePresetAs.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from SavePresetAs.proto +public static partial class SavePresetAsReflection { + + #region Descriptor + /// File descriptor for SavePresetAs.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SavePresetAsReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChJTYXZlUHJlc2V0QXMucHJvdG8iTAoMU2F2ZVByZXNldEFzEhIKCnByZXNl", + "dERhdGEYASACKAkSFAoMaXNMb2FkUHJlc2V0GAIgAigIEhIKCnByZXNldFNs", + "b3QYAyACKAU=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::SavePresetAs), global::SavePresetAs.Parser, new[]{ "PresetData", "IsLoadPreset", "PresetSlot" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class SavePresetAs : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SavePresetAs()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::SavePresetAsReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SavePresetAs() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SavePresetAs(SavePresetAs other) : this() { + _hasBits0 = other._hasBits0; + presetData_ = other.presetData_; + isLoadPreset_ = other.isLoadPreset_; + presetSlot_ = other.presetSlot_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SavePresetAs Clone() { + return new SavePresetAs(this); + } + + /// Field number for the "presetData" field. + public const int PresetDataFieldNumber = 1; + private readonly static string PresetDataDefaultValue = ""; + + private string presetData_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PresetData { + get { return presetData_ ?? PresetDataDefaultValue; } + set { + presetData_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "presetData" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetData { + get { return presetData_ != null; } + } + /// Clears the value of the "presetData" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetData() { + presetData_ = null; + } + + /// Field number for the "isLoadPreset" field. + public const int IsLoadPresetFieldNumber = 2; + private readonly static bool IsLoadPresetDefaultValue = false; + + private bool isLoadPreset_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsLoadPreset { + get { if ((_hasBits0 & 1) != 0) { return isLoadPreset_; } else { return IsLoadPresetDefaultValue; } } + set { + _hasBits0 |= 1; + isLoadPreset_ = value; + } + } + /// Gets whether the "isLoadPreset" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsLoadPreset { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "isLoadPreset" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsLoadPreset() { + _hasBits0 &= ~1; + } + + /// Field number for the "presetSlot" field. + public const int PresetSlotFieldNumber = 3; + private readonly static int PresetSlotDefaultValue = 0; + + private int presetSlot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PresetSlot { + get { if ((_hasBits0 & 2) != 0) { return presetSlot_; } else { return PresetSlotDefaultValue; } } + set { + _hasBits0 |= 2; + presetSlot_ = value; + } + } + /// Gets whether the "presetSlot" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPresetSlot { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "presetSlot" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPresetSlot() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SavePresetAs); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SavePresetAs other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PresetData != other.PresetData) return false; + if (IsLoadPreset != other.IsLoadPreset) return false; + if (PresetSlot != other.PresetSlot) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasPresetData) hash ^= PresetData.GetHashCode(); + if (HasIsLoadPreset) hash ^= IsLoadPreset.GetHashCode(); + if (HasPresetSlot) hash ^= PresetSlot.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasPresetData) { + output.WriteRawTag(10); + output.WriteString(PresetData); + } + if (HasIsLoadPreset) { + output.WriteRawTag(16); + output.WriteBool(IsLoadPreset); + } + if (HasPresetSlot) { + output.WriteRawTag(24); + output.WriteInt32(PresetSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasPresetData) { + output.WriteRawTag(10); + output.WriteString(PresetData); + } + if (HasIsLoadPreset) { + output.WriteRawTag(16); + output.WriteBool(IsLoadPreset); + } + if (HasPresetSlot) { + output.WriteRawTag(24); + output.WriteInt32(PresetSlot); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasPresetData) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PresetData); + } + if (HasIsLoadPreset) { + size += 1 + 1; + } + if (HasPresetSlot) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PresetSlot); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SavePresetAs other) { + if (other == null) { + return; + } + if (other.HasPresetData) { + PresetData = other.PresetData; + } + if (other.HasIsLoadPreset) { + IsLoadPreset = other.IsLoadPreset; + } + if (other.HasPresetSlot) { + PresetSlot = other.PresetSlot; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + PresetData = input.ReadString(); + break; + } + case 16: { + IsLoadPreset = input.ReadBool(); + break; + } + case 24: { + PresetSlot = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + PresetData = input.ReadString(); + break; + } + case 16: { + IsLoadPreset = input.ReadBool(); + break; + } + case 24: { + PresetSlot = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SetDspUnitParameter.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SetDspUnitParameter.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/SetDspUnitParameter.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SetDspUnitParameter.cs index b557d72..9061097 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SetDspUnitParameter.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SetDspUnitParameter.cs @@ -1,553 +1,553 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SetDspUnitParameter.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from SetDspUnitParameter.proto -public static partial class SetDspUnitParameterReflection { - - #region Descriptor - /// File descriptor for SetDspUnitParameter.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SetDspUnitParameterReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChlTZXREc3BVbml0UGFyYW1ldGVyLnByb3RvIqsBChNTZXREc3BVbml0UGFy", - "YW1ldGVyEg4KBm5vZGVJZBgBIAIoCRITCgtwYXJhbWV0ZXJJZBgCIAIoCRIY", - "Cg5mbG9hdFBhcmFtZXRlchgDIAEoAkgAEhkKD3N0cmluZ1BhcmFtZXRlchgE", - "IAEoCUgAEhkKD3NpbnQzMlBhcmFtZXRlchgFIAEoEUgAEhcKDWJvb2xQYXJh", - "bWV0ZXIYBiABKAhIAEIGCgR0eXBl")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::SetDspUnitParameter), global::SetDspUnitParameter.Parser, new[]{ "NodeId", "ParameterId", "FloatParameter", "StringParameter", "Sint32Parameter", "BoolParameter" }, new[]{ "Type" }, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Changes the parameters of the DSP units -/// -/// response: SetDspUnitParameterStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class SetDspUnitParameter : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetDspUnitParameter()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::SetDspUnitParameterReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SetDspUnitParameter() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SetDspUnitParameter(SetDspUnitParameter other) : this() { - nodeId_ = other.nodeId_; - parameterId_ = other.parameterId_; - switch (other.TypeCase) { - case TypeOneofCase.FloatParameter: - FloatParameter = other.FloatParameter; - break; - case TypeOneofCase.StringParameter: - StringParameter = other.StringParameter; - break; - case TypeOneofCase.Sint32Parameter: - Sint32Parameter = other.Sint32Parameter; - break; - case TypeOneofCase.BoolParameter: - BoolParameter = other.BoolParameter; - break; - } - - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SetDspUnitParameter Clone() { - return new SetDspUnitParameter(this); - } - - /// Field number for the "nodeId" field. - public const int NodeIdFieldNumber = 1; - private readonly static string NodeIdDefaultValue = ""; - - private string nodeId_; - /// - /// string id of the node to change (one of amp, stomp, mod, delay, reverb) - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NodeId { - get { return nodeId_ ?? NodeIdDefaultValue; } - set { - nodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "nodeId" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasNodeId { - get { return nodeId_ != null; } - } - /// Clears the value of the "nodeId" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearNodeId() { - nodeId_ = null; - } - - /// Field number for the "parameterId" field. - public const int ParameterIdFieldNumber = 2; - private readonly static string ParameterIdDefaultValue = ""; - - private string parameterId_; - /// - /// string id of the parameter to change - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParameterId { - get { return parameterId_ ?? ParameterIdDefaultValue; } - set { - parameterId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "parameterId" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasParameterId { - get { return parameterId_ != null; } - } - /// Clears the value of the "parameterId" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearParameterId() { - parameterId_ = null; - } - - /// Field number for the "floatParameter" field. - public const int FloatParameterFieldNumber = 3; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float FloatParameter { - get { return HasFloatParameter ? (float) type_ : 0F; } - set { - type_ = value; - typeCase_ = TypeOneofCase.FloatParameter; - } - } - /// Gets whether the "floatParameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFloatParameter { - get { return typeCase_ == TypeOneofCase.FloatParameter; } - } - /// Clears the value of the oneof if it's currently set to "floatParameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearFloatParameter() { - if (HasFloatParameter) { - ClearType(); - } - } - - /// Field number for the "stringParameter" field. - public const int StringParameterFieldNumber = 4; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StringParameter { - get { return HasStringParameter ? (string) type_ : ""; } - set { - type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - typeCase_ = TypeOneofCase.StringParameter; - } - } - /// Gets whether the "stringParameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasStringParameter { - get { return typeCase_ == TypeOneofCase.StringParameter; } - } - /// Clears the value of the oneof if it's currently set to "stringParameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearStringParameter() { - if (HasStringParameter) { - ClearType(); - } - } - - /// Field number for the "sint32Parameter" field. - public const int Sint32ParameterFieldNumber = 5; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sint32Parameter { - get { return HasSint32Parameter ? (int) type_ : 0; } - set { - type_ = value; - typeCase_ = TypeOneofCase.Sint32Parameter; - } - } - /// Gets whether the "sint32Parameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSint32Parameter { - get { return typeCase_ == TypeOneofCase.Sint32Parameter; } - } - /// Clears the value of the oneof if it's currently set to "sint32Parameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSint32Parameter() { - if (HasSint32Parameter) { - ClearType(); - } - } - - /// Field number for the "boolParameter" field. - public const int BoolParameterFieldNumber = 6; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool BoolParameter { - get { return HasBoolParameter ? (bool) type_ : false; } - set { - type_ = value; - typeCase_ = TypeOneofCase.BoolParameter; - } - } - /// Gets whether the "boolParameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasBoolParameter { - get { return typeCase_ == TypeOneofCase.BoolParameter; } - } - /// Clears the value of the oneof if it's currently set to "boolParameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearBoolParameter() { - if (HasBoolParameter) { - ClearType(); - } - } - - private object type_; - /// Enum of possible cases for the "type" oneof. - public enum TypeOneofCase { - None = 0, - FloatParameter = 3, - StringParameter = 4, - Sint32Parameter = 5, - BoolParameter = 6, - } - private TypeOneofCase typeCase_ = TypeOneofCase.None; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TypeOneofCase TypeCase { - get { return typeCase_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearType() { - typeCase_ = TypeOneofCase.None; - type_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SetDspUnitParameter); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SetDspUnitParameter other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (NodeId != other.NodeId) return false; - if (ParameterId != other.ParameterId) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FloatParameter, other.FloatParameter)) return false; - if (StringParameter != other.StringParameter) return false; - if (Sint32Parameter != other.Sint32Parameter) return false; - if (BoolParameter != other.BoolParameter) return false; - if (TypeCase != other.TypeCase) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasNodeId) hash ^= NodeId.GetHashCode(); - if (HasParameterId) hash ^= ParameterId.GetHashCode(); - if (HasFloatParameter) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FloatParameter); - if (HasStringParameter) hash ^= StringParameter.GetHashCode(); - if (HasSint32Parameter) hash ^= Sint32Parameter.GetHashCode(); - if (HasBoolParameter) hash ^= BoolParameter.GetHashCode(); - hash ^= (int) typeCase_; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasNodeId) { - output.WriteRawTag(10); - output.WriteString(NodeId); - } - if (HasParameterId) { - output.WriteRawTag(18); - output.WriteString(ParameterId); - } - if (HasFloatParameter) { - output.WriteRawTag(29); - output.WriteFloat(FloatParameter); - } - if (HasStringParameter) { - output.WriteRawTag(34); - output.WriteString(StringParameter); - } - if (HasSint32Parameter) { - output.WriteRawTag(40); - output.WriteSInt32(Sint32Parameter); - } - if (HasBoolParameter) { - output.WriteRawTag(48); - output.WriteBool(BoolParameter); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasNodeId) { - output.WriteRawTag(10); - output.WriteString(NodeId); - } - if (HasParameterId) { - output.WriteRawTag(18); - output.WriteString(ParameterId); - } - if (HasFloatParameter) { - output.WriteRawTag(29); - output.WriteFloat(FloatParameter); - } - if (HasStringParameter) { - output.WriteRawTag(34); - output.WriteString(StringParameter); - } - if (HasSint32Parameter) { - output.WriteRawTag(40); - output.WriteSInt32(Sint32Parameter); - } - if (HasBoolParameter) { - output.WriteRawTag(48); - output.WriteBool(BoolParameter); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasNodeId) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeId); - } - if (HasParameterId) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParameterId); - } - if (HasFloatParameter) { - size += 1 + 4; - } - if (HasStringParameter) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StringParameter); - } - if (HasSint32Parameter) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Sint32Parameter); - } - if (HasBoolParameter) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SetDspUnitParameter other) { - if (other == null) { - return; - } - if (other.HasNodeId) { - NodeId = other.NodeId; - } - if (other.HasParameterId) { - ParameterId = other.ParameterId; - } - switch (other.TypeCase) { - case TypeOneofCase.FloatParameter: - FloatParameter = other.FloatParameter; - break; - case TypeOneofCase.StringParameter: - StringParameter = other.StringParameter; - break; - case TypeOneofCase.Sint32Parameter: - Sint32Parameter = other.Sint32Parameter; - break; - case TypeOneofCase.BoolParameter: - BoolParameter = other.BoolParameter; - break; - } - - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - NodeId = input.ReadString(); - break; - } - case 18: { - ParameterId = input.ReadString(); - break; - } - case 29: { - FloatParameter = input.ReadFloat(); - break; - } - case 34: { - StringParameter = input.ReadString(); - break; - } - case 40: { - Sint32Parameter = input.ReadSInt32(); - break; - } - case 48: { - BoolParameter = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - NodeId = input.ReadString(); - break; - } - case 18: { - ParameterId = input.ReadString(); - break; - } - case 29: { - FloatParameter = input.ReadFloat(); - break; - } - case 34: { - StringParameter = input.ReadString(); - break; - } - case 40: { - Sint32Parameter = input.ReadSInt32(); - break; - } - case 48: { - BoolParameter = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SetDspUnitParameter.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from SetDspUnitParameter.proto +public static partial class SetDspUnitParameterReflection { + + #region Descriptor + /// File descriptor for SetDspUnitParameter.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SetDspUnitParameterReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChlTZXREc3BVbml0UGFyYW1ldGVyLnByb3RvIqsBChNTZXREc3BVbml0UGFy", + "YW1ldGVyEg4KBm5vZGVJZBgBIAIoCRITCgtwYXJhbWV0ZXJJZBgCIAIoCRIY", + "Cg5mbG9hdFBhcmFtZXRlchgDIAEoAkgAEhkKD3N0cmluZ1BhcmFtZXRlchgE", + "IAEoCUgAEhkKD3NpbnQzMlBhcmFtZXRlchgFIAEoEUgAEhcKDWJvb2xQYXJh", + "bWV0ZXIYBiABKAhIAEIGCgR0eXBl")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::SetDspUnitParameter), global::SetDspUnitParameter.Parser, new[]{ "NodeId", "ParameterId", "FloatParameter", "StringParameter", "Sint32Parameter", "BoolParameter" }, new[]{ "Type" }, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Changes the parameters of the DSP units +/// +/// response: SetDspUnitParameterStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class SetDspUnitParameter : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetDspUnitParameter()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::SetDspUnitParameterReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetDspUnitParameter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetDspUnitParameter(SetDspUnitParameter other) : this() { + nodeId_ = other.nodeId_; + parameterId_ = other.parameterId_; + switch (other.TypeCase) { + case TypeOneofCase.FloatParameter: + FloatParameter = other.FloatParameter; + break; + case TypeOneofCase.StringParameter: + StringParameter = other.StringParameter; + break; + case TypeOneofCase.Sint32Parameter: + Sint32Parameter = other.Sint32Parameter; + break; + case TypeOneofCase.BoolParameter: + BoolParameter = other.BoolParameter; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetDspUnitParameter Clone() { + return new SetDspUnitParameter(this); + } + + /// Field number for the "nodeId" field. + public const int NodeIdFieldNumber = 1; + private readonly static string NodeIdDefaultValue = ""; + + private string nodeId_; + /// + /// string id of the node to change (one of amp, stomp, mod, delay, reverb) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NodeId { + get { return nodeId_ ?? NodeIdDefaultValue; } + set { + nodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "nodeId" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNodeId { + get { return nodeId_ != null; } + } + /// Clears the value of the "nodeId" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNodeId() { + nodeId_ = null; + } + + /// Field number for the "parameterId" field. + public const int ParameterIdFieldNumber = 2; + private readonly static string ParameterIdDefaultValue = ""; + + private string parameterId_; + /// + /// string id of the parameter to change + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParameterId { + get { return parameterId_ ?? ParameterIdDefaultValue; } + set { + parameterId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "parameterId" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasParameterId { + get { return parameterId_ != null; } + } + /// Clears the value of the "parameterId" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearParameterId() { + parameterId_ = null; + } + + /// Field number for the "floatParameter" field. + public const int FloatParameterFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FloatParameter { + get { return HasFloatParameter ? (float) type_ : 0F; } + set { + type_ = value; + typeCase_ = TypeOneofCase.FloatParameter; + } + } + /// Gets whether the "floatParameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFloatParameter { + get { return typeCase_ == TypeOneofCase.FloatParameter; } + } + /// Clears the value of the oneof if it's currently set to "floatParameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFloatParameter() { + if (HasFloatParameter) { + ClearType(); + } + } + + /// Field number for the "stringParameter" field. + public const int StringParameterFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StringParameter { + get { return HasStringParameter ? (string) type_ : ""; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + typeCase_ = TypeOneofCase.StringParameter; + } + } + /// Gets whether the "stringParameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStringParameter { + get { return typeCase_ == TypeOneofCase.StringParameter; } + } + /// Clears the value of the oneof if it's currently set to "stringParameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStringParameter() { + if (HasStringParameter) { + ClearType(); + } + } + + /// Field number for the "sint32Parameter" field. + public const int Sint32ParameterFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sint32Parameter { + get { return HasSint32Parameter ? (int) type_ : 0; } + set { + type_ = value; + typeCase_ = TypeOneofCase.Sint32Parameter; + } + } + /// Gets whether the "sint32Parameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSint32Parameter { + get { return typeCase_ == TypeOneofCase.Sint32Parameter; } + } + /// Clears the value of the oneof if it's currently set to "sint32Parameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSint32Parameter() { + if (HasSint32Parameter) { + ClearType(); + } + } + + /// Field number for the "boolParameter" field. + public const int BoolParameterFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool BoolParameter { + get { return HasBoolParameter ? (bool) type_ : false; } + set { + type_ = value; + typeCase_ = TypeOneofCase.BoolParameter; + } + } + /// Gets whether the "boolParameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBoolParameter { + get { return typeCase_ == TypeOneofCase.BoolParameter; } + } + /// Clears the value of the oneof if it's currently set to "boolParameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoolParameter() { + if (HasBoolParameter) { + ClearType(); + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + FloatParameter = 3, + StringParameter = 4, + Sint32Parameter = 5, + BoolParameter = 6, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SetDspUnitParameter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SetDspUnitParameter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NodeId != other.NodeId) return false; + if (ParameterId != other.ParameterId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FloatParameter, other.FloatParameter)) return false; + if (StringParameter != other.StringParameter) return false; + if (Sint32Parameter != other.Sint32Parameter) return false; + if (BoolParameter != other.BoolParameter) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasNodeId) hash ^= NodeId.GetHashCode(); + if (HasParameterId) hash ^= ParameterId.GetHashCode(); + if (HasFloatParameter) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FloatParameter); + if (HasStringParameter) hash ^= StringParameter.GetHashCode(); + if (HasSint32Parameter) hash ^= Sint32Parameter.GetHashCode(); + if (HasBoolParameter) hash ^= BoolParameter.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasNodeId) { + output.WriteRawTag(10); + output.WriteString(NodeId); + } + if (HasParameterId) { + output.WriteRawTag(18); + output.WriteString(ParameterId); + } + if (HasFloatParameter) { + output.WriteRawTag(29); + output.WriteFloat(FloatParameter); + } + if (HasStringParameter) { + output.WriteRawTag(34); + output.WriteString(StringParameter); + } + if (HasSint32Parameter) { + output.WriteRawTag(40); + output.WriteSInt32(Sint32Parameter); + } + if (HasBoolParameter) { + output.WriteRawTag(48); + output.WriteBool(BoolParameter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasNodeId) { + output.WriteRawTag(10); + output.WriteString(NodeId); + } + if (HasParameterId) { + output.WriteRawTag(18); + output.WriteString(ParameterId); + } + if (HasFloatParameter) { + output.WriteRawTag(29); + output.WriteFloat(FloatParameter); + } + if (HasStringParameter) { + output.WriteRawTag(34); + output.WriteString(StringParameter); + } + if (HasSint32Parameter) { + output.WriteRawTag(40); + output.WriteSInt32(Sint32Parameter); + } + if (HasBoolParameter) { + output.WriteRawTag(48); + output.WriteBool(BoolParameter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasNodeId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeId); + } + if (HasParameterId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParameterId); + } + if (HasFloatParameter) { + size += 1 + 4; + } + if (HasStringParameter) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StringParameter); + } + if (HasSint32Parameter) { + size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Sint32Parameter); + } + if (HasBoolParameter) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SetDspUnitParameter other) { + if (other == null) { + return; + } + if (other.HasNodeId) { + NodeId = other.NodeId; + } + if (other.HasParameterId) { + ParameterId = other.ParameterId; + } + switch (other.TypeCase) { + case TypeOneofCase.FloatParameter: + FloatParameter = other.FloatParameter; + break; + case TypeOneofCase.StringParameter: + StringParameter = other.StringParameter; + break; + case TypeOneofCase.Sint32Parameter: + Sint32Parameter = other.Sint32Parameter; + break; + case TypeOneofCase.BoolParameter: + BoolParameter = other.BoolParameter; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + NodeId = input.ReadString(); + break; + } + case 18: { + ParameterId = input.ReadString(); + break; + } + case 29: { + FloatParameter = input.ReadFloat(); + break; + } + case 34: { + StringParameter = input.ReadString(); + break; + } + case 40: { + Sint32Parameter = input.ReadSInt32(); + break; + } + case 48: { + BoolParameter = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + NodeId = input.ReadString(); + break; + } + case 18: { + ParameterId = input.ReadString(); + break; + } + case 29: { + FloatParameter = input.ReadFloat(); + break; + } + case 34: { + StringParameter = input.ReadString(); + break; + } + case 40: { + Sint32Parameter = input.ReadSInt32(); + break; + } + case 48: { + BoolParameter = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SetDspUnitParameterStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SetDspUnitParameterStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/SetDspUnitParameterStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SetDspUnitParameterStatus.cs index b98b639..5455df3 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SetDspUnitParameterStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SetDspUnitParameterStatus.cs @@ -1,551 +1,551 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SetDspUnitParameterStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from SetDspUnitParameterStatus.proto -public static partial class SetDspUnitParameterStatusReflection { - - #region Descriptor - /// File descriptor for SetDspUnitParameterStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SetDspUnitParameterStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch9TZXREc3BVbml0UGFyYW1ldGVyU3RhdHVzLnByb3RvIrEBChlTZXREc3BV", - "bml0UGFyYW1ldGVyU3RhdHVzEg4KBm5vZGVJZBgBIAIoCRITCgtwYXJhbWV0", - "ZXJJZBgCIAIoCRIYCg5mbG9hdFBhcmFtZXRlchgDIAEoAkgAEhkKD3N0cmlu", - "Z1BhcmFtZXRlchgEIAEoCUgAEhkKD3NpbnQzMlBhcmFtZXRlchgFIAEoEUgA", - "EhcKDWJvb2xQYXJhbWV0ZXIYBiABKAhIAEIGCgR0eXBl")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::SetDspUnitParameterStatus), global::SetDspUnitParameterStatus.Parser, new[]{ "NodeId", "ParameterId", "FloatParameter", "StringParameter", "Sint32Parameter", "BoolParameter" }, new[]{ "Type" }, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Status of the SetDspUnitParameter message. Also sent when parameters are adjusted on the amp -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class SetDspUnitParameterStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetDspUnitParameterStatus()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::SetDspUnitParameterStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SetDspUnitParameterStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SetDspUnitParameterStatus(SetDspUnitParameterStatus other) : this() { - nodeId_ = other.nodeId_; - parameterId_ = other.parameterId_; - switch (other.TypeCase) { - case TypeOneofCase.FloatParameter: - FloatParameter = other.FloatParameter; - break; - case TypeOneofCase.StringParameter: - StringParameter = other.StringParameter; - break; - case TypeOneofCase.Sint32Parameter: - Sint32Parameter = other.Sint32Parameter; - break; - case TypeOneofCase.BoolParameter: - BoolParameter = other.BoolParameter; - break; - } - - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SetDspUnitParameterStatus Clone() { - return new SetDspUnitParameterStatus(this); - } - - /// Field number for the "nodeId" field. - public const int NodeIdFieldNumber = 1; - private readonly static string NodeIdDefaultValue = ""; - - private string nodeId_; - /// - /// string id of the node changed (one of amp, stomp, mod, delay, reverb) - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string NodeId { - get { return nodeId_ ?? NodeIdDefaultValue; } - set { - nodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "nodeId" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasNodeId { - get { return nodeId_ != null; } - } - /// Clears the value of the "nodeId" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearNodeId() { - nodeId_ = null; - } - - /// Field number for the "parameterId" field. - public const int ParameterIdFieldNumber = 2; - private readonly static string ParameterIdDefaultValue = ""; - - private string parameterId_; - /// - /// string id of the parameter to change - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ParameterId { - get { return parameterId_ ?? ParameterIdDefaultValue; } - set { - parameterId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "parameterId" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasParameterId { - get { return parameterId_ != null; } - } - /// Clears the value of the "parameterId" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearParameterId() { - parameterId_ = null; - } - - /// Field number for the "floatParameter" field. - public const int FloatParameterFieldNumber = 3; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float FloatParameter { - get { return HasFloatParameter ? (float) type_ : 0F; } - set { - type_ = value; - typeCase_ = TypeOneofCase.FloatParameter; - } - } - /// Gets whether the "floatParameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFloatParameter { - get { return typeCase_ == TypeOneofCase.FloatParameter; } - } - /// Clears the value of the oneof if it's currently set to "floatParameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearFloatParameter() { - if (HasFloatParameter) { - ClearType(); - } - } - - /// Field number for the "stringParameter" field. - public const int StringParameterFieldNumber = 4; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string StringParameter { - get { return HasStringParameter ? (string) type_ : ""; } - set { - type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - typeCase_ = TypeOneofCase.StringParameter; - } - } - /// Gets whether the "stringParameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasStringParameter { - get { return typeCase_ == TypeOneofCase.StringParameter; } - } - /// Clears the value of the oneof if it's currently set to "stringParameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearStringParameter() { - if (HasStringParameter) { - ClearType(); - } - } - - /// Field number for the "sint32Parameter" field. - public const int Sint32ParameterFieldNumber = 5; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int Sint32Parameter { - get { return HasSint32Parameter ? (int) type_ : 0; } - set { - type_ = value; - typeCase_ = TypeOneofCase.Sint32Parameter; - } - } - /// Gets whether the "sint32Parameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSint32Parameter { - get { return typeCase_ == TypeOneofCase.Sint32Parameter; } - } - /// Clears the value of the oneof if it's currently set to "sint32Parameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSint32Parameter() { - if (HasSint32Parameter) { - ClearType(); - } - } - - /// Field number for the "boolParameter" field. - public const int BoolParameterFieldNumber = 6; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool BoolParameter { - get { return HasBoolParameter ? (bool) type_ : false; } - set { - type_ = value; - typeCase_ = TypeOneofCase.BoolParameter; - } - } - /// Gets whether the "boolParameter" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasBoolParameter { - get { return typeCase_ == TypeOneofCase.BoolParameter; } - } - /// Clears the value of the oneof if it's currently set to "boolParameter" - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearBoolParameter() { - if (HasBoolParameter) { - ClearType(); - } - } - - private object type_; - /// Enum of possible cases for the "type" oneof. - public enum TypeOneofCase { - None = 0, - FloatParameter = 3, - StringParameter = 4, - Sint32Parameter = 5, - BoolParameter = 6, - } - private TypeOneofCase typeCase_ = TypeOneofCase.None; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public TypeOneofCase TypeCase { - get { return typeCase_; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearType() { - typeCase_ = TypeOneofCase.None; - type_ = null; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SetDspUnitParameterStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SetDspUnitParameterStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (NodeId != other.NodeId) return false; - if (ParameterId != other.ParameterId) return false; - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FloatParameter, other.FloatParameter)) return false; - if (StringParameter != other.StringParameter) return false; - if (Sint32Parameter != other.Sint32Parameter) return false; - if (BoolParameter != other.BoolParameter) return false; - if (TypeCase != other.TypeCase) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasNodeId) hash ^= NodeId.GetHashCode(); - if (HasParameterId) hash ^= ParameterId.GetHashCode(); - if (HasFloatParameter) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FloatParameter); - if (HasStringParameter) hash ^= StringParameter.GetHashCode(); - if (HasSint32Parameter) hash ^= Sint32Parameter.GetHashCode(); - if (HasBoolParameter) hash ^= BoolParameter.GetHashCode(); - hash ^= (int) typeCase_; - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasNodeId) { - output.WriteRawTag(10); - output.WriteString(NodeId); - } - if (HasParameterId) { - output.WriteRawTag(18); - output.WriteString(ParameterId); - } - if (HasFloatParameter) { - output.WriteRawTag(29); - output.WriteFloat(FloatParameter); - } - if (HasStringParameter) { - output.WriteRawTag(34); - output.WriteString(StringParameter); - } - if (HasSint32Parameter) { - output.WriteRawTag(40); - output.WriteSInt32(Sint32Parameter); - } - if (HasBoolParameter) { - output.WriteRawTag(48); - output.WriteBool(BoolParameter); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasNodeId) { - output.WriteRawTag(10); - output.WriteString(NodeId); - } - if (HasParameterId) { - output.WriteRawTag(18); - output.WriteString(ParameterId); - } - if (HasFloatParameter) { - output.WriteRawTag(29); - output.WriteFloat(FloatParameter); - } - if (HasStringParameter) { - output.WriteRawTag(34); - output.WriteString(StringParameter); - } - if (HasSint32Parameter) { - output.WriteRawTag(40); - output.WriteSInt32(Sint32Parameter); - } - if (HasBoolParameter) { - output.WriteRawTag(48); - output.WriteBool(BoolParameter); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasNodeId) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeId); - } - if (HasParameterId) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ParameterId); - } - if (HasFloatParameter) { - size += 1 + 4; - } - if (HasStringParameter) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(StringParameter); - } - if (HasSint32Parameter) { - size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Sint32Parameter); - } - if (HasBoolParameter) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SetDspUnitParameterStatus other) { - if (other == null) { - return; - } - if (other.HasNodeId) { - NodeId = other.NodeId; - } - if (other.HasParameterId) { - ParameterId = other.ParameterId; - } - switch (other.TypeCase) { - case TypeOneofCase.FloatParameter: - FloatParameter = other.FloatParameter; - break; - case TypeOneofCase.StringParameter: - StringParameter = other.StringParameter; - break; - case TypeOneofCase.Sint32Parameter: - Sint32Parameter = other.Sint32Parameter; - break; - case TypeOneofCase.BoolParameter: - BoolParameter = other.BoolParameter; - break; - } - - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - NodeId = input.ReadString(); - break; - } - case 18: { - ParameterId = input.ReadString(); - break; - } - case 29: { - FloatParameter = input.ReadFloat(); - break; - } - case 34: { - StringParameter = input.ReadString(); - break; - } - case 40: { - Sint32Parameter = input.ReadSInt32(); - break; - } - case 48: { - BoolParameter = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - NodeId = input.ReadString(); - break; - } - case 18: { - ParameterId = input.ReadString(); - break; - } - case 29: { - FloatParameter = input.ReadFloat(); - break; - } - case 34: { - StringParameter = input.ReadString(); - break; - } - case 40: { - Sint32Parameter = input.ReadSInt32(); - break; - } - case 48: { - BoolParameter = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SetDspUnitParameterStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from SetDspUnitParameterStatus.proto +public static partial class SetDspUnitParameterStatusReflection { + + #region Descriptor + /// File descriptor for SetDspUnitParameterStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SetDspUnitParameterStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch9TZXREc3BVbml0UGFyYW1ldGVyU3RhdHVzLnByb3RvIrEBChlTZXREc3BV", + "bml0UGFyYW1ldGVyU3RhdHVzEg4KBm5vZGVJZBgBIAIoCRITCgtwYXJhbWV0", + "ZXJJZBgCIAIoCRIYCg5mbG9hdFBhcmFtZXRlchgDIAEoAkgAEhkKD3N0cmlu", + "Z1BhcmFtZXRlchgEIAEoCUgAEhkKD3NpbnQzMlBhcmFtZXRlchgFIAEoEUgA", + "EhcKDWJvb2xQYXJhbWV0ZXIYBiABKAhIAEIGCgR0eXBl")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::SetDspUnitParameterStatus), global::SetDspUnitParameterStatus.Parser, new[]{ "NodeId", "ParameterId", "FloatParameter", "StringParameter", "Sint32Parameter", "BoolParameter" }, new[]{ "Type" }, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Status of the SetDspUnitParameter message. Also sent when parameters are adjusted on the amp +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class SetDspUnitParameterStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SetDspUnitParameterStatus()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::SetDspUnitParameterStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetDspUnitParameterStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetDspUnitParameterStatus(SetDspUnitParameterStatus other) : this() { + nodeId_ = other.nodeId_; + parameterId_ = other.parameterId_; + switch (other.TypeCase) { + case TypeOneofCase.FloatParameter: + FloatParameter = other.FloatParameter; + break; + case TypeOneofCase.StringParameter: + StringParameter = other.StringParameter; + break; + case TypeOneofCase.Sint32Parameter: + Sint32Parameter = other.Sint32Parameter; + break; + case TypeOneofCase.BoolParameter: + BoolParameter = other.BoolParameter; + break; + } + + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SetDspUnitParameterStatus Clone() { + return new SetDspUnitParameterStatus(this); + } + + /// Field number for the "nodeId" field. + public const int NodeIdFieldNumber = 1; + private readonly static string NodeIdDefaultValue = ""; + + private string nodeId_; + /// + /// string id of the node changed (one of amp, stomp, mod, delay, reverb) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NodeId { + get { return nodeId_ ?? NodeIdDefaultValue; } + set { + nodeId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "nodeId" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNodeId { + get { return nodeId_ != null; } + } + /// Clears the value of the "nodeId" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNodeId() { + nodeId_ = null; + } + + /// Field number for the "parameterId" field. + public const int ParameterIdFieldNumber = 2; + private readonly static string ParameterIdDefaultValue = ""; + + private string parameterId_; + /// + /// string id of the parameter to change + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParameterId { + get { return parameterId_ ?? ParameterIdDefaultValue; } + set { + parameterId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "parameterId" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasParameterId { + get { return parameterId_ != null; } + } + /// Clears the value of the "parameterId" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearParameterId() { + parameterId_ = null; + } + + /// Field number for the "floatParameter" field. + public const int FloatParameterFieldNumber = 3; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FloatParameter { + get { return HasFloatParameter ? (float) type_ : 0F; } + set { + type_ = value; + typeCase_ = TypeOneofCase.FloatParameter; + } + } + /// Gets whether the "floatParameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFloatParameter { + get { return typeCase_ == TypeOneofCase.FloatParameter; } + } + /// Clears the value of the oneof if it's currently set to "floatParameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFloatParameter() { + if (HasFloatParameter) { + ClearType(); + } + } + + /// Field number for the "stringParameter" field. + public const int StringParameterFieldNumber = 4; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StringParameter { + get { return HasStringParameter ? (string) type_ : ""; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + typeCase_ = TypeOneofCase.StringParameter; + } + } + /// Gets whether the "stringParameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStringParameter { + get { return typeCase_ == TypeOneofCase.StringParameter; } + } + /// Clears the value of the oneof if it's currently set to "stringParameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStringParameter() { + if (HasStringParameter) { + ClearType(); + } + } + + /// Field number for the "sint32Parameter" field. + public const int Sint32ParameterFieldNumber = 5; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Sint32Parameter { + get { return HasSint32Parameter ? (int) type_ : 0; } + set { + type_ = value; + typeCase_ = TypeOneofCase.Sint32Parameter; + } + } + /// Gets whether the "sint32Parameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSint32Parameter { + get { return typeCase_ == TypeOneofCase.Sint32Parameter; } + } + /// Clears the value of the oneof if it's currently set to "sint32Parameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSint32Parameter() { + if (HasSint32Parameter) { + ClearType(); + } + } + + /// Field number for the "boolParameter" field. + public const int BoolParameterFieldNumber = 6; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool BoolParameter { + get { return HasBoolParameter ? (bool) type_ : false; } + set { + type_ = value; + typeCase_ = TypeOneofCase.BoolParameter; + } + } + /// Gets whether the "boolParameter" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBoolParameter { + get { return typeCase_ == TypeOneofCase.BoolParameter; } + } + /// Clears the value of the oneof if it's currently set to "boolParameter" + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoolParameter() { + if (HasBoolParameter) { + ClearType(); + } + } + + private object type_; + /// Enum of possible cases for the "type" oneof. + public enum TypeOneofCase { + None = 0, + FloatParameter = 3, + StringParameter = 4, + Sint32Parameter = 5, + BoolParameter = 6, + } + private TypeOneofCase typeCase_ = TypeOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TypeOneofCase TypeCase { + get { return typeCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearType() { + typeCase_ = TypeOneofCase.None; + type_ = null; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SetDspUnitParameterStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SetDspUnitParameterStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (NodeId != other.NodeId) return false; + if (ParameterId != other.ParameterId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FloatParameter, other.FloatParameter)) return false; + if (StringParameter != other.StringParameter) return false; + if (Sint32Parameter != other.Sint32Parameter) return false; + if (BoolParameter != other.BoolParameter) return false; + if (TypeCase != other.TypeCase) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasNodeId) hash ^= NodeId.GetHashCode(); + if (HasParameterId) hash ^= ParameterId.GetHashCode(); + if (HasFloatParameter) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FloatParameter); + if (HasStringParameter) hash ^= StringParameter.GetHashCode(); + if (HasSint32Parameter) hash ^= Sint32Parameter.GetHashCode(); + if (HasBoolParameter) hash ^= BoolParameter.GetHashCode(); + hash ^= (int) typeCase_; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasNodeId) { + output.WriteRawTag(10); + output.WriteString(NodeId); + } + if (HasParameterId) { + output.WriteRawTag(18); + output.WriteString(ParameterId); + } + if (HasFloatParameter) { + output.WriteRawTag(29); + output.WriteFloat(FloatParameter); + } + if (HasStringParameter) { + output.WriteRawTag(34); + output.WriteString(StringParameter); + } + if (HasSint32Parameter) { + output.WriteRawTag(40); + output.WriteSInt32(Sint32Parameter); + } + if (HasBoolParameter) { + output.WriteRawTag(48); + output.WriteBool(BoolParameter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasNodeId) { + output.WriteRawTag(10); + output.WriteString(NodeId); + } + if (HasParameterId) { + output.WriteRawTag(18); + output.WriteString(ParameterId); + } + if (HasFloatParameter) { + output.WriteRawTag(29); + output.WriteFloat(FloatParameter); + } + if (HasStringParameter) { + output.WriteRawTag(34); + output.WriteString(StringParameter); + } + if (HasSint32Parameter) { + output.WriteRawTag(40); + output.WriteSInt32(Sint32Parameter); + } + if (HasBoolParameter) { + output.WriteRawTag(48); + output.WriteBool(BoolParameter); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasNodeId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NodeId); + } + if (HasParameterId) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParameterId); + } + if (HasFloatParameter) { + size += 1 + 4; + } + if (HasStringParameter) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StringParameter); + } + if (HasSint32Parameter) { + size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Sint32Parameter); + } + if (HasBoolParameter) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SetDspUnitParameterStatus other) { + if (other == null) { + return; + } + if (other.HasNodeId) { + NodeId = other.NodeId; + } + if (other.HasParameterId) { + ParameterId = other.ParameterId; + } + switch (other.TypeCase) { + case TypeOneofCase.FloatParameter: + FloatParameter = other.FloatParameter; + break; + case TypeOneofCase.StringParameter: + StringParameter = other.StringParameter; + break; + case TypeOneofCase.Sint32Parameter: + Sint32Parameter = other.Sint32Parameter; + break; + case TypeOneofCase.BoolParameter: + BoolParameter = other.BoolParameter; + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + NodeId = input.ReadString(); + break; + } + case 18: { + ParameterId = input.ReadString(); + break; + } + case 29: { + FloatParameter = input.ReadFloat(); + break; + } + case 34: { + StringParameter = input.ReadString(); + break; + } + case 40: { + Sint32Parameter = input.ReadSInt32(); + break; + } + case 48: { + BoolParameter = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + NodeId = input.ReadString(); + break; + } + case 18: { + ParameterId = input.ReadString(); + break; + } + case 29: { + FloatParameter = input.ReadFloat(); + break; + } + case 34: { + StringParameter = input.ReadString(); + break; + } + case 40: { + Sint32Parameter = input.ReadSInt32(); + break; + } + case 48: { + BoolParameter = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ShiftPreset.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ShiftPreset.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ShiftPreset.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ShiftPreset.cs index b98dd22..6e3a661 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ShiftPreset.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ShiftPreset.cs @@ -1,311 +1,311 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ShiftPreset.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ShiftPreset.proto -public static partial class ShiftPresetReflection { - - #region Descriptor - /// File descriptor for ShiftPreset.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ShiftPresetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFTaGlmdFByZXNldC5wcm90byI/CgtTaGlmdFByZXNldBIYChBpbmRleFRv", - "U2hpZnRGcm9tGAEgAigFEhYKDmluZGV4VG9TaGlmdFRvGAIgAigF")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ShiftPreset), global::ShiftPreset.Parser, new[]{ "IndexToShiftFrom", "IndexToShiftTo" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Moves a preset to the specified point, shifting all other presets -/// -/// response: ShiftPresetStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ShiftPreset : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ShiftPreset()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ShiftPresetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ShiftPreset() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ShiftPreset(ShiftPreset other) : this() { - _hasBits0 = other._hasBits0; - indexToShiftFrom_ = other.indexToShiftFrom_; - indexToShiftTo_ = other.indexToShiftTo_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ShiftPreset Clone() { - return new ShiftPreset(this); - } - - /// Field number for the "indexToShiftFrom" field. - public const int IndexToShiftFromFieldNumber = 1; - private readonly static int IndexToShiftFromDefaultValue = 0; - - private int indexToShiftFrom_; - /// - /// Preset to shift - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndexToShiftFrom { - get { if ((_hasBits0 & 1) != 0) { return indexToShiftFrom_; } else { return IndexToShiftFromDefaultValue; } } - set { - _hasBits0 |= 1; - indexToShiftFrom_ = value; - } - } - /// Gets whether the "indexToShiftFrom" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndexToShiftFrom { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "indexToShiftFrom" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndexToShiftFrom() { - _hasBits0 &= ~1; - } - - /// Field number for the "indexToShiftTo" field. - public const int IndexToShiftToFieldNumber = 2; - private readonly static int IndexToShiftToDefaultValue = 0; - - private int indexToShiftTo_; - /// - /// Destination of preset to shift - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndexToShiftTo { - get { if ((_hasBits0 & 2) != 0) { return indexToShiftTo_; } else { return IndexToShiftToDefaultValue; } } - set { - _hasBits0 |= 2; - indexToShiftTo_ = value; - } - } - /// Gets whether the "indexToShiftTo" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndexToShiftTo { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "indexToShiftTo" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndexToShiftTo() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ShiftPreset); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ShiftPreset other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (IndexToShiftFrom != other.IndexToShiftFrom) return false; - if (IndexToShiftTo != other.IndexToShiftTo) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIndexToShiftFrom) hash ^= IndexToShiftFrom.GetHashCode(); - if (HasIndexToShiftTo) hash ^= IndexToShiftTo.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIndexToShiftFrom) { - output.WriteRawTag(8); - output.WriteInt32(IndexToShiftFrom); - } - if (HasIndexToShiftTo) { - output.WriteRawTag(16); - output.WriteInt32(IndexToShiftTo); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIndexToShiftFrom) { - output.WriteRawTag(8); - output.WriteInt32(IndexToShiftFrom); - } - if (HasIndexToShiftTo) { - output.WriteRawTag(16); - output.WriteInt32(IndexToShiftTo); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIndexToShiftFrom) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexToShiftFrom); - } - if (HasIndexToShiftTo) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexToShiftTo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ShiftPreset other) { - if (other == null) { - return; - } - if (other.HasIndexToShiftFrom) { - IndexToShiftFrom = other.IndexToShiftFrom; - } - if (other.HasIndexToShiftTo) { - IndexToShiftTo = other.IndexToShiftTo; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - IndexToShiftFrom = input.ReadInt32(); - break; - } - case 16: { - IndexToShiftTo = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - IndexToShiftFrom = input.ReadInt32(); - break; - } - case 16: { - IndexToShiftTo = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ShiftPreset.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ShiftPreset.proto +public static partial class ShiftPresetReflection { + + #region Descriptor + /// File descriptor for ShiftPreset.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ShiftPresetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChFTaGlmdFByZXNldC5wcm90byI/CgtTaGlmdFByZXNldBIYChBpbmRleFRv", + "U2hpZnRGcm9tGAEgAigFEhYKDmluZGV4VG9TaGlmdFRvGAIgAigF")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ShiftPreset), global::ShiftPreset.Parser, new[]{ "IndexToShiftFrom", "IndexToShiftTo" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Moves a preset to the specified point, shifting all other presets +/// +/// response: ShiftPresetStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ShiftPreset : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ShiftPreset()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ShiftPresetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShiftPreset() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShiftPreset(ShiftPreset other) : this() { + _hasBits0 = other._hasBits0; + indexToShiftFrom_ = other.indexToShiftFrom_; + indexToShiftTo_ = other.indexToShiftTo_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShiftPreset Clone() { + return new ShiftPreset(this); + } + + /// Field number for the "indexToShiftFrom" field. + public const int IndexToShiftFromFieldNumber = 1; + private readonly static int IndexToShiftFromDefaultValue = 0; + + private int indexToShiftFrom_; + /// + /// Preset to shift + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IndexToShiftFrom { + get { if ((_hasBits0 & 1) != 0) { return indexToShiftFrom_; } else { return IndexToShiftFromDefaultValue; } } + set { + _hasBits0 |= 1; + indexToShiftFrom_ = value; + } + } + /// Gets whether the "indexToShiftFrom" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndexToShiftFrom { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "indexToShiftFrom" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndexToShiftFrom() { + _hasBits0 &= ~1; + } + + /// Field number for the "indexToShiftTo" field. + public const int IndexToShiftToFieldNumber = 2; + private readonly static int IndexToShiftToDefaultValue = 0; + + private int indexToShiftTo_; + /// + /// Destination of preset to shift + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IndexToShiftTo { + get { if ((_hasBits0 & 2) != 0) { return indexToShiftTo_; } else { return IndexToShiftToDefaultValue; } } + set { + _hasBits0 |= 2; + indexToShiftTo_ = value; + } + } + /// Gets whether the "indexToShiftTo" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndexToShiftTo { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "indexToShiftTo" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndexToShiftTo() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ShiftPreset); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ShiftPreset other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IndexToShiftFrom != other.IndexToShiftFrom) return false; + if (IndexToShiftTo != other.IndexToShiftTo) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIndexToShiftFrom) hash ^= IndexToShiftFrom.GetHashCode(); + if (HasIndexToShiftTo) hash ^= IndexToShiftTo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIndexToShiftFrom) { + output.WriteRawTag(8); + output.WriteInt32(IndexToShiftFrom); + } + if (HasIndexToShiftTo) { + output.WriteRawTag(16); + output.WriteInt32(IndexToShiftTo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIndexToShiftFrom) { + output.WriteRawTag(8); + output.WriteInt32(IndexToShiftFrom); + } + if (HasIndexToShiftTo) { + output.WriteRawTag(16); + output.WriteInt32(IndexToShiftTo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIndexToShiftFrom) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexToShiftFrom); + } + if (HasIndexToShiftTo) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexToShiftTo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ShiftPreset other) { + if (other == null) { + return; + } + if (other.HasIndexToShiftFrom) { + IndexToShiftFrom = other.IndexToShiftFrom; + } + if (other.HasIndexToShiftTo) { + IndexToShiftTo = other.IndexToShiftTo; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IndexToShiftFrom = input.ReadInt32(); + break; + } + case 16: { + IndexToShiftTo = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IndexToShiftFrom = input.ReadInt32(); + break; + } + case 16: { + IndexToShiftTo = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ShiftPresetStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ShiftPresetStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/ShiftPresetStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ShiftPresetStatus.cs index 3952c62..59df1ee 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/ShiftPresetStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/ShiftPresetStatus.cs @@ -1,310 +1,310 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: ShiftPresetStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from ShiftPresetStatus.proto -public static partial class ShiftPresetStatusReflection { - - #region Descriptor - /// File descriptor for ShiftPresetStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static ShiftPresetStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChdTaGlmdFByZXNldFN0YXR1cy5wcm90byJFChFTaGlmdFByZXNldFN0YXR1", - "cxIYChBpbmRleFRvU2hpZnRGcm9tGAEgAigFEhYKDmluZGV4VG9TaGlmdFRv", - "GAIgAigF")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::ShiftPresetStatus), global::ShiftPresetStatus.Parser, new[]{ "IndexToShiftFrom", "IndexToShiftTo" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Response to a ShiftPreset message with the status of the command -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class ShiftPresetStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ShiftPresetStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::ShiftPresetStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ShiftPresetStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ShiftPresetStatus(ShiftPresetStatus other) : this() { - _hasBits0 = other._hasBits0; - indexToShiftFrom_ = other.indexToShiftFrom_; - indexToShiftTo_ = other.indexToShiftTo_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ShiftPresetStatus Clone() { - return new ShiftPresetStatus(this); - } - - /// Field number for the "indexToShiftFrom" field. - public const int IndexToShiftFromFieldNumber = 1; - private readonly static int IndexToShiftFromDefaultValue = 0; - - private int indexToShiftFrom_; - /// - /// Preset shifted - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndexToShiftFrom { - get { if ((_hasBits0 & 1) != 0) { return indexToShiftFrom_; } else { return IndexToShiftFromDefaultValue; } } - set { - _hasBits0 |= 1; - indexToShiftFrom_ = value; - } - } - /// Gets whether the "indexToShiftFrom" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndexToShiftFrom { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "indexToShiftFrom" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndexToShiftFrom() { - _hasBits0 &= ~1; - } - - /// Field number for the "indexToShiftTo" field. - public const int IndexToShiftToFieldNumber = 2; - private readonly static int IndexToShiftToDefaultValue = 0; - - private int indexToShiftTo_; - /// - /// Destination - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndexToShiftTo { - get { if ((_hasBits0 & 2) != 0) { return indexToShiftTo_; } else { return IndexToShiftToDefaultValue; } } - set { - _hasBits0 |= 2; - indexToShiftTo_ = value; - } - } - /// Gets whether the "indexToShiftTo" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndexToShiftTo { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "indexToShiftTo" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndexToShiftTo() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as ShiftPresetStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ShiftPresetStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (IndexToShiftFrom != other.IndexToShiftFrom) return false; - if (IndexToShiftTo != other.IndexToShiftTo) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIndexToShiftFrom) hash ^= IndexToShiftFrom.GetHashCode(); - if (HasIndexToShiftTo) hash ^= IndexToShiftTo.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIndexToShiftFrom) { - output.WriteRawTag(8); - output.WriteInt32(IndexToShiftFrom); - } - if (HasIndexToShiftTo) { - output.WriteRawTag(16); - output.WriteInt32(IndexToShiftTo); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIndexToShiftFrom) { - output.WriteRawTag(8); - output.WriteInt32(IndexToShiftFrom); - } - if (HasIndexToShiftTo) { - output.WriteRawTag(16); - output.WriteInt32(IndexToShiftTo); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIndexToShiftFrom) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexToShiftFrom); - } - if (HasIndexToShiftTo) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexToShiftTo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ShiftPresetStatus other) { - if (other == null) { - return; - } - if (other.HasIndexToShiftFrom) { - IndexToShiftFrom = other.IndexToShiftFrom; - } - if (other.HasIndexToShiftTo) { - IndexToShiftTo = other.IndexToShiftTo; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - IndexToShiftFrom = input.ReadInt32(); - break; - } - case 16: { - IndexToShiftTo = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - IndexToShiftFrom = input.ReadInt32(); - break; - } - case 16: { - IndexToShiftTo = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ShiftPresetStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from ShiftPresetStatus.proto +public static partial class ShiftPresetStatusReflection { + + #region Descriptor + /// File descriptor for ShiftPresetStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ShiftPresetStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdTaGlmdFByZXNldFN0YXR1cy5wcm90byJFChFTaGlmdFByZXNldFN0YXR1", + "cxIYChBpbmRleFRvU2hpZnRGcm9tGAEgAigFEhYKDmluZGV4VG9TaGlmdFRv", + "GAIgAigF")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ShiftPresetStatus), global::ShiftPresetStatus.Parser, new[]{ "IndexToShiftFrom", "IndexToShiftTo" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Response to a ShiftPreset message with the status of the command +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ShiftPresetStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ShiftPresetStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ShiftPresetStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShiftPresetStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShiftPresetStatus(ShiftPresetStatus other) : this() { + _hasBits0 = other._hasBits0; + indexToShiftFrom_ = other.indexToShiftFrom_; + indexToShiftTo_ = other.indexToShiftTo_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ShiftPresetStatus Clone() { + return new ShiftPresetStatus(this); + } + + /// Field number for the "indexToShiftFrom" field. + public const int IndexToShiftFromFieldNumber = 1; + private readonly static int IndexToShiftFromDefaultValue = 0; + + private int indexToShiftFrom_; + /// + /// Preset shifted + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IndexToShiftFrom { + get { if ((_hasBits0 & 1) != 0) { return indexToShiftFrom_; } else { return IndexToShiftFromDefaultValue; } } + set { + _hasBits0 |= 1; + indexToShiftFrom_ = value; + } + } + /// Gets whether the "indexToShiftFrom" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndexToShiftFrom { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "indexToShiftFrom" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndexToShiftFrom() { + _hasBits0 &= ~1; + } + + /// Field number for the "indexToShiftTo" field. + public const int IndexToShiftToFieldNumber = 2; + private readonly static int IndexToShiftToDefaultValue = 0; + + private int indexToShiftTo_; + /// + /// Destination + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IndexToShiftTo { + get { if ((_hasBits0 & 2) != 0) { return indexToShiftTo_; } else { return IndexToShiftToDefaultValue; } } + set { + _hasBits0 |= 2; + indexToShiftTo_ = value; + } + } + /// Gets whether the "indexToShiftTo" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndexToShiftTo { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "indexToShiftTo" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndexToShiftTo() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ShiftPresetStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ShiftPresetStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IndexToShiftFrom != other.IndexToShiftFrom) return false; + if (IndexToShiftTo != other.IndexToShiftTo) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIndexToShiftFrom) hash ^= IndexToShiftFrom.GetHashCode(); + if (HasIndexToShiftTo) hash ^= IndexToShiftTo.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIndexToShiftFrom) { + output.WriteRawTag(8); + output.WriteInt32(IndexToShiftFrom); + } + if (HasIndexToShiftTo) { + output.WriteRawTag(16); + output.WriteInt32(IndexToShiftTo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIndexToShiftFrom) { + output.WriteRawTag(8); + output.WriteInt32(IndexToShiftFrom); + } + if (HasIndexToShiftTo) { + output.WriteRawTag(16); + output.WriteInt32(IndexToShiftTo); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIndexToShiftFrom) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexToShiftFrom); + } + if (HasIndexToShiftTo) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexToShiftTo); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ShiftPresetStatus other) { + if (other == null) { + return; + } + if (other.HasIndexToShiftFrom) { + IndexToShiftFrom = other.IndexToShiftFrom; + } + if (other.HasIndexToShiftTo) { + IndexToShiftTo = other.IndexToShiftTo; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IndexToShiftFrom = input.ReadInt32(); + break; + } + case 16: { + IndexToShiftTo = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IndexToShiftFrom = input.ReadInt32(); + break; + } + case 16: { + IndexToShiftTo = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SwapPreset.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SwapPreset.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/SwapPreset.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SwapPreset.cs index 8b527ea..3af11df 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SwapPreset.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SwapPreset.cs @@ -1,299 +1,299 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SwapPreset.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from SwapPreset.proto -public static partial class SwapPresetReflection { - - #region Descriptor - /// File descriptor for SwapPreset.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SwapPresetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBTd2FwUHJlc2V0LnByb3RvIiwKClN3YXBQcmVzZXQSDgoGaW5kZXhBGAEg", - "AigFEg4KBmluZGV4QhgCIAIoBQ==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::SwapPreset), global::SwapPreset.Parser, new[]{ "IndexA", "IndexB" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class SwapPreset : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SwapPreset()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::SwapPresetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SwapPreset() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SwapPreset(SwapPreset other) : this() { - _hasBits0 = other._hasBits0; - indexA_ = other.indexA_; - indexB_ = other.indexB_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SwapPreset Clone() { - return new SwapPreset(this); - } - - /// Field number for the "indexA" field. - public const int IndexAFieldNumber = 1; - private readonly static int IndexADefaultValue = 0; - - private int indexA_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndexA { - get { if ((_hasBits0 & 1) != 0) { return indexA_; } else { return IndexADefaultValue; } } - set { - _hasBits0 |= 1; - indexA_ = value; - } - } - /// Gets whether the "indexA" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndexA { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "indexA" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndexA() { - _hasBits0 &= ~1; - } - - /// Field number for the "indexB" field. - public const int IndexBFieldNumber = 2; - private readonly static int IndexBDefaultValue = 0; - - private int indexB_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndexB { - get { if ((_hasBits0 & 2) != 0) { return indexB_; } else { return IndexBDefaultValue; } } - set { - _hasBits0 |= 2; - indexB_ = value; - } - } - /// Gets whether the "indexB" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndexB { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "indexB" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndexB() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SwapPreset); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SwapPreset other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (IndexA != other.IndexA) return false; - if (IndexB != other.IndexB) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIndexA) hash ^= IndexA.GetHashCode(); - if (HasIndexB) hash ^= IndexB.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIndexA) { - output.WriteRawTag(8); - output.WriteInt32(IndexA); - } - if (HasIndexB) { - output.WriteRawTag(16); - output.WriteInt32(IndexB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIndexA) { - output.WriteRawTag(8); - output.WriteInt32(IndexA); - } - if (HasIndexB) { - output.WriteRawTag(16); - output.WriteInt32(IndexB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIndexA) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexA); - } - if (HasIndexB) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexB); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SwapPreset other) { - if (other == null) { - return; - } - if (other.HasIndexA) { - IndexA = other.IndexA; - } - if (other.HasIndexB) { - IndexB = other.IndexB; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - IndexA = input.ReadInt32(); - break; - } - case 16: { - IndexB = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - IndexA = input.ReadInt32(); - break; - } - case 16: { - IndexB = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SwapPreset.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from SwapPreset.proto +public static partial class SwapPresetReflection { + + #region Descriptor + /// File descriptor for SwapPreset.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SwapPresetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChBTd2FwUHJlc2V0LnByb3RvIiwKClN3YXBQcmVzZXQSDgoGaW5kZXhBGAEg", + "AigFEg4KBmluZGV4QhgCIAIoBQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::SwapPreset), global::SwapPreset.Parser, new[]{ "IndexA", "IndexB" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class SwapPreset : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SwapPreset()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::SwapPresetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SwapPreset() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SwapPreset(SwapPreset other) : this() { + _hasBits0 = other._hasBits0; + indexA_ = other.indexA_; + indexB_ = other.indexB_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SwapPreset Clone() { + return new SwapPreset(this); + } + + /// Field number for the "indexA" field. + public const int IndexAFieldNumber = 1; + private readonly static int IndexADefaultValue = 0; + + private int indexA_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IndexA { + get { if ((_hasBits0 & 1) != 0) { return indexA_; } else { return IndexADefaultValue; } } + set { + _hasBits0 |= 1; + indexA_ = value; + } + } + /// Gets whether the "indexA" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndexA { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "indexA" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndexA() { + _hasBits0 &= ~1; + } + + /// Field number for the "indexB" field. + public const int IndexBFieldNumber = 2; + private readonly static int IndexBDefaultValue = 0; + + private int indexB_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IndexB { + get { if ((_hasBits0 & 2) != 0) { return indexB_; } else { return IndexBDefaultValue; } } + set { + _hasBits0 |= 2; + indexB_ = value; + } + } + /// Gets whether the "indexB" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndexB { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "indexB" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndexB() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SwapPreset); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SwapPreset other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IndexA != other.IndexA) return false; + if (IndexB != other.IndexB) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIndexA) hash ^= IndexA.GetHashCode(); + if (HasIndexB) hash ^= IndexB.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIndexA) { + output.WriteRawTag(8); + output.WriteInt32(IndexA); + } + if (HasIndexB) { + output.WriteRawTag(16); + output.WriteInt32(IndexB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIndexA) { + output.WriteRawTag(8); + output.WriteInt32(IndexA); + } + if (HasIndexB) { + output.WriteRawTag(16); + output.WriteInt32(IndexB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIndexA) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexA); + } + if (HasIndexB) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexB); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SwapPreset other) { + if (other == null) { + return; + } + if (other.HasIndexA) { + IndexA = other.IndexA; + } + if (other.HasIndexB) { + IndexB = other.IndexB; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IndexA = input.ReadInt32(); + break; + } + case 16: { + IndexB = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IndexA = input.ReadInt32(); + break; + } + case 16: { + IndexB = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SwapPresetStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SwapPresetStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/SwapPresetStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SwapPresetStatus.cs index 8e2e110..27aa4f6 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/SwapPresetStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/SwapPresetStatus.cs @@ -1,299 +1,299 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: SwapPresetStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from SwapPresetStatus.proto -public static partial class SwapPresetStatusReflection { - - #region Descriptor - /// File descriptor for SwapPresetStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SwapPresetStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChZTd2FwUHJlc2V0U3RhdHVzLnByb3RvIjIKEFN3YXBQcmVzZXRTdGF0dXMS", - "DgoGaW5kZXhBGAEgAigFEg4KBmluZGV4QhgCIAIoBQ==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::SwapPresetStatus), global::SwapPresetStatus.Parser, new[]{ "IndexA", "IndexB" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class SwapPresetStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SwapPresetStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::SwapPresetStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SwapPresetStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SwapPresetStatus(SwapPresetStatus other) : this() { - _hasBits0 = other._hasBits0; - indexA_ = other.indexA_; - indexB_ = other.indexB_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SwapPresetStatus Clone() { - return new SwapPresetStatus(this); - } - - /// Field number for the "indexA" field. - public const int IndexAFieldNumber = 1; - private readonly static int IndexADefaultValue = 0; - - private int indexA_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndexA { - get { if ((_hasBits0 & 1) != 0) { return indexA_; } else { return IndexADefaultValue; } } - set { - _hasBits0 |= 1; - indexA_ = value; - } - } - /// Gets whether the "indexA" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndexA { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "indexA" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndexA() { - _hasBits0 &= ~1; - } - - /// Field number for the "indexB" field. - public const int IndexBFieldNumber = 2; - private readonly static int IndexBDefaultValue = 0; - - private int indexB_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int IndexB { - get { if ((_hasBits0 & 2) != 0) { return indexB_; } else { return IndexBDefaultValue; } } - set { - _hasBits0 |= 2; - indexB_ = value; - } - } - /// Gets whether the "indexB" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIndexB { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "indexB" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIndexB() { - _hasBits0 &= ~2; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SwapPresetStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SwapPresetStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (IndexA != other.IndexA) return false; - if (IndexB != other.IndexB) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasIndexA) hash ^= IndexA.GetHashCode(); - if (HasIndexB) hash ^= IndexB.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasIndexA) { - output.WriteRawTag(8); - output.WriteInt32(IndexA); - } - if (HasIndexB) { - output.WriteRawTag(16); - output.WriteInt32(IndexB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasIndexA) { - output.WriteRawTag(8); - output.WriteInt32(IndexA); - } - if (HasIndexB) { - output.WriteRawTag(16); - output.WriteInt32(IndexB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasIndexA) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexA); - } - if (HasIndexB) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexB); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SwapPresetStatus other) { - if (other == null) { - return; - } - if (other.HasIndexA) { - IndexA = other.IndexA; - } - if (other.HasIndexB) { - IndexB = other.IndexB; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - IndexA = input.ReadInt32(); - break; - } - case 16: { - IndexB = input.ReadInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - IndexA = input.ReadInt32(); - break; - } - case 16: { - IndexB = input.ReadInt32(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: SwapPresetStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from SwapPresetStatus.proto +public static partial class SwapPresetStatusReflection { + + #region Descriptor + /// File descriptor for SwapPresetStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SwapPresetStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChZTd2FwUHJlc2V0U3RhdHVzLnByb3RvIjIKEFN3YXBQcmVzZXRTdGF0dXMS", + "DgoGaW5kZXhBGAEgAigFEg4KBmluZGV4QhgCIAIoBQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::SwapPresetStatus), global::SwapPresetStatus.Parser, new[]{ "IndexA", "IndexB" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class SwapPresetStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SwapPresetStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::SwapPresetStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SwapPresetStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SwapPresetStatus(SwapPresetStatus other) : this() { + _hasBits0 = other._hasBits0; + indexA_ = other.indexA_; + indexB_ = other.indexB_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SwapPresetStatus Clone() { + return new SwapPresetStatus(this); + } + + /// Field number for the "indexA" field. + public const int IndexAFieldNumber = 1; + private readonly static int IndexADefaultValue = 0; + + private int indexA_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IndexA { + get { if ((_hasBits0 & 1) != 0) { return indexA_; } else { return IndexADefaultValue; } } + set { + _hasBits0 |= 1; + indexA_ = value; + } + } + /// Gets whether the "indexA" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndexA { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "indexA" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndexA() { + _hasBits0 &= ~1; + } + + /// Field number for the "indexB" field. + public const int IndexBFieldNumber = 2; + private readonly static int IndexBDefaultValue = 0; + + private int indexB_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IndexB { + get { if ((_hasBits0 & 2) != 0) { return indexB_; } else { return IndexBDefaultValue; } } + set { + _hasBits0 |= 2; + indexB_ = value; + } + } + /// Gets whether the "indexB" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIndexB { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "indexB" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIndexB() { + _hasBits0 &= ~2; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SwapPresetStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SwapPresetStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IndexA != other.IndexA) return false; + if (IndexB != other.IndexB) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasIndexA) hash ^= IndexA.GetHashCode(); + if (HasIndexB) hash ^= IndexB.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasIndexA) { + output.WriteRawTag(8); + output.WriteInt32(IndexA); + } + if (HasIndexB) { + output.WriteRawTag(16); + output.WriteInt32(IndexB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasIndexA) { + output.WriteRawTag(8); + output.WriteInt32(IndexA); + } + if (HasIndexB) { + output.WriteRawTag(16); + output.WriteInt32(IndexB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasIndexA) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexA); + } + if (HasIndexB) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IndexB); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SwapPresetStatus other) { + if (other == null) { + return; + } + if (other.HasIndexA) { + IndexA = other.IndexA; + } + if (other.HasIndexB) { + IndexB = other.IndexB; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + IndexA = input.ReadInt32(); + break; + } + case 16: { + IndexB = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + IndexA = input.ReadInt32(); + break; + } + case 16: { + IndexB = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/UnsupportedMessageStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UnsupportedMessageStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/UnsupportedMessageStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UnsupportedMessageStatus.cs index fcf0afc..bf84ae6 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/UnsupportedMessageStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UnsupportedMessageStatus.cs @@ -1,263 +1,263 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: UnsupportedMessageStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from UnsupportedMessageStatus.proto -public static partial class UnsupportedMessageStatusReflection { - - #region Descriptor - /// File descriptor for UnsupportedMessageStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static UnsupportedMessageStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "Ch5VbnN1cHBvcnRlZE1lc3NhZ2VTdGF0dXMucHJvdG8iNgoYVW5zdXBwb3J0", - "ZWRNZXNzYWdlU3RhdHVzEhoKBnN0YXR1cxgBIAIoDjIKLkVycm9yVHlwZSqK", - "AQoJRXJyb3JUeXBlEg8KC1VOU1VQUE9SVEVEEAASCgoGRkFJTEVEEAESEQoN", - "SU5WQUxJRF9QQVJBTRACEhMKD0lOVkFMSURfTk9ERV9JRBADEhcKE1BBUkFN", - "X09VVF9PRl9CT1VORFMQBBIfChtGQUNUT1JZX1JFU1RPUkVfSU5fUFJPR1JF", - "U1MQBQ==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ErrorType), }, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::UnsupportedMessageStatus), global::UnsupportedMessageStatus.Parser, new[]{ "Status" }, null, null, null, null) - })); - } - #endregion - -} -#region Enums -public enum ErrorType { - [pbr::OriginalName("UNSUPPORTED")] Unsupported = 0, - [pbr::OriginalName("FAILED")] Failed = 1, - [pbr::OriginalName("INVALID_PARAM")] InvalidParam = 2, - [pbr::OriginalName("INVALID_NODE_ID")] InvalidNodeId = 3, - [pbr::OriginalName("PARAM_OUT_OF_BOUNDS")] ParamOutOfBounds = 4, - [pbr::OriginalName("FACTORY_RESTORE_IN_PROGRESS")] FactoryRestoreInProgress = 5, -} - -#endregion - -#region Messages -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class UnsupportedMessageStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsupportedMessageStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::UnsupportedMessageStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UnsupportedMessageStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UnsupportedMessageStatus(UnsupportedMessageStatus other) : this() { - _hasBits0 = other._hasBits0; - status_ = other.status_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UnsupportedMessageStatus Clone() { - return new UnsupportedMessageStatus(this); - } - - /// Field number for the "status" field. - public const int StatusFieldNumber = 1; - private readonly static global::ErrorType StatusDefaultValue = global::ErrorType.Unsupported; - - private global::ErrorType status_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::ErrorType Status { - get { if ((_hasBits0 & 1) != 0) { return status_; } else { return StatusDefaultValue; } } - set { - _hasBits0 |= 1; - status_ = value; - } - } - /// Gets whether the "status" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasStatus { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "status" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearStatus() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as UnsupportedMessageStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UnsupportedMessageStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Status != other.Status) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasStatus) hash ^= Status.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasStatus) { - output.WriteRawTag(8); - output.WriteEnum((int) Status); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasStatus) { - output.WriteRawTag(8); - output.WriteEnum((int) Status); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasStatus) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UnsupportedMessageStatus other) { - if (other == null) { - return; - } - if (other.HasStatus) { - Status = other.Status; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Status = (global::ErrorType) input.ReadEnum(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Status = (global::ErrorType) input.ReadEnum(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: UnsupportedMessageStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from UnsupportedMessageStatus.proto +public static partial class UnsupportedMessageStatusReflection { + + #region Descriptor + /// File descriptor for UnsupportedMessageStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UnsupportedMessageStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch5VbnN1cHBvcnRlZE1lc3NhZ2VTdGF0dXMucHJvdG8iNgoYVW5zdXBwb3J0", + "ZWRNZXNzYWdlU3RhdHVzEhoKBnN0YXR1cxgBIAIoDjIKLkVycm9yVHlwZSqK", + "AQoJRXJyb3JUeXBlEg8KC1VOU1VQUE9SVEVEEAASCgoGRkFJTEVEEAESEQoN", + "SU5WQUxJRF9QQVJBTRACEhMKD0lOVkFMSURfTk9ERV9JRBADEhcKE1BBUkFN", + "X09VVF9PRl9CT1VORFMQBBIfChtGQUNUT1JZX1JFU1RPUkVfSU5fUFJPR1JF", + "U1MQBQ==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ErrorType), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::UnsupportedMessageStatus), global::UnsupportedMessageStatus.Parser, new[]{ "Status" }, null, null, null, null) + })); + } + #endregion + +} +#region Enums +public enum ErrorType { + [pbr::OriginalName("UNSUPPORTED")] Unsupported = 0, + [pbr::OriginalName("FAILED")] Failed = 1, + [pbr::OriginalName("INVALID_PARAM")] InvalidParam = 2, + [pbr::OriginalName("INVALID_NODE_ID")] InvalidNodeId = 3, + [pbr::OriginalName("PARAM_OUT_OF_BOUNDS")] ParamOutOfBounds = 4, + [pbr::OriginalName("FACTORY_RESTORE_IN_PROGRESS")] FactoryRestoreInProgress = 5, +} + +#endregion + +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UnsupportedMessageStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsupportedMessageStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::UnsupportedMessageStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsupportedMessageStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsupportedMessageStatus(UnsupportedMessageStatus other) : this() { + _hasBits0 = other._hasBits0; + status_ = other.status_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsupportedMessageStatus Clone() { + return new UnsupportedMessageStatus(this); + } + + /// Field number for the "status" field. + public const int StatusFieldNumber = 1; + private readonly static global::ErrorType StatusDefaultValue = global::ErrorType.Unsupported; + + private global::ErrorType status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ErrorType Status { + get { if ((_hasBits0 & 1) != 0) { return status_; } else { return StatusDefaultValue; } } + set { + _hasBits0 |= 1; + status_ = value; + } + } + /// Gets whether the "status" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStatus { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "status" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStatus() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UnsupportedMessageStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsupportedMessageStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Status != other.Status) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasStatus) hash ^= Status.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasStatus) { + output.WriteRawTag(8); + output.WriteEnum((int) Status); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasStatus) { + output.WriteRawTag(8); + output.WriteEnum((int) Status); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasStatus) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsupportedMessageStatus other) { + if (other == null) { + return; + } + if (other.HasStatus) { + Status = other.Status; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Status = (global::ErrorType) input.ReadEnum(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Status = (global::ErrorType) input.ReadEnum(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/UsbGainRequest.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UsbGainRequest.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/UsbGainRequest.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UsbGainRequest.cs index ce05449..a28d4ca 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/UsbGainRequest.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UsbGainRequest.cs @@ -1,253 +1,253 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: UsbGainRequest.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from UsbGainRequest.proto -public static partial class UsbGainRequestReflection { - - #region Descriptor - /// File descriptor for UsbGainRequest.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static UsbGainRequestReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChRVc2JHYWluUmVxdWVzdC5wcm90byIhCg5Vc2JHYWluUmVxdWVzdBIPCgdy", - "ZXF1ZXN0GAEgAigI")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::UsbGainRequest), global::UsbGainRequest.Parser, new[]{ "Request" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Gets the current USB Gain settings -/// -/// response: UsbGainStatus message -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class UsbGainRequest : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UsbGainRequest()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::UsbGainRequestReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UsbGainRequest() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UsbGainRequest(UsbGainRequest other) : this() { - _hasBits0 = other._hasBits0; - request_ = other.request_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UsbGainRequest Clone() { - return new UsbGainRequest(this); - } - - /// Field number for the "request" field. - public const int RequestFieldNumber = 1; - private readonly static bool RequestDefaultValue = false; - - private bool request_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Request { - get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } - set { - _hasBits0 |= 1; - request_ = value; - } - } - /// Gets whether the "request" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRequest { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "request" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRequest() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as UsbGainRequest); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UsbGainRequest other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Request != other.Request) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasRequest) hash ^= Request.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasRequest) { - output.WriteRawTag(8); - output.WriteBool(Request); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasRequest) { - size += 1 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UsbGainRequest other) { - if (other == null) { - return; - } - if (other.HasRequest) { - Request = other.Request; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Request = input.ReadBool(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: UsbGainRequest.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from UsbGainRequest.proto +public static partial class UsbGainRequestReflection { + + #region Descriptor + /// File descriptor for UsbGainRequest.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UsbGainRequestReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChRVc2JHYWluUmVxdWVzdC5wcm90byIhCg5Vc2JHYWluUmVxdWVzdBIPCgdy", + "ZXF1ZXN0GAEgAigI")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::UsbGainRequest), global::UsbGainRequest.Parser, new[]{ "Request" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Gets the current USB Gain settings +/// +/// response: UsbGainStatus message +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UsbGainRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UsbGainRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::UsbGainRequestReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UsbGainRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UsbGainRequest(UsbGainRequest other) : this() { + _hasBits0 = other._hasBits0; + request_ = other.request_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UsbGainRequest Clone() { + return new UsbGainRequest(this); + } + + /// Field number for the "request" field. + public const int RequestFieldNumber = 1; + private readonly static bool RequestDefaultValue = false; + + private bool request_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Request { + get { if ((_hasBits0 & 1) != 0) { return request_; } else { return RequestDefaultValue; } } + set { + _hasBits0 |= 1; + request_ = value; + } + } + /// Gets whether the "request" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRequest { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "request" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRequest() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UsbGainRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UsbGainRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Request != other.Request) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasRequest) hash ^= Request.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasRequest) { + output.WriteRawTag(8); + output.WriteBool(Request); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasRequest) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UsbGainRequest other) { + if (other == null) { + return; + } + if (other.HasRequest) { + Request = other.Request; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + Request = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/UsbGainSet.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UsbGainSet.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/UsbGainSet.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UsbGainSet.cs index 0988a97..6bcb603 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/UsbGainSet.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UsbGainSet.cs @@ -1,254 +1,254 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: UsbGainSet.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from UsbGainSet.proto -public static partial class UsbGainSetReflection { - - #region Descriptor - /// File descriptor for UsbGainSet.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static UsbGainSetReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChBVc2JHYWluU2V0LnByb3RvIh0KClVzYkdhaW5TZXQSDwoHdmFsdWVEQhgB", - "IAIoAg==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::UsbGainSet), global::UsbGainSet.Parser, new[]{ "ValueDB" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// Sets the gain for the USB audio device -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class UsbGainSet : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UsbGainSet()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::UsbGainSetReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UsbGainSet() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UsbGainSet(UsbGainSet other) : this() { - _hasBits0 = other._hasBits0; - valueDB_ = other.valueDB_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UsbGainSet Clone() { - return new UsbGainSet(this); - } - - /// Field number for the "valueDB" field. - public const int ValueDBFieldNumber = 1; - private readonly static float ValueDBDefaultValue = 0F; - - private float valueDB_; - /// - /// gain in dB - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float ValueDB { - get { if ((_hasBits0 & 1) != 0) { return valueDB_; } else { return ValueDBDefaultValue; } } - set { - _hasBits0 |= 1; - valueDB_ = value; - } - } - /// Gets whether the "valueDB" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasValueDB { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "valueDB" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearValueDB() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as UsbGainSet); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UsbGainSet other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueDB, other.ValueDB)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasValueDB) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueDB); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasValueDB) { - output.WriteRawTag(13); - output.WriteFloat(ValueDB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasValueDB) { - output.WriteRawTag(13); - output.WriteFloat(ValueDB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasValueDB) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UsbGainSet other) { - if (other == null) { - return; - } - if (other.HasValueDB) { - ValueDB = other.ValueDB; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 13: { - ValueDB = input.ReadFloat(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 13: { - ValueDB = input.ReadFloat(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: UsbGainSet.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from UsbGainSet.proto +public static partial class UsbGainSetReflection { + + #region Descriptor + /// File descriptor for UsbGainSet.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UsbGainSetReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChBVc2JHYWluU2V0LnByb3RvIh0KClVzYkdhaW5TZXQSDwoHdmFsdWVEQhgB", + "IAIoAg==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::UsbGainSet), global::UsbGainSet.Parser, new[]{ "ValueDB" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// Sets the gain for the USB audio device +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UsbGainSet : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UsbGainSet()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::UsbGainSetReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UsbGainSet() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UsbGainSet(UsbGainSet other) : this() { + _hasBits0 = other._hasBits0; + valueDB_ = other.valueDB_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UsbGainSet Clone() { + return new UsbGainSet(this); + } + + /// Field number for the "valueDB" field. + public const int ValueDBFieldNumber = 1; + private readonly static float ValueDBDefaultValue = 0F; + + private float valueDB_; + /// + /// gain in dB + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ValueDB { + get { if ((_hasBits0 & 1) != 0) { return valueDB_; } else { return ValueDBDefaultValue; } } + set { + _hasBits0 |= 1; + valueDB_ = value; + } + } + /// Gets whether the "valueDB" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasValueDB { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "valueDB" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearValueDB() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UsbGainSet); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UsbGainSet other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueDB, other.ValueDB)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasValueDB) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueDB); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasValueDB) { + output.WriteRawTag(13); + output.WriteFloat(ValueDB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasValueDB) { + output.WriteRawTag(13); + output.WriteFloat(ValueDB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasValueDB) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UsbGainSet other) { + if (other == null) { + return; + } + if (other.HasValueDB) { + ValueDB = other.ValueDB; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + ValueDB = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + ValueDB = input.ReadFloat(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Lib/Model/Protobuf/UsbGainStatus.cs b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UsbGainStatus.cs similarity index 97% rename from LtDotNet/LtDotNet.Lib/Model/Protobuf/UsbGainStatus.cs rename to LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UsbGainStatus.cs index 0fd63fc..ebac228 100644 --- a/LtDotNet/LtDotNet.Lib/Model/Protobuf/UsbGainStatus.cs +++ b/LtAmpDotNet/LtAmpDotNet.Lib/Model/Protobuf/UsbGainStatus.cs @@ -1,254 +1,254 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: UsbGainStatus.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -/// Holder for reflection information generated from UsbGainStatus.proto -public static partial class UsbGainStatusReflection { - - #region Descriptor - /// File descriptor for UsbGainStatus.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static UsbGainStatusReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChNVc2JHYWluU3RhdHVzLnByb3RvIiAKDVVzYkdhaW5TdGF0dXMSDwoHdmFs", - "dWVEQhgBIAIoAg==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::UsbGainStatus), global::UsbGainStatus.Parser, new[]{ "ValueDB" }, null, null, null, null) - })); - } - #endregion - -} -#region Messages -/// -/// -/// The current setting of the gain for the USB audio device -/// -[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] -public sealed partial class UsbGainStatus : pb::IMessage -#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage -#endif -{ - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UsbGainStatus()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::UsbGainStatusReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UsbGainStatus() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UsbGainStatus(UsbGainStatus other) : this() { - _hasBits0 = other._hasBits0; - valueDB_ = other.valueDB_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public UsbGainStatus Clone() { - return new UsbGainStatus(this); - } - - /// Field number for the "valueDB" field. - public const int ValueDBFieldNumber = 1; - private readonly static float ValueDBDefaultValue = 0F; - - private float valueDB_; - /// - /// gain in dB - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public float ValueDB { - get { if ((_hasBits0 & 1) != 0) { return valueDB_; } else { return ValueDBDefaultValue; } } - set { - _hasBits0 |= 1; - valueDB_ = value; - } - } - /// Gets whether the "valueDB" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasValueDB { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "valueDB" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearValueDB() { - _hasBits0 &= ~1; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as UsbGainStatus); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(UsbGainStatus other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueDB, other.ValueDB)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasValueDB) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueDB); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasValueDB) { - output.WriteRawTag(13); - output.WriteFloat(ValueDB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasValueDB) { - output.WriteRawTag(13); - output.WriteFloat(ValueDB); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasValueDB) { - size += 1 + 4; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(UsbGainStatus other) { - if (other == null) { - return; - } - if (other.HasValueDB) { - ValueDB = other.ValueDB; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 13: { - ValueDB = input.ReadFloat(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 13: { - ValueDB = input.ReadFloat(); - break; - } - } - } - } - #endif - -} - -#endregion - - -#endregion Designer generated code +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: UsbGainStatus.proto +// +#pragma warning disable 1591, 0612, 3021, 8981 +#region Designer generated code + +using pb = global::Google.Protobuf; +using pbc = global::Google.Protobuf.Collections; +using pbr = global::Google.Protobuf.Reflection; +using scg = global::System.Collections.Generic; +/// Holder for reflection information generated from UsbGainStatus.proto +public static partial class UsbGainStatusReflection { + + #region Descriptor + /// File descriptor for UsbGainStatus.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UsbGainStatusReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChNVc2JHYWluU3RhdHVzLnByb3RvIiAKDVVzYkdhaW5TdGF0dXMSDwoHdmFs", + "dWVEQhgBIAIoAg==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::UsbGainStatus), global::UsbGainStatus.Parser, new[]{ "ValueDB" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +/// +/// The current setting of the gain for the USB audio device +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UsbGainStatus : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UsbGainStatus()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::UsbGainStatusReflection.Descriptor.MessageTypes[0]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UsbGainStatus() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UsbGainStatus(UsbGainStatus other) : this() { + _hasBits0 = other._hasBits0; + valueDB_ = other.valueDB_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UsbGainStatus Clone() { + return new UsbGainStatus(this); + } + + /// Field number for the "valueDB" field. + public const int ValueDBFieldNumber = 1; + private readonly static float ValueDBDefaultValue = 0F; + + private float valueDB_; + /// + /// gain in dB + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float ValueDB { + get { if ((_hasBits0 & 1) != 0) { return valueDB_; } else { return ValueDBDefaultValue; } } + set { + _hasBits0 |= 1; + valueDB_ = value; + } + } + /// Gets whether the "valueDB" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasValueDB { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "valueDB" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearValueDB() { + _hasBits0 &= ~1; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UsbGainStatus); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UsbGainStatus other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueDB, other.ValueDB)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (HasValueDB) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueDB); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (HasValueDB) { + output.WriteRawTag(13); + output.WriteFloat(ValueDB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (HasValueDB) { + output.WriteRawTag(13); + output.WriteFloat(ValueDB); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (HasValueDB) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UsbGainStatus other) { + if (other == null) { + return; + } + if (other.HasValueDB) { + ValueDB = other.ValueDB; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 13: { + ValueDB = input.ReadFloat(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 13: { + ValueDB = input.ReadFloat(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/LtDotNet/LtDotNet.Tests/ConnectedTests.cs b/LtAmpDotNet/LtAmpDotNet.Tests/InitializationTests.cs similarity index 57% rename from LtDotNet/LtDotNet.Tests/ConnectedTests.cs rename to LtAmpDotNet/LtAmpDotNet.Tests/InitializationTests.cs index e04eaa6..be62b0e 100644 --- a/LtDotNet/LtDotNet.Tests/ConnectedTests.cs +++ b/LtAmpDotNet/LtAmpDotNet.Tests/InitializationTests.cs @@ -1,22 +1,38 @@ -using LtDotNet.Lib; +using HidSharp; +using LtAmpDotNet.Lib; +using LtAmpDotNet.Lib.Device; +using LtAmpDotNet.Lib.Model.Preset; +using LtAmpDotNet.Tests.Mock; +using Moq; using Newtonsoft.Json; using NUnit.Framework.Constraints; using System.Security.Cryptography.X509Certificates; -namespace LtDotNet.Tests +namespace LtAmpDotNet.Tests { - public class ConnectedTests + [TestFixture] + public class InitializationTests { - private LtDevice amp; - private ExpectedValues expectedValues; + private LtAmpDevice amp; + private MockDeviceState mockDeviceState; public delegate void TestCallback(bool isConnected); - [SetUp] + [OneTimeSetUp] public void Setup() { - expectedValues = ExpectedValues.Load(); - amp = new LtDevice(); + mockDeviceState = MockDeviceState.Load(); + amp = new LtAmpDevice(new MockHidDevice(mockDeviceState)); + } + + [OneTimeTearDown] + public void Teardown() + { + if(amp.IsOpen) + { + amp.Close(); + } + amp.Dispose(); } public void Open(TestCallback callback) @@ -24,47 +40,50 @@ public void Open(TestCallback callback) amp.DeviceConnected += (sender, eventArgs) => { callback(true); }; amp.Open(); } - + + [Test] + [Category("Initialization")] + [Order(1)] public void OpenAndConnect() { - if (!amp.IsOpen) + var wait = new AutoResetEvent(false); + List messages = new List(); + amp.MessageReceived += (message) => { - var wait = new AutoResetEvent(false); - Open(callback => + if(!(message.TypeCase == FenderMessageLT.TypeOneofCase.ModalStatusMessage && message.ModalStatusMessage.Context == ModalContext.SyncBegin)) { - wait.Set(); - }); - Assert.IsTrue(wait.WaitOne(TimeSpan.FromSeconds(5))); - } - else + messages.Add(message); + } + wait.Set(); + }; + + Open(callback => { - Assert.IsTrue(amp.IsOpen); + wait.Set(); + }); + for (var i = 0; i < 5; i++) + { + wait.WaitOne(TimeSpan.FromSeconds(5)); + Assert.That(messages[i].ToString(), Is.EqualTo(mockDeviceState?.initializationStrings![i])); } - } [Test] + [Category("Initialization")] + [Order(2)] public void LoadDspUnits() { - if (!amp.IsOpen) - { - var wait = new AutoResetEvent(false); - Open(callback => - { - wait.Set(); - }); - wait.WaitOne(TimeSpan.FromSeconds(5)); - } - var dspUnits = LtDevice.DspUnitDefinitions.GroupBy(x => x.Info.SubCategory).ToDictionary(y => y.Key, y => y.ToList()); - foreach (var unitType in dspUnits) + var dspUnits = LtAmpDevice.DspUnitDefinitions?.GroupBy(x => x.Info.SubCategory).ToDictionary(y => y.Key, y => y.ToList()); + foreach (var unitType in dspUnits!) { Console.WriteLine($"{unitType.Key}: {unitType.Value.Count}"); } - Assert.IsTrue(LtDevice.DspUnitDefinitions.Count > 0); + Assert.IsTrue(LtAmpDevice.DspUnitDefinitions?.Count > 0); } [Test] + [Category("Device Information")] public void GetFirmwareVersion() { var wait = new AutoResetEvent(false); @@ -86,13 +105,12 @@ public void GetFirmwareVersion() }; amp.GetFirmwareVersion(); wait.WaitOne(TimeSpan.FromSeconds(5)); - Console.WriteLine($"Firmware Version: {LtDevice.DeviceInfo.FirmwareVersion}"); Console.WriteLine($"Message data: {messageVersion}"); - Assert.That(messageVersion, Is.EqualTo(LtDevice.DeviceInfo.FirmwareVersion)); - Assert.That(messageVersion, Is.EqualTo(expectedValues.firmwareVersion)); + Assert.That(messageVersion, Is.EqualTo(mockDeviceState.firmwareVersion)); } [Test] + [Category("Device Information")] public void GetProductInformationVersion() { var wait = new AutoResetEvent(false); @@ -114,13 +132,12 @@ public void GetProductInformationVersion() }; amp.GetProductIdentification(); wait.WaitOne(TimeSpan.FromSeconds(5)); - Console.WriteLine($"ProductId: {LtDevice.DeviceInfo.ProductId}"); Console.WriteLine($"Message data: {messageId}"); - Assert.That(messageId, Is.EqualTo(LtDevice.DeviceInfo.ProductId)); - Assert.That(messageId, Is.EqualTo(expectedValues.productId)); + Assert.That(messageId, Is.EqualTo(mockDeviceState.productId)); } [Test] + [Category("Device Settings")] public void SetFootswitch() { var wait = new AutoResetEvent(false); @@ -134,23 +151,21 @@ public void SetFootswitch() wait.Reset(); } - uint slotA = 0; - uint slotB = 0; + uint[] slots = {0, 0}; amp.QASlotsStatusMessageReceived += (message) => { - slotA = message.Slots[0]; - slotB = message.Slots[1]; + slots = message.Slots.ToArray(); wait.Set(); }; - amp.SetQASlots(new uint[] { expectedValues.slotA, expectedValues.slotB }); + amp.SetQASlots(mockDeviceState?.qaSlots!); wait.WaitOne(TimeSpan.FromSeconds(5)); - Console.Write($"Slot A: {expectedValues.slotA}, {slotA}"); - Console.Write($"Slot B: {expectedValues.slotB}, {slotB}"); - Assert.That(slotA, Is.EqualTo(expectedValues.slotA)); - Assert.That(slotB, Is.EqualTo(expectedValues.slotB)); + Console.Write($"Slot A: {mockDeviceState?.qaSlots![0]}, {slots[0]}"); + Console.Write($"Slot A: {mockDeviceState?.qaSlots![1]}, {slots[1]}"); + Assert.That(slots, Is.EqualTo(mockDeviceState?.qaSlots)); } [Test] + [Category("Device Settings")] public void SetUsbGain() { var wait = new AutoResetEvent(false); @@ -170,13 +185,48 @@ public void SetUsbGain() valueDb = message.ValueDB; wait.Set(); }; - amp.SetUsbGain(expectedValues.usbGain); + amp.SetUsbGain(mockDeviceState.usbGain.GetValueOrDefault()); + wait.WaitOne(TimeSpan.FromSeconds(5)); + Console.Write($"USB Gain: {mockDeviceState.usbGain}"); + Assert.That(valueDb, Is.InRange(mockDeviceState.usbGain - 0.01, mockDeviceState.usbGain + 0.01)); + } + + + [Test, Explicit] + [Category("Device Information")] + public void GetPreset([Range(1,60)] int index) + { + var wait = new AutoResetEvent(false); + if (!amp.IsOpen) + { + Open(callback => + { + wait.Set(); + }); + wait.WaitOne(TimeSpan.FromSeconds(5)); + wait.Reset(); + } + + int slotIndex = 0; + Preset? preset = null; + amp.PresetJSONMessageReceived += (message) => + { + slotIndex = message.SlotIndex; + preset = JsonConvert.DeserializeObject(message.Data); + wait.Set(); + }; + amp.GetPreset(index); + Preset? expectedPreset = JsonConvert.DeserializeObject(mockDeviceState?.Presets![slotIndex - 1]!); wait.WaitOne(TimeSpan.FromSeconds(5)); - Console.Write($"USB Gain: {expectedValues.usbGain}"); - Assert.That(valueDb, Is.InRange(expectedValues.usbGain - 0.01, expectedValues.usbGain + 0.01)); + Console.WriteLine($"Slot Index: {slotIndex}"); + Console.WriteLine(JsonConvert.SerializeObject(preset, Formatting.Indented)); + Assert.That(index, Is.EqualTo(slotIndex)); + Assert.That(preset, Is.Not.Null.And.InstanceOf()); + Assert.That(preset.Info.DisplayName, Is.EqualTo(expectedPreset?.Info.DisplayName)); } [Test] + [Category("Device Settings")] public void Tuner() { var wait = new AutoResetEvent(false); @@ -210,26 +260,6 @@ public void Tuner() Console.WriteLine($"{(ModalContext)modalContextReceived}: {(ModalState)modalStateReceived}"); Assert.That((ModalContext)modalContextReceived, Is.EqualTo(ModalContext.TunerDisable)); Assert.That((ModalState)modalStateReceived, Is.EqualTo(ModalState.Ok)); - - - } - } - - - public class ExpectedValues - { - public string firmwareVersion { get; set; } - public string productId { get; set; } - public uint slotA { get; set; } - public uint slotB { get; set; } - public float usbGain { get; set; } - - public static ExpectedValues Load() - { - var filePath = Path.Join(Environment.CurrentDirectory, "expectedValues.json"); - return JsonConvert.DeserializeObject(File.ReadAllText(filePath)); - } } - } \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Tests/LtDotNet.Tests.csproj b/LtAmpDotNet/LtAmpDotNet.Tests/LtAmpDotNet.Tests.csproj similarity index 72% rename from LtDotNet/LtDotNet.Tests/LtDotNet.Tests.csproj rename to LtAmpDotNet/LtAmpDotNet.Tests/LtAmpDotNet.Tests.csproj index 0201804..7ad18c6 100644 --- a/LtDotNet/LtDotNet.Tests/LtDotNet.Tests.csproj +++ b/LtAmpDotNet/LtAmpDotNet.Tests/LtAmpDotNet.Tests.csproj @@ -1,29 +1,34 @@ - - - - net6.0 - enable - enable - - false - - - - - - - - - - - - - - - - - Always - - - - + + + + net6.0 + enable + enable + + false + + + + + + + + + + + + + + + + + + + + + + Always + + + + diff --git a/LtAmpDotNet/LtAmpDotNet.Tests/Mock/MockHidDevice.cs b/LtAmpDotNet/LtAmpDotNet.Tests/Mock/MockHidDevice.cs new file mode 100644 index 0000000..2c2b05c --- /dev/null +++ b/LtAmpDotNet/LtAmpDotNet.Tests/Mock/MockHidDevice.cs @@ -0,0 +1,91 @@ +using HidSharp; +using HidSharp.Reports; +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using LtAmpDotNet.Lib; +using LtAmpDotNet.Lib.Device; +using LtAmpDotNet.Lib.Model; +using Newtonsoft.Json; +using static LtAmpDotNet.Lib.LtAmpDevice; + +namespace LtAmpDotNet.Tests.Mock +{ + internal class MockHidDevice : IUsbAmpDevice + { + public MockDeviceState DeviceState; + private bool _isOpen; + public bool IsOpen => _isOpen; + public int? ReportLength => 65; + + public event EventHandler? Closed; + public event MessageReceivedEventHandler? MessageReceived; + public event MessageSentEventHandler? MessageSent; + + public MockHidDevice(MockDeviceState deviceState) + { + DeviceState = deviceState; + } + + public void Close() + { + _isOpen = false; + } + + public void Dispose() + { + _isOpen = false; + } + + public void Open() + { + } + + public void Write(FenderMessageLT message) + { + FenderMessageLT outMessage = new FenderMessageLT(); + MessageSent?.Invoke(message); + switch(message.TypeCase) + { + case FenderMessageLT.TypeOneofCase.FirmwareVersionRequest: + outMessage = MessageFactory.Create(new FirmwareVersionStatus() { Version = DeviceState.firmwareVersion }, ResponseType.IsLastAck); + MessageReceived?.Invoke(outMessage); + break; + case FenderMessageLT.TypeOneofCase.ProductIdentificationRequest: + outMessage = MessageFactory.Create(new ProductIdentificationStatus() { Id = DeviceState.productId }, ResponseType.IsLastAck); + MessageReceived?.Invoke(outMessage); + break; + case FenderMessageLT.TypeOneofCase.QASlotsRequest: + outMessage = MessageFactory.Create(new QASlotsStatus(), ResponseType.IsLastAck); + outMessage.QASlotsStatus.Slots.AddRange(DeviceState.qaSlots); + MessageReceived?.Invoke(outMessage); + break; + case FenderMessageLT.TypeOneofCase.QASlotsSet: + outMessage = MessageFactory.Create(new QASlotsStatus(), ResponseType.IsLastAck); + outMessage.QASlotsStatus.Slots.AddRange(message.QASlotsSet.Slots.ToArray()); + MessageReceived?.Invoke(outMessage); + break; + case FenderMessageLT.TypeOneofCase.UsbGainRequest: + outMessage = MessageFactory.Create(new UsbGainStatus() { ValueDB = DeviceState.usbGain.GetValueOrDefault() }, ResponseType.IsLastAck); + MessageReceived?.Invoke(outMessage); + break; + case FenderMessageLT.TypeOneofCase.UsbGainSet: + outMessage = MessageFactory.Create(new UsbGainStatus() { ValueDB = message.UsbGainSet.ValueDB }, ResponseType.IsLastAck); + MessageReceived?.Invoke(outMessage); + break; + case FenderMessageLT.TypeOneofCase.ModalStatusMessage: + outMessage = MessageFactory.Create(new ModalStatusMessage() { Context = message.ModalStatusMessage.Context, State = ModalState.Ok }, ResponseType.IsLastAck); + MessageReceived?.Invoke(outMessage); + break; + case FenderMessageLT.TypeOneofCase.RetrievePreset: + var index = message.RetrievePreset.Slot; + outMessage = MessageFactory.Create(new PresetJSONMessage() { Data = DeviceState?.Presets![index - 1], SlotIndex = index }); + MessageReceived?.Invoke(outMessage); + break; + } + } + } +} diff --git a/LtAmpDotNet/LtAmpDotNet.Tests/MockDeviceState.cs b/LtAmpDotNet/LtAmpDotNet.Tests/MockDeviceState.cs new file mode 100644 index 0000000..3d2d3f7 --- /dev/null +++ b/LtAmpDotNet/LtAmpDotNet.Tests/MockDeviceState.cs @@ -0,0 +1,26 @@ +using LtAmpDotNet.Lib; +using LtAmpDotNet.Lib.Model.Preset; +using Newtonsoft.Json; +using NUnit.Framework.Constraints; +using System.Security.Cryptography.X509Certificates; + +namespace LtAmpDotNet.Tests +{ + public class MockDeviceState + { + public List? initializationStrings { get; set; } + public string? firmwareVersion { get; set; } + public string? productId { get; set; } + public uint[]? qaSlots { get; set; } + public float? usbGain { get; set; } + public List? Presets { get; set; } + public ModalContext? modalContext { get; set; } + + public static MockDeviceState Load() + { + var filePath = Path.Join(Environment.CurrentDirectory, "mockAmpState.json"); + return JsonConvert.DeserializeObject(File.ReadAllText(filePath)); + + } + } +} \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Tests/README.md b/LtAmpDotNet/LtAmpDotNet.Tests/README.md similarity index 98% rename from LtDotNet/LtDotNet.Tests/README.md rename to LtAmpDotNet/LtAmpDotNet.Tests/README.md index 8deefda..5a102be 100644 --- a/LtDotNet/LtDotNet.Tests/README.md +++ b/LtAmpDotNet/LtAmpDotNet.Tests/README.md @@ -1,3 +1,3 @@ -These tests currently require the amp to be connected to run. - +These tests currently require the amp to be connected to run. + I am planning on mocking the amp class to create more unit test coverage. \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Tests/Usings.cs b/LtAmpDotNet/LtAmpDotNet.Tests/Usings.cs similarity index 100% rename from LtDotNet/LtDotNet.Tests/Usings.cs rename to LtAmpDotNet/LtAmpDotNet.Tests/Usings.cs diff --git a/LtAmpDotNet/LtAmpDotNet.Tests/mockAmpState.json b/LtAmpDotNet/LtAmpDotNet.Tests/mockAmpState.json new file mode 100644 index 0000000..1778b82 --- /dev/null +++ b/LtAmpDotNet/LtAmpDotNet.Tests/mockAmpState.json @@ -0,0 +1,80 @@ +{ + "initializationStrings": [ + "{ \"responseType\": \"IS_LAST_ACK\", \"firmwareVersionStatus\": { \"version\": \"2.1.4\" } }", + "{ \"responseType\": \"IS_LAST_ACK\", \"productIdentificationStatus\": { \"id\": \"mustang-lt-25\" } }", + "{ \"responseType\": \"IS_LAST_ACK\", \"qASlotsStatus\": { \"slots\": [ 4, 5 ] } }", + "{ \"responseType\": \"IS_LAST_ACK\", \"usbGainStatus\": { \"valueDB\": 0.5 } }", + "{ \"responseType\": \"IS_LAST_ACK\", \"modalStatusMessage\": { \"context\": \"SYNC_END\", \"state\": \"OK\" } }" + ], + "firmwareVersion": "2.1.4", + "productId": "mustang-lt-25", + "modalContext": 0, + "qaSlots": [ 4, 5 ], + "usbGain": 0.5, + "currentLoadedPreset": 1, + "currentDiaplayedPreset": 1, + "isAuditioning": false, + "isPresetEdited": false, + "presets": [ + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"60S FUZZ \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_VariFuzz\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.100000, \"gain\": 1, \"tone\": \"normal\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Plexi87\", \"dspUnitParameters\": { \"volume\": -8.539506, \"gatePreset\": \"low\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12g2\", \"gain\": 0.407227, \"treb\": 0.422222, \"mid\": 0.855556, \"bass\": 0.983398, \"sag\": \"match\", \"bias\": 0.500000, \"presence\": 0.500000, \"blend\": 0.500000 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_TapeDelayLite\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.156400, \"dlyTime\": 0.315751, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"feedback\": 0.250000, \"stereoSpread\": 0, \"wowLevel\": 0.722222 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargePlate\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.344444, \"decay\": 0.500000, \"dwell\": 0.500000, \"diffuse\": 0.500000, \"tone\": 0.500000 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"ACOUSTICSIM \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"none\", \"treb\": 0.611111, \"mid\": 0, \"volume\": -2.06803, \"gateDetectorPosition\": \"jack\", \"gain\": 0.5, \"gatePreset\": \"off\", \"bass\": 0.322222 }, \"FenderId\": \"DUBS_LinearGain\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.722222, \"decay\": 0.2, \"level\": 0.3562, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.0222 }, \"FenderId\": \"DUBS_LargeHallReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"highmid\": 0, \"lowmid\": 2.5, \"mid\": -12, \"high\": 12, \"low\": 12, \"bypass\": false, \"gain\": 0 }, \"FenderId\": \"DUBS_MustangFiveBandEq1\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"info\": { \"displayName\": \"ANGRY CHAMP \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"57champ\", \"treb\": 0.498039, \"sag\": \"match\", \"mid\": 0.5, \"volume\": -12.935837, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.466667, \"gatePreset\": \"off\", \"bass\": 0.5 }, \"FenderId\": \"DUBS_Champ57\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.333, \"gain\": 0.388889, \"bypass\": false, \"level\": -30 }, \"FenderId\": \"DUBS_Blackbox\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.5, \"decay\": 0.5, \"level\": 0.5, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_SmallRoomReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"wowLevel\": 0.5, \"feedback\": 0.25, \"tapTimeBPM\": 120, \"dlyTime\": 0.4, \"bypass\": false, \"wetLvl\": 0.1453, \"stereoSpread\": 0 }, \"FenderId\": \"DUBS_TapeDelayLite\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"BACK IN BLACK \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Plexi87\", \"dspUnitParameters\": { \"volume\": -13.573416, \"gatePreset\": \"low\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12g2\", \"gain\": 0.188889, \"treb\": 0.377778, \"mid\": 0.788889, \"bass\": 0.333333, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.5, \"blend\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MustangFiveBandEq1\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"low\": 12, \"lowmid\": 12, \"mid\": 12, \"highmid\": 12, \"high\": 12, \"gain\": 0 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SmallRoomReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.5, \"decay\": 0.5, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 0.5 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"BLACK DOG \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Ac30Tb\", \"dspUnitParameters\": { \"volume\": -8.263186, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"2x12c\", \"gain\": 1, \"treb\": 0.777778, \"mid\": 0.711111, \"bass\": 0.555556, \"sag\": \"match\", \"bias\": 0.5, \"master\": 0.376471, \"cut\": 0.5, \"bright\": true } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_ChorusTriangle\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.252829, \"rateHz\": 0.106745, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"depth\": 0.966667, \"lrPhase\": 0.5, \"avgDelay\": 0.22 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MonoDelay\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.477778, \"time\": 0.092, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"feedback\": 0, \"brite\": 0.466667, \"attenuate\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SmallRoomReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.2785, \"decay\": 0.5, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SimpleCompressor\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"type\": \"high\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"BLUES LEAD \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.666667, \"level\": -12, \"gain\": 0.69, \"bypass\": false, \"blend\": 0.844444 }, \"FenderId\": \"DUBS_Greenbox\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": {}, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"cabsimType\": \"57dlx\", \"treb\": 0.72, \"sag\": \"match\", \"mid\": 0.5, \"volume\": -8.573037, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.6, \"gatePreset\": \"off\", \"bass\": 0.5 }, \"FenderId\": \"DUBS_Deluxe57\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": {}, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 1, \"decay\": 1, \"level\": 0.5, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_SmallRoomReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"info\": { \"displayName\": \"BLUES LEAD 2 \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"65dlx\", \"treb\": 0.560784, \"sag\": \"match\", \"mid\": 0.444444, \"volume\": -12.380827, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.254883, \"gatePreset\": \"off\", \"bass\": 0.411111 }, \"FenderId\": \"DUBS_Deluxe65\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.722222, \"level\": -8.4, \"gain\": 0.533333, \"bypass\": false, \"blend\": 0.844444 }, \"FenderId\": \"DUBS_Greenbox\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.5, \"decay\": 0.5, \"level\": 0.4339, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_SmallRoomReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"info\": { \"displayName\": \"BRIGHT PRINCE \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"65prince\", \"treb\": 0.777778, \"sag\": \"match\", \"mid\": 0.233333, \"volume\": -6.229831, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.311111, \"gatePreset\": \"off\", \"bass\": 0.144444 }, \"FenderId\": \"DUBS_Princeton65\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 1, \"decay\": 0.388889, \"bypass\": false, \"wetLvl\": 0.6, \"dwell\": 0.28889, \"diffuse\": 1 }, \"FenderId\": \"DUBS_Spring65\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"BRIT 64 RHYTHM \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Ac30Tb\", \"dspUnitParameters\": { \"volume\": -0.799366, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"2x12c\", \"gain\": 0.322222, \"treb\": 0.783447, \"mid\": 0.633333, \"bass\": 0.700000, \"sag\": \"match\", \"bias\": 0.500000, \"master\": 0.376471, \"cut\": 0.500000, \"bright\": true } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargePlate\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.311111, \"decay\": 0.500000, \"dwell\": 0.500000, \"diffuse\": 0.500000, \"tone\": 0.500000 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"BROKEN DREAMS \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Jcm800\", \"dspUnitParameters\": { \"volume\": -10.902829, \"gatePreset\": \"low\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12m\", \"gain\": 0.822222, \"treb\": 0.5, \"mid\": 0.5, \"bass\": 0.5, \"sag\": \"match\", \"bias\": 0.5, \"master\": 0.5, \"presence\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SmallRoomReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.5, \"decay\": 0.5, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 0.5 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SineTremolo\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 1, \"rate\": 5.65, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"duty\": 0.5, \"dist\": 0, \"shape\": 0 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"CAMBODIAHOLIDAY \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Twin65\", \"dspUnitParameters\": { \"volume\": -18.763546, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65twn\", \"gain\": 0.337255, \"treb\": 0.788889, \"mid\": 0.533333, \"bass\": 0.422222, \"sag\": \"match\", \"bias\": 0.5, \"bright\": true } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Blackbox\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -30.833332, \"gain\": 0.277778, \"tone\": 0.333 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SineTremolo\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.471335, \"rate\": 4.2, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"duty\": 0.5, \"dist\": 0, \"shape\": 0 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Spring65\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.888889, \"decay\": 1, \"dwell\": 0.28889, \"diffuse\": 1, \"tone\": 0.788889 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"CHICAGO BLUES \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Bassman59\", \"dspUnitParameters\": { \"volume\": -14.413998, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"59bman\", \"gain\": 0.555556, \"treb\": 0.377778, \"mid\": 0.490000, \"bass\": 0.620000, \"sag\": \"match\", \"bias\": 0.500000, \"presence\": 0.620000, \"blend\": 0.620000 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MonoDelay\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.288889, \"time\": 0.095000, \"tapTimeBPM\": 631.578857, \"noteDivision\": \"off\", \"feedback\": 0.222222, \"brite\": 0.500000, \"attenuate\": 0.500000 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SmallRoomReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.311800, \"decay\": 0.500000, \"dwell\": 0.500000, \"diffuse\": 0.500000, \"tone\": 0.500000 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"CHOPPY DELUXE \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"65dlx\", \"treb\": 0.560784, \"sag\": \"match\", \"mid\": 0.611111, \"volume\": -13.193704, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.447059, \"gatePreset\": \"off\", \"bass\": 0.227451 }, \"FenderId\": \"DUBS_Deluxe65\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"treble\": 0.5, \"bypassType\": \"Post\", \"outputLevel\": 0.744444, \"gain\": 0.222222, \"bypass\": false }, \"FenderId\": \"DUBS_MythicDrive\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"duty\": 0.5, \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"dist\": 0, \"level\": 0.770832, \"shape\": 0, \"tapTimeBPM\": 120, \"rate\": 5.65, \"bypass\": false }, \"FenderId\": \"DUBS_SineTremolo\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"wowLevel\": 0.5, \"feedback\": 0.25, \"tapTimeBPM\": 120, \"dlyTime\": 0.445371, \"bypass\": false, \"wetLvl\": 0.1786, \"stereoSpread\": 0 }, \"FenderId\": \"DUBS_TapeDelayLite\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.5, \"decay\": 0.54444, \"bypass\": false, \"wetLvl\": 0.5, \"dwell\": 0.28889, \"diffuse\": 1 }, \"FenderId\": \"DUBS_Spring65\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"info\": { \"displayName\": \"CLASSIC ROCK \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"4x12g\", \"presence\": 0.5, \"treb\": 1, \"sag\": \"match\", \"mid\": -4.400125, \"volume\": -6.506824, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.766667, \"gatePreset\": \"low\", \"blend\": 0.5, \"bass\": 0.466667 }, \"FenderId\": \"DUBS_Plexi87\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.744444, \"decay\": 0.677778, \"level\": 0.166667, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_LargePlate\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"CLEAN DELAY \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SimpleCompressor\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"type\": \"super\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_ChorusTriangle\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.833000, \"rateHz\": 0.680000, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"depth\": 0.278000, \"lrPhase\": 0.500000, \"avgDelay\": 0.220000 } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_DR103\", \"dspUnitParameters\": { \"volume\": -2.068030, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12v\", \"gain\": 0.300000, \"treb\": 0.721569, \"mid\": 0.643137, \"bass\": 0.698039, \"sag\": \"match\", \"bias\": 0.500000, \"master\": 1, \"presence\": 0.500000 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_TapeDelayLite\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.500500, \"dlyTime\": 0.398236, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"feedback\": 0.111111, \"stereoSpread\": 0, \"wowLevel\": 0.033333 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SmallRoomReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.200800, \"decay\": 0.500000, \"dwell\": 0.500000, \"diffuse\": 0.500000, \"tone\": 0.500000 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"COUNTRY PICKING \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"65dlx\", \"treb\": 0.560784, \"sag\": \"match\", \"mid\": 0.744444, \"volume\": -15.752095, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.254883, \"gatePreset\": \"off\", \"bass\": 0.344444 }, \"FenderId\": \"DUBS_Deluxe65\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"type\": \"medium\", \"bypass\": false }, \"FenderId\": \"DUBS_SimpleCompressor\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"wowLevel\": 0.5, \"feedback\": 0.211111, \"tapTimeBPM\": 120, \"dlyTime\": 0.138998, \"bypass\": false, \"wetLvl\": 0.1675, \"stereoSpread\": 0 }, \"FenderId\": \"DUBS_TapeDelayLite\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"CROSS ROADS \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Jcm800\", \"dspUnitParameters\": { \"volume\": -10.884403, \"gatePreset\": \"low\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12m\", \"gain\": 0.888889, \"treb\": 0.777778, \"mid\": 0.555556, \"bass\": 0.555556, \"sag\": \"match\", \"bias\": 0.5, \"master\": 0.5, \"presence\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargePlate\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.333333, \"decay\": 0.277778, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 0.666667 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"DARK ANDCLEAN \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MustangFiveBandEq1\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"low\": 12, \"lowmid\": 0, \"mid\": 0, \"highmid\": -9, \"high\": -12, \"gain\": 0 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LinearGain\", \"dspUnitParameters\": { \"volume\": 0, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"none\", \"gain\": 0.744444, \"treb\": 0, \"mid\": 0.5, \"bass\": 0.666667 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"DESERT ROCK \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"57champ\", \"treb\": 0.766667, \"sag\": \"match\", \"mid\": 0.666667, \"volume\": -7.691092, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.133333, \"gatePreset\": \"off\", \"bass\": 0.444444 }, \"FenderId\": \"DUBS_Champ57\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": \"loose\", \"gain\": 1, \"bypass\": false, \"level\": 0.063338 }, \"FenderId\": \"DUBS_VariFuzz\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.566667, \"decay\": 0.111111, \"bypass\": false, \"wetLvl\": 0.222222, \"dwell\": 0.28889, \"diffuse\": 1 }, \"FenderId\": \"DUBS_Spring65\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"DIRTY VIBE \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Blackbox\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -30, \"gain\": 0.077778, \"tone\": 0.333 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Vibratone\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.96, \"rotor\": 5.67, \"tapTimeBPM\": 340.200012, \"noteDivision\": \"off\", \"depth\": 0.18, \"feedback\": 0.944444, \"phase\": 0.52 } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Twin57\", \"dspUnitParameters\": { \"volume\": -23.047628, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65twn\", \"gain\": 0.5, \"treb\": 0.7, \"mid\": 0.72, \"bass\": 0.62, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.5 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SmallRoomReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.445, \"decay\": 0.5, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 0.666667 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"DOOM ANDGLOOM \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"4x12m2\", \"treb\": 0.67, \"sag\": \"match\", \"mid\": 0.313726, \"volume\": -10.551273, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"master\": 0.498039, \"gain\": 0.566162, \"gatePreset\": \"off\", \"bass\": 0.505882 }, \"FenderId\": \"DUBS_Or120\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"level\": 0.5, \"mid\": 0.5, \"high\": 0.5, \"low\": 0.5, \"bypass\": false, \"gain\": 0.5 }, \"FenderId\": \"DUBS_Overdrive\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"wowLevel\": 0.5, \"feedback\": 0.25, \"tapTimeBPM\": 120, \"dlyTime\": 0.4, \"bypass\": false, \"wetLvl\": 0.2563, \"stereoSpread\": 0 }, \"FenderId\": \"DUBS_TapeDelayLite\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.5, \"decay\": 0.5, \"level\": 0.7, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_LargePlate\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"info\": { \"displayName\": \"DREAMY \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"bright\": true, \"cabsimType\": \"65twn\", \"treb\": 0.717647, \"sag\": \"match\", \"mid\": 0.780392, \"volume\": -14.413998, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.337255, \"gatePreset\": \"off\", \"bass\": 0.662745 }, \"FenderId\": \"DUBS_Twin65\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"rotor\": 1.07, \"bypassType\": \"Post\", \"feedback\": 0.68, \"noteDivision\": \"off\", \"level\": 0.96, \"tapTimeBPM\": 120, \"depth\": 0.18, \"bypass\": false, \"phase\": 0.52 }, \"FenderId\": \"DUBS_Vibratone\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"wowLevel\": 0.5, \"feedback\": 0.211111, \"tapTimeBPM\": 120, \"dlyTime\": 0.253888, \"bypass\": false, \"wetLvl\": 0.4672, \"stereoSpread\": 0 }, \"FenderId\": \"DUBS_TapeDelayLite\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.833333, \"decay\": 0.5, \"level\": 0.433333, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_LargePlate\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"type\": \"high\", \"bypass\": false }, \"FenderId\": \"DUBS_SimpleCompressor\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"DR DOUG VIBRATO\", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SimpleCompressor\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"type\": \"medium\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Vibratone\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.40877, \"rotor\": 2.950861, \"tapTimeBPM\": 177.051666, \"noteDivision\": \"off\", \"depth\": 0.18, \"feedback\": 0.233333, \"phase\": 0.5 } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LinearGain\", \"dspUnitParameters\": { \"volume\": -2.06803, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"none\", \"gain\": 0.555556, \"treb\": 0.898238, \"mid\": 0.438043, \"bass\": 0.424895 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Spring65\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.577778, \"decay\": 0.54444, \"dwell\": 0.28889, \"diffuse\": 1, \"tone\": 0.5 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"EARLY ZZ \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"57dlx\", \"treb\": 0.655556, \"sag\": \"match\", \"mid\": 0.6, \"volume\": -11.626897, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 1, \"gatePreset\": \"off\", \"bass\": 0.5 }, \"FenderId\": \"DUBS_Deluxe57\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"treble\": 0.5, \"bypassType\": \"Post\", \"outputLevel\": 0.577778, \"gain\": 0.444444, \"bypass\": false }, \"FenderId\": \"DUBS_MythicDrive\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.388889, \"decay\": 0.6, \"level\": 0.4672, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_SmallRoomReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"info\": { \"displayName\": \"ELECTRICLOVE \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"4x12m\", \"presence\": 0.5, \"treb\": 0.622222, \"sag\": \"match\", \"mid\": 0.4, \"volume\": -5.509386, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"master\": 0.5, \"gain\": 0.99, \"gatePreset\": \"low\", \"bass\": 0.75 }, \"FenderId\": \"DUBS_Jcm800\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"treble\": 0.5, \"bypassType\": \"Post\", \"outputLevel\": 0.5, \"gain\": 0.344444, \"bypass\": false }, \"FenderId\": \"DUBS_MythicDrive\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"lrPhase\": 0.5, \"level\": 0.833, \"rateHz\": 0.68, \"tapTimeBPM\": 120, \"depth\": 0.155556, \"avgDelay\": 0.22, \"bypass\": false }, \"FenderId\": \"DUBS_ChorusTriangle\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"feedback\": 0.211111, \"level\": 0.7, \"attenuate\": 0.5, \"tapTimeBPM\": 120, \"bypass\": false, \"time\": 0.439479, \"brite\": 0.5 }, \"FenderId\": \"DUBS_MonoDelay\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.6888, \"decay\": 0.2444, \"level\": 0.3111, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.0222 }, \"FenderId\": \"DUBS_LargeHallReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"ENTER SANDMAN \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Rect2\", \"dspUnitParameters\": { \"volume\": -13.884403, \"gatePreset\": \"high\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12v2\", \"gain\": 0.888889, \"treb\": 0.888889, \"mid\": 0.055556, \"bass\": 0.455556, \"sag\": \"match\", \"bias\": 0.5, \"master\": 0.380392, \"presence\": 0.392157 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SmallRoomReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.5, \"decay\": 0.5, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"EVERLONG \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Rect2\", \"dspUnitParameters\": { \"volume\": -11.999981, \"gatePreset\": \"high\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12v2\", \"gain\": 0.333333, \"treb\": 0.666667, \"mid\": 0.433333, \"bass\": 0.322222, \"sag\": \"match\", \"bias\": 0.5, \"master\": 0.380392, \"presence\": 0.392157 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"FEAR THEREAPER \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Deluxe65\", \"dspUnitParameters\": { \"volume\": -15.295096, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65dlx\", \"gain\": 0.333333, \"treb\": 0.566667, \"mid\": 0.777778, \"bass\": 0.227451, \"sag\": \"match\", \"bias\": 0.5 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_TapeDelayLite\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.3007, \"dlyTime\": 0.1, \"tapTimeBPM\": 599.999939, \"noteDivision\": \"off\", \"feedback\": 0, \"stereoSpread\": 0, \"wowLevel\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargePlate\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.277778, \"decay\": 0.444444, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 0.5 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"FENDER CLEAN \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SimpleCompressor\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"type\": \"medium\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Twin65\", \"dspUnitParameters\": { \"volume\": -11.126740, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65twn\", \"gain\": 0.337255, \"treb\": 0.342816, \"mid\": 0.500000, \"bass\": 0.555556, \"sag\": \"match\", \"bias\": 0.500000, \"bright\": true } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Spring65\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.500000, \"decay\": 0.388889, \"dwell\": 0.288890, \"diffuse\": 1, \"tone\": 1 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"GARAGE FUZZ \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_BigFuzz\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -24.711111, \"gain\": 0.311111, \"tone\": 0.566667 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Excelsior\", \"dspUnitParameters\": { \"volume\": -16.220806, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"exlsr\", \"gain\": 0.233333, \"bright\": true, \"sag\": \"match\", \"bias\": 0.500000, \"treb\": 0.222222, \"mid\": 0.500000, \"bass\": 0.922222 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargePlate\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.122222, \"decay\": 0.500000, \"dwell\": 0.500000, \"diffuse\": 0.500000, \"tone\": 0.500000 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"GATED METAL \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"4x12r\", \"presence\": 0.392157, \"treb\": 0.511111, \"sag\": \"match\", \"mid\": 0.255556, \"volume\": -10.206342, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"master\": 0.380392, \"gain\": 0.733333, \"gatePreset\": \"super\", \"bass\": 0.564697 }, \"FenderId\": \"DUBS_MetalRect2\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"attenuation\": -120, \"hysteresis\": 2.5, \"gateDetectorPosition\": \"jack\", \"bypass\": false, \"threshold\": -46.444443 }, \"FenderId\": \"DUBS_ChromeGate\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"GONNA BEMY GIRL \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Blackbox\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -20.933332, \"gain\": 0.444444, \"tone\": 0.711111 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Twin65\", \"dspUnitParameters\": { \"volume\": -17.195896, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65twn\", \"gain\": 0.3, \"treb\": 0.722222, \"mid\": 0.780392, \"bass\": 0.722222, \"sag\": \"match\", \"bias\": 0.5, \"bright\": true } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"HANDLE AROPE \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Overdrive\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.255556, \"gain\": 0.91681, \"low\": 0.5, \"mid\": 0.311111, \"high\": 0.7 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Excelsior\", \"dspUnitParameters\": { \"volume\": -18.763546, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"exlsr\", \"gain\": 0.355556, \"bright\": true, \"sag\": \"match\", \"bias\": 0.5, \"treb\": 0.555556, \"mid\": 0.255556, \"bass\": 0.5 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"HASH PIPE \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Rect2\", \"dspUnitParameters\": { \"volume\": -13.884403, \"gatePreset\": \"high\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12v2\", \"gain\": 0.777778, \"treb\": 0.766667, \"mid\": 0.466667, \"bass\": 0.777778, \"sag\": \"match\", \"bias\": 0.5, \"master\": 0.380392, \"presence\": 0.392157 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"HEART BREAKER \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Plexi87\", \"dspUnitParameters\": { \"volume\": -9.867807, \"gatePreset\": \"low\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12g2\", \"gain\": 0.5, \"treb\": 0.322222, \"mid\": 0.5, \"bass\": 0.466667, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.5, \"blend\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MustangFiveBandEq1\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"low\": 0, \"lowmid\": 7, \"mid\": 10.5, \"highmid\": -5.5, \"high\": -3.5, \"gain\": 0 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargeHallReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.556, \"decay\": 0.2444, \"dwell\": 0.5, \"diffuse\": 0.0222, \"tone\": 0.6888 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"HEAVY BLUES \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Twin57\", \"dspUnitParameters\": { \"volume\": -17.703659, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65twn\", \"gain\": 0.944444, \"treb\": 0.388889, \"mid\": 0.72, \"bass\": 0.444444, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Greenbox\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -13.5, \"gain\": 0.933333, \"tone\": 0.388889, \"blend\": 1 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Spring65\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.3, \"decay\": 0.577778, \"dwell\": 0.28889, \"diffuse\": 1, \"tone\": 0.333333 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"HEAVY SHOEGAZE\", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"4x12v\", \"presence\": 0.5, \"treb\": 0.721569, \"sag\": \"match\", \"mid\": 0.388889, \"volume\": -3.909305, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"master\": 1, \"gain\": 0.50708, \"gatePreset\": \"off\", \"bass\": 0.352734 }, \"FenderId\": \"DUBS_DR103\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.6888, \"decay\": 0.2444, \"level\": 0.667, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.0222 }, \"FenderId\": \"DUBS_LargeHallReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.6667, \"gain\": 0.4444, \"bypass\": false, \"level\": -18 }, \"FenderId\": \"DUBS_BigFuzz\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"feedback\": 0.72, \"level\": 0.133333, \"depth\": 0.022222, \"shape\": \"sine\", \"tapTimeBPM\": 120, \"rate\": 0.376297, \"bypass\": false }, \"FenderId\": \"DUBS_Phaser\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"feedback\": 0.3, \"level\": 0.1675, \"attenuate\": 1, \"tapTimeBPM\": 120, \"bypass\": false, \"time\": 0.313592, \"chase\": 0.65 }, \"FenderId\": \"DUBS_ReverseDelay\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"HERECOMEYOUR MAN\", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_ChorusTriangle\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.458346, \"rateHz\": 0.68, \"tapTimeBPM\": 40.799999, \"noteDivision\": \"off\", \"depth\": 0.311111, \"lrPhase\": 0.5, \"avgDelay\": 0.22 } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Twin57\", \"dspUnitParameters\": { \"volume\": -13.988875, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65twn\", \"gain\": 0.222222, \"treb\": 0.7, \"mid\": 0.666667, \"bass\": 0.733333, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.5 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_TapeDelayLite\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.445, \"dlyTime\": 0.032, \"tapTimeBPM\": 1875.000122, \"noteDivision\": \"off\", \"feedback\": 0.25, \"stereoSpread\": 0, \"wowLevel\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Spring65\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.388889, \"decay\": 0.666667, \"dwell\": 0.28889, \"diffuse\": 1, \"tone\": 0.5 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"HER RHAPSODY\", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"bright\": true, \"cut\": 0.5, \"cabsimType\": \"2x12c\", \"treb\": 0.655556, \"sag\": \"match\", \"mid\": 0.622222, \"volume\": -2.736965, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"master\": 0.376471, \"gain\": 0.433333, \"gatePreset\": \"off\", \"bass\": 0.377778 }, \"FenderId\": \"DUBS_Ac30Tb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.5, \"decay\": 0.5, \"level\": 0.5, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_SmallRoomReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.755556, \"gain\": 0.377778, \"bypass\": false, \"level\": -21.866667 }, \"FenderId\": \"DUBS_BigFuzz\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"feedback\": 0.433333, \"level\": 0.71614, \"depth\": 0.511111, \"tapTimeBPM\": 120, \"rate\": 0.269562, \"bypass\": false, \"phase\": 0.25 }, \"FenderId\": \"DUBS_TriangleFlanger\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"IRON MAN \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SuperSonic\", \"dspUnitParameters\": { \"volume\": -14.818684, \"gatePreset\": \"mid\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"1x12ss\", \"gain\": 0.588889, \"treb\": 0.311111, \"mid\": 0.5, \"bass\": 0.777778, \"sag\": \"match\", \"bias\": 0.5, \"master\": 0.360784, \"gain2\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Blackbox\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -27.9, \"gain\": 0.311111, \"tone\": 0.477778 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargeHallReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.8668, \"decay\": 0.588889, \"dwell\": 0.5, \"diffuse\": 0.0222, \"tone\": 0.411111 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"JAZZ AMP \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"none\", \"treb\": 0.5, \"mid\": 0.5, \"volume\": -2.06803, \"gateDetectorPosition\": \"jack\", \"gain\": 0.5, \"gatePreset\": \"off\", \"bass\": 0.5 }, \"FenderId\": \"DUBS_LinearGain\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"type\": \"medium\", \"bypass\": false }, \"FenderId\": \"DUBS_SimpleCompressor\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.5, \"decay\": 0.5, \"level\": 0.2896, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_SmallRoomReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"JUST \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Plexi87\", \"dspUnitParameters\": { \"volume\": -11.999981, \"gatePreset\": \"low\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12g2\", \"gain\": 1, \"treb\": 0.826519, \"mid\": 0.742051, \"bass\": 0.444444, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.5, \"blend\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Greenbox\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -19.5, \"gain\": 0.69, \"tone\": 0.555556, \"blend\": 1 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"KELLS BELLS \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Phaser\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.333333, \"rate\": 0.640873, \"tapTimeBPM\": 38.452408, \"noteDivision\": \"off\", \"depth\": 0.688889, \"feedback\": 0.72, \"shape\": \"sine\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Princeton65\", \"dspUnitParameters\": { \"volume\": -11.712391, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65prince\", \"gain\": 0.337255, \"treb\": 0.766667, \"mid\": 0.839216, \"bass\": 0.422222, \"sag\": \"match\", \"bias\": 0.5 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargeHallReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.556, \"decay\": 0.322222, \"dwell\": 0.5, \"diffuse\": 0.0222, \"tone\": 0.822222 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"KILL EM ALL \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Jcm800\", \"dspUnitParameters\": { \"volume\": -10.884403, \"gatePreset\": \"low\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12m\", \"gain\": 0.666667, \"treb\": 0.888889, \"mid\": 0.111111, \"bass\": 0.555556, \"sag\": \"match\", \"bias\": 0.5, \"master\": 0.5, \"presence\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Blackbox\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -30, \"gain\": 0.688889, \"tone\": 0.333 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"LAST NIGHT \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Bassman59\", \"dspUnitParameters\": { \"volume\": -16.701855, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"59bman\", \"gain\": 0.65, \"treb\": 0.5, \"mid\": 0.5, \"bass\": 0.577778, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.62, \"blend\": 0.62 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SimpleCompressor\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"type\": \"medium\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"LITTLE CHAMP \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"57champ\", \"treb\": 1, \"sag\": \"match\", \"mid\": 0.477778, \"volume\": -15.295096, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 0.243137, \"gatePreset\": \"off\", \"bass\": 0 }, \"FenderId\": \"DUBS_Champ57\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"wowLevel\": 0.5, \"feedback\": 0.1, \"tapTimeBPM\": 120, \"dlyTime\": 0.157, \"bypass\": false, \"wetLvl\": 0.0898, \"stereoSpread\": 0 }, \"FenderId\": \"DUBS_TapeDelayLite\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.5, \"decay\": 0.5, \"level\": 0.112, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_SmallRoomReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"type\": \"low\", \"bypass\": false }, \"FenderId\": \"DUBS_SimpleCompressor\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"LUMPY \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Blackbox\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -27.9, \"gain\": 0, \"tone\": 0.522222 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Bassman59\", \"dspUnitParameters\": { \"volume\": -14.403923, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"59bman\", \"gain\": 0.333333, \"treb\": 0.566667, \"mid\": 0.666667, \"bass\": 0.355556, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.62, \"blend\": 0.62 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"MALIBU POINT \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Deluxe65\", \"dspUnitParameters\": { \"volume\": -9.867807, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65dlx\", \"gain\": 0.111111, \"treb\": 0.677778, \"mid\": 0.533333, \"bass\": 0.333333, \"sag\": \"match\", \"bias\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Spring65\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 1, \"decay\": 0.444444, \"dwell\": 0.28889, \"diffuse\": 1, \"tone\": 0.777778 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SineTremolo\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.752257, \"rate\": 4.006667, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"duty\": 0.5, \"dist\": 0, \"shape\": 0 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"MAYBE GOT BLUE\", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Ac30Tb\", \"dspUnitParameters\": { \"volume\": 0, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"2x12c\", \"gain\": 0.488889, \"treb\": 0.633333, \"mid\": 0.422222, \"bass\": 0.655556, \"sag\": \"match\", \"bias\": 0.5, \"master\": 0.376471, \"cut\": 0.5, \"bright\": true } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_EcFilter\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.333333, \"mode\": \"High Up\", \"type\": \"Band Pass\", \"q\": 0.533333, \"thresh\": 0.5 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MonoDelay\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.444444, \"time\": 0.377991, \"tapTimeBPM\": 158.734039, \"noteDivision\": \"off\", \"feedback\": 0.244444, \"brite\": 0.777778, \"attenuate\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargePlate\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.255556, \"decay\": 0.255556, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 1 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"METAL LEAD \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_ChorusTriangle\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.458346, \"rateHz\": 0.080000, \"tapTimeBPM\": 4.800000, \"noteDivision\": \"off\", \"depth\": 1, \"lrPhase\": 0.500000, \"avgDelay\": 0.220000 } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MetalRect2\", \"dspUnitParameters\": { \"volume\": -10.206342, \"gatePreset\": \"super\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12r\", \"gain\": 0.769145, \"treb\": 0.602199, \"mid\": 0.135629, \"bass\": 0.857598, \"sag\": \"match\", \"bias\": 0.500000, \"master\": 0.380392, \"presence\": 0.392157 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MonoDelay\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.288889, \"time\": 0.475195, \"tapTimeBPM\": 126.263870, \"noteDivision\": \"off\", \"feedback\": 0.144444, \"brite\": 0, \"attenuate\": 0.500000 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"MODERN METAL \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"4x12g2\", \"presence\": 0.5, \"treb\": 0.733333, \"sag\": \"match\", \"mid\": 0.688889, \"volume\": -15.752095, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"master\": 0.5, \"gain\": 0.333333, \"gatePreset\": \"high\", \"bass\": 0.388889 }, \"FenderId\": \"DUBS_Evh3\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"attenuation\": -120, \"hysteresis\": 2.5, \"gateDetectorPosition\": \"jack\", \"bypass\": false, \"threshold\": -47.777779 }, \"FenderId\": \"DUBS_ChromeGate\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"MORE BLUES \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Twin57\", \"dspUnitParameters\": { \"volume\": -20.478304, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65twn\", \"gain\": 0.555556, \"treb\": 0.666667, \"mid\": 0.466667, \"bass\": 0.155556, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Overdrive\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.5, \"gain\": 0.5, \"low\": 0.5, \"mid\": 0.5, \"high\": 0.5 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_ChorusTriangle\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.067863, \"rateHz\": 1.526731, \"tapTimeBPM\": 91.603889, \"noteDivision\": \"off\", \"depth\": 0.288889, \"lrPhase\": 0.5, \"avgDelay\": 0.22 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_TapeDelayLite\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.112, \"dlyTime\": 0.3, \"tapTimeBPM\": 199.999985, \"noteDivision\": \"off\", \"feedback\": 0.25, \"stereoSpread\": 0, \"wowLevel\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SmallRoomReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.334, \"decay\": 0.566667, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 0.5 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"MYTHIC CRUNCH \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"4x12g2\", \"presence\": 0.5, \"treb\": 1, \"sag\": \"match\", \"mid\": 1, \"volume\": -9.867807, \"gateDetectorPosition\": \"jack\", \"bias\": 0.5, \"gain\": 1, \"gatePreset\": \"low\", \"blend\": 0.5, \"bass\": 0 }, \"FenderId\": \"DUBS_Plexi87\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"treble\": 0.777778, \"bypassType\": \"Post\", \"outputLevel\": 0.5, \"gain\": 0.5, \"bypass\": false }, \"FenderId\": \"DUBS_MythicDrive\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"NICE FLANGER \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SimpleCompressor\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"type\": \"low\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_TriangleFlanger\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 1, \"rate\": 0.106745, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"depth\": 0.666667, \"feedback\": 0.777778, \"phase\": 0.250000 } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Princeton65\", \"dspUnitParameters\": { \"volume\": -13.167182, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65prince\", \"gain\": 0.233333, \"treb\": 1, \"mid\": 0.839216, \"bass\": 0.337255, \"sag\": \"match\", \"bias\": 0.500000 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MonoDelay\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.555556, \"time\": 0.280000, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"feedback\": 0.133333, \"brite\": 1, \"attenuate\": 0.500000 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"OBSTACLEONE \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SineTremolo\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.209897, \"rate\": 6.133333, \"tapTimeBPM\": 368, \"noteDivision\": \"off\", \"duty\": 0.5, \"dist\": 0, \"shape\": 0 } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Deluxe65\", \"dspUnitParameters\": { \"volume\": -11.999981, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65dlx\", \"gain\": 0.277778, \"treb\": 0.5, \"mid\": 0.722222, \"bass\": 0.227451, \"sag\": \"match\", \"bias\": 0.5 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_TapeDelayLite\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.1897, \"dlyTime\": 0.139, \"tapTimeBPM\": 431.654633, \"noteDivision\": \"off\", \"feedback\": 0.166667, \"stereoSpread\": 0, \"wowLevel\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Spring65\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.166667, \"decay\": 0.388889, \"dwell\": 0.28889, \"diffuse\": 1, \"tone\": 0.777778 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"OCTOBOT ONE NOTE\", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Octobot\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.500000, \"octdown\": 1, \"octup\": 1 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\" } }, { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Jcm800\", \"dspUnitParameters\": { \"volume\": -11.999981, \"gatePreset\": \"low\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12m\", \"gain\": 0.990000, \"treb\": 0.670000, \"mid\": 0.400000, \"bass\": 0.750000, \"sag\": \"match\", \"bias\": 0.500000, \"master\": 0.500000, \"presence\": 0.500000 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MonoDelay\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 1, \"time\": 0.439479, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"feedback\": 0.177778, \"brite\": 0.500000, \"attenuate\": 0.500000 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"info\": { \"displayName\": \"OLD 15 SPEAKER \", \"product_id\": \"mustang-lt\", \"author\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"bpm\": 0, \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"source_id\": \"\", \"is_factory_default\": true }, \"nodeType\": \"preset\", \"audioGraph\": { \"connections\": [ { \"input\": { \"index\": 0, \"nodeId\": \"preset\" }, \"output\": { \"index\": 0, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"preset\" }, \"output\": { \"index\": 1, \"nodeId\": \"stomp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 0, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"stomp\" }, \"output\": { \"index\": 1, \"nodeId\": \"mod\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"mod\" }, \"output\": { \"index\": 0, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"mod\" }, \"output\": { \"index\": 1, \"nodeId\": \"amp\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"amp\" }, \"output\": { \"index\": 0, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"amp\" }, \"output\": { \"index\": 1, \"nodeId\": \"delay\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"delay\" }, \"output\": { \"index\": 0, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"delay\" }, \"output\": { \"index\": 1, \"nodeId\": \"reverb\" } }, { \"input\": { \"index\": 0, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 0, \"nodeId\": \"preset\" } }, { \"input\": { \"index\": 1, \"nodeId\": \"reverb\" }, \"output\": { \"index\": 1, \"nodeId\": \"preset\" } } ], \"nodes\": [ { \"dspUnitParameters\": { \"cabsimType\": \"exlsr\", \"treb\": 0.3, \"sag\": \"match\", \"gateDetectorPosition\": \"jack\", \"mid\": 0.5, \"volume\": -22.370665, \"bright\": true, \"bias\": 0.5, \"gain\": 1, \"gatePreset\": \"off\", \"bass\": 1 }, \"FenderId\": \"DUBS_Excelsior\", \"nodeType\": \"dspUnit\", \"nodeId\": \"amp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"type\": \"low\", \"bypass\": false }, \"FenderId\": \"DUBS_SimpleCompressor\", \"nodeType\": \"dspUnit\", \"nodeId\": \"stomp\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"tone\": 0.5, \"decay\": 0.5, \"level\": 0.1786, \"bypass\": false, \"dwell\": 0.5, \"diffuse\": 0.5 }, \"FenderId\": \"DUBS_SmallRoomReverb\", \"nodeType\": \"dspUnit\", \"nodeId\": \"reverb\" }, { \"dspUnitParameters\": { \"noteDivision\": \"off\", \"bypassType\": \"Post\", \"wowLevel\": 0.366667, \"feedback\": 0.122222, \"tapTimeBPM\": 120, \"dlyTime\": 0.156, \"bypass\": false, \"wetLvl\": 0.1009, \"stereoSpread\": 0 }, \"FenderId\": \"DUBS_TapeDelayLite\", \"nodeType\": \"dspUnit\", \"nodeId\": \"delay\" }, { \"dspUnitParameters\": { \"bypassType\": \"Post\", \"bypass\": false }, \"FenderId\": \"DUBS_Passthru\", \"nodeType\": \"dspUnit\", \"nodeId\": \"mod\" } ] }, \"nodeId\": \"preset\", \"version\": \"1.1\", \"numOutputs\": 2, \"numInputs\": 2 }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"OVERCAST \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Bassman59\", \"dspUnitParameters\": { \"volume\": -13.573416, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"59bman\", \"gain\": 0.444444, \"treb\": 0.411111, \"mid\": 0.666667, \"bass\": 0.722222, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.62, \"blend\": 0.62 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_VariFuzz\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.122822, \"gain\": 0.3, \"tone\": \"loose\" } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Vibratone\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.78976, \"rotor\": 5.37746, \"tapTimeBPM\": 322.647552, \"noteDivision\": \"off\", \"depth\": 0.222222, \"feedback\": 0.666667, \"phase\": 0.5 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_TapeDelayLite\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.112, \"dlyTime\": 0.317993, \"tapTimeBPM\": 188.683304, \"noteDivision\": \"off\", \"feedback\": 0.355556, \"stereoSpread\": 0, \"wowLevel\": 0.5 } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Spring65\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"wetLvl\": 0.6, \"decay\": 0.344444, \"dwell\": 0.28889, \"diffuse\": 1, \"tone\": 0.5 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"PARANOIDANDROID \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Deluxe65\", \"dspUnitParameters\": { \"volume\": -15.752095, \"gatePreset\": \"off\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"65dlx\", \"gain\": 0.447059, \"treb\": 0.355556, \"mid\": 0.455556, \"bass\": 0.5, \"sag\": \"match\", \"bias\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Blackbox\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": -30, \"gain\": 0.8, \"tone\": 0.666667 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Phaser\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.077778, \"rate\": 0.201639, \"tapTimeBPM\": 120, \"noteDivision\": \"off\", \"depth\": 0.033333, \"feedback\": 0.72, \"shape\": \"sine\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_SmallRoomReverb\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.0454, \"decay\": 0.1, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 1 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } } ], \"connections\": [ { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } } ] } }", + "{ \"nodeType\": \"preset\", \"nodeId\": \"preset\", \"version\": \"1.1\", \"numInputs\": 2, \"numOutputs\": 2, \"info\": { \"displayName\": \"PEACE SELLS \", \"preset_id\": \"82701e3e-caf7-11e7-b721-171e6c7d3090\", \"author\": \"\", \"source_id\": \"\", \"timestamp\": 1510855005, \"created_at\": 0, \"product_id\": \"mustang-lt\", \"is_factory_default\": true, \"bpm\": 0 }, \"audioGraph\": { \"nodes\": [ { \"nodeId\": \"amp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Plexi87\", \"dspUnitParameters\": { \"volume\": -11.999981, \"gatePreset\": \"low\", \"gateDetectorPosition\": \"jack\", \"cabsimType\": \"4x12g2\", \"gain\": 1, \"treb\": 0.766667, \"mid\": 1, \"bass\": 0.588889, \"sag\": \"match\", \"bias\": 0.5, \"presence\": 0.5, \"blend\": 0.5 } }, { \"nodeId\": \"stomp\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_MustangFiveBandEq1\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"low\": 0, \"lowmid\": 0, \"mid\": 7.5, \"highmid\": -1.5, \"high\": 0, \"gain\": 0 } }, { \"nodeId\": \"mod\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_ChorusTriangle\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Post\", \"level\": 0.63158, \"rateHz\": 0.08, \"tapTimeBPM\": 4.8, \"noteDivision\": \"off\", \"depth\": 0.366667, \"lrPhase\": 0.5, \"avgDelay\": 0.22 } }, { \"nodeId\": \"delay\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_Passthru\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\" } }, { \"nodeId\": \"reverb\", \"nodeType\": \"dspUnit\", \"FenderId\": \"DUBS_LargePlate\", \"dspUnitParameters\": { \"bypass\": false, \"bypassType\": \"Pre\", \"level\": 0.311111, \"decay\": 0.833333, \"dwell\": 0.5, \"diffuse\": 0.5, \"tone\": 0.477778 } } ], \"connections\": [ { \"input\": { \"nodeId\": \"amp\", \"index\": 0 }, \"output\": { \"nodeId\": \"delay\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"amp\", \"index\": 1 }, \"output\": { \"nodeId\": \"delay\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 0 }, \"output\": { \"nodeId\": \"amp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"mod\", \"index\": 1 }, \"output\": { \"nodeId\": \"amp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 0 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"delay\", \"index\": 1 }, \"output\": { \"nodeId\": \"reverb\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 0 }, \"output\": { \"nodeId\": \"preset\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"reverb\", \"index\": 1 }, \"output\": { \"nodeId\": \"preset\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 0 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"preset\", \"index\": 1 }, \"output\": { \"nodeId\": \"stomp\", \"index\": 1 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 0 }, \"output\": { \"nodeId\": \"mod\", \"index\": 0 } }, { \"input\": { \"nodeId\": \"stomp\", \"index\": 1 }, \"output\": { \"nodeId\": \"mod\", \"index\": 1 } } ] } }" + ] +} \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Tools/ByteArrayExtensions.cs b/LtAmpDotNet/LtAmpDotNet.Tools/ByteArrayExtensions.cs similarity index 89% rename from LtDotNet/LtDotNet.Tools/ByteArrayExtensions.cs rename to LtAmpDotNet/LtAmpDotNet.Tools/ByteArrayExtensions.cs index 65c473c..44c99e2 100644 --- a/LtDotNet/LtDotNet.Tools/ByteArrayExtensions.cs +++ b/LtAmpDotNet/LtAmpDotNet.Tools/ByteArrayExtensions.cs @@ -1,51 +1,51 @@ -using Google.Protobuf.WellKnownTypes; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Tools -{ - public static class ByteArrayExtensions - { - public static int[] Locate(this byte[] self, byte[] candidate) - { - if (IsEmptyLocate(self, candidate)) - return null; - - var list = new List(); - - for (int i = 0; i < self.Length; i++) - { - if (!IsMatch(self, i, candidate)) - continue; - - list.Add(i); - } - - return list.Count == 0 ? null : list.ToArray(); - } - - static bool IsMatch(byte[] array, int position, byte[] candidate) - { - if (candidate.Length > (array.Length - position)) - return false; - - for (int i = 0; i < candidate.Length; i++) - if (array[position + i] != candidate[i]) - return false; - - return true; - } - - static bool IsEmptyLocate(byte[] array, byte[] candidate) - { - return array == null - || candidate == null - || array.Length == 0 - || candidate.Length == 0 - || candidate.Length > array.Length; - } - } -} +using Google.Protobuf.WellKnownTypes; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Tools +{ + public static class ByteArrayExtensions + { + public static int[]? Locate(this byte[] self, byte[] candidate) + { + if (IsEmptyLocate(self, candidate)) + return null; + + var list = new List(); + + for (int i = 0; i < self.Length; i++) + { + if (!IsMatch(self, i, candidate)) + continue; + + list.Add(i); + } + + return list.Count == 0 ? null : list.ToArray(); + } + + static bool IsMatch(byte[] array, int position, byte[] candidate) + { + if (candidate.Length > (array.Length - position)) + return false; + + for (int i = 0; i < candidate.Length; i++) + if (array[position + i] != candidate[i]) + return false; + + return true; + } + + static bool IsEmptyLocate(byte[] array, byte[] candidate) + { + return array == null + || candidate == null + || array.Length == 0 + || candidate.Length == 0 + || candidate.Length > array.Length; + } + } +} diff --git a/LtDotNet/LtDotNet.Tools/FileExtractor.cs b/LtAmpDotNet/LtAmpDotNet.Tools/FileExtractor.cs similarity index 95% rename from LtDotNet/LtDotNet.Tools/FileExtractor.cs rename to LtAmpDotNet/LtAmpDotNet.Tools/FileExtractor.cs index 7dbceac..80f9d3d 100644 --- a/LtDotNet/LtDotNet.Tools/FileExtractor.cs +++ b/LtAmpDotNet/LtAmpDotNet.Tools/FileExtractor.cs @@ -1,87 +1,87 @@ -using Google.Protobuf.WellKnownTypes; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Tools -{ - public class FileExtractor - { - private byte[] data; - public FileExtractor(string path) - { - using (var file = File.OpenRead(path)) - { - data = new byte[file.Length]; - file.Read(data, 0, data.Length); - file.Close(); - } - } - - public string[] Extract(string fileExt) - { - var locations = Locate(data, Encoding.ASCII.GetBytes($".{fileExt}")); - foreach (var location in locations) - { - var cursor = location; - cursor += $"{fileExt}".Length; - cursor += data[cursor + 5]; - var startPos = cursor; - while (data[startPos] != 0x0a) - { - startPos--; - } - var tags = new byte[] { 0x12,0x1a,0x22,0x2a,0x32,0x3a,0x42,0x4a,0x50,0x58,0x62 }; - if (tags.Contains(data[cursor])){ - continue; - } - while(cursor < data.Length && tags.Contains(data[cursor]){ - tags = tags[tags.ToList().IndexOf(data[cursor])]; - - } - - } - } - - private int[] Locate(byte[] self, byte[] candidate) - { - if (IsEmptyLocate(self, candidate)) - return null; - - var list = new List(); - - for (int i = 0; i < self.Length; i++) - { - if (!IsMatch(self, i, candidate)) - continue; - - list.Add(i); - } - - return list.Count == 0 ? null : list.ToArray(); - } - - private bool IsMatch(byte[] array, int position, byte[] candidate) - { - if (candidate.Length > (array.Length - position)) - return false; - - for (int i = 0; i < candidate.Length; i++) - if (array[position + i] != candidate[i]) - return false; - - return true; - } - - private bool IsEmptyLocate(byte[] array, byte[] candidate) - { - return array == null - || candidate == null - || array.Length == 0 - || candidate.Length == 0 - || candidate.Length > array.Length; - } - } -} +using Google.Protobuf.WellKnownTypes; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LtAmpDotNet.Tools +{ + public class FileExtractor + { + private byte[] data; + public FileExtractor(string path) + { + using (var file = File.OpenRead(path)) + { + data = new byte[file.Length]; + file.Read(data, 0, data.Length); + file.Close(); + } + } + + public string[] Extract(string fileExt) + { + var locations = Locate(data, Encoding.ASCII.GetBytes($".{fileExt}")); + foreach (var location in locations) + { + var cursor = location; + cursor += $"{fileExt}".Length; + cursor += data[cursor + 5]; + var startPos = cursor; + while (data[startPos] != 0x0a) + { + startPos--; + } + var tags = new byte[] { 0x12,0x1a,0x22,0x2a,0x32,0x3a,0x42,0x4a,0x50,0x58,0x62 }; + if (tags.Contains(data[cursor])){ + continue; + } + while(cursor < data.Length && tags.Contains(data[cursor]){ + tags = tags[tags.ToList().IndexOf(data[cursor])]; + + } + + } + } + + private int[] Locate(byte[] self, byte[] candidate) + { + if (IsEmptyLocate(self, candidate)) + return null; + + var list = new List(); + + for (int i = 0; i < self.Length; i++) + { + if (!IsMatch(self, i, candidate)) + continue; + + list.Add(i); + } + + return list.Count == 0 ? null : list.ToArray(); + } + + private bool IsMatch(byte[] array, int position, byte[] candidate) + { + if (candidate.Length > (array.Length - position)) + return false; + + for (int i = 0; i < candidate.Length; i++) + if (array[position + i] != candidate[i]) + return false; + + return true; + } + + private bool IsEmptyLocate(byte[] array, byte[] candidate) + { + return array == null + || candidate == null + || array.Length == 0 + || candidate.Length == 0 + || candidate.Length > array.Length; + } + } +} diff --git a/LtDotNet/LtDotNet.Tools/LtDotNet.Tools.csproj b/LtAmpDotNet/LtAmpDotNet.Tools/LtAmpDotNet.Tools.csproj similarity index 78% rename from LtDotNet/LtDotNet.Tools/LtDotNet.Tools.csproj rename to LtAmpDotNet/LtAmpDotNet.Tools/LtAmpDotNet.Tools.csproj index 48f6d15..09606f8 100644 --- a/LtDotNet/LtDotNet.Tools/LtDotNet.Tools.csproj +++ b/LtAmpDotNet/LtAmpDotNet.Tools/LtAmpDotNet.Tools.csproj @@ -1,18 +1,18 @@ - - - - Exe - net6.0 - enable - enable - - - - - - - - - - - + + + + Exe + net6.0 + enable + enable + + + + + + + + + + + diff --git a/LtDotNet/LtDotNet.Tools/Program.cs b/LtAmpDotNet/LtAmpDotNet.Tools/Program.cs similarity index 54% rename from LtDotNet/LtDotNet.Tools/Program.cs rename to LtAmpDotNet/LtAmpDotNet.Tools/Program.cs index 45c7d95..074736d 100644 --- a/LtDotNet/LtDotNet.Tools/Program.cs +++ b/LtAmpDotNet/LtAmpDotNet.Tools/Program.cs @@ -1,62 +1,89 @@ -using Google.Protobuf; -using LtDotNet.Lib; -using LtDotNet.Lib.Model; -using System.Text; - -namespace LtDotNet.Tools -{ - internal class Program - { - private static LtDevice amp = new LtDevice(); - static void Main(string[] args) - { - var input = args[0]; - var output = args[1]; - DecodeTestStrings(input, output); - } - - public static void DecodeTestStrings(string inputFilename, string outputFilename) - { - - var inputFile = File.OpenText(inputFilename); - IEnumerable incomingData = new List(); - using (var outputFile = new StreamWriter(outputFilename)) - { - while (!inputFile.EndOfStream) - { - var line = inputFile.ReadLine().Split("\t"); - var data = Convert.FromHexString(line[6]); - byte messageNum; - if (data.Length > 0) - { - if (data[0] == 0x00) - { - incomingData = incomingData.Append(data); - } - else - { - byte[] newData = new byte[65]; - data.CopyTo(newData, 1); - data = newData; - incomingData = incomingData.Append(newData.ToArray()); - } - if (data[1] == 0x35) - { - int finallength = incomingData.Sum(x => x[4]); - List finalByteArray = new List(); - for (var i = 0; i < incomingData.Count(); i++) - { - finalByteArray.AddRange(incomingData.ToArray()[i].Skip(3).Take(incomingData.ToArray()[i][2])); - } - var message = FenderMessageLT.Parser.ParseFrom(finalByteArray.ToArray()); - - Console.WriteLine(message.ToString()); - outputFile.WriteLine($"{line[0]}\t{(line[2] == "host" ? ">>" : "<<")}\t{message.ToString()}"); - incomingData = new List(); - } - } - } - } - } - } +using Google.Protobuf; +using LtAmpDotNet.Lib; +using LtAmpDotNet.Lib.Model; +using LtAmpDotNet.Lib.Model.Preset; +using Newtonsoft.Json; +using System.Text; + +namespace LtAmpDotNet.Tools +{ + internal class Program + { + private static LtAmpDevice amp = new LtAmpDevice(); + static void Main(string[] args) + { + //amp = new Lib.LtAmpDevice(); + //amp.MessageReceived += Amp_MessageReceived; + //amp.MessageSent += Amp_MessageSent; + ////amp.DeviceConnected += Amp_DeviceConnected; + //amp.Open(); + List? presets = JsonConvert.DeserializeObject>(File.ReadAllText(Path.Join(Environment.CurrentDirectory, "JsonDefinitions", "mustang", "default_presets.json"))); + foreach (var preset in presets!) + { + Console.WriteLine(preset); + } + //var input = args[0]; + //var output = args[1]; + //DecodeTestStrings(input, output); + //Console.Read(); + } + + private static void Amp_MessageSent(FenderMessageLT message) + { + Console.WriteLine($">> {message.ToString()}"); + } + + private static void Amp_DeviceConnected(object sender, EventArgs e) + { + amp.RenamePresetAt(4, "DOOKIE CLEAN"); + } + + private static void Amp_MessageReceived(FenderMessageLT message) + { + Console.WriteLine($"<< {message.ToString()}"); + } + + public static void DecodeTestStrings(string inputFilename, string outputFilename) + { + + var inputFile = File.OpenText(inputFilename); + IEnumerable incomingData = new List(); + using (var outputFile = new StreamWriter(outputFilename)) + { + while (!inputFile!.EndOfStream) + { + var line = inputFile?.ReadLine()?.Split("\t"); + var data = Convert.FromHexString(line![6]); + if (data.Length > 0) + { + if (data[0] == 0x00) + { + incomingData = incomingData.Append(data); + } + else + { + byte[] newData = new byte[65]; + data.CopyTo(newData, 1); + data = newData; + incomingData = incomingData.Append(newData.ToArray()); + } + if (data[1] == 0x35) + { + int finallength = incomingData.Sum(x => x[4]); + List finalByteArray = new List(); + for (var i = 0; i < incomingData.Count(); i++) + { + finalByteArray.AddRange(incomingData.ToArray()[i].Skip(3).Take(incomingData.ToArray()[i][2])); + } + var message = FenderMessageLT.Parser.ParseFrom(finalByteArray.ToArray()); + + Console.WriteLine(message.ToString()); + outputFile.WriteLine($"{line[0]}\t{(line[2] == "host" ? ">>" : "<<")}\t{message.ToString()}"); + incomingData = new List(); + } + } + } + } + } + } } \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Tools/README.md b/LtAmpDotNet/LtAmpDotNet.Tools/README.md similarity index 98% rename from LtDotNet/LtDotNet.Tools/README.md rename to LtAmpDotNet/LtAmpDotNet.Tools/README.md index 4cd27fe..fd52f90 100644 --- a/LtDotNet/LtDotNet.Tools/README.md +++ b/LtAmpDotNet/LtAmpDotNet.Tools/README.md @@ -1,5 +1,5 @@ -This project is just some random tools that I used. - -Currently, it can take a file containing a copy and paste from Wireshark, and decode the protobuf messages. - +This project is just some random tools that I used. + +Currently, it can take a file containing a copy and paste from Wireshark, and decode the protobuf messages. + It's probably specific to my setup in Wireshark. \ No newline at end of file diff --git a/LtDotNet/LtDotNet.sln b/LtAmpDotNet/LtAmpDotNet.sln similarity index 62% rename from LtDotNet/LtDotNet.sln rename to LtAmpDotNet/LtAmpDotNet.sln index 0db4655..b615d01 100644 --- a/LtDotNet/LtDotNet.sln +++ b/LtAmpDotNet/LtAmpDotNet.sln @@ -1,37 +1,43 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.3.32929.385 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LtDotNet.Lib", "LtDotNet.Lib\LtDotNet.Lib.csproj", "{801AB553-A8BB-4100-A484-038C2D338EA7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LtDotNet.Tools", "LtDotNet.Tools\LtDotNet.Tools.csproj", "{BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LtDotNet.Tests", "LtDotNet.Tests\LtDotNet.Tests.csproj", "{1CFA5C01-9F65-4018-ACB1-97E6388E34CF}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {801AB553-A8BB-4100-A484-038C2D338EA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {801AB553-A8BB-4100-A484-038C2D338EA7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {801AB553-A8BB-4100-A484-038C2D338EA7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {801AB553-A8BB-4100-A484-038C2D338EA7}.Release|Any CPU.Build.0 = Release|Any CPU - {BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}.Release|Any CPU.Build.0 = Release|Any CPU - {1CFA5C01-9F65-4018-ACB1-97E6388E34CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1CFA5C01-9F65-4018-ACB1-97E6388E34CF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1CFA5C01-9F65-4018-ACB1-97E6388E34CF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1CFA5C01-9F65-4018-ACB1-97E6388E34CF}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {1ECF28B0-6685-4F11-82B2-768B0BCF3FCC} - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32929.385 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LtAmpDotNet.Lib", "LtAmpDotNet.Lib\LtAmpDotNet.Lib.csproj", "{801AB553-A8BB-4100-A484-038C2D338EA7}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LtAmpDotNet.Tools", "LtAmpDotNet.Tools\LtAmpDotNet.Tools.csproj", "{BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LtAmpDotNet.Tests", "LtAmpDotNet.Tests\LtAmpDotNet.Tests.csproj", "{1CFA5C01-9F65-4018-ACB1-97E6388E34CF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LtAmpVirtualUsb", "LtAmpVirtualUsb\LtAmpVirtualUsb.csproj", "{39681B88-4A23-4EA6-8AFA-D48A4F016BBB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {801AB553-A8BB-4100-A484-038C2D338EA7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {801AB553-A8BB-4100-A484-038C2D338EA7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {801AB553-A8BB-4100-A484-038C2D338EA7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {801AB553-A8BB-4100-A484-038C2D338EA7}.Release|Any CPU.Build.0 = Release|Any CPU + {BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BAE73DC9-2D57-4ABB-9EF4-59594BE0F74C}.Release|Any CPU.Build.0 = Release|Any CPU + {1CFA5C01-9F65-4018-ACB1-97E6388E34CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1CFA5C01-9F65-4018-ACB1-97E6388E34CF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1CFA5C01-9F65-4018-ACB1-97E6388E34CF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1CFA5C01-9F65-4018-ACB1-97E6388E34CF}.Release|Any CPU.Build.0 = Release|Any CPU + {39681B88-4A23-4EA6-8AFA-D48A4F016BBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {39681B88-4A23-4EA6-8AFA-D48A4F016BBB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {39681B88-4A23-4EA6-8AFA-D48A4F016BBB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {39681B88-4A23-4EA6-8AFA-D48A4F016BBB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {1ECF28B0-6685-4F11-82B2-768B0BCF3FCC} + EndGlobalSection +EndGlobal diff --git a/LtAmpDotNet/LtAmpVirtualUsb/LtAmpVirtualUsb.csproj b/LtAmpDotNet/LtAmpVirtualUsb/LtAmpVirtualUsb.csproj new file mode 100644 index 0000000..1e38e3b --- /dev/null +++ b/LtAmpDotNet/LtAmpVirtualUsb/LtAmpVirtualUsb.csproj @@ -0,0 +1,11 @@ + + + + Exe + net6.0 + enable + enable + True + + + diff --git a/LtAmpDotNet/LtAmpVirtualUsb/Program.cs b/LtAmpDotNet/LtAmpVirtualUsb/Program.cs new file mode 100644 index 0000000..2f9655c --- /dev/null +++ b/LtAmpDotNet/LtAmpVirtualUsb/Program.cs @@ -0,0 +1,10 @@ +namespace LtAmpVirtualUsb +{ + internal class Program + { + static void Main(string[] args) + { + Console.WriteLine("Hello, World!"); + } + } +} \ No newline at end of file diff --git a/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/Descriptors.cs b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/Descriptors.cs new file mode 100644 index 0000000..6d94b71 --- /dev/null +++ b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/Descriptors.cs @@ -0,0 +1,401 @@ +using System; +using System.Collections.Generic; +using System.Net; +using System.Text; + +namespace UsbipDevice +{ + public static class UsbDescriptors + { + public static USB_DEVICE_DESCRIPTOR Device = new USB_DEVICE_DESCRIPTOR + { + bLength = 0x12, + bDescriptorType = 0x01, + bcdUSB = 0x0110, + bDeviceClass = 0x00, + bDeviceSubClass = 0x00, + bDeviceProtocol = 0x00, + bMaxPacketSize0 = 0x08, + idVendor = 0x2706, + idProduct = 0x0100, + bcdDevice = 0x0000, + iManufacturer = 0x00, + iProduct = 0x00, + iSerialNumber = 0x00, + bNumConfigurations = 0x01 + }; + + internal static CONFIG_HID CommonHid = new CONFIG_HID + { + dev_conf = new USB_CONFIGURATION_DESCRIPTOR + { + /* Configuration Descriptor */ + bLength = 0x09,//sizeof(USB_CFG_DSC), // Size of this descriptor in bytes + bDescriptorType = (byte)DescriptorType.USB_DESCRIPTOR_CONFIGURATION, // CONFIGURATION descriptor type + wTotalLength = 0x0022, // Total length of data for this cfg + bNumInterfaces = 1, // Number of interfaces in this cfg + bConfigurationValue = 1, // Index value of this configuration + iConfiguration = 0, // Configuration string index + bmAttributes = 0x80, + bMaxPower = 50, // Max power consumption (2X mA) + }, + dev_int = new USB_INTERFACE_DESCRIPTOR + { + /* Interface Descriptor */ + bLength = 0x09,//sizeof(USB_INTF_DSC), // Size of this descriptor in bytes + bDescriptorType = (byte)DescriptorType.USB_DESCRIPTOR_INTERFACE, // INTERFACE descriptor type + bInterfaceNumber = 0, // Interface Number + bAlternateSetting = 0, // Alternate Setting Number + bNumEndpoints = 1, // Number of endpoints in this intf + bInterfaceClass = 0x03, // Class code + bInterfaceSubClass = 0x01, // Subclass code + bInterfaceProtocol = 0x01, // Protocol code + iInterface = 0, // Interface string index + }, + dev_hid = new USB_HID_DESCRIPTOR + { + /* HID Class-Specific Descriptor */ + bLength = 0x09, // Size of this descriptor in bytes RRoj hack + bDescriptorType = 0x21, // HID descriptor type + bcdHID = 0x0001, // HID Spec Release Number in BCD format (1.11) + bCountryCode = 0x00, // Country Code (0x00 for Not supported) + bNumDescriptors = 0x01, // Number of class descriptors, see usbcfg.h + bRPDescriptorType = 0x22, // Report descriptor type + wRPDescriptorLength = 0x0, // Size of the report descriptor + }, + dev_ep = new USB_ENDPOINT_DESCRIPTOR + { + /* Endpoint Descriptor */ + bLength = 0x07,/*sizeof(USB_EP_DSC)*/ + bDescriptorType = (byte)DescriptorType.USB_DESCRIPTOR_ENDPOINT, //Endpoint Descriptor + bEndpointAddress = 0x81, //EndpointAddress + bmAttributes = 0x03, //Attributes + wMaxPacketSize = 0x0008, //size + bInterval = 0xFF //Interval + } + }; + } + + public static class KeyboardDescriptors + { + public static byte[] Report = { + 0x05, 0x01, //Usage Page (Generic Desktop), + 0x09, 0x06, //Usage (Keyboard), + 0xA1, 0x01, //Collection (Application), + 0x05, 0x07, //Usage Page (Key Codes); + 0x19, 0xE0, //Usage Minimum (224), + 0x29, 0xE7, //Usage Maximum (231), + 0x15, 0x00, //Logical Minimum (0), + 0x25, 0x01, //Logical Maximum (1), + 0x75, 0x01, //Report Size (1), + 0x95, 0x08, //Report Count (8), + 0x81, 0x02, //Input (Data, Variable, Absolute), + 0x75, 0x08, //Report Size (8), + 0x95, 0x01, //Report Count (1), + 0x81, 0x01, //Input (Constant), + 0x75, 0x01, //Report Size (1), + 0x95, 0x05, //Report Count (5), + 0x05, 0x08, //Usage Page (Page# for LEDs), + 0x19, 0x01, //Usage Minimum (1), + 0x29, 0x05, //Usage Maximum (5), + 0x91, 0x02, //Output (Data, Variable, Absolute), + 0x75, 0x03, //Report Size (3), + 0x95, 0x01, //Report Count (1), + 0x91, 0x01, //Output (Constant), + 0x75, 0x08, //Report Size (8), + 0x95, 0x06, //Report Count (6), + 0x15, 0x00, //Logical Minimum (0), + 0x25, 0x65, //Logical Maximum(101), + 0x05, 0x07, //Usage Page (Key Codes), + 0x19, 0x00, //Usage Minimum (0), + 0x29, 0x65, //Usage Maximum (101), + 0x81, 0x00, //Input (Data, Array), + 0xC0 //End Collection + }; + + static CONFIG_HID _hid; + public static CONFIG_HID Hid => _hid; + + static KeyboardDescriptors() + { + _hid = UsbDescriptors.CommonHid; + _hid.dev_hid.wRPDescriptorLength = (short)Report.Length; + } + } + + public static class MouseDescriptors + { + // hid-mouse.c + //public static byte[] Report = { + // 0x05, 0x01, /* Usage Page (Generic Desktop) */ + // 0x09, 0x02, /* Usage (Mouse) */ + // 0xA1, 0x01, /* Collection (Application) */ + // 0x09, 0x01, /* Usage (Pointer) */ + // 0xA1, 0x00, /* Collection (Physical) */ + // 0x05, 0x09, /* Usage Page (Buttons) */ + // 0x19, 0x01, /* Usage Minimum (01) */ + // 0x29, 0x03, /* Usage Maximum (03) */ + // 0x15, 0x00, /* Logical Minimum (0) */ + // 0x25, 0x01, /* Logical Maximum (1) */ + // 0x95, 0x03, /* Report Count (3) */ + // 0x75, 0x01, /* Report Size (1) */ + // 0x81, 0x02, /* Input (Data, Variable, Absolute) */ + // 0x95, 0x01, /* Report Count (1) */ + // 0x75, 0x05, /* Report Size (5) */ + // 0x81, 0x01, /* Input (Constant) ;5 bit padding */ + // 0x05, 0x01, /* Usage Page (Generic Desktop) */ + // 0x09, 0x30, /* Usage (X) */ + // 0x09, 0x31, /* Usage (Y) */ + // 0x09, 0x38, /* Logical Minimum (-127) */ + // 0x15, 0x81, /* Logical Maximum (127) */ + // 0x25, 0x7F, /* Report Size (8) */ + // 0x75, 0x08, /* Report Count (3) */ + // 0x95, 0x03, /* Input (Data, Variable, Relative) */ + // 0x81, 0x06, + // 0xC0, 0xC0 + //}; + + public static byte[] RelativeReport = { + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x02, // USAGE (Mouse) + 0xa1, 0x01, // COLLECTION (Application) + 0x09, 0x01, // USAGE (Pointer) + 0xa1, 0x00, // COLLECTION (Physical) + 0x05, 0x09, // USAGE_PAGE (Button) + 0x19, 0x01, // USAGE_MINIMUM (Button 1) + 0x29, 0x03, // USAGE_MAXIMUM (Button 3) + 0x15, 0x00, // LOGICAL_MINIMUM (0) + 0x25, 0x01, // LOGICAL_MAXIMUM (1) + 0x75, 0x01, // REPORT_SIZE (1) + 0x95, 0x03, // REPORT_COUNT (3) + 0x81, 0x02, // INPUT (Data, Var, Abs) + 0x75, 0x05, // REPORT_SIZE (5) + 0x95, 0x01, // REPORT_COUNT (1) + 0x81, 0x03, // INPUT (Cnst, Var, Abs) + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x30, // USAGE (X) + 0x09, 0x31, // USAGE (Y) + 0x15, 0x81, // LOGICAL_MINIMUM (-127) + 0x25, 0x7f, // LOGICAL_MAXIMUM (127) + 0x75, 0x08, // REPORT_SIZE (8) + 0x95, 0x02, // REPORT_COUNT (2) + 0x81, 0x06, // INPUT (Data, Var, Rel) + 0xC0 , // END_COLLECTION + 0xC0 , // END_COLLECTION + }; + + public static byte[] AbsoluteReport = { + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x02, // USAGE (Mouse) + 0xa1, 0x01, // COLLECTION (Application) + 0x09, 0x01, // USAGE (Pointer) + 0xa1, 0x00, // COLLECTION (Physical) + 0x05, 0x09, // USAGE_PAGE (Button) + 0x19, 0x01, // USAGE_MINIMUM (Button 1) + 0x29, 0x03, // USAGE_MAXIMUM (Button 3) + 0x15, 0x00, // LOGICAL_MINIMUM (0) + 0x25, 0x01, // LOGICAL_MAXIMUM (1) + 0x75, 0x01, // REPORT_SIZE (1) + 0x95, 0x03, // REPORT_COUNT (3) + 0x81, 0x02, // INPUT (Data, Var, Abs) + 0x75, 0x05, // REPORT_SIZE (5) + 0x95, 0x01, // REPORT_COUNT (1) + 0x81, 0x03, // INPUT (Cnst, Var, Abs) + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x30, // USAGE (X) + 0x09, 0x31, // USAGE (Y) + + 0x15, 0x00, // LOGICAL_MINIMUM (0) + 0x26, 0xff, 0x7f, // LOGICAL_MAXIMUM (32767) + + 0x75, 0x10, // REPORT_SIZE (16) + 0x95, 0x02, // REPORT_COUNT (2) + 0x81, 0x02, // INPUT (Data, Var, Abs) + 0xC0 , // END_COLLECTION + 0xC0 , // END_COLLECTION + }; + + public static byte RelativeMouseReportId = 2; + public static byte AbsoluteMouseReportId = 3; + + public static byte[] AbsoluteAndRelativeReport = { + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x02, // USAGE (Mouse) + 0xa1, 0x01, // COLLECTION (Application) + 0x09, 0x01, // USAGE (Pointer) + 0xa1, 0x00, // COLLECTION (Physical) + 0x85, RelativeMouseReportId, // REPORT_ID (2) + 0x05, 0x09, // USAGE_PAGE (Button) + 0x19, 0x01, // USAGE_MINIMUM (Button 1) + 0x29, 0x03, // USAGE_MAXIMUM (Button 3) + 0x15, 0x00, // LOGICAL_MINIMUM (0) + 0x25, 0x01, // LOGICAL_MAXIMUM (1) + 0x75, 0x01, // REPORT_SIZE (1) + 0x95, 0x03, // REPORT_COUNT (3) + 0x81, 0x02, // INPUT (Data, Var, Abs) + 0x75, 0x05, // REPORT_SIZE (5) + 0x95, 0x01, // REPORT_COUNT (1) + 0x81, 0x03, // INPUT (Cnst, Var, Abs) + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x30, // USAGE (X) + 0x09, 0x31, // USAGE (Y) + 0x15, 0x81, // LOGICAL_MINIMUM (-127) + 0x25, 0x7f, // LOGICAL_MAXIMUM (127) + 0x75, 0x08, // REPORT_SIZE (8) + 0x95, 0x02, // REPORT_COUNT (2) + 0x81, 0x06, // INPUT (Data, Var, Rel) + 0xC0, // END_COLLECTION + 0xC0, // END_COLLECTION + + 0x05, 0x01, //USAGE_PAGE (Generic Desktop) + 0x09, 0x02, //USAGE (Mouse) + 0xa1, 0x01, //COLLECTION (Application) + 0x09, 0x01, // USAGE (Pointer) + 0xa1, 0x00, // COLLECTION (Physical) + 0x85, AbsoluteMouseReportId, // REPORT_ID (3) + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x30, // USAGE (X) + 0x09, 0x31, // USAGE (Y) + 0x15, 0x00, // LOGICAL_MINIMUM(0) + 0x26, 0xff, 0x7f, // LOGICAL_MAXIMUM(32767) + 0x75, 0x10, // REPORT_SIZE (16) + 0x95, 0x02, // REPORT_COUNT (2) + 0x81, 0x02, // INPUT (Data, Var, Abs) + 0x09, 0x38, // USAGE (Wheel) + 0x15, 0x81, // LOGICAL_MINIMUM (-127) + 0x25, 0x7f, // LOGICAL_MAXIMUM (127) + 0x75, 0x08, // REPORT_SIZE (8) + 0x95, 0x01, // REPORT_COUNT (1) + 0x81, 0x06, // INPUT (Data, Var, Rel) + 0xC0, // END_COLLECTION + 0xC0 // END_COLLECTION + }; + + static CONFIG_HID _relativeHid; + public static CONFIG_HID RelativeHid => _relativeHid; + + static CONFIG_HID _absoluteHid; + public static CONFIG_HID AbsoluteHid => _absoluteHid; + + static CONFIG_HID _absoluteAndRelativeHid; + public static CONFIG_HID AbsoluteAndRelativeHid => _absoluteAndRelativeHid; + + static MouseDescriptors() + { + _relativeHid = UsbDescriptors.CommonHid; + _relativeHid.dev_hid.wRPDescriptorLength = (short)RelativeReport.Length; + + _absoluteHid = UsbDescriptors.CommonHid; + _absoluteHid.dev_hid.wRPDescriptorLength = (short)AbsoluteReport.Length; + + _absoluteAndRelativeHid = UsbDescriptors.CommonHid; + _absoluteAndRelativeHid.dev_hid.wRPDescriptorLength = (short)AbsoluteAndRelativeReport.Length; + } + } + + public static class KeyboardMouseDescriptors + { + public static byte KeyboardReportId = 1; + public static byte RelativeMouseReportId = 2; + public static byte AbsoluteMouseReportId = 3; + + public static byte[] Report = { + + 0x05, 0x01, // USAGE_PAGE (Generic Desktop) + 0x09, 0x06, // USAGE (Keyboard) + 0xa1, 0x01, // COLLECTION (Application) + 0x85, KeyboardReportId, // REPORT_ID (1) + 0x05, 0x07, // USAGE_PAGE (Keyboard) + 0x19, 0xe0, // USAGE_MINIMUM (Keyboard LeftControl) + 0x29, 0xe7, // USAGE_MINIMUM (Keyboard Right GUI) + 0x15, 0x00, // LOGICAL_MINIMUM (0) + 0x25, 0x01, // LOGICAL_MAXIMUM (1) + 0x75, 0x01, // REPORT_SIZE (1) + 0x95, 0x08, // REPORT_COUNT (8) + 0x81, 0x02, // INPUT (Data, Var, Abs) + 0x75, 0x08, // REPORT_SIZE (8) + 0x95, 0x01, // REPORT_COUNT (1) + 0x81, 0x03, // INPUT (Cnst, Var, Abs) + 0x75, 0x01, // REPORT_SIZE (1) + 0x95, 0x05, // REPORT_COUNT (5) + 0x05, 0x08, // USAGE_PAGE (LEDs) + 0x19, 0x01, // USAGE_MINIMUM (Num Lock) + 0x29, 0x05, // USAGE_MAXIMUM (Kana) + 0x91, 0x02, // OUTPUT (Data, Var, Abs) + 0x75, 0x03, // REPORT_SIZE (3) + 0x95, 0x01, // REPORT_COUNT (1) + 0x91, 0x03, // OUTPUT (Cnst, Var, Abs) + + 0x75, 0x08, // REPORT_SIZE (8) + 0x95, 0x05, // REPORT_COUNT (5) + + 0x15, 0x00, // LOGICAL_MINIMUM (0) + 0x25, 0x65, // LOGICAL_MAXIMUM (101) + 0x05, 0x07, // USAGE_PAGE (Keyboard) + 0x19, 0x00, // USAGE_MINIMUM (Reserved (no event indicated)) + 0x29, 0x65, // USAGE_MAXIMUM (Keyboard Application) + 0x81, 0x00, // INPUT(Data, Ary, Abs) + 0xC0, // END_COLLECTION + + 0x05, 0x01 , // USAGE_PAGE (Generic Desktop) + 0x09, 0x02 , // USAGE (Mouse) + 0xa1, 0x01 , // COLLECTION (Application) + 0x09, 0x01 , // USAGE (Pointer) + 0xa1, 0x00 , // COLLECTION (Physical) + 0x85, RelativeMouseReportId , // REPORT_ID (2) + 0x05, 0x09 , // USAGE_PAGE (Button) + 0x19, 0x01 , // USAGE_MINIMUM (Button 1) + 0x29, 0x03 , // USAGE_MAXIMUM (Button 3) + 0x15, 0x00 , // LOGICAL_MINIMUM (0) + 0x25, 0x01 , // LOGICAL_MAXIMUM (1) + 0x75, 0x01 , // REPORT_SIZE (1) + 0x95, 0x03 , // REPORT_COUNT (3) + 0x81, 0x02 , // INPUT (Data, Var, Abs) + 0x75, 0x05 , // REPORT_SIZE (5) + 0x95, 0x01 , // REPORT_COUNT (1) + 0x81, 0x03 , // INPUT (Cnst, Var, Abs) + 0x05, 0x01 , // USAGE_PAGE (Generic Desktop) + 0x09, 0x30 , // USAGE (X) + 0x09, 0x31 , // USAGE (Y) + 0x15, 0x81 , // LOGICAL_MINIMUM (-127) + 0x25, 0x7f , // LOGICAL_MAXIMUM (127) + 0x75, 0x08 , // REPORT_SIZE (8) + 0x95, 0x02 , // REPORT_COUNT (2) + 0x81, 0x06 , // INPUT (Data, Var, Rel) + 0xC0 , // END_COLLECTION + 0xC0 , // END_COLLECTION + + 0x05, 0x01 , //USAGE_PAGE (Generic Desktop) + 0x09, 0x02 , //USAGE (Mouse) + 0xa1, 0x01 , //COLLECTION (Application) + 0x09, 0x01 , // USAGE (Pointer) + 0xa1, 0x00 , // COLLECTION (Physical) + 0x85, AbsoluteMouseReportId , // REPORT_ID (3) + 0x05, 0x01 , // USAGE_PAGE (Generic Desktop) + 0x09, 0x30 , // USAGE (X) + 0x09, 0x31 , // USAGE (Y) + 0x15, 0x00, // LOGICAL_MINIMUM(0) + 0x26, 0xff, 0x7f , // LOGICAL_MAXIMUM(32767) + 0x75, 0x10 , // REPORT_SIZE (16) + 0x95, 0x02 , // REPORT_COUNT (2) + 0x81, 0x02 , // INPUT (Data, Var, Abs) + 0x09, 0x38 , // USAGE (Wheel) + 0x15, 0x81 , // LOGICAL_MINIMUM (-127) + 0x25, 0x7f , // LOGICAL_MAXIMUM (127) + 0x75, 0x08 , // REPORT_SIZE (8) + 0x95, 0x01 , // REPORT_COUNT (1) + 0x81, 0x06 , // INPUT (Data, Var, Rel) + 0xC0 , //END_COLLECTION + 0xC0 , // END_COLLECTION + }; + + static CONFIG_HID _hid; + public static CONFIG_HID Hid => _hid; + + static KeyboardMouseDescriptors() + { + _hid = UsbDescriptors.CommonHid; + _hid.dev_hid.wRPDescriptorLength = (short)Report.Length; + } + } +} diff --git a/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/HelperExtension.cs b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/HelperExtension.cs new file mode 100644 index 0000000..09905a0 --- /dev/null +++ b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/HelperExtension.cs @@ -0,0 +1,113 @@ +using System; +using System.Collections.Generic; +using System.Net; +using System.Net.Sockets; +using System.Runtime.InteropServices; +using System.Text; + +namespace UsbipDevice +{ + public static class HelperExtension + { + public static unsafe T ReadAs(this Socket socket) where T : unmanaged + { + int size = sizeof(T); + byte[] buf = new byte[size]; + + int received = socket.Receive(buf, SocketFlags.None); + if (received != size) + { + return default(T); + } + + IntPtr ptrElem = Marshal.UnsafeAddrOfPinnedArrayElement(buf, 0); + return Marshal.PtrToStructure(ptrElem); + } + + public static unsafe T ReadAndUnpackAs(this Socket socket) where T : unmanaged + { + int size = sizeof(T); + byte[] buf = new byte[size]; + + int received = socket.Receive(buf, SocketFlags.None); + if (received != size) + { + return default(T); + } + + fixed (byte* pByte = buf) + { + int* intBytes = (int*)pByte; + unpack(intBytes, size); + } + + IntPtr ptrElem = Marshal.UnsafeAddrOfPinnedArrayElement(buf, 0); + return Marshal.PtrToStructure(ptrElem); + } + + public static unsafe void pack(int* data, int size) + { + int i; + size = size / 4; + for (i = 0; i < size; i++) + { + data[i] = IPAddress.HostToNetworkOrder(data[i]); + } + //swap setup + i = data[size - 1]; + data[size - 1] = data[size - 2]; + data[size - 2] = i; + } + + static unsafe void unpack(int* data, int size) + { + int i; + size = size / 4; + + for (i = 0; i < size; i++) + { + data[i] = IPAddress.NetworkToHostOrder(data[i]); + } + + i = data[size - 1]; + data[size - 1] = data[size - 2]; + data[size - 2] = i; + } + + public static unsafe bool SendAs(this Socket socket, T data) where T : unmanaged + { + int size = sizeof(T); + byte[] buf = new byte[size]; + + IntPtr ptrElem = Marshal.UnsafeAddrOfPinnedArrayElement(buf, 0); + Marshal.StructureToPtr(data, ptrElem, true); + + int sent = socket.Send(buf, SocketFlags.None); + if (sent != size) + { + return false; + } + + return true; + } + + public static string ReadBusId(this Socket socket) + { + byte[] busId = new byte[32]; + if (socket.Receive(busId) != 32) + { + return null; + } + + var handle = GCHandle.Alloc(busId, GCHandleType.Pinned); + try + { + return Marshal.PtrToStringAnsi(handle.AddrOfPinnedObject()); + } + finally + { + handle.Free(); + } + } + } +} diff --git a/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/KeyboardDevice.cs b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/KeyboardDevice.cs new file mode 100644 index 0000000..951d4b4 --- /dev/null +++ b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/KeyboardDevice.cs @@ -0,0 +1,574 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace UsbipDevice +{ + public class KeyboardDevice : IDisposable + { + Usbip _device; + + static Dictionary _letterKey = new Dictionary(); + static Dictionary _controlKey = new Dictionary(); + static HashSet _upper = new HashSet(); + static Dictionary _modifierKey = new Dictionary(); + + public const char VK_IME_KEY = (char)0x0f; + public const char VK_CAPITAL = (char)0x14; + + byte[] _reportDescriptor; + bool _hasReportId = false; + + public bool Connected + { + get { return _device.Connected; } + } + + public KeyboardDevice(Usbip device, byte[] reportDescriptor) + { + _device = device; + + _reportDescriptor = reportDescriptor; + _hasReportId = ReportDescEnumerator.HasReportId(_reportDescriptor); + } + + public void SendText(string txt) + { + foreach (byte[] buffer in ConvertToKeyboardCommand(txt)) + { + _device.Send(buffer); + } + } + + public void SendChar(ConsoleKeyInfo key) + { + foreach (byte[] buffer in ConvertToKeyboardCommand(key)) + { + _device.Send(buffer); + } + } + + public List ConvertToKeyboardCommand(string txt) + { + List buf = new List(); + + bool shiftPressed = false; + bool ctrlPressed = false; + bool altPressed = false; + + for (int i = 0; i < txt.Length; i++) + { + string cmdKey = ""; + + if (txt[i] == '<') + { + if (i != txt.Length - 1) + { + if (txt[i + 1] != '<') + { + int backPos = i; + + cmdKey = ReadCommand(txt, ref i); + if (string.IsNullOrEmpty(cmdKey) == false) + { + ConsoleKeyInfo? key = CommandToKeyInfo(out bool processed, cmdKey, ref shiftPressed, ref altPressed, ref ctrlPressed); + if (processed == true) + { + if (key != null) + { + buf.Add(key.Value); + } + continue; + } + } + + i = backPos; + } + else + { + i++; + } + } + } + + ConsoleKeyInfo cki = new ConsoleKeyInfo( + txt[i], ConsoleKey.NoName, shiftPressed, altPressed, ctrlPressed); + + buf.Add(cki); + } + + return ConsoleKeyInfoToCommand(buf.ToArray()); + } + + private ConsoleKeyInfo? CommandToKeyInfo(out bool processed, string cmdKey, ref bool shiftPressed, ref bool altPressed, ref bool ctrlPressed) + { + processed = true; + + switch (cmdKey) + { + case "window": + return new ConsoleKeyInfo((char)0, ConsoleKey.LeftWindows, shiftPressed, altPressed, ctrlPressed); + case "ime": + return new ConsoleKeyInfo((char)0, (ConsoleKey)VK_IME_KEY, shiftPressed, altPressed, ctrlPressed); + case "return": + return new ConsoleKeyInfo('\r', ConsoleKey.NoName, shiftPressed, altPressed, ctrlPressed); + case "ctrl_down": + ctrlPressed = true; + return null; + case "ctrl_up": + ctrlPressed = false; + return null; + case "shift_down": + shiftPressed = true; + return null; + case "shift_up": + shiftPressed = false; + return null; + case "alt_down": + altPressed = true; + return null; + case "alt_up": + altPressed = false; + return null; + case "capslock": + return new ConsoleKeyInfo(VK_CAPITAL, ConsoleKey.NoName, shiftPressed, altPressed, ctrlPressed); + case "esc": + return new ConsoleKeyInfo((char)0, ConsoleKey.Escape, shiftPressed, altPressed, ctrlPressed); + case "backspace": + return new ConsoleKeyInfo((char)0, ConsoleKey.Backspace, shiftPressed, altPressed, ctrlPressed); + case "tab": + return new ConsoleKeyInfo((char)0, ConsoleKey.Tab, shiftPressed, altPressed, ctrlPressed); + case "insert": + return new ConsoleKeyInfo((char)0, ConsoleKey.Insert, shiftPressed, altPressed, ctrlPressed); + case "home": + return new ConsoleKeyInfo((char)0, ConsoleKey.Home, shiftPressed, altPressed, ctrlPressed); + case "pageup": + return new ConsoleKeyInfo((char)0, ConsoleKey.PageUp, shiftPressed, altPressed, ctrlPressed); + case "pagedown": + return new ConsoleKeyInfo((char)0, ConsoleKey.PageDown, shiftPressed, altPressed, ctrlPressed); + case "del": + return new ConsoleKeyInfo((char)0, ConsoleKey.Delete, shiftPressed, altPressed, ctrlPressed); + case "end": + return new ConsoleKeyInfo((char)0, ConsoleKey.End, shiftPressed, altPressed, ctrlPressed); + case "left": + return new ConsoleKeyInfo((char)0, ConsoleKey.LeftArrow, shiftPressed, altPressed, ctrlPressed); + case "right": + return new ConsoleKeyInfo((char)0, ConsoleKey.RightArrow, shiftPressed, altPressed, ctrlPressed); + case "up": + return new ConsoleKeyInfo((char)0, ConsoleKey.UpArrow, shiftPressed, altPressed, ctrlPressed); + case "down": + return new ConsoleKeyInfo((char)0, ConsoleKey.DownArrow, shiftPressed, altPressed, ctrlPressed); + } + + if (cmdKey[0] == 'f' && cmdKey.Length >= 2) + { + char ch = cmdKey[1]; + if (ch >= '0' && ch <= '9') + { + string txt = new string(ch, 1); + if (cmdKey.Length >= 3) + { + txt += cmdKey[2]; + } + + if (int.TryParse(txt, out int _result) == true) + { + return new ConsoleKeyInfo((char)0, ConsoleKey.F1 + _result - 1, shiftPressed, altPressed, ctrlPressed); + } + } + } + + processed = false; + return null; + } + + public List ConvertToKeyboardCommand(ConsoleKeyInfo key) + { + return ConsoleKeyInfoToCommand(new ConsoleKeyInfo[] { key }); + } + + public byte GetReportId() + { + if (_hasReportId == false) + { + return 0; + } + + return KeyboardMouseDescriptors.KeyboardReportId; + } + + byte [] GetBuffer(byte reportId) + { + int bufferSize = ReportDescEnumerator.GetReportSize(_reportDescriptor, reportId); + if (bufferSize > 8) + { + bufferSize = 8; + } + + byte[] buffer = new byte[bufferSize]; + + buffer[0] = reportId; + + return buffer; + } + + public List ConsoleKeyInfoToCommand(ConsoleKeyInfo[] keys) + { + List list = new List(); + + byte reportId = GetReportId(); + + for (int i = 0; i < keys.Length; i++) + { + ConsoleKeyInfo key = keys[i]; + byte[] bufferDown = GetBuffer(reportId); + + char ch = key.KeyChar; + int baseId = 0; + + if (reportId != 0) + { + baseId++; + } + + if (ch == 0) + { + if (_controlKey.ContainsKey((char)key.Key) == true) + { + bufferDown[baseId + 0] = GetModifierKey(key.Modifiers, false); + bufferDown[baseId + 2] = _controlKey[(char)key.Key]; // key down + } + else if (_modifierKey.ContainsKey((char)key.Key) == true) + { + bufferDown[baseId + 0] = _modifierKey[(char)key.Key]; + } + } + else + { + byte keyCode = CharToCode(ch); + bool needShift = _upper.Contains(ch); + + byte modifier = GetModifierKey(key.Modifiers, needShift); + bufferDown[baseId + 0] = modifier; + bufferDown[baseId + 2] = keyCode; + } + + list.Add(bufferDown); // key down + + byte[] bufferUp = GetBuffer(reportId); + list.Add(bufferUp); // key up + } + + return list; + } + + private string ReadCommand(string txt, ref int index) + { + if (txt.IndexOf(">", index) == -1) + { + return null; + } + + List cmd = new List(); + + index++; + + while (txt.Length > index) + { + if (txt[index] == '>') + { + break; + } + + cmd.Add(txt[index]); + index++; + } + + return new string(cmd.ToArray()); + } + + byte GetModifierKey(ConsoleModifiers modifiers, bool needShift) + { + byte modifierByte = 0; + + if ((modifiers & ConsoleModifiers.Control) == ConsoleModifiers.Control) + { + modifierByte |= (byte)ModifierKey.Left_Ctrl_Key; + } + + if (needShift == true || (modifiers & ConsoleModifiers.Shift) == ConsoleModifiers.Shift) + { + modifierByte |= (byte)ModifierKey.Left_Shift_Key; + } + + if ((modifiers & ConsoleModifiers.Alt) == ConsoleModifiers.Alt) + { + modifierByte |= (byte)ModifierKey.Left_Alt_Key; + } + + return modifierByte; + } + + byte CharToCode(char ch) + { + if (char.IsLetter(ch) == true) + { + short lower = (short)char.ToLower(ch); + byte keyCode = (byte)((lower - 'a') + 4); + + return keyCode; + } + + if (_letterKey.ContainsKey(ch) == true) + { + return _letterKey[ch]; + } + + if (_controlKey.ContainsKey(ch) == true) + { + return _controlKey[ch]; + } + + return 0; + } + + public static char CodeToChar(byte code) + { + if (code >= 0x4 && code <= 0x1d) + { + char ch = (char)(code - 4 + (short)'a'); + return ch; + } + + foreach (var item in _letterKey) + { + if (item.Value == code) + { + return item.Key; + } + } + + foreach (var item in _controlKey) + { + if (item.Value == code) + { + return item.Key; + } + } + + return (char)0; + } + + public static bool ModifierKeyPressed(byte modifierKeyState, bool ctrlKeyPressed, bool shiftKeyPressed, bool altKeyPressed) + { + if (modifierKeyState == 0) + { + return false; + } + + if (ctrlKeyPressed == true) + { + if (((ModifierKey)modifierKeyState & ModifierKey.Left_Ctrl_Key) != ModifierKey.Left_Ctrl_Key) + { + return false; + } + } + + if (shiftKeyPressed == true) + { + if (((ModifierKey)modifierKeyState & ModifierKey.Left_Shift_Key) != ModifierKey.Left_Shift_Key) + { + return false; + } + } + + if (altKeyPressed == true) + { + if (((ModifierKey)modifierKeyState & ModifierKey.Left_Alt_Key) != ModifierKey.Left_Alt_Key) + { + return false; + } + } + + return true; + } + + public void Dispose() + { + _device.Dispose(); + } + + static KeyboardDevice() + { + for (int i = (int)'A'; i < (int)'Z'; i++) + { + _upper.Add((char)i); + } + + _upper.Add('~'); + _upper.Add('!'); + _upper.Add('@'); + _upper.Add('#'); + _upper.Add('$'); + _upper.Add('%'); + _upper.Add('^'); + _upper.Add('&'); + _upper.Add('*'); + _upper.Add('('); + _upper.Add(')'); + _upper.Add('_'); + _upper.Add('+'); + _upper.Add('{'); + _upper.Add('}'); + _upper.Add('|'); + _upper.Add(':'); + _upper.Add('"'); + _upper.Add('<'); + _upper.Add('>'); + _upper.Add('?'); + + // lower alphabet + // 4 ~ 1d + + // 1e ~ 26 + { + for (int i = 0; i < 9; i++) + { + _letterKey.Add((char)('1' + i), (byte)(0x1e + i)); + } + _letterKey.Add('0', 0x27); + + _letterKey.Add('!', 0x1e); + _letterKey.Add('@', 0x1f); + _letterKey.Add('#', 0x20); + _letterKey.Add('$', 0x21); + _letterKey.Add('%', 0x22); + _letterKey.Add('^', 0x23); + _letterKey.Add('&', 0x24); + _letterKey.Add('*', 0x25); + _letterKey.Add('(', 0x26); + _letterKey.Add(')', 0x27); + } + + _controlKey.Add('\r', 0x28); + _controlKey.Add((char)ConsoleKey.Escape, 0x29); + + _controlKey.Add('\b', 0x2a); + _controlKey.Add('\t', 0x2b); + + _letterKey.Add(' ', 0x2c); + + _letterKey.Add('-', 0x2d); + _letterKey.Add('_', 0x2d); + + _letterKey.Add('=', 0x2e); + _letterKey.Add('+', 0x2e); + + _letterKey.Add('[', 0x2f); + _letterKey.Add('{', 0x2f); + _letterKey.Add(']', 0x30); + _letterKey.Add('}', 0x30); + + _letterKey.Add('\\', 0x31); + _letterKey.Add('|', 0x31); + + // 0x32 ??? + _letterKey.Add(';', 0x33); + _letterKey.Add(':', 0x33); + + _letterKey.Add('\'', 0x34); + _letterKey.Add('"', 0x34); + + _letterKey.Add('`', 0x35); + _letterKey.Add('~', 0x35); + + _letterKey.Add(',', 0x36); + _letterKey.Add('<', 0x36); + + _letterKey.Add('.', 0x37); + _letterKey.Add('>', 0x37); + + _letterKey.Add('/', 0x38); + _letterKey.Add('?', 0x38); + + // ConsoleKey.CapsLock == 0x14(20) + _controlKey.Add(VK_CAPITAL, 0x39); + + // 3a ~ 45 + for (int i = 0; i < 12; i++) + { + _controlKey.Add((char)(ConsoleKey.F1 + i), (byte)(0x3a + i)); + } + + // 0x46 (Open OneDrive Dialog) + // 0x47 ??? + // 0x48 ??? + + _controlKey.Add((char)ConsoleKey.Insert, 0x49); + _controlKey.Add((char)ConsoleKey.Home, 0x4a); + _controlKey.Add((char)ConsoleKey.PageUp, 0x4b); + _controlKey.Add((char)ConsoleKey.Delete, 0x4c); + _controlKey.Add((char)ConsoleKey.End, 0x4d); + _controlKey.Add((char)ConsoleKey.PageDown, 0x4e); + _controlKey.Add((char)ConsoleKey.RightArrow, 0x4f); + + _controlKey.Add((char)ConsoleKey.LeftArrow, 0x50); + _controlKey.Add((char)ConsoleKey.DownArrow, 0x51); + _controlKey.Add((char)ConsoleKey.UpArrow, 0x52); + + // 0x53 NumLock + // 0x54 '/' + // _controlKey.Add((char)ConsoleKey.Divide, 0x54); + // 0x55 '*' + // _controlKey.Add((char)ConsoleKey.Multiply, 0x55); + // 0x56 '-' + // _controlKey.Add((char)ConsoleKey.Subtract, 0x56); + // 0x57 '+' + // _controlKey.Add((char)ConsoleKey.Add, 0x57); + // 0x58 ENTER (kp-enter) + // 0x59 '1' ~ 0x61 '9' + // _controlKey.Add((char)ConsoleKey.NumPad1, 0x59); + // ~ ConsoleKey.NumPad9, 0x61 + // 0x62 '0' + // _controlKey.Add((char)ConsoleKey.NumPad0, 0x62); + // 0x63 '.' + // _controlKey.Add((char)ConsoleKey.Decimal, 0x63); + + // 0x64 '\\' + // 0x65 Fn + Ins + // 0x66 ~ 0xff ??? + + // _letterKey.Add((char)ConsoleKey.Multiply, 0x55); + + // https://msdn.microsoft.com/ko-kr/library/windows/desktop/dd375731(v=vs.85).aspx + // 0x0f(15) == IME Hangul mode + _modifierKey.Add(VK_IME_KEY, (byte)ModifierKey.Hangul_Toggle_Key); + + // 0x19(25) == HanjaKey + _modifierKey.Add((char)0x19, (byte)ModifierKey.Hanja_Toggle_Key); + + _modifierKey.Add((char)ConsoleKey.LeftWindows, (byte)ModifierKey.Left_Window_Key); + _modifierKey.Add((char)ConsoleKey.RightWindows, (byte)ModifierKey.Left_Window_Key); + } + } + + [Flags] + public enum ModifierKey : byte + { + None, + Left_Ctrl_Key = 0x01, + Left_Shift_Key = 0x02, + Left_Alt_Key = 0x04, + Left_Window_Key = 0x08, + + Right_Ctrl_Key = 0x10, + Hanja_Toggle_Key = 0x10, + + Right_Shift_Key = 0x20, + + Right_Alt_Key = 0x40, + Hangul_Toggle_Key = 0x40, + + Right_Window_Key = 0x80, + } +} diff --git a/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/MouseDevice.cs b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/MouseDevice.cs new file mode 100644 index 0000000..b6f91d3 --- /dev/null +++ b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/MouseDevice.cs @@ -0,0 +1,200 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace UsbipDevice +{ + public enum MouseMode + { + None, + Relative, + Absolute, + RelativeAndAbsolute, + } + + public class MouseDevice : IDisposable + { + Usbip _device; + int _screenSizeX; + int _screenSizeY; + byte[] _reportDescriptor; + + public bool Connected + { + get { return _device.Connected; } + } + + bool _hasReportId = false; + + public MouseDevice(Usbip device, byte [] reportDescriptor, int screenSizeX, int screenSizeY) + { + _device = device; + _reportDescriptor = reportDescriptor; + _screenSizeX = screenSizeX; + _screenSizeY = screenSizeY; + + _hasReportId = ReportDescEnumerator.HasReportId(_reportDescriptor); + } + + public void Dispose() + { + _device.Dispose(); + } + + public void SendText(string text) + { + foreach (byte[] buffer in ConvertToMouseCommand(text)) + { + _device.Send(buffer); + } + } + + internal List ConvertToMouseCommand(string txt) + { + List list = new List(); + + string[] tokens = txt.Split(' '); + + for (int i = 0; i < tokens.Length; i++) + { + byte reportId = 0; + + byte[] keyDown = TokenToCommand(tokens, ref i, out reportId); + if (keyDown == null) + { + continue; + } + + list.Add(keyDown); + + byte[] keyUp = new byte[ReportDescEnumerator.GetReportSize(_reportDescriptor, reportId)]; + keyUp[0] = reportId; + + list.Add(keyUp); + } + + return list; + } + + public byte GetReportId(bool isRelative) + { + if (_hasReportId == false) + { + return 0; + } + + return (isRelative == true) ? MouseDescriptors.RelativeMouseReportId : MouseDescriptors.AbsoluteMouseReportId; + } + + private byte[] TokenToCommand(string[] tokens, ref int tokenIndex, out byte reportId) + { + string token = tokens[tokenIndex]; + reportId = 0; + + if (string.IsNullOrEmpty(token) == true) + { + return null; + } + + bool isRelative = (token[0] == '+' || token[0] == '-'); + + if (token[0] == 'w') + { + if (short.TryParse(token.Substring(1), out short wheel) == true) + { + reportId = GetReportId(false); + return AbsoluteBuffer(reportId, 0, 0, (byte)-wheel); + } + + return null; + } + + bool hasX = short.TryParse(token, out short xPos); + if (hasX == true) + { + if (tokens.Length == tokenIndex + 1) + { + return null; + } + + token = tokens[tokenIndex + 1]; + bool hasY = short.TryParse(token, out short yPos); + if (hasY == true) + { + tokenIndex++; + + if (isRelative == false) + { + isRelative = (token[0] == '+' || token[0] == '-'); + } + + reportId = GetReportId(isRelative); + + if (isRelative == true) + { + byte[] buf = RelativeBuffer(reportId, 0, (byte)xPos, (byte)yPos); + return buf; + } + else + { + byte[] buf = AbsoluteBuffer(reportId, xPos, yPos, 0); + return buf; + } + } + } + + reportId = GetReportId(true); + switch (token) + { + case "b1": + return RelativeBuffer(reportId, 0x01, 0x0, 0x0); + + case "b2": + return RelativeBuffer(reportId, 0x02, 0x0, 0x0); + + case "b3": + return RelativeBuffer(reportId, 0x04, 0x0, 0x0); + } + + return null; + } + + public byte[] RelativeBuffer(byte reportId, byte button, byte xPos, byte yPos) + { + byte[] buffer = new byte[ReportDescEnumerator.GetReportSize(_reportDescriptor, reportId)]; + int idx = 0; + + if (reportId != 0) + { + buffer[idx++] = reportId; + } + + buffer[idx++] = button; + buffer[idx++] = xPos; + buffer[idx++] = yPos; + + return buffer; + } + + public byte[] AbsoluteBuffer(byte reportId, int xPos, int yPos, byte wheel) + { + int x = (int)(xPos * 32767 / _screenSizeX); + int y = (int)(yPos * 32767 / _screenSizeY); + + byte[] buffer = new byte[ReportDescEnumerator.GetReportSize(_reportDescriptor, reportId)]; + + buffer[0] = reportId; + buffer[1] = (byte)(x & 0xff); + buffer[2] = (byte)((x & 0xff00) >> 8); + buffer[3] = (byte)(y & 0xff); + buffer[4] = (byte)((y & 0xff00) >> 8); + + if (buffer.Length > 5) + { + buffer[5] = wheel; + } + + return buffer; + } + } +} diff --git a/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/ReportDescEnumerator.cs b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/ReportDescEnumerator.cs new file mode 100644 index 0000000..8da4a96 --- /dev/null +++ b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/ReportDescEnumerator.cs @@ -0,0 +1,228 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Text; + +namespace UsbipDevice +{ + public enum ReportDescKey : byte + { + USAGE_PAGE = 0x05, + USAGE = 0x09, + UNIT_EXPONENT = 0x55, + LOGICAL_MINIMUM_8 = 0x15, + LOGICAL_MINIMUM_16 = 0x16, + LOGICAL_MINIMUM_32 = 0x17, + USAGE_MINIMUM = 0x19, + LOGICAL_MAXIMUM_8 = 0x25, + LOGICAL_MAXIMUM_16 = 0x26, + LOGICAL_MAXIMUM_32 = 0x27, + USAGE_MAXIMUM = 0x29, + PHYSICAL_MINIMUM_8 = 0x35, + PHYSICAL_MINIMUM_16 = 0x36, + PHYSICAL_MAXIMUM_8 = 0x45, + PHYSICAL_MAXIMUM_16 = 0x46, + UNIT = 0x65, + REPORT_SIZE = 0x75, + INPUT = 0x81, + REPORT_ID = 0x85, + OUTPUT = 0x91, + REPORT_COUNT = 0x95, + COLLECTION = 0xa1, + FEATURE = 0xb1, + + END_COLLECTION = 0xc0, + } + + public class ReportDescEnumerator : IEnumerator, IEnumerable + { + byte[] _buffer; + + int _index; + int _dataSize; + ReportItem _current; + + public static bool HasReportId(byte[] buffer) + { + ReportDescEnumerator desc = new ReportDescEnumerator(buffer); + + foreach (ReportItem item in desc) + { + if (item.Key == ReportDescKey.REPORT_ID) + { + return true; + } + } + + return false; + } + + public static int GetReportSize(byte[] buffer, int reportId) + { + ReportDescEnumerator desc = new ReportDescEnumerator(buffer); + int bitCount = 0; + int currentReportId = 0; + int collectionDepth = 0; + + foreach (ReportItem item in desc) + { + if (item.Key == ReportDescKey.REPORT_SIZE) + { + ReportItem nextItem = desc.PeekNext(); + + if (nextItem.Key == ReportDescKey.REPORT_COUNT) + { + bitCount += (item.Data8 * nextItem.Data8); + } + } + else if (item.Key == ReportDescKey.REPORT_COUNT) + { + ReportItem nextItem = desc.PeekNext(); + + if (nextItem.Key == ReportDescKey.REPORT_SIZE) + { + bitCount += (item.Data8 * nextItem.Data8); + } + } + + if (item.Key == ReportDescKey.COLLECTION) + { + collectionDepth++; + continue; + } + else if (item.Key == ReportDescKey.END_COLLECTION) + { + collectionDepth--; + } + + if (item.Key == ReportDescKey.REPORT_ID) + { + currentReportId = item.Data8; + bitCount += 8; + continue; + } + + if (collectionDepth == 0) + { + if (bitCount == 0) + { + continue; + } + + if (currentReportId == reportId) + { + return bitCount / 8; + } + + bitCount = 0; + } + } + + return bitCount / 8; + } + + public ReportDescEnumerator(byte[] buffer) + { + _buffer = buffer; + _index = 0; + } + + public ReportItem Current + { + get { return _current; } + } + + object IEnumerator.Current + { + get { return _current; } + } + + public void Dispose() + { + } + + public ReportItem PeekNext() + { + int oldIndex = _index; + bool hasNext = MoveNext(); + _index = oldIndex; + + if (hasNext == true) + { + return _current; + } + + return default; + } + + public bool MoveNext() + { + if (_index >= (_buffer.Length - (_dataSize + 1))) + { + return false; + } + + byte key = _buffer[_index]; + _dataSize = (key & 0b0000_0011); + + byte[] data = null; + + if (_dataSize >= 1) + { + data = new byte[_dataSize]; + Array.Copy(_buffer, _index + 1, data, 0, data.Length); + } + + _current = new ReportItem((ReportDescKey)key, data); + + _index += (_dataSize + 1); + return true; + } + + public void Reset() + { + _index = 0; + } + + public IEnumerator GetEnumerator() + { + return this; + } + + IEnumerator IEnumerable.GetEnumerator() + { + return this; + } + } + + public struct ReportItem + { + ReportDescKey _key; + public ReportDescKey Key => _key; + + byte[] _dataBuffer; + public byte Data8 + { + get { return _dataBuffer[0]; } + } + + public short Data16 + { + get { return BitConverter.ToInt16(_dataBuffer, 0); } + } + + public ReportItem(ReportDescKey key, byte[] dataBuffer) + { + _key = key; + _dataBuffer = dataBuffer; + } + + public bool IsGenericDesktopPage + { + get + { + return (_key == ReportDescKey.USAGE_PAGE && Data8 == 0x01); + } + } + } +} diff --git a/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/Structs.cs b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/Structs.cs new file mode 100644 index 0000000..9c33dca --- /dev/null +++ b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/Structs.cs @@ -0,0 +1,200 @@ +using System; +using System.Collections.Generic; +using System.Net; +using System.Runtime.InteropServices; +using System.Text; + +namespace UsbipDevice +{ + public enum UsbIpCommandType + { + UNKNOWN = 0x0, + + RESP_IMPORT = 0x03, + + REQ_DEVLIST = 0x8003, + } + + public enum DescriptorType : byte + { + USB_DESCRIPTOR_DEVICE = 0x01, // Device Descriptor. + USB_DESCRIPTOR_CONFIGURATION = 0x02, // Configuration Descriptor. + USB_DESCRIPTOR_STRING = 0x03, // String Descriptor. + USB_DESCRIPTOR_INTERFACE = 0x04, // Interface Descriptor. + USB_DESCRIPTOR_ENDPOINT = 0x05, // Endpoint Descriptor. + USB_DESCRIPTOR_DEVICE_QUALIFIER = 0x06, // Device Qualifier. + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct OP_REQ_DEVLIST + { + public short version; + public ushort command; + public int status; + + public UsbIpCommandType GetCommandType() + { + ushort command = (ushort)IPAddress.NetworkToHostOrder((short)this.command); + return (UsbIpCommandType)command; + } + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct USBIP_RET_SUBMIT + { + public int command; + public int seqnum; + public int devid; + public int direction; + public int ep; + public int status; + public int actual_length; + public int start_frame; + public int number_of_packets; + public int error_count; + public long setup; + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct USB_DEVICE_QUALIFIER_DESCRIPTOR + { + public byte bLength; // Size of this descriptor + public byte bType; // Type, always USB_DESCRIPTOR_DEVICE_QUALIFIER + public short bcdUSB; // USB spec version, in BCD + public byte bDeviceClass; // Device class code + public byte bDeviceSubClass; // Device sub-class code + public byte bDeviceProtocol; // Device protocol + public byte bMaxPacketSize0; // EP0, max packet size + public byte bNumConfigurations; // Number of "other-speed" configurations + public byte bReserved; // Always zero (0) + }; + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public unsafe struct OP_REP_IMPORT + { + public short version; + public short command; + public int status; + //------------- if not ok, finish here + public fixed byte usbPath [256]; + public fixed byte busID [32]; + public int busnum; + public int devnum; + public int speed; + public short idVendor; + public short idProduct; + public short bcdDevice; + public byte bDeviceClass; + public byte bDeviceSubClass; + public byte bDeviceProtocol; + public byte bConfigurationValue; + public byte bNumConfigurations; + public byte bNumInterfaces; + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct StandardDeviceRequest + { + public byte bmRequestType; + public byte bRequest; + public byte wValue0; + public byte wValue1; + public byte wIndex0; + public byte wIndex1; + public short wLength; + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct USBIP_CMD_SUBMIT + { + public int command; + public int seqnum; + public int devid; + public int direction; + public int ep; + public int transfer_flags; + public int transfer_buffer_length; + public int start_frame; + public int number_of_packets; + public int interval; + public long setup; + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct USB_DEVICE_DESCRIPTOR + { + public byte bLength; // Length of this descriptor. + public byte bDescriptorType; // DEVICE descriptor type (USB_DESCRIPTOR_DEVICE). + public short bcdUSB; // USB Spec Release Number (BCD). + public byte bDeviceClass; // Class code (assigned by the USB-IF). 0xFF-Vendor specific. + public byte bDeviceSubClass; // Subclass code (assigned by the USB-IF). + public byte bDeviceProtocol; // Protocol code (assigned by the USB-IF). 0xFF-Vendor specific. + public byte bMaxPacketSize0; // Maximum packet size for endpoint 0. + public short idVendor; // Vendor ID (assigned by the USB-IF). + public short idProduct; // Product ID (assigned by the manufacturer). + public short bcdDevice; // Device release number (BCD). + public byte iManufacturer; // Index of String Descriptor describing the manufacturer. + public byte iProduct; // Index of String Descriptor describing the product. + public byte iSerialNumber; // Index of String Descriptor with the device's serial number. + public byte bNumConfigurations; // Number of possible configurations. + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct USB_CONFIGURATION_DESCRIPTOR + { + public byte bLength; // Length of this descriptor. + public byte bDescriptorType; // CONFIGURATION descriptor type (USB_DESCRIPTOR_CONFIGURATION). + public short wTotalLength; // Total length of all descriptors for this configuration. + public byte bNumInterfaces; // Number of interfaces in this configuration. + public byte bConfigurationValue; // Value of this configuration (1 based). + public byte iConfiguration; // Index of String Descriptor describing the configuration. + public byte bmAttributes; // Configuration characteristics. + public byte bMaxPower; // Maximum power consumed by this configuration. + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct USB_INTERFACE_DESCRIPTOR + { + public byte bLength; // Length of this descriptor. + public byte bDescriptorType; // INTERFACE descriptor type (USB_DESCRIPTOR_INTERFACE). + public byte bInterfaceNumber; // Number of this interface (0 based). + public byte bAlternateSetting; // Value of this alternate interface setting. + public byte bNumEndpoints; // Number of endpoints in this interface. + public byte bInterfaceClass; // Class code (assigned by the USB-IF). 0xFF-Vendor specific. + public byte bInterfaceSubClass; // Subclass code (assigned by the USB-IF). + public byte bInterfaceProtocol; // Protocol code (assigned by the USB-IF). 0xFF-Vendor specific. + public byte iInterface; // Index of String Descriptor describing the interface. + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct USB_HID_DESCRIPTOR + { + public byte bLength; + public byte bDescriptorType; + public short bcdHID; + public byte bCountryCode; + public byte bNumDescriptors; + public byte bRPDescriptorType; + public short wRPDescriptorLength; + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct USB_ENDPOINT_DESCRIPTOR + { + public byte bLength; // Length of this descriptor. + public byte bDescriptorType; // ENDPOINT descriptor type (USB_DESCRIPTOR_ENDPOINT). + public byte bEndpointAddress; // Endpoint address. Bit 7 indicates direction (0=OUT, 1=IN). + public byte bmAttributes; // Endpoint transfer type. + public short wMaxPacketSize; // Maximum packet size. + public byte bInterval; // Polling interval in frames. + } + + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct CONFIG_HID + { + public USB_CONFIGURATION_DESCRIPTOR dev_conf; + public USB_INTERFACE_DESCRIPTOR dev_int; + public USB_HID_DESCRIPTOR dev_hid; + public USB_ENDPOINT_DESCRIPTOR dev_ep; + } +} diff --git a/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/Usbip.cs b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/Usbip.cs new file mode 100644 index 0000000..132c327 --- /dev/null +++ b/LtAmpDotNet/LtAmpVirtualUsb/UsbipDevice/Usbip.cs @@ -0,0 +1,443 @@ +using System; +using System.Collections.Concurrent; +using System.Net; +using System.Net.Sockets; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading; + +namespace UsbipDevice +{ + public class Usbip : IDisposable + { + public const short USBIP_PROTOCOL_VERSION = 273; + + USB_DEVICE_QUALIFIER_DESCRIPTOR dev_qua = new USB_DEVICE_QUALIFIER_DESCRIPTOR(); + + USB_DEVICE_DESCRIPTOR _desc; + CONFIG_HID _configuration_hid; + byte[] _report_descriptor; + + Socket _clntSocket = null; + + int _port = 3240; + public int Port + { + get { return _port; } + set { _port = value; } + } + + public bool Connected + { + get { return _clntSocket != null; } + } + + public bool VerboseOutput { get; set; } + + public Usbip(USB_DEVICE_DESCRIPTOR desc, CONFIG_HID configuration_hid, byte [] report_descriptor) + { + _desc = desc; + _configuration_hid = configuration_hid; + _report_descriptor = report_descriptor; + } + + public void TraceLog(object txt) + { + if (VerboseOutput == false) + { + return; + } + + Console.WriteLine(txt); + } + + public unsafe void Run() + { + Thread t = new Thread(Wait); + t.IsBackground = true; + t.Start(); + } + + Socket _srvSocket; + + unsafe void Wait() + { + _srvSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); + { + IPEndPoint endPoint = new IPEndPoint(IPAddress.Any, Port); + + _srvSocket.Bind(endPoint); + _srvSocket.Listen(10); + + bool doLoop = true; + + while (doLoop) + { + bool attached = false; + _clntSocket = null; + using (Socket clntSocket = _srvSocket.Accept()) + { + while (doLoop) + { + if (attached == false) + { + OP_REQ_DEVLIST req = clntSocket.ReadAs(); + + UsbIpCommandType cmdType = req.GetCommandType(); + TraceLog(cmdType); + + if (cmdType == UsbIpCommandType.REQ_DEVLIST) + { + string busId = clntSocket.ReadBusId(); + if (AttachDevice(clntSocket, busId) == false) + { + Console.WriteLine("Failed to attach this device"); + break; + } + + TraceLog("Device attached."); + attached = true; + } + } + else + { + USBIP_CMD_SUBMIT cmd = clntSocket.ReadAndUnpackAs(); + + TraceLog($"usbip cmd {cmd.command}"); + TraceLog($"usbip seqnum {cmd.seqnum}"); + TraceLog($"usbip devid {cmd.devid}"); + TraceLog($"usbip direction {cmd.direction}"); + TraceLog($"usbip ep {cmd.ep}"); + TraceLog($"usbip flags {cmd.transfer_flags}"); + TraceLog($"usbip number of packets {cmd.number_of_packets}"); + TraceLog($"usbip interval {cmd.interval}"); + TraceLog($"usbip setup {cmd.setup}"); + TraceLog($"usbip buffer length {cmd.transfer_buffer_length}"); + + switch (cmd.command) + { + case 1: + USBIP_RET_SUBMIT usb_req = new USBIP_RET_SUBMIT + { + command = 0, + seqnum = cmd.seqnum, + devid = cmd.devid, + direction = cmd.direction, + ep = cmd.ep, + status = 0, + actual_length = 0, + start_frame = 0, + number_of_packets = 0, + error_count = 0, + setup = cmd.setup, + }; + + handle_usb_request(clntSocket, usb_req, cmd.transfer_buffer_length); + break; + + case 2: // unlink urb - NOT IMPL YET + break; + + default: + Console.WriteLine($"Unknown USBIP cmd!"); + doLoop = false; + clntSocket.Close(); + break; + } + } + } + } + } + } + } + + private void handle_usb_request(Socket clntSocket, USBIP_RET_SUBMIT usb_req, int transfer_buffer_length) + { + if (usb_req.ep == 0) + { + TraceLog("#control requests"); + handle_usb_control(clntSocket, usb_req); + } + else + { + TraceLog("#data requests"); + handle_data(clntSocket, usb_req, transfer_buffer_length); + } + } + + ConcurrentQueue _queue = new ConcurrentQueue(); + public void Send(byte [] buf) + { + _queue.Enqueue(buf); + } + + void handle_data(Socket clntSocket, USBIP_RET_SUBMIT usb_req, int bl) + { + byte[] result = null; + + while (true) + { + if (_queue.TryDequeue(out result) == false) + { + Thread.Sleep(16); + continue; + } + + break; + } + + send_usb_req(clntSocket, usb_req, result, (uint)result.Length, 0); + } + + void handle_usb_control(Socket clntSocket, USBIP_RET_SUBMIT usb_req) + { + TraceLog($"setup: {usb_req.setup}"); + + int handled = 0; + StandardDeviceRequest control_req = new StandardDeviceRequest(); + + control_req.bmRequestType = (byte)(((ulong)usb_req.setup & 0xFF00000000000000) >> 56); + control_req.bRequest = (byte)(((ulong)usb_req.setup & 0x00FF000000000000) >> 48); + control_req.wValue0 = (byte)(((ulong)usb_req.setup & 0x0000FF0000000000) >> 40); + control_req.wValue1 = (byte)(((ulong)usb_req.setup & 0x000000FF00000000) >> 32); + control_req.wIndex0 = (byte)(((ulong)usb_req.setup & 0x00000000FF000000) >> 24); + control_req.wIndex1 = (byte)(((ulong)usb_req.setup & 0x0000000000FF0000) >> 16); + control_req.wLength = IPAddress.NetworkToHostOrder((short)(usb_req.setup & 0x000000000000FFFF)); + TraceLog($" UC Request Type {control_req.bmRequestType}"); + TraceLog($" UC Request {control_req.bRequest}"); + TraceLog($" UC Value {control_req.wValue1}[{control_req.wValue0}]"); + TraceLog($" UCIndex {control_req.wIndex1 }-{control_req.wIndex0}"); + TraceLog($" UC Length {control_req.wLength }"); + + if (control_req.bmRequestType == 0x80) // Host Request + { + if (control_req.bRequest == 0x06) // Get Descriptor + { + handled = handle_get_descriptor(clntSocket, _desc, _configuration_hid, control_req, usb_req); + } + + if (control_req.bRequest == 0x00) // Get STATUS + { + byte [] data = new byte[2]; + data[0] = 0x01; + data[1] = 0x00; + send_usb_req(clntSocket, usb_req, data, 2, 0); + handled = 1; + TraceLog("GET_STATUS\n"); + } + } + + if (control_req.bmRequestType == 0x00) // + { + if (control_req.bRequest == 0x09) // Set Configuration + { + handled = handle_set_configuration(clntSocket, control_req, usb_req); + _clntSocket = clntSocket; + } + } + + if (control_req.bmRequestType == 0x01) + { + if (control_req.bRequest == 0x0B) //SET_INTERFACE + { + TraceLog("SET_INTERFACE"); + send_usb_req(clntSocket, usb_req, null, 0, 1); + handled = 1; + } + } + + if (handled == 0) + { + handle_unknown_control(clntSocket, control_req, usb_req); + } + } + + void handle_unknown_control(Socket clntSocket, StandardDeviceRequest control_req, USBIP_RET_SUBMIT usb_req) + { + if (control_req.bmRequestType == 0x81) + { + if (control_req.bRequest == 0x6) //# Get Descriptor + { + if (control_req.wValue1 == 0x22) // send initial report + { + TraceLog("send initial report"); + send_usb_req(clntSocket, usb_req, _report_descriptor, (uint)_report_descriptor.Length, 0); + } + } + } + + if (control_req.bmRequestType == 0x21) // Host Request + { + if (control_req.bRequest == 0x0a) // set idle + { + TraceLog("Idle"); + send_usb_req(clntSocket, usb_req, null, 0, 0); + } + if (control_req.bRequest == 0x09) // set report + { + TraceLog("set report"); + + byte [] data = new byte[20]; + if (clntSocket.Receive(data, control_req.wLength, 0) != control_req.wLength) + { + TraceLog("receive error : {errno}"); + Environment.Exit(-1); + }; + + send_usb_req(clntSocket, usb_req, null, 0, 0); + } + } + } + + unsafe byte [] StructureToBytes(T data) where T : unmanaged + { + int size = sizeof(T); + byte[] buf = new byte[size]; + + IntPtr ptrElem = Marshal.UnsafeAddrOfPinnedArrayElement(buf, 0); + Marshal.StructureToPtr(data, ptrElem, true); + + return buf; + } + + unsafe int handle_get_descriptor(Socket clntSocket, USB_DEVICE_DESCRIPTOR desc, CONFIG_HID configuration_hid, StandardDeviceRequest control_req, USBIP_RET_SUBMIT usb_req) + { + int handled = 0; + TraceLog($"handle_get_descriptor {control_req.wValue1} [{control_req.wValue0}]"); + if (control_req.wValue1 == 0x1) // Device + { + TraceLog("Device"); + handled = 1; + + byte [] buf = StructureToBytes(desc); + send_usb_req(clntSocket, usb_req, buf, (uint)sizeof(USB_DEVICE_DESCRIPTOR)/*control_req->wLength*/, 0); + } + if (control_req.wValue1 == 0x2) // configuration + { + TraceLog("Configuration\n"); + handled = 1; + byte[] buf = StructureToBytes(configuration_hid); + send_usb_req(clntSocket, usb_req, buf, (uint)control_req.wLength, 0); + } + if (control_req.wValue1 == 0x3) // string + { + /* + byte [] str = new byte[255]; + int i; + for (i = 0; i < (*strings[control_req->wValue0] / 2) - 1; i++) + str[i] = strings[control_req->wValue0][i * 2 + 2]; + Console.WriteLine("String (%s)\n", str); + handled = 1; + send_usb_req(clntSocket, usb_req, (char*)strings[control_req->wValue0], *strings[control_req->wValue0], 0); + */ + } + if (control_req.wValue1 == 0x6) // qualifier + { + TraceLog("Qualifier"); + handled = 1; + byte[] buf = StructureToBytes(dev_qua); + send_usb_req(clntSocket, usb_req, buf, (uint)control_req.wLength, 0); + } + if (control_req.wValue1 == 0xA) // config status ??? + { + TraceLog("Unknow"); + handled = 1; + send_usb_req(clntSocket, usb_req, null, 0, 1); + } + return handled; + } + + int handle_set_configuration(Socket clntSocket, StandardDeviceRequest control_req, USBIP_RET_SUBMIT usb_req) + { + int handled = 0; + TraceLog($"handle_set_configuration {control_req.wValue1}[{control_req.wValue0}]"); + handled = 1; + send_usb_req(clntSocket, usb_req, null, 0, 0); + return handled; + } + + unsafe void send_usb_req(Socket clntSocket, USBIP_RET_SUBMIT usb_req, byte [] data, uint size, uint status) + { + usb_req.command = 0x3; + usb_req.status = (int)status; + usb_req.actual_length = (int)size; + usb_req.start_frame = 0x0; + usb_req.number_of_packets = 0x0; + + usb_req.setup = 0x0; + usb_req.devid = 0x0; + usb_req.direction = 0x0; + usb_req.ep = 0x0; + + byte [] buf = StructureToBytes(usb_req); + fixed (byte* pByte = buf) + { + int* intBytes = (int*)pByte; + HelperExtension.pack((int*)intBytes, sizeof(USBIP_RET_SUBMIT)); + } + + if (clntSocket.Send(buf, buf.Length, SocketFlags.None) != sizeof(USBIP_RET_SUBMIT)) + { + TraceLog($"send error"); + Environment.Exit(-1); + }; + + if (size > 0) + { + if (clntSocket.Send(data, (int)size, SocketFlags.None) != size) + { + TraceLog($"send error"); + Environment.Exit(-1); + }; + } + } + + private unsafe bool AttachDevice(Socket clntSocket, string busId) + { + OP_REP_IMPORT rep = new OP_REP_IMPORT + { + version = IPAddress.HostToNetworkOrder(USBIP_PROTOCOL_VERSION), + command = IPAddress.HostToNetworkOrder((short)UsbIpCommandType.RESP_IMPORT), + status = 0, + + busnum = IPAddress.HostToNetworkOrder(1), + devnum = IPAddress.HostToNetworkOrder(2), + speed = IPAddress.HostToNetworkOrder(2), + + idVendor = _desc.idVendor, + idProduct = _desc.idProduct, + + bcdDevice = _desc.bcdDevice, + bDeviceClass = _desc.bDeviceClass, + bDeviceSubClass = _desc.bDeviceSubClass, + bDeviceProtocol = _desc.bDeviceProtocol, + bNumConfigurations = _desc.bNumConfigurations, + bConfigurationValue = _configuration_hid.dev_conf.bConfigurationValue, + bNumInterfaces = _configuration_hid.dev_conf.bNumInterfaces, + }; + + byte[] buf = Encoding.ASCII.GetBytes($"/sys/devices/pci0000:00/0000:00:01.2/usb1/{busId}"); + Marshal.Copy(buf, 0, new IntPtr(rep.usbPath), buf.Length); + + buf = Encoding.ASCII.GetBytes(busId); + Marshal.Copy(buf, 0, new IntPtr(rep.busID), buf.Length); + + return clntSocket.SendAs(rep); + } + + public void Dispose() + { + if (_clntSocket != null) + { + _clntSocket.Close(); + _clntSocket = null; + } + + if (_srvSocket != null) + { + _srvSocket.Close(); + _srvSocket = null; + } + } + } +} diff --git a/LtDotNet/README.md b/LtAmpDotNet/README.md similarity index 96% rename from LtDotNet/README.md rename to LtAmpDotNet/README.md index e3db9a5..e028cf4 100644 --- a/LtDotNet/README.md +++ b/LtAmpDotNet/README.md @@ -1,11 +1,11 @@ -# LtDotNet - -This is a very message library to handle communication with the Fender LT series amps. - -I have a Mustang LT 25, so that is the only amp that has been tested. - -The entire thing is completely even driven; messages are sent to the amp, and then events are fired when messages are returned. - -For example, you attach a method to the `CurrentLoadedPresetIndexStatusMessageReceived` event, and then when the knob on the amp is turned to change the preset, the event will fire. - +# LtAmpDotNet + +This is a very message library to handle communication with the Fender LT series amps. + +I have a Mustang LT 25, so that is the only amp that has been tested. + +The entire thing is completely even driven; messages are sent to the amp, and then events are fired when messages are returned. + +For example, you attach a method to the `CurrentLoadedPresetIndexStatusMessageReceived` event, and then when the knob on the amp is turned to change the preset, the event will fire. + Or, you attach a method to the `PresetJSONMessageReceived` event, and then call `GetPreset()`, and the event will fire when the data comes back. \ No newline at end of file diff --git a/LtDotNet/LtDotNet.Lib/LtDeviceInfo.cs b/LtDotNet/LtDotNet.Lib/LtDeviceInfo.cs deleted file mode 100644 index 1e25749..0000000 --- a/LtDotNet/LtDotNet.Lib/LtDeviceInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using LtDotNet.Lib.Model; -using LtDotNet.Lib.Model.Preset; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib -{ - public class LtDeviceInfo : ObservableAmpData - { - public const int VENDOR_ID = 0x1ed8; - public const int PRODUCT_ID = 0x0037; - public const int NUM_OF_PRESETS = 60; - public bool IsConnected { get; set; } - public string ProductId { get; set; } - public string FirmwareVersion { get; set; } - public ProcessorUtilization ProcessorUtilization { get; set; } - public MemoryUsageStatus MemoryUsageStatus { get; set; } - public ModalContext ModalContext { get; set; } - public ModalState ModalState { get; set; } - public int DisplayedPresetIndex { get; set; } - public int ActivePresetIndex { get; set; } - public Preset CurrentPreset { get; set; } - public bool IsPresetEdited { get; set; } - public float UsbGain { get; set; } - public uint[] FootswitchPresets { get; set; } - public bool IsAuditioning { get; set; } - public Preset AuditioningPreset { get; set; } - public List Presets { get; set; } - } -} diff --git a/LtDotNet/LtDotNet.Lib/MockDevice/MockHidDevice.cs b/LtDotNet/LtDotNet.Lib/MockDevice/MockHidDevice.cs deleted file mode 100644 index 3304704..0000000 --- a/LtDotNet/LtDotNet.Lib/MockDevice/MockHidDevice.cs +++ /dev/null @@ -1,148 +0,0 @@ -using HidSharp; -using HidSharp.Reports; -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.MockDevice -{ - internal class MockHidDevice : HidDevice - { - public MockHidDevice() - { - } - - public override string DevicePath => "MOCKDEVICE"; - - public override bool CanOpen => true; - - public override int ProductID => LtDeviceInfo.PRODUCT_ID; - - public override int ReleaseNumberBcd => throw new NotImplementedException(); - - public override int VendorID => LtDeviceInfo.VENDOR_ID; - - public override string GetDeviceString(int index) - { - throw new NotImplementedException(); - } - - public override string GetFileSystemName() - { - throw new NotImplementedException(); - } - - public override string GetFriendlyName() - { - throw new NotImplementedException(); - } - - public override string GetManufacturer() - { - throw new NotImplementedException(); - } - - public override int GetMaxFeatureReportLength() - { - throw new NotImplementedException(); - } - - public override int GetMaxInputReportLength() - { - throw new NotImplementedException(); - } - - public override int GetMaxOutputReportLength() - { - throw new NotImplementedException(); - } - - public override string GetProductName() - { - throw new NotImplementedException(); - } - - public override string GetSerialNumber() - { - throw new NotImplementedException(); - } - - protected override DeviceStream OpenDeviceDirectly(OpenConfiguration openConfig) - { - throw new NotImplementedException(); - } - - public ReportDescriptor GetReportDescriptor() - { - return new ReportDescriptor(GetRawReportDescriptor()); - } - - public virtual byte[] GetRawReportDescriptor() - { - throw new NotSupportedException(); - } - - public virtual string[] GetSerialPorts() - { - throw new NotSupportedException(); - } - - public override string ToString() - { - string text = "(unnamed manufacturer)"; - try - { - text = GetManufacturer(); - } - catch - { - } - - string text2 = "(unnamed product)"; - try - { - text2 = GetProductName(); - } - catch - { - } - - string text3 = "(no serial number)"; - try - { - text3 = GetSerialNumber(); - } - catch - { - } - - return string.Format(CultureInfo.InvariantCulture, "{0} {1} {2} (VID {3}, PID {4}, version {5})", text, text2, text3, VendorID, ProductID, ReleaseNumber); - } - - public bool TryOpen(out HidStream stream) - { - return TryOpen(null, out stream); - } - - public bool TryOpen(OpenConfiguration openConfig, out HidStream stream) - { - DeviceStream stream2; - bool result = TryOpen(openConfig, out stream2); - stream = (HidStream)stream2; - return result; - } - - public override bool HasImplementationDetail(Guid detail) - { - if (!base.HasImplementationDetail(detail)) - { - return detail == ImplementationDetail.HidDevice; - } - - return true; - } - } -} diff --git a/LtDotNet/LtDotNet.Lib/MockDevice/MockHidStream.cs b/LtDotNet/LtDotNet.Lib/MockDevice/MockHidStream.cs deleted file mode 100644 index fd70016..0000000 --- a/LtDotNet/LtDotNet.Lib/MockDevice/MockHidStream.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.MockDevice -{ - internal class MockHidStream - { - } -} diff --git a/LtDotNet/LtDotNet.Lib/Model/ObservableAmpData.cs b/LtDotNet/LtDotNet.Lib/Model/ObservableAmpData.cs deleted file mode 100644 index 6c76add..0000000 --- a/LtDotNet/LtDotNet.Lib/Model/ObservableAmpData.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model -{ - public abstract class ObservableAmpData : INotifyPropertyChanged - { - protected virtual bool SetProperty(ref T backingStore, T value, [CallerMemberName] string propertyName = "", Action onChanged = null, Func validateValue = null) - { - if (EqualityComparer.Default.Equals(backingStore, value)) - return false; - - if (validateValue != null && !validateValue(backingStore, value)) - return false; - - backingStore = value; - onChanged?.Invoke(); - OnPropertyChanged(propertyName); - return true; - } - - protected virtual bool SetProperty(T originalValue, T value, Action onChanged, [CallerMemberName] string propertyName = "", Func validateValue = null) - { - if (EqualityComparer.Default.Equals(originalValue, value)) - return false; - - if (validateValue != null && !validateValue(originalValue, value)) - return false; - - onChanged?.Invoke(); - OnPropertyChanged(propertyName); - return true; - } - - protected virtual void ObserveChildProperty(INotifyPropertyChanged backingStore) - { - if (backingStore != null) - { - backingStore.PropertyChanged += BackingStore_PropertyChanged; - } - } - - private void BackingStore_PropertyChanged(object? sender, PropertyChangedEventArgs e) - { - PropertyChanged?.Invoke(this, e); - } - - public event PropertyChangedEventHandler? PropertyChanged; - public void OnPropertyChanged([CallerMemberName] String propertyName = "") - { - PropertyChanged?.Invoke(this, new PropertyChangedEventArgs($"{this.GetType().Name}.{propertyName}")); - } - } -} diff --git a/LtDotNet/LtDotNet.Lib/Model/Preset/Info.cs b/LtDotNet/LtDotNet.Lib/Model/Preset/Info.cs deleted file mode 100644 index e736bcc..0000000 --- a/LtDotNet/LtDotNet.Lib/Model/Preset/Info.cs +++ /dev/null @@ -1,116 +0,0 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Preset -{ - public class Info : ObservableAmpData - { - private string _author; - - [JsonProperty("author")] - public string Author - { - get => _author; - set => SetProperty(ref _author, value); - } - - private int _bpm; - - [JsonProperty("bpm")] - public int BPM - { - get => _bpm; - set => SetProperty(ref _bpm, value); - } - - private int _createdAt; - - [JsonProperty("created_at")] - public int CreatedAt - { - get => _createdAt; - set => SetProperty(ref _createdAt, value); - } - - private string _displayName; - - [JsonProperty("displayName")] - public string DisplayNameRaw - { - get => _displayName; - set => SetProperty(ref _displayName, value); - } - - [JsonIgnore] - public string[] DisplayName - { - get => Enumerable.Range(0, _displayName.Length / 8).Select(i => _displayName.Substring(i * 8, 8).Trim()).ToArray(); - set - { - if (value.Length == 2) - { - _displayName = value[0].PadRight(8) + value[1].PadRight(8); - } - } - } - - public string FormattedDisplayName - { - get - { - return string.Join(" ", DisplayName); - } - } - - private bool _isFactoryDefault; - - [JsonProperty("is_factory_default")] - public bool IsFactoryDefault - { - get => _isFactoryDefault; - set => SetProperty(ref _isFactoryDefault, value); - } - - private Guid _presetId; - - [JsonProperty("preset_id")] - public Guid PresetId - { - get => _presetId; - set => SetProperty(ref _presetId, value); - } - - private string _productId; - - [JsonProperty("product_id")] - public string ProductId - { - get => _productId; - set => SetProperty(ref _productId, value); - } - - private string _sourceId; - - [JsonProperty("source_id")] - public string SourceId - { - get => _sourceId; - set => SetProperty(ref _sourceId, value); - } - - private long _timestamp; - - [JsonProperty("timestamp")] - public long Timestamp - { - get => _timestamp; - set => SetProperty(ref _timestamp, value); - } - } -} diff --git a/LtDotNet/LtDotNet.Lib/Model/Preset/Preset.cs b/LtDotNet/LtDotNet.Lib/Model/Preset/Preset.cs deleted file mode 100644 index 06f3f92..0000000 --- a/LtDotNet/LtDotNet.Lib/Model/Preset/Preset.cs +++ /dev/null @@ -1,113 +0,0 @@ -using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; -using System.Runtime.CompilerServices; -using System.Text; -using System.Threading.Tasks; - -namespace LtDotNet.Lib.Model.Preset -{ - public class Preset : ObservableAmpData, INotifyPropertyChanged - { - [JsonProperty("data")] - public string Raw { get; set; } - - private AudioGraph _audioGraph; - - [JsonProperty("audioGraph")] - public AudioGraph AudioGraph - { - get => _audioGraph; - set - { - SetProperty(ref _audioGraph, value); - ObserveChildProperty(_audioGraph); - } - } - - private Info _info; - - [JsonProperty("info")] - public Info Info - { - get => _info; - set - { - SetProperty(ref _info, value); - ObserveChildProperty(_info); - } - } - - private string _nodeId; - - [JsonProperty("nodeId")] - public string NodeId - { - get => _nodeId; - set => SetProperty(ref _nodeId, value); - } - - private string _nodeType; - - [JsonProperty("nodeType")] - public string NodeType - { - get => _nodeType; - set => SetProperty(ref _nodeType, value); - } - - private int _numOfInputs; - - [JsonProperty("numInputs")] - public int NumOfInputs - { - get => _numOfInputs; - set => SetProperty(ref _numOfInputs, value); - } - - private int _numOfOutputs; - - [JsonProperty("numOutputs")] - public int NumOfOutputs - { - get => _numOfOutputs; - set => SetProperty(ref _numOfOutputs, value); - } - - private string _version; - - [JsonProperty("version")] - public string Version - { - get => _version; - set => SetProperty(ref _version, value); - } - - [JsonIgnore] - public string[] DisplayName => Info?.DisplayName; - - [JsonIgnore] - public string FormattedDisplayName => Info?.FormattedDisplayName; - - [JsonIgnore] - public string TwoLineDisplayName - { - get - { - return Info?.DisplayName[0].Trim() + "\n" + Info.DisplayName[1].Trim(); - } - } - - public static Preset FromString(string json) - { - return JsonConvert.DeserializeObject(json); - } - - public override string ToString() - { - return JsonConvert.SerializeObject(this, Formatting.None); - } - } -} diff --git a/LtDotNet/LtDotNet.Tests/expectedValues.json b/LtDotNet/LtDotNet.Tests/expectedValues.json deleted file mode 100644 index fa7bbfd..0000000 --- a/LtDotNet/LtDotNet.Tests/expectedValues.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "firmwareVersion": "2.1.4", - "productId": "mustang-lt-25", - "slotA": 4, - "slotB": 5, - "usbGain": 0.3 -} \ No newline at end of file