GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — hdslave-Slink-Synth/mac-clap at desktop-v0.9.12 · hdslave/hdslave-Slink-Synth

Expand file tree

/

mac-clap

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

mac-clap

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
assets
assets
 
 
cmake
cmake
 
 
desktop
desktop
 
 
licenses
licenses
 
 
src
src
 
 
tests
tests
 
 
third_party/stb
third_party/stb
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
README.md
README.md
 
 
build-macos.sh
build-macos.sh
 
 
build-vst3-macos.sh
build-vst3-macos.sh
 
 
build-windows.ps1
build-windows.ps1
 
 
install-macos.sh
install-macos.sh
 
 

README.md

Outline

hdslave Slink desktop CLAP and VST3 plug-in

Separate desktop build of hdslave Slink, as a CLAP and a VST3 instrument, for FL Studio (2024+) and any other CLAP or VST3 host on macOS (Apple Silicon / Intel) and Windows (x64). Both formats hold the same synth and editor and can be installed side by side.

Slink playing a 16-step pattern on macOS, with the chrome crest, turning smiley and six control groups

Watch 20 seconds with audio · See the turning chrome smiley at Retina resolution · View the 32-step pattern · View the silent playback GIF · Watch the full-width storm at 60 fps · Preview the footer as a GIF · View the Windows editor under CrossOver

Slink 0.9.12 uses the freesp16 Thorn Crown faceplate. The chrome logo sits above the seed and barcode, the thorn camera fills the center, and the glass step counter shares its panel with a blue-violet transport key bearing a heart and a moving step contact. Above Regen, the chrome smiley turns through 33 poses rebuilt from the original 600-pixel painting. The desktop blends adjacent poses at display resolution. The crest is rendered from its mesh at 1328 × 360 inside its bezel. The glass counter and transport use four-times-resolution artwork, and the control labels use Barlow masks sized for the display. All 34 parameters fit in one resizable window, down to 960 × 540.

The pitch ribbon and chrome note keys line up with the Gate, Accent and Slide rows. One cobalt column follows the current step. Steps 17–32 appear alongside steps 1–16 when the pattern length exceeds 16. Beside the editable key and scale, the original SP-16 whip shapes lead into new curls and staggered lightning forks. The chrome rim lines up with the scale key. Widening the window reveals more of the animation at the same proportions. The eight-second desktop loop uses 480 frames rendered at 2240 × 80.

Section Controls
Perform Cutoff, resonance, envelope modulation, decay, accent and volume
Voice Waveform, tuning, drive, filter, peak spread and the filter-response XY pad
Glide TB-3PO or 303 slide mode, 303 slide time, gate length and accent decay
LFO Pitch and cutoff LFOs, each with its own XY pad, depth and rate
Pattern Seed mode, mutation, density, root, scale and transposition
Clock Sequence or Notes mode, clock division, swing, reset interval, step count and octave
  • Edit steps. Click or scrub numbered headers to audition. Drag a pitch vertically in semitones. Click a Gate, Accent or Slide cell to toggle it, or drag along its row to paint several steps. The first edit to a random pattern locks its displayed seed. The project saves those edits with that seed.
  • Select a bank. Click a section heading to bring its two editable readouts above the score. Editing a control also focuses its bank. The full score and all six banks stay visible. Click the root or scale at the left of the footer to change it. With a longer pattern stopped, click the step counter to jump between steps 1 and 17.
  • Play and recall. Click Play to preview while the DAW is stopped. Stop ends the preview. The DAW takes over on transport start and the button reads Sync. Shift-click requests DAW transport in hosts that support it. Drag the barcode to set the seed, click Regen for a fresh pattern, or click the seed number to recall a previously played seed.
  • Shape the sound. Drag across the filter pad for cutoff and up for resonance. Each LFO pad sits above its depth and rate controls. Drag across for rate and up for depth. Pitch depth reads in semitones and cutoff depth in octaves. Peak Spread is editable with Twin Peak. The 303 Time control is editable for 303 slides and for legato playing in Notes mode. Inactive controls show their stored values in grey.
  • Use desktop controls. Drag or scroll any value. Hold Shift or enable Fine for smaller adjustments. Click a choice to open its menu, double-click to reset, or right-click for reset and MIDI mapping. Left and Right select a step while stopped. Up and Down adjust the last touched parameter.
  • Control the artwork. Click the crest to hold its camera, or Shift-click it to cut to the next angle. Motion off freezes the crest, smiley and storm while the counter and playhead follow the pattern.

During internal Play, browsing through Note Bass suspends the sequence and displays PLAY MIDI. A sequenced preset resumes the preview. Starting the DAW takes over playback.

The CLAP ID, parameter IDs and choice order, factory preset keys, MIDI note behavior, and desktop state envelope stay compatible with previous builds. Older projects load without manual step edits. A raw state from the freesp16 build can also carry the shared step-edit records.

Download Slink 0.9.12 for macOS and Windows (each ZIP holds the CLAP and the VST3), or build this checkout. On upgrade, keep the installed filename if the host stores plug-ins by path. Install one copy per host.

hdslave plug-in license

You may use these plug-ins to make, perform, record and sell music, including paid client work, without royalties or credit to hdslave. You may share complete, unchanged official releases for free with their notices intact. Selling the software, including it in a paid product or subscription, or distributing a modified version requires prior written permission from hdslave. Third-party components keep their own licenses. Full plug-in license.

VST3

The VST3 is the same instrument and editor as the CLAP, built from the same code. It sounds the same to the sample at every buffer size, and a project saved with either format opens in the other with the same sound and settings.

  • Presets. The six factory presets are the host's program list, in Slink's own order: Default, Acid Line, Root Pulse, Square Lead, Dub Steps, Note Bass. A new instance plays Default. Picking a preset on the panel moves the host's program display with it. Reopening a project keeps the sound it was saved with, whatever program the host shows.
  • MIDI. Notes arrive as notes. Pitch bend, the mod wheel and the channel-mode messages arrive through the host's MIDI controller mapping, on any channel. A controller or automation point and a note on the same sample arrive in that order, so automation drawn at a note's start applies to that note. See MIDI.
  • Automation. Every automation point arrives at its own sample. Panel edits are recorded as user edits. Values the synth sets itself, and values from a CC learned on the panel, reach the host as plain values, not as user edits. A VST3 host would hand a user edit back to the plug-in a few blocks later, over newer values. In the CLAP, a learned CC's values are reported as edits, as FL Studio needs to record them.
  • Transport. The sequencer follows the host's song position, tempo, loop and time signature. VST3 has no way for a plug-in to start the host's transport, so the Play button previews Slink alone and shows Sync while the host plays.

The class id is fixed, so projects keep finding the plug-in. The VST3 bundle is Slink.vst3.

MIDI

The same in the CLAP and the VST3:

  • Mode: Sequence. Every key transposes the pattern from its next step, held until another key (C4 plays it as it is). The desktop build has no step pads, unlike the MPC Sample build.
  • Mode: Notes. The keys play the voice: one key strikes, a key over a held one slides to it, and letting go returns to the newest key still held, up to 16. Velocity 100 or more accents. A note-off ends its key. When the host gives note ids, it ends only the note its id names, so a key played again under a new id keeps sounding after the first note's off.
  • Pitch bend is ±2 semitones. The mod wheel opens the cutoff by up to 3 octaves. Reset All Controllers (CC 121) centres both.
  • All Notes Off (CC 123) and All Sound Off (CC 120) release the held keys in Mode: Notes. In Mode: Sequence, All Sound Off, or a host's choke of every key, shuts the sequencer's sounding step until the next one. A choke of one key acts as its note-off.
  • MIDI Learn. Right-click a control, or use Learn, then move a controller: that CC now sets the control, and only the control (a learned CC 1 no longer moves the mod wheel). Learn never takes CC 120–127, and a saved map ignores their command values. The map is saved with the project. A state from the MPC or SP-16 build has none, and loading one clears it.
  • Not used: the sustain pedal, channel and polyphonic aftertouch, program changes, note expressions and SysEx.

Build VST3 (macOS)

Requires Xcode Command Line Tools, CMake 3.27+ and Git. The first configure fetches clap-wrapper 0.18.0 and the VST 3 SDK 3.8.0 at pinned commits. Both are MIT-licensed.

cd mac-clap
./build-vst3-macos.sh

The script builds build/vst3-universal/vst3/Slink.vst3 and build/vst3-universal/clap/Slink.clap for Apple Silicon and Intel, then ad-hoc signs both. It then checks the following:

  • The VST3 exports only its entry points.
  • vst3_test plays the VST3 against the CLAP sample for sample at six buffer sizes. It also checks states, presets, MIDI, zero-sample calls and both editors.
  • host_test passes for the CLAP.
  • These tests run on both architectures when Rosetta is installed.
  • Steinberg's validator runs as well when VST3_VALIDATOR names its executable.

Copy Slink.vst3 to ~/Library/Audio/Plug-Ins/VST3/ (or /Library/Audio/Plug-Ins/VST3/), then quit and reopen the host.

Build VST3 (Windows x64)

With CMake 3.27+, Ninja and MinGW-w64 GCC on the path (or a cross-compiler from macOS or Linux):

cd mac-clap
cmake -S . -B build/vst3-win -G Ninja -DCMAKE_BUILD_TYPE=Release -DSLINK_BUILD_VST3=ON -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_MODULE_LINKER_FLAGS=-static -DCMAKE_EXE_LINKER_FLAGS=-static
cmake --build build/vst3-win

From macOS, use x86_64-w64-mingw32-gcc / -g++ as the compilers and add -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_PROCESSOR=AMD64 -DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres. Copy the whole build\vst3-win\vst3\Slink.vst3 folder to C:\Program Files\Common Files\VST3\. The build also produces Slink.clap and vst3_test.exe. Run vst3_test.exe Slink.clap Slink.vst3\Contents\x86_64-win\Slink.vst3 on Windows to check it.

Build & Install CLAP (macOS)

Requires Xcode Command Line Tools and CMake 3.20+ (Ninja optional):

cd mac-clap
./build-macos.sh
./install-macos.sh

install-macos.sh builds, ad-hoc signs, tests, and installs Slink.clap to /Library/Audio/Plug-Ins/CLAP/ (pass --user to install to ~/Library/Audio/Plug-Ins/CLAP/). When upgrading an existing installation, the installer keeps the old bundle filename for project recall. Quit and reopen the host after installing.

Build CLAP (Windows x64)

cd mac-clap
.\build-windows.ps1

Copy build\windows\clap\Release\Slink.clap to C:\Program Files\Common Files\CLAP\.

Shared artwork and validation

Both desktop targets embed the same Thorn Crown artwork bank as freesp16. The desktop editor draws the score, parameter sections and XY plots at the window’s device scale. Cocoa and Win32 present the same editor and send pointer events through the same hit targets. The step editor shares the hardware version’s audition and saved-edit logic.

Normal builds use the committed artwork. Run python3 mac-clap/tools/bake_header.py --chromium PATH with Pillow and Playwright to regenerate the desktop header and type masks. Rebuild the shared bank with tools/sp16_thorn/bake_native.py from the repository root. The desktop wordmark keeps the full resolution of the original lettering. To refresh it, run python3 mac-clap/tools/bake_wordmark.py with Pillow installed. Run python3 mac-clap/tools/bake_footer.py with Pillow and Playwright to render the desktop storm from the original artwork. Pass --chromium PATH to use a local Chromium executable. The silver engraving, folding checkerboard and fluorescent stencil are available as reusable animated panels. Artwork and font credits are in THIRD_PARTY.md.

The desktop host test exercises all 34 parameter targets, editing at both ends of a 32-step score, project recall, MIDI learn, filter and LFO gestures, transport takeover, motion holds and native window resizing. Run host_test --snap <directory> <plugin> to capture the 16-step editor, the minimum window at Retina scale and a 32-step pattern. --film <directory> also captures five seconds of playback at 25 fps.

You are visitor 01402809 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.