Upward and downward compression in four bands whose edges are harmonic numbers of the tracked note (default 1, 2-4, 5-16, 17 and up), so the same setting squashes the same harmonics on every note. A fixed-band OTT puts harmonic 2 of F1 and of C2 in different bands. - Three Linkwitz-Riley splits at sqrt(k(k+1)) x f0 with allpass compensation; at Depth 0 the bands sum within 0.05 dB. - Band level is the RMS over one period of the note, so heavy settings do not ripple at f0: a 40 Hz sine at Drive +12 dB, Time 10 % gets no harmonics above -110 dB. - At Depth 100 % on a saw, harmonics 1-12 change by the same amount on F1, C2 and G2 (within 0.2 dB). - Depth, Drive (on the detector only), Upward, Downward, Time, a gain per band; edges Low 1-8, Mid 2-16, High 3-48 with four splits. - Pitch from audio with about 67 ms lookahead, or from MIDI. - Editor: harmonic ruler with draggable edges, level and gain per band. - Catalog, workflows, editor-check, docs, signal chain and site copy.
106 lines
4.5 KiB
YAML
106 lines
4.5 KiB
YAML
name: Check and Windows preview
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
CARGO_HOME: ${{ gitea.workspace }}/.cargo-ci
|
|
RUSTUP_HOME: ${{ gitea.workspace }}/.rustup-ci
|
|
CARGO_TERM_COLOR: always
|
|
# Incremental data is not reused between CI runs; it only inflates the cache.
|
|
CARGO_INCREMENTAL: "0"
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
container: node:22-bookworm
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
plugin: [rivet, patina, anvil, crucible, lathe, temper, weld, knurl, planish]
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
persist-credentials: false
|
|
- uses: ./.gitea/actions/setup
|
|
with:
|
|
cache-name: check-${{ matrix.plugin }}
|
|
target-paths: |
|
|
target
|
|
plugins/${{ matrix.plugin }}/plugin/target
|
|
- run: python3 -m unittest discover -s scripts/tests -v
|
|
- run: python3 scripts/check-plugin.py --plugin "${{ matrix.plugin }}"
|
|
|
|
previews:
|
|
runs-on: ubuntu-latest
|
|
container: node:22-bookworm
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
persist-credentials: false
|
|
- uses: ./.gitea/actions/setup
|
|
with:
|
|
cache-name: previews
|
|
target-paths: tools/editor-check/target
|
|
- run: |
|
|
cargo fmt --all -- --check
|
|
cargo fmt --manifest-path tools/editor-check/Cargo.toml -- --check
|
|
mkdir -p target/editor
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/rivet.png --plugin rivet
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/patina.png --plugin patina
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/patina-compact.png --plugin patina --compact
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/anvil.png --plugin anvil
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/crucible.png --plugin crucible
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/lathe.png --plugin lathe
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/temper.png --plugin temper
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/weld.png --plugin weld
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/knurl.png --plugin knurl
|
|
cargo run --manifest-path tools/editor-check/Cargo.toml --locked -- target/editor/planish.png --plugin planish
|
|
- uses: https://github.com/actions/upload-artifact@v3-node20
|
|
with:
|
|
name: editor-previews
|
|
path: target/editor/*.png
|
|
retention-days: 7
|
|
|
|
windows:
|
|
needs: [check, previews]
|
|
runs-on: ubuntu-latest
|
|
container: node:22-bookworm
|
|
env:
|
|
CARGO_TARGET_DIR: ${{ gitea.workspace }}/target/windows
|
|
steps:
|
|
- uses: https://github.com/actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
persist-credentials: false
|
|
- uses: ./.gitea/actions/setup
|
|
with:
|
|
windows: "true"
|
|
cache-name: windows-preview
|
|
target-paths: target/windows
|
|
- run: |
|
|
python3 scripts/build-plugin.py --plugin rivet --target x86_64-pc-windows-gnu
|
|
python3 scripts/build-plugin.py --plugin patina --target x86_64-pc-windows-gnu
|
|
python3 scripts/build-plugin.py --plugin anvil --target x86_64-pc-windows-gnu
|
|
python3 scripts/build-plugin.py --plugin crucible --target x86_64-pc-windows-gnu
|
|
python3 scripts/build-plugin.py --plugin lathe --target x86_64-pc-windows-gnu
|
|
python3 scripts/build-plugin.py --plugin temper --target x86_64-pc-windows-gnu
|
|
python3 scripts/build-plugin.py --plugin weld --target x86_64-pc-windows-gnu
|
|
python3 scripts/build-plugin.py --plugin knurl --target x86_64-pc-windows-gnu
|
|
python3 scripts/build-plugin.py --plugin planish --target x86_64-pc-windows-gnu
|
|
python3 scripts/package-windows.py
|
|
- uses: https://github.com/actions/upload-artifact@v3-node20
|
|
with:
|
|
name: bass-foundry-windows-x86_64
|
|
path: |
|
|
dist/bass-foundry-windows-x86_64.zip
|
|
dist/bass-foundry-windows-x86_64.zip.sha256
|
|
retention-days: 30
|