mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Allow wavetables without metadata
This commit is contained in:
parent
6fbf3e1810
commit
c9365c8fe0
5 changed files with 94 additions and 28 deletions
|
|
@ -41,10 +41,10 @@ public:
|
|||
|
||||
void reloadWavetables();
|
||||
void incWavetable (int osc, int delta);
|
||||
void loadUserWavetable (int osc, const juce::File f);
|
||||
bool loadUserWavetable (int osc, const juce::File& f, int sz);
|
||||
|
||||
void applyEffects (juce::AudioSampleBuffer& buffer);
|
||||
bool loadWaveTable (juce::OwnedArray<gin::BandLimitedLookupTable>& table, double sr, const juce::MemoryBlock& wav, const juce::String& format);
|
||||
bool loadWaveTable (juce::OwnedArray<gin::BandLimitedLookupTable>& table, double sr, const juce::MemoryBlock& wav, const juce::String& format, int size);
|
||||
|
||||
// Voice Params
|
||||
struct OSCParams
|
||||
|
|
@ -261,6 +261,7 @@ public:
|
|||
|
||||
juce::Value osc1Table, osc2Table;
|
||||
juce::MemoryBlock userTable1, userTable2;
|
||||
int osc1Size = -1, osc2Size = -1;
|
||||
|
||||
//==============================================================================
|
||||
gin::ModMatrix modMatrix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue