Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #21

Merged
merged 9 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"
52 changes: 25 additions & 27 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -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
84 changes: 42 additions & 42 deletions LtDotNet/.gitignore → .gitignore
Original file line number Diff line number Diff line change
@@ -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
136 changes: 68 additions & 68 deletions Docs/json.md
Original file line number Diff line number Diff line change
@@ -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".
Loading
Loading