mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Working on wt
This commit is contained in:
parent
9a66ee2a2a
commit
d858a10fc9
8 changed files with 89 additions and 14 deletions
|
|
@ -45,7 +45,7 @@ public:
|
|||
{
|
||||
WTParams() = default;
|
||||
|
||||
gin::Parameter::Ptr enable, voices, voicesTrns, tune, finetune,
|
||||
gin::Parameter::Ptr enable, table, voices, voicesTrns, tune, finetune,
|
||||
level, detune, spread, pan;
|
||||
|
||||
void setup (WavetableAudioProcessor& p, int idx);
|
||||
|
|
@ -230,6 +230,9 @@ public:
|
|||
JUCE_DECLARE_NON_COPYABLE (LimiterParams)
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
void updateWavetable (int idx, MemoryBlock& src, int tableSize);
|
||||
|
||||
//==============================================================================
|
||||
gin::ModSrcId modSrcPressure, modSrcTimbre, modScrPitchBend,
|
||||
modSrcNote, modSrcVelocity, modSrcStep, modSrcMonoStep;
|
||||
|
|
@ -237,6 +240,7 @@ public:
|
|||
Array<gin::ModSrcId> modSrcCC, modSrcMonoLFO, modSrcLFO, modSrcFilter, modSrcEnv;
|
||||
|
||||
//==============================================================================
|
||||
SharedResourcePointer<AudioFormatManager> formatManager;
|
||||
|
||||
WTParams wtParams[Cfg::numWTs];
|
||||
OSCParams oscParams[Cfg::numOSCs];
|
||||
|
|
@ -277,6 +281,8 @@ public:
|
|||
|
||||
AudioPlayHead* playhead = nullptr;
|
||||
|
||||
OwnedArray<gin::BandLimitedLookupTable> waveTables[Cfg::numWTs];
|
||||
|
||||
//==============================================================================
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WavetableAudioProcessor)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue