Skip to content

Instantly share code, notes, and snippets.

View gbraad's full-sized avatar
🇳🇱
Working from home

Gerard Braad gbraad

🇳🇱
Working from home
View GitHub Profile
  37, 39      42, 44, 46
36, 38, 40, 41, 43, 45, 47, 

  49, ...
48, ...
@gbraad
gbraad / README.md
Created January 16, 2026 11:20
Drumlogue MIDI setup

Here's how you configure it: First, configure your KORG DRUMLOGUE AS FOLLOWS:

  • Press SHIFT+LIVE[GLOBAL]
  • Press RS/7 ---- Set Channel to 1-12 (Note, you need Firmware upgrade 1.1) ---- Route: Pick your MIDI Connection (USB or USB+MIDI]

Here’s how to map your LaunchPad Pro MK3 to Drumlogue like in the video, using Novation Components:

  1. Launch Components

Logue BackgroundFX

Store the runtime descriptor passed during initialization so we can access the get_raw_input() API later during rendering.

  // Runtime descriptor for background effect support
  // Provides access to get_raw_input() API which returns audio input unaffected by effect on/off state
  // This enables the effect to run continuously without requiring HOLD (XY Freeze) to be pressed
  static unit_runtime_desc_t s_runtime_desc;
// BasePreset - Base class for all Three.js presets
class ThreeJSBasePreset {
constructor(scene, camera, renderer, audioContext) {
this.scene = scene;
this.camera = camera;
this.renderer = renderer;
this.audioContext = audioContext;
// Audio-reactive data (updated by ThreeJSRenderer)
this.frequencyData = { bass: 0, mid: 0, high: 0 };
@gbraad
gbraad / slides.md
Last active September 4, 2025 09:26
@gbraad
gbraad / .htaccess
Last active September 1, 2025 11:01
RewriteEngine On
RewriteRule ^dns-query$ dns-query.php [L]
@gbraad
gbraad / README.md
Last active July 2, 2025 03:12
Investigating how well LLMs can generate sequence diagrams

Sequence diagrams

Investigating how well LLMs can generate sequence diagrams, based on simple prompts on the crc-org/vfkit codebase.

Honestly, a lot of tools in the 00's were able to generate more insightful images.

@gbraad
gbraad / README.md
Last active May 18, 2025 13:11
Compiling `crc` using a notebook

Compiling crc using a notebook

This is just an insightful gist that shows how I automate some tasks.

More information can be found in the repository gbraad-dotfiles/notebooks.

@gbraad
gbraad / README.md
Last active May 18, 2025 06:27
my environment

My environment using notebooks