mirror of
https://codeberg.org/armin/justasample.git
synced 2026-09-01 04:10:48 +02:00
init
This commit is contained in:
commit
d21bc831e1
178 changed files with 24136 additions and 0 deletions
23
Source/Sampler/Effects/Effect.h
Normal file
23
Source/Sampler/Effects/Effect.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
==============================================================================
|
||||
|
||||
Effect.h
|
||||
Created: 30 Dec 2023 8:35:28pm
|
||||
Author: binya
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <JuceHeader.h>
|
||||
|
||||
#include "../SamplerParameters.h"
|
||||
|
||||
class Effect
|
||||
{
|
||||
public:
|
||||
virtual ~Effect() = default;
|
||||
virtual void initialize(int numChannels, int fxSampleRate) = 0;
|
||||
virtual void updateParams(const SamplerParameters& sampleSound, bool modulating = false) = 0;
|
||||
virtual void process(juce::AudioBuffer<float>& buffer, int numSamples, int startSample=0) = 0;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue