3 Commits

Author SHA1 Message Date
9b1728e205 Fix the token
Some checks failed
ci/woodpecker/tag/build Pipeline failed
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-07-05 10:00:58 +02:00
fcb61f7a94 Add a woodpecker build
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-07-05 09:56:36 +02:00
c4fc6ef30a Build with JUCE 7.0.2
Update build and changelog

Switch to docker runners

Fix the source path in build

Fix the release path in build

Use zipped artifacts

build: Install zip

build: Fix commands for the package step

build: Fix zip command

update a bit

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-07-05 09:43:52 +02:00
5 changed files with 95 additions and 6 deletions

60
.woodpecker/build.yaml Normal file
View File

@ -0,0 +1,60 @@
# Build a container image
when:
event:
- tag
steps:
build:
image: ubuntu:25.10
name: Build the plugin for linux
commands:
- apt-get update -y
- |
apt-get install -y \
build-essential libasound2t64 cmake \
fftw-dev pkg-config libx11-dev \
x11-xserver-utils libxrandr-dev \
libxinerama-dev libxcursor-dev \
libfreetype6-dev libfftw3-dev \
libasound2-dev libjack-dev
- |
cmake -B build -S ./ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
- cmake --build build
backend_options:
kubernetes:
resources:
requests:
memory: 500Mi
cpu: 200m
limits:
memory: 1000Mi
cpu: 1000m
package:
name: Prepare files for release
image: ubuntu:25.10
commands:
- apt-get update
- apt-get install zip -y
- mkdir dist
- export RELEASE_DIR=build/PaulXStretch_artefacts/Release
- cp -r $RELEASE_DIR/Standalone/ /tmp
- cp -r $RELEASE_DIR/VST3/ /tmp
- cd /tmp
- |
zip -r paulxstretch-standalone.zip Standalone && \
mv paulxstretch-standalone.zip $CI_WORKSPACE/dist/
- |
zip -r paulxstretch-vst3.zip VST3 && \
mv paulxstretch-vst3.zip $CI_WORKSPACE/dist/
release:
name: Release paulxstretch
image: plugins/gitea-release
settings:
api_key:
from_secret: GITEA_TOKEN_PUBLIC
base_url: https://gitea.badhouseplants.net
files: dist/*

View File

@ -1,5 +1,8 @@
## PaulXStretch Change History
**v1.7.0**
- Update JUCE to 7.0.2
- Started using submodules for deps
**v1.6.0** (2022-06-16)
- Added live output recording feature

22
Dockerfile Normal file
View File

@ -0,0 +1,22 @@
FROM ubuntu:25.10 AS builder
RUN apt-get update -y && \
apt-get install -y \
build-essential libasound2t64 \
cmake fftw-dev pkg-config libx11-dev \
x11-xserver-utils libxrandr-dev \
libxinerama-dev libxcursor-dev \
libfreetype6-dev libfftw3-dev \
libasound2-dev libjack-dev
WORKDIR /src
COPY . .
RUN cmake -B build -S /src \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
RUN cmake --build build
FROM ubuntu
COPY --from=builder /src/build/PaulXStretch_artefacts/Release/ /release
CMD ["mv", "/release", "/out"]

View File

@ -1,5 +1,9 @@
### PaulXStretch - Plugin for extreme time stretching and other spectral processing of audio
## Dev Notes:
### Install the linux version using Docker.
I've created a docker image that you can use to install the current dev version of the plugin
This application/plugin is based on the PaulStretch algorithm. (Pauls Extreme Time Stretch, originally developed by Nasca Octavian Paul), and specifically the PaulXStretch version from Xenakios. The UI has been updated and adapted for various screen sizes.
PaulXStretch is only suitable for radical transformation of sounds. It is not suitable at all for subtle time or pitch corrections and such. Ambient music and sound design are probably the most suitable use cases. It can turn any short audio into an hours long ambient soundscape without batting an eye!

View File

@ -345,8 +345,8 @@ void CustomLookAndFeel::drawTabButton (TabBarButton& button, Graphics& g, bool i
switch (o)
{
case TabbedButtonBar::TabsAtLeft: t = t.rotated (float_Pi * -0.5f).translated (area.getX(), area.getBottom()); break;
case TabbedButtonBar::TabsAtRight: t = t.rotated (float_Pi * 0.5f).translated (area.getRight(), area.getY()); break;
case TabbedButtonBar::TabsAtLeft: t = t.rotated (MathConstants<float>::pi * -0.5f).translated (area.getX(), area.getBottom()); break;
case TabbedButtonBar::TabsAtRight: t = t.rotated (MathConstants<float>::pi * 0.5f).translated (area.getRight(), area.getY()); break;
case TabbedButtonBar::TabsAtTop:
case TabbedButtonBar::TabsAtBottom: t = t.translated (area.getX(), area.getY()); break;
default: jassertfalse; break;
@ -447,8 +447,8 @@ void CustomLookAndFeel::drawTabButtonText (TabBarButton& button, Graphics& g, bo
switch (button.getTabbedButtonBar().getOrientation())
{
case TabbedButtonBar::TabsAtLeft: t = t.rotated (float_Pi * -0.5f).translated (area.getX(), area.getBottom()); break;
case TabbedButtonBar::TabsAtRight: t = t.rotated (float_Pi * 0.5f).translated (area.getRight(), area.getY()); break;
case TabbedButtonBar::TabsAtLeft: t = t.rotated (MathConstants<float>::pi * -0.5f).translated (area.getX(), area.getBottom()); break;
case TabbedButtonBar::TabsAtRight: t = t.rotated (MathConstants<float>::pi * 0.5f).translated (area.getRight(), area.getY()); break;
case TabbedButtonBar::TabsAtTop:
case TabbedButtonBar::TabsAtBottom: t = t.translated (area.getX(), area.getY()); break;
default: jassertfalse; break;
@ -903,8 +903,8 @@ void CustomLookAndFeel::drawRotarySlider (Graphics& g, int x, int y, int width,
}
const auto thumbWidth = lineW ; // * 1.5f;
const Point<float> thumbPoint (bounds.getCentreX() + arcRadius * std::cos (toAngle - float_Pi * 0.5f),
bounds.getCentreY() + arcRadius * std::sin (toAngle - float_Pi * 0.5f));
const Point<float> thumbPoint (bounds.getCentreX() + arcRadius * std::cos (toAngle - MathConstants<float>::pi * 0.5f),
bounds.getCentreY() + arcRadius * std::sin (toAngle - MathConstants<float>::pi * 0.5f));
g.setColour (findColour (Slider::thumbColourId));
g.fillEllipse (Rectangle<float> (thumbWidth, thumbWidth).withCentre (thumbPoint));