Skip to content

Commit

Permalink
Merge pull request #13 from maxks/main
Browse files Browse the repository at this point in the history
Version 1.3.3
  • Loading branch information
maxks authored Mar 19, 2021
2 parents f4a6204 + d765f1f commit 1ffa968
Show file tree
Hide file tree
Showing 6 changed files with 267 additions and 49 deletions.
15 changes: 13 additions & 2 deletions HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,16 @@ New in v.1.3.1
New in v.1.3.2
* Fix DCA level output

New in v.1.3.3
* Add "Last dB value"
* Add fading option


Created by referring to all controls in the "SQ Midi Protocol Issue 3 - Firmware v. 1.5.0 or later" manual.

Last update (d/m/y): 12/03/2021
Last update (d/m/y): 16/03/2021

Current version: 1.3.2
Current version: 1.3.3

## Configuring:

Expand Down Expand Up @@ -115,6 +119,13 @@ the button show on display:

On same button, if you want, you can attach a Mute function for channel 1.

### Last dB value
This option set at the release action of a Fader Level allows you to return to the last dB value level of that fader.
Example: If the fader level was +2 dB and you want to momentarily set it to -20 dB, set the Press / On action fader level option to "-20 dB", then the Release / Off action of the fader level option to "Last dB value". When the button is pressed the level drops to -20 dB and when the button is released the level returns to +2 dB.

### Fading
This option available on any fader level allow you to reach set dB fader level using fading in/out mode. The speed of the fader route is selectable between 1 and 3 seconds.

## Presets:

### Talkback
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ See [HELP.md](HELP.md) and [LICENSE](LICENSE) for more information about this mo
This module for the Allen & Heath SQ can control parameters of the console
via MIDI commands over IP

Created by Max Kiusso in 2021 from original allenheath-dlive module.
Created by Max Kiusso in 2021 inspirating by allenheath-dlive module.

Last update (d/m/y): 12/03/2021
Last update (d/m/y): 18/03/2021

Current Version 1.3.2
Current Version 1.3.3
50 changes: 39 additions & 11 deletions actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = {
}

this.CHOICES_LEVEL = [
{ label: `Last dB value`, id: 1000 },
{ label: `Step +1 dB`, id: 998 },
{ label: `Step -1 dB`, id: 999 }
]
Expand Down Expand Up @@ -128,6 +129,20 @@ module.exports = {
]
}

this.fadeObj = {
type: 'dropdown',
label: 'Fading',
id: 'fade',
default: 0,
choices: [
{label: `Off`, id: 0},
{label: `1s`, id: 1},
{label: `2s`, id: 2},
{label: `3s`, id: 3},
],
minChoicesForSearch: 0,
}

this.faderOptions = (name, qty, ofs) => {
this.CHOICES = []
for (let i = 1; i <= qty; i++) {
Expand All @@ -149,7 +164,8 @@ module.exports = {
default: 0,
choices: this.CHOICES_FADER,
minChoicesForSearch: 0,
}
},
this.fadeObj,
]
}

Expand Down Expand Up @@ -476,6 +492,7 @@ module.exports = {
],
}

/* Level */
actions['chlev_to_mix'] = {
label: 'Fader channel level to mix',
options: [
Expand All @@ -501,7 +518,8 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

Expand Down Expand Up @@ -530,7 +548,8 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

Expand Down Expand Up @@ -559,7 +578,8 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

Expand Down Expand Up @@ -588,7 +608,8 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

Expand Down Expand Up @@ -617,7 +638,8 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

Expand Down Expand Up @@ -646,7 +668,8 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

Expand Down Expand Up @@ -675,7 +698,8 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

Expand Down Expand Up @@ -704,7 +728,8 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

Expand Down Expand Up @@ -733,7 +758,8 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

Expand All @@ -755,10 +781,12 @@ module.exports = {
multiple: false,
choices: this.CHOICES_LEVEL,
minChoicesForSearch: 0,
}
},
this.fadeObj,
],
}

/* Pan Balance */
actions['chpan_to_mix'] = {
label: 'Pan/Bal channel level to mix',
options: [
Expand Down
Loading

0 comments on commit 1ffa968

Please sign in to comment.