Skip to content

Commit

Permalink
Merge pull request #151 from 4ms/fix-stereostrip
Browse files Browse the repository at this point in the history
Fix StereoStrip missing three-way switch widget
  • Loading branch information
danngreen authored Oct 31, 2023
2 parents 0b78833 + 4436d19 commit 0bda78b
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 0 deletions.
7 changes: 7 additions & 0 deletions firmware/src/VCV_adaptor/widget_convert/Befaco.hh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ struct CKSSHoriz4;
struct CKSSNarrow3;
struct Davies1900hLargeLightGreyKnob;
struct BefacoSlidePotSmall;
// From StereoStrip.cpp
struct ThreeStateBefacoSwitchMomentary;

// Conversions from Befaco widgets to MetaModule Elements:

Expand Down Expand Up @@ -129,4 +131,9 @@ struct ElementConvert<BefacoSlidePotSmall> {
using ElementType = MetaModule::BefacoSlidePotSmall;
};

template<>
struct ElementConvert<ThreeStateBefacoSwitchMomentary> {
using ElementType = MetaModule::Toggle3pos;
};

} // namespace rack
Binary file added shared/patch/module_tests/Befaco/StereoStrip.vcv
Binary file not shown.
147 changes: 147 additions & 0 deletions shared/patch/module_tests/Befaco/StereoStrip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
PatchData:
patch_name: Stereo Strip
description: 'A: Low, B: Mid, C: Highs, D: In boost, E: Pan, F: Out cut, U: Mute, V: CV, W: Level. In1/2: L/R, In 3:PanCV, In4: Level CV. Out 1/2:L/R'
module_slugs:
0: HubMedium
1: StereoStrip
int_cables: []
mapped_ins:
- panel_jack_id: 0
ins:
- module_id: 1
jack_id: 2
- panel_jack_id: 3
ins:
- module_id: 1
jack_id: 1
- panel_jack_id: 1
ins:
- module_id: 1
jack_id: 0
- panel_jack_id: 2
ins:
- module_id: 1
jack_id: 3
mapped_outs:
- panel_jack_id: 0
out:
module_id: 1
jack_id: 0
- panel_jack_id: 1
out:
module_id: 1
jack_id: 1
static_knobs:
- module_id: 1
param_id: 0
value: 0.5
- module_id: 1
param_id: 1
value: 0.5
- module_id: 1
param_id: 2
value: 0.5
- module_id: 1
param_id: 3
value: 0.5
- module_id: 1
param_id: 4
value: 0.5
- module_id: 1
param_id: 5
value: 0.5
- module_id: 1
param_id: 6
value: 0.5
- module_id: 1
param_id: 7
value: 1
- module_id: 1
param_id: 8
value: 1
mapped_knobs:
- name: ''
set:
- panel_knob_id: 0
module_id: 1
param_id: 0
curve_type: 0
min: 0
max: 1
- panel_knob_id: 1
module_id: 1
param_id: 1
curve_type: 0
min: 0
max: 1
- panel_knob_id: 2
module_id: 1
param_id: 2
curve_type: 0
min: 0
max: 1
- panel_knob_id: 3
module_id: 1
param_id: 7
curve_type: 0
min: 0
max: 1
- panel_knob_id: 4
module_id: 1
param_id: 3
curve_type: 0
min: 0
max: 1
- panel_knob_id: 5
module_id: 1
param_id: 8
curve_type: 0
min: 0
max: 1
- panel_knob_id: 6
module_id: 1
param_id: 4
curve_type: 0
min: 0
max: 1
- panel_knob_id: 7
module_id: 1
param_id: 5
curve_type: 0
min: 0
max: 1
- panel_knob_id: 8
module_id: 1
param_id: 6
curve_type: 0
min: 0
max: 1
- name: ''
set: []
- name: ''
set: []
- name: ''
set: []
- name: ''
set: []
- name: ''
set: []
- name: ''
set: []
- name: ''
set: []
midi_maps:
name: ''
set: []
midi_poly_num: 0

'vcvModuleStates':
- 'id': 1
'plugin': 'Befaco'
'model': 'StereoStrip'
'version': '2.4.0'
'data':
'applyHighpass': true
'applyHighshelf': true
'panningLaw': 0
'applySoftClipping': true

0 comments on commit 0bda78b

Please sign in to comment.