Skip to content

Instantly share code, notes, and snippets.

View rodolfocangiotti's full-sized avatar
😔

Rodolfo Cangiotti rodolfocangiotti

😔
View GitHub Profile
@rodolfocangiotti
rodolfocangiotti / Resampler.h
Created September 15, 2025 23:43
Class to resample 1D signal in real time
#ifndef RESAMPLER_H
#define RESAMPLER_H
#include <cmath>
#include <iostream>
#include <vector>
typedef float AudioSample;
typedef std::vector<AudioSample> AudioVector;