modules: added wrDsp
This commit is contained in:
@@ -19,8 +19,8 @@ LampshadeAudioProcessorEditor::LampshadeAudioProcessorEditor(LampshadeAudioProce
|
||||
setSize(600, 600);
|
||||
slider.setLookAndFeel(gui);
|
||||
addAndMakeVisible(slider);
|
||||
corner = new ResizableCornerComponent(this, new ComponentBoundsConstrainer());
|
||||
addAndMakeVisible(corner);
|
||||
setResizable(true, true);
|
||||
setResizeLimits(300, 300, 1200, 1200);
|
||||
}
|
||||
|
||||
LampshadeAudioProcessorEditor::~LampshadeAudioProcessorEditor()
|
||||
@@ -39,6 +39,7 @@ void LampshadeAudioProcessorEditor::paint(Graphics& g)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void LampshadeAudioProcessorEditor::resized()
|
||||
{
|
||||
// hardcoded because they should stay in the same rectangle
|
||||
|
@@ -24,7 +24,7 @@ private:
|
||||
int lineThickness;
|
||||
|
||||
Slider slider;
|
||||
ResizableCornerComponent* corner;
|
||||
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LampshadeAudioProcessorEditor)
|
||||
};
|
||||
|
@@ -106,7 +106,6 @@ void LampshadeAudioProcessor::processBlock (AudioSampleBuffer& buffer, MidiBuffe
|
||||
buffer.clear(i, 0, buffer.getNumSamples());
|
||||
|
||||
float pitch = myYin.getPitch(buffer.getWritePointer (0)); // returns Pitch in Hertz
|
||||
printf("pitch: %f", pitch);
|
||||
|
||||
for (int channel = 0; channel < totalNumInputChannels; ++channel) {
|
||||
//float* channelData = buffer.getWritePointer (channel);
|
||||
|
Reference in New Issue
Block a user