Remove sonogram for now
This commit is contained in:
		@@ -234,7 +234,7 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor(Pau
 | 
			
		||||
	m_wavefilter_tab.addTab("Waveform", Colours::white, m_wave_container, true);
 | 
			
		||||
	m_wavefilter_tab.addTab("Ratio mixer", Colours::white, &m_ratiomixeditor, false);
 | 
			
		||||
	m_wavefilter_tab.addTab("Free filter", Colours::white, &m_free_filter_component, false);
 | 
			
		||||
	m_wavefilter_tab.addTab("Spectrum", Colours::white, &m_sonogram, false);
 | 
			
		||||
	//m_wavefilter_tab.addTab("Spectrum", Colours::white, &m_sonogram, false);
 | 
			
		||||
 | 
			
		||||
	addAndMakeVisible(&m_wavefilter_tab);
 | 
			
		||||
    setSize (1200, 320+14*25);
 | 
			
		||||
 
 | 
			
		||||
@@ -458,7 +458,7 @@ public:
 | 
			
		||||
	
 | 
			
		||||
	void showRenderDialog();
 | 
			
		||||
	void executeModalMenuAction(int menuid, int actionid);
 | 
			
		||||
	SimpleFFTComponent m_sonogram;
 | 
			
		||||
	//SimpleFFTComponent m_sonogram;
 | 
			
		||||
	String m_last_err;
 | 
			
		||||
	
 | 
			
		||||
private:
 | 
			
		||||
 
 | 
			
		||||
@@ -891,11 +891,13 @@ void PaulstretchpluginAudioProcessor::processBlock (AudioSampleBuffer& buffer, M
 | 
			
		||||
			m_adsr.applyEnvelopeToBuffer(buffer, 0, buffer.getNumSamples());
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	/*
 | 
			
		||||
	auto ed = dynamic_cast<PaulstretchpluginAudioProcessorEditor*>(getActiveEditor());
 | 
			
		||||
	if (ed != nullptr)
 | 
			
		||||
	{
 | 
			
		||||
		ed->m_sonogram.addAudioBlock(buffer);
 | 
			
		||||
	}
 | 
			
		||||
	*/
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//==============================================================================
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user