Skip to content

Commit 3140998

Browse files
tucktuckg00seclaude
andcommitted
v0.10.5: rename signal chain modules and move MUTE to row 2
Rename PLAYBACK → TIME/PITCH, OUTPUT → PLAYBACK for clarity. Move MUTE param from row 1 to row 2 alongside GAIN and VOICES/OUT. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9f783e6 commit 3140998

4 files changed

Lines changed: 380 additions & 141 deletions

File tree

src/PluginEditor.cpp

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ static constexpr float kHeaderH = 28.0f;
77
static constexpr float kSliceLaneH = 20.0f;
88
static constexpr float kScrollbarH = 10.0f;
99
static constexpr float kActionH = 22.0f;
10-
static constexpr float kSignalChainH = 94.0f;
1110
static constexpr float kWaveformMinH = 180.0f;
11+
static constexpr float kCollapsedSignalChainH = 94.0f;
1212

1313
static juce::File getSettingsDir()
1414
{
@@ -47,6 +47,12 @@ IntersectEditor::IntersectEditor (IntersectProcessor& p)
4747

4848
sliceLane.setWaveformView (&waveformView);
4949

50+
signalChainBar.onHeightChanged = [this]
51+
{
52+
float delta = signalChainBar.getDesiredHeight() - kCollapsedSignalChainH;
53+
setSize (kBaseW, kBaseH + (int) delta);
54+
};
55+
5056
// Write default theme files if they don't exist
5157
ensureDefaultThemes();
5258

@@ -103,10 +109,11 @@ void IntersectEditor::resized()
103109
.withMinHeight (kActionH)
104110
.withMaxHeight (kActionH)
105111
.withHeight (kActionH));
112+
const float signalChainH = signalChainBar.getDesiredHeight();
106113
shell.items.add (juce::FlexItem (signalChainBar)
107-
.withMinHeight (kSignalChainH)
108-
.withMaxHeight (kSignalChainH)
109-
.withHeight (kSignalChainH));
114+
.withMinHeight (signalChainH)
115+
.withMaxHeight (signalChainH)
116+
.withHeight (signalChainH));
110117

111118
shell.performLayout (getLocalBounds().toFloat());
112119
}

src/PluginProcessor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,6 @@ void IntersectProcessor::handleCommand (const Command& cmd)
817817
s.startSample, s.endSample, cmd.floatParam1, currentSampleRate);
818818
s.bpm = newBpm;
819819
s.lockMask |= kLockBpm;
820-
s.algorithm = 1;
821-
s.lockMask |= kLockAlgorithm;
822820
}
823821
break;
824822
}

0 commit comments

Comments
 (0)