Skip to content

Commit

Permalink
Add pan control and feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
istnv committed Nov 4, 2024
1 parent f86becf commit 61a67ff
Show file tree
Hide file tree
Showing 6 changed files with 330 additions and 72 deletions.
16 changes: 8 additions & 8 deletions buildMeterDefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ export function buildMeterDefs(self) {
fbID += '_' + fb.options.num1
break
case 'rtn':
fbID += fb.options.num2
break
fbID += fb.options.num2
break
case 'fx':
fbID += 'send_' + fb.options.num2
break
case 'bus':
fbID += fb.options.num3
break
case 'aux':
fbID = 'rtn_aux'
break;
case 'aux':
fbID = 'rtn_aux'
break
}

if (['aux', 'rtn', 'lr', 'mon'].includes(type)) {
Expand Down Expand Up @@ -102,9 +102,9 @@ export function buildMeterDefs(self) {
} else {
let m = parseInt((i - 36) / 2)
channelID = feedbackID = muteFeedbackID = ['lr', 'mon'][m]
if (channelID=='mon') {
muteFeedbackID = 'solo_mute'
}
if (channelID == 'mon') {
muteFeedbackID = 'solo_mute'
}
channelID += i % 2 ? '_r' : '_l'
variableID = feedbackID += i % 2 ? '_r' : '_l'
n = ['Main out', 'Monitor out'][m]
Expand Down
10 changes: 5 additions & 5 deletions buildSoloDefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ export function buildSoloDefs(self) {
const fbDescription = 'Solo ' + ch.description + ' status'
soloFeedbacks[soloID] = {
type: 'boolean',
name: 'Indicate ' + fbDescription,
description: 'Indicate ' + fbDescription + ' on button',
name: fbDescription,
description: 'Show' + fbDescription + ' on button',
options: [
{
type: 'dropdown',
Expand Down Expand Up @@ -244,7 +244,7 @@ export function buildSoloDefs(self) {
soloFeedbacks[actID] = {
type: 'boolean',
name: fbDescription,
description: 'Indicate ' + fbDescription + ' is on button',
description: 'Show ' + fbDescription + ' on Button',
options: [
{
type: 'dropdown',
Expand Down Expand Up @@ -331,8 +331,8 @@ export function buildSoloDefs(self) {
fbDescription = 'Solo ' + ch.description + ' status'
soloFeedbacks[actID] = {
type: 'boolean',
name: 'Indicate ' + fbDescription,
description: 'Indicate ' + fbDescription + ' on button',
name: fbDescription,
description: 'Show ' + fbDescription + ' on button',
options: [
{
type: 'dropdown',
Expand Down
Loading

0 comments on commit 61a67ff

Please sign in to comment.