modules: added wrDsp

This commit is contained in:
2017-06-26 23:36:09 -04:00
parent 4681319591
commit 0bc21ce2ac
6 changed files with 10 additions and 6 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "wrDsp"]
path = wrDsp
url = https://github.com/whimsicalraps/wrDsp

View File

@@ -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

View File

@@ -24,7 +24,7 @@ private:
int lineThickness;
Slider slider;
ResizableCornerComponent* corner;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LampshadeAudioProcessorEditor)
};

View File

@@ -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);

View File

@@ -1,4 +1,4 @@
<REAPER_PROJECT 0.1 "5.40/OSX64" 1498529808
<REAPER_PROJECT 0.1 "5.40/OSX64" 1498533127
RIPPLE 0
GROUPOVERRIDE 0 0 0
AUTOXFADE 1
@@ -67,7 +67,7 @@
MASTER_FX 1
MASTER_SEL 0
<MASTERFXLIST
WNDRECT 34 368 639 377
WNDRECT 34 68 839 677
SHOW 0
LASTSEL 0
DOCKED 0

1
wrDsp Submodule

Submodule wrDsp added at a8bb31b28a