Implemented free filter processing. Note that the envelope manipulation from the GUI is not handled thread safely yet

This commit is contained in:
xenakios
2018-02-27 15:02:34 +02:00
parent e8d134ce48
commit 195a630060
8 changed files with 62 additions and 7 deletions

View File

@ -88,6 +88,8 @@ public:
int getFFTWindowingType() { return m_fft_window_type; }
std::pair<Range<double>,Range<double>> getFileCachedRangesNormalized();
void setFreeFilterEnvelope(shared_envelope env);
ValueTree getStateTree();
void setStateTree(ValueTree state);
void setClippingEnabled(bool b) { m_clip_output = b; }
@ -144,6 +146,7 @@ private:
int64_t m_output_length = 0;
bool m_clip_output = true;
void initObjects();
shared_envelope m_free_filter_envelope;
AudioFormatManager* m_afm = nullptr;
struct
{