Skip to content

Instantly share code, notes, and snippets.

View m-hilgendorf's full-sized avatar

Mike Hilgendorf m-hilgendorf

View GitHub Profile
@m-hilgendorf
m-hilgendorf / xover_math.m
Last active June 3, 2022 14:29
LR Crossover Math and Prototype
clear all
% Compute the angles of half the poles required
% by an nth order Butterworth.
%
% Returns :
% A vector of angles (in radians) of half the
% poles required by an nth order butterworth.
%
% Algorithm:
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#include "../JuceLibraryCode/JuceHeader.h"
class CustomLookAndFeel : public LookAndFeel_V4
{
public:
CustomLookAndFeel() {};
~CustomLookAndFeel() {};
virtual void drawButtonBackground (Graphics &g, Button &b, const Colour &backgroundColour, bool isMouseOverButton, bool isButtonDown) override
{
.loc 35 27 0 ## main.cpp:27:0
.cfi_startproc
## BB#0:
pushq %rbp
Ltmp0:
.cfi_def_cfa_offset 16
Ltmp1:
.cfi_offset %rbp, -16
movq %rsp, %rbp
Ltmp2:
#include <iostream>
#include <string>
class data
{
public:
data (int i) : n(i) {};
int getData () { return n; }
int getDataConst () const { return n; }