Skip to content

Commit 6aeea2e

Browse files
authored
Merge pull request #26 from Lunix-420/main
chore: Prepare v1.2.1
2 parents e54ff00 + cee3d94 commit 6aeea2e

12 files changed

+39
-34
lines changed

.SRCINFO

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
pkgbase = dimethoxy-plasma-bin
2-
pkgdesc = Asymmetrical Distortion Effect for VST3 and LV2 compatible hosts
3-
pkgver = 1.2.0
4-
pkgrel = 1
5-
url = https://github.com/Dimethoxy/Plasma
6-
arch = x86_64
7-
license = GPL3
8-
provides = dimethoxy-plasma
9-
source = https://github.com/Dimethoxy/Plasma/releases/download/v1.2.0/plasma-v1.2.0-linux.tar.gz
10-
sha256sums = 818a96882c5372b9a8b713078eda7bc9763cb04fdec01ac4d4209832fc09cd18
2+
pkgdesc = Asymmetrical Distortion Effect for VST3 and LV2 compatible hosts
3+
pkgver = 1.2.1
4+
pkgrel = 1
5+
url = https://github.com/Dimethoxy/Plasma
6+
arch = x86_64
7+
license = GPL3
8+
provides = dimethoxy-plasma
9+
source = https://github.com/Dimethoxy/Plasma/releases/download/v1.2.1/plasma-v1.2.1-linux.tar.gz
10+
sha256sums = 0111200a8294fcb50312fde794e6f1f3cca5bef9da8ef515b786d3a86fb15308
1111

1212
pkgname = dimethoxy-plasma-bin

JuceLibraryCode/JuceHeader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace ProjectInfo
5050
{
5151
const char* const projectName = "Plasma";
5252
const char* const companyName = "Dimethoxy";
53-
const char* const versionString = "1.2.0";
54-
const int versionNumber = 0x10200;
53+
const char* const versionString = "1.2.1";
54+
const int versionNumber = 0x10201;
5555
}
5656
#endif

JuceLibraryCode/JucePluginDefines.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@
7777
#define JucePlugin_EditorRequiresKeyboardFocus 0
7878
#endif
7979
#ifndef JucePlugin_Version
80-
#define JucePlugin_Version 1.2.0
80+
#define JucePlugin_Version 1.2.1
8181
#endif
8282
#ifndef JucePlugin_VersionCode
83-
#define JucePlugin_VersionCode 0x10200
83+
#define JucePlugin_VersionCode 0x10201
8484
#endif
8585
#ifndef JucePlugin_VersionString
86-
#define JucePlugin_VersionString "1.2.0"
86+
#define JucePlugin_VersionString "1.2.1"
8787
#endif
8888
#ifndef JucePlugin_VSTUniqueID
8989
#define JucePlugin_VSTUniqueID JucePlugin_PluginCode
@@ -155,7 +155,7 @@
155155
#define JucePlugin_ARAFactoryID "com.Dimethoxy.Plasma.factory"
156156
#endif
157157
#ifndef JucePlugin_ARADocumentArchiveID
158-
#define JucePlugin_ARADocumentArchiveID "com.Dimethoxy.Plasma.aradocumentarchive.1.1.0"
158+
#define JucePlugin_ARADocumentArchiveID "com.Dimethoxy.Plasma.aradocumentarchive.1.2.1"
159159
#endif
160160
#ifndef JucePlugin_ARACompatibleArchiveIDs
161161
#define JucePlugin_ARACompatibleArchiveIDs ""
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/*
2-
3-
IMPORTANT! This file is auto-generated each time you save your
4-
project - if you alter its contents, your changes may be overwritten!
5-
6-
*/
7-
8-
#include <juce_graphics/juce_graphics_Sheenbidi.c>
1+
/*
2+
3+
IMPORTANT! This file is auto-generated each time you save your
4+
project - if you alter its contents, your changes may be overwritten!
5+
6+
*/
7+
8+
#include <juce_graphics/juce_graphics_Sheenbidi.c>

PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Maintainer: Lunix (David Hess) <davidhess336@gmx.de>
22
pkgname='dimethoxy-plasma-bin'
3-
pkgver=1.2.0
3+
pkgver=1.2.1
44
pkgrel=1
55
pkgdesc="Asymmetrical Distortion Effect for VST3 and LV2 compatible hosts"
66
arch=('x86_64')
77
url="https://github.com/Dimethoxy/Plasma"
88
license=('GPL3')
99
provides=('dimethoxy-plasma')
1010
source=("https://github.com/Dimethoxy/Plasma/releases/download/v$pkgver/plasma-v$pkgver-linux.tar.gz")
11-
sha256sums=('818a96882c5372b9a8b713078eda7bc9763cb04fdec01ac4d4209832fc09cd18')
11+
sha256sums=('0111200a8294fcb50312fde794e6f1f3cca5bef9da8ef515b786d3a86fb15308')
1212

1313
package() {
1414
# Define new directories

Plasma.jucer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<JUCERPROJECT id="qMF8Un" name="Plasma" projectType="audioplug" useAppConfig="0"
44
jucerFormatVersion="1" bundleIdentifier="com.Dimethoxy.Plasma"
5-
companyName="Dimethoxy" companyWebsite="Dimethoxy.com" version="1.2.0"
5+
companyName="Dimethoxy" companyWebsite="Dimethoxy.com" version="1.2.1"
66
pluginManufacturerCode="Dmtx" pluginDesc="Distortion" maxBinaryFileSize="20971520"
77
pluginVST3Category="Distortion,Fx" companyCopyright="COPYRIGHT &#169; 2024 DIMETHOXY.COM"
88
companyEmail="dimethoxy.audio@gmail.com" pluginFormats="buildAU,buildLV2,buildVST3"

Source/BaseVisualiser.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,18 @@ BaseVisualiser::timerCallback()
147147
}
148148

149149
void
150-
BaseVisualiser::setColours(Colour bk, Colour fg) noexcept
150+
BaseVisualiser::setColours(Colour bk, Colour wf, Colour fg) noexcept
151151
{
152152
backgroundColour = bk;
153-
waveformColour = fg;
153+
foregroundColour = fg;
154+
waveformColour = wf;
154155
repaint();
155156
}
156157

157158
void
158159
BaseVisualiser::paint(Graphics& g)
159160
{
161+
g.fillAll(foregroundColour);
160162
g.setColour(backgroundColour);
161163
g.fillRoundedRectangle(getLocalBounds().toFloat(), cornerRadius);
162164
auto r = getLocalBounds().toFloat();

Source/BaseVisualiser.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ class BaseVisualiser
5757
void pushSample(const float* samplesForEachChannel, int numChannels);
5858

5959
/** Sets the colours used to paint the */
60-
void setColours(Colour backgroundColour, Colour waveformColour) noexcept;
60+
void setColours(Colour backgroundColour,
61+
Colour waveformColour,
62+
Colour foregroundColour) noexcept;
6163

6264
/** Sets the frequency at which the component repaints itself. */
6365
void setRepaintRate(int frequencyInHz);
@@ -82,6 +84,7 @@ class BaseVisualiser
8284
int numLevels,
8385
int nextSample);
8486

87+
void setForegroundColor(Colour c);
8588
//==============================================================================
8689
/** @internal */
8790
void paint(Graphics&) override;
@@ -92,7 +95,7 @@ class BaseVisualiser
9295

9396
OwnedArray<ChannelInfo> channels;
9497
int numSamples, inputSamplesPerBlock;
95-
Colour backgroundColour, waveformColour;
98+
Colour backgroundColour, foregroundColour, waveformColour;
9699

97100
void timerCallback() override;
98101
int cornerRadius;

Source/PluginEditor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ PlasmaAudioProcessorEditor::setBackgroundColor(Colour c)
16741674
for (auto* slider : getSliders()) {
16751675
slider->setColour(Slider::ColourIds::backgroundColourId, c);
16761676
}
1677-
waveformComponent->setBackgroundColor(c);
1677+
waveformComponent->setBackgroundColor(c, foregroundColor);
16781678
}
16791679

16801680
void

Source/WaveformComponent.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ WaveformComponent::setColor(Colour c)
3535
}
3636

3737
void
38-
WaveformComponent::setBackgroundColor(Colour c)
38+
WaveformComponent::setBackgroundColor(Colour c, Colour f)
3939
{
40-
setColours(c, c);
40+
setColours(c, f, f);
4141
}

0 commit comments

Comments
 (0)