Skip to content

Instantly share code, notes, and snippets.

View ffAudio's full-sized avatar

Daniel Walz ffAudio

View GitHub Profile
@ffAudio
ffAudio / ThreeValueSlider
Created December 5, 2021 18:53
Test for a ThreeValueSlider with TextBoxes
/*
==============================================================================
ThreeValueSlider.h
Created: 5 Dec 2021 6:50:04pm
Author: Daniel Walz
==============================================================================
*/
@ffAudio
ffAudio / AtomicValue.h
Created July 19, 2022 14:33
Wrap an atomic value that always reflects a juce::Value for use in the audio thread
#pragma once
#include <atomic>
#include <juce_data_structures/juce_data_structures.h>
template<typename ValueType>
class AtomicValue
{
public:
@ffAudio
ffAudio / juceIPC.js
Created December 12, 2023 09:28
JUCE-IPC-JS
// Note: this is a fraction of a backup, it is not supposed to work out of the box!
import * as path from 'path';
import * as os from 'os';
import {createConnection} from 'net';
import {Socket} from 'net';
import {v1} from 'uuid';
import * as Promise from 'bluebird';
import * as retry from 'bluebird-retry';
import { EventEmitter } from 'events';
@ffAudio
ffAudio / ResamplerTest.cpp
Created January 21, 2024 21:37
Resample a folder of testsignals
/*
==============================================================================
Resample the test signals in the folder
==============================================================================
*/
#include <juce_core/juce_core.h>
#include <juce_audio_formats/juce_audio_formats.h>