Skip to content

Commit 555bdbe

Browse files
authored
Merge pull request #28 from bitfocus/feature/companion-v3
Update module to Companion v3
2 parents 0fd459e + 24c7601 commit 555bdbe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+12443
-2355
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Companion Module Checks
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
check:
8+
name: Check module
9+
10+
if: ${{ !contains(github.repository, 'companion-module-template-') }}
11+
12+
permissions:
13+
packages: read
14+
15+
uses: bitfocus/actions/.github/workflows/module-checks.yaml@main
16+
# with:
17+
# upload-artifact: true # uncomment this to upload the built package as an artifact to this workflow that you can download and share with others
18+

.github/workflows/node.yaml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Node CI
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
tags:
8+
- 'v[0-9]+.[0-9]+.[0-9]+*'
9+
pull_request:
10+
11+
jobs:
12+
lint:
13+
name: Lint
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 15
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Use Node.js 18.x
20+
# This should match the version of Node.js you have defined in the manifest.json runtime field
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 18.x
24+
- name: Prepare Environment
25+
run: |
26+
corepack enable
27+
- name: Prepare Environment (For template repository)
28+
# Only run this step if the repository is a template repository
29+
# If you are using this in a module, you can remove this step
30+
if: ${{ contains(github.repository, 'companion-module-template-') }}
31+
run: |
32+
# Perform an install to generate the lockfile
33+
yarn install
34+
env:
35+
CI: false
36+
- name: Prepare module
37+
run: |
38+
yarn install
39+
env:
40+
CI: true
41+
- name: Build and check types
42+
run: |
43+
yarn build
44+
env:
45+
CI: true
46+
- name: Run lint
47+
run: |
48+
yarn lint
49+
env:
50+
CI: true
51+
52+
# Uncomment this to enable running unit tests
53+
# test:
54+
# name: Test
55+
# runs-on: ubuntu-latest
56+
# timeout-minutes: 15
57+
58+
# steps:
59+
# - uses: actions/checkout@v4
60+
# - name: Use Node.js 22.x
61+
# uses: actions/setup-node@v4
62+
# with:
63+
# node-version: 22.x
64+
# - name: Prepare Environment
65+
# run: |
66+
# corepack enable
67+
# yarn install
68+
# env:
69+
# CI: true
70+
# - name: Run tests
71+
# run: |
72+
# yarn test
73+
# env:
74+
# CI: true
75+
# - name: Send coverage
76+
# uses: codecov/codecov-action@v5

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
node_modules/
2-
floattest.js
2+
package-lock.json
3+
/pkg
4+
/pkg.tgz
5+
/dist
6+
DEBUG-*
7+
/.yarn
8+
.DS_Store

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lint-staged

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package.json
2+
/LICENSE.md

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Bitfocus AS
3+
Copyright (c) 2022 Bitfocus AS - Open Source
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 113 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,124 @@
11
# companion-module-behringer-wing
2+
23
See also HELP.md and LICENSE
34

4-
**V0.5.0**
5-
* Initial release / testing
6-
* Fader, Mute, LED, Colors, Solo, Sends
7-
* With dynamic variables and Feedback
5+
# Changelog
6+
7+
## 2.0.0
8+
9+
### Added
10+
11+
- Support for Companion 3.0
12+
- Device discovery listing Behringer Wing devices in configuration screen (inspired by [Behringer X32](https://github.com/bitfocus/companion-module-behringer-x32/tree/master))
13+
- Fade-Curve Easings (copied from [Behringer X32](https://github.com/bitfocus/companion-module-behringer-x32/tree/master))
14+
- Support for Wing Rack and Wing Comapct
15+
- Added Commands:
16+
- Adjust Gain / Main to Matrix Level / Panorama / Send Panorama
17+
- Store Gain / Main to Matrix Level / Panorama / Send Panorama
18+
- Restore Gain / Main to Matrix Level / Panorama / Send Panorama
19+
- Undo Gain / Main to Matrix Level / Panorama / Send Panorama Adjust
20+
- Set Gain / Main to Matrix Level / Panorama / Send Panorama
21+
- Send Command
22+
- Send Command with Number
23+
- Set Channel EQ Model
24+
- Set Channel Filter Model
25+
- Set Channel Main Connection
26+
- Set Channel Process Order
27+
- Set Solo LR Swap
28+
- WLive: Set Link / Set Auto Input / Set Auto Stop / Set Auto Play / Set Auto Record / Card Action / Add Marker / Format Card
29+
- USB: Playback Action / Set Repeat / Record Action
30+
31+
### Changed
32+
33+
- Re-structued repository to accomodate for large number of commands (inspired by [ATEM](https://github.com/bitfocus/companion-module-bmd-atem))
34+
35+
- chaned from `action.ts` to `action/` as directory with one file per category
36+
- OSC commands are documented the `commands/` directory, with one file per category. Each command category is its own namespace.
37+
38+
- Changed command names and unified commands:
39+
- Bus Send Level Adjust -> Adjust Send Level
40+
- Bus Send Level Recall -> Restore Send Level
41+
- Bus Send Level Set -> Set Send Level
42+
- Bus Send On -> Set Send Mute
43+
- Ch, Aux Send Level Adjust -> Adjust Send Level
44+
- Ch, Aux Send Level Recall -> Restore Send Level
45+
- Ch, Aux Send Level Set -> Set Send Level
46+
- Ch, Aux Send Level Store -> Store Send Level
47+
- Color -> Set Color
48+
- Fader Adjust -> Adjust Level
49+
- Fader Recall -> Restore Level
50+
- Fader Set -> Set Level
51+
- Fader Store -> Store Level
52+
- Icon -> Set Channel Icon
53+
- LED -> Set Scribble Light
54+
- Main Send Level Adjust -> Adjust Main Send Level
55+
- Main Send Level Recall -> Restore Main Send Level
56+
- Main Send Level Set -> Set Main Send Level
57+
- Main Send Level Store -> Set Main Send Mute
58+
- Mute -> Set Mute
59+
- Name -> Set Name
60+
- Solo -> Set Solo
61+
- Solo Clear -> Clear Solo
62+
- Solo Dim -> Set Solo Dim
63+
- Solo Mono -> Set Solo Mono
64+
- Solo Mute -> Set Solo Mute
65+
66+
## 1.0.4
67+
68+
### Fixed
69+
70+
- Fix DCA Channel count (16 not 8)
71+
72+
## 1.0.3
73+
74+
### Fixed
75+
76+
- Fix remaining switch/toggle actions
77+
78+
## 1.0.2
79+
80+
### Fixed
81+
82+
- Fix Repo URL in HELP.md
83+
84+
## 1.0.1
85+
86+
### Fixed
87+
88+
- Fix typos on certain mute actions
89+
90+
## 1.0.0
91+
92+
### Added
93+
94+
- Implement a 'Clear All Solo' function
95+
96+
### Changed
97+
98+
- Cleanup: remove excess debugging code
99+
100+
## 0.9.2
101+
102+
### Added
103+
104+
- Talkback bus control
105+
106+
## 0.9.1
8107

9-
**V0.9.0**
10-
* Protocol update
108+
### Added
11109

12-
**V0.9.1**
13-
* Feedback and Variables
110+
- Feedback and Variables
14111

15-
**V0.9.2**
16-
* Talkback bus control
112+
## 0.9.0
17113

18-
**V1.0.0**
19-
* Implement a 'Clear All Solo' function
20-
* Cleanup: remove excess debugging code
114+
### Changed
21115

22-
**V1.0.1**
23-
* Fix typos on certain mute actions
116+
- Protocol update
24117

25-
**V1.0.2**
26-
* Fix Repo URL in HELP.md
118+
## 0.5.0
27119

28-
**V1.0.3**
29-
* Fix remaining switch/toggle actions
120+
### Added
30121

31-
**V1.0.4**
32-
* Fix DCA Channel count (16 not 8)
122+
- Initial release / testing
123+
- Fader, Mute, LED, Colors, Solo, Sends
124+
- With dynamic variables and Feedback

companion/HELP.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Your module
2+
3+
Write some help for your users here!

companion/manifest.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"id": "behringer-wing",
3+
"name": "behringer-wing",
4+
"shortname": "wing",
5+
"description": "WING OSC",
6+
"version": "0.0.0",
7+
"license": "MIT",
8+
"repository": "git+https://github.com/janikwitzig/companion-module-behringer-wing.git",
9+
"bugs": "https://github.com/janikwitzig/companion-module-behringer-wing/issues",
10+
"maintainers": [
11+
{
12+
"name": "Janik Witzig",
13+
"email": "janik.witzig@bluewin.ch"
14+
}
15+
],
16+
"runtime": {
17+
"type": "node18",
18+
"api": "nodejs-ipc",
19+
"apiVersion": "0.0.0",
20+
"entrypoint": "../dist/index.js"
21+
},
22+
"legacyIds": [],
23+
"manufacturer": "Behringer",
24+
"products": ["WING"],
25+
"keywords": []
26+
}

0 commit comments

Comments
 (0)