modules: added wrDsp
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[submodule "wrDsp"]
|
||||||
|
path = wrDsp
|
||||||
|
url = https://github.com/whimsicalraps/wrDsp
|
@@ -19,8 +19,8 @@ LampshadeAudioProcessorEditor::LampshadeAudioProcessorEditor(LampshadeAudioProce
|
|||||||
setSize(600, 600);
|
setSize(600, 600);
|
||||||
slider.setLookAndFeel(gui);
|
slider.setLookAndFeel(gui);
|
||||||
addAndMakeVisible(slider);
|
addAndMakeVisible(slider);
|
||||||
corner = new ResizableCornerComponent(this, new ComponentBoundsConstrainer());
|
setResizable(true, true);
|
||||||
addAndMakeVisible(corner);
|
setResizeLimits(300, 300, 1200, 1200);
|
||||||
}
|
}
|
||||||
|
|
||||||
LampshadeAudioProcessorEditor::~LampshadeAudioProcessorEditor()
|
LampshadeAudioProcessorEditor::~LampshadeAudioProcessorEditor()
|
||||||
@@ -39,6 +39,7 @@ void LampshadeAudioProcessorEditor::paint(Graphics& g)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void LampshadeAudioProcessorEditor::resized()
|
void LampshadeAudioProcessorEditor::resized()
|
||||||
{
|
{
|
||||||
// hardcoded because they should stay in the same rectangle
|
// hardcoded because they should stay in the same rectangle
|
||||||
|
@@ -24,7 +24,7 @@ private:
|
|||||||
int lineThickness;
|
int lineThickness;
|
||||||
|
|
||||||
Slider slider;
|
Slider slider;
|
||||||
ResizableCornerComponent* corner;
|
|
||||||
|
|
||||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LampshadeAudioProcessorEditor)
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LampshadeAudioProcessorEditor)
|
||||||
};
|
};
|
||||||
|
@@ -106,7 +106,6 @@ void LampshadeAudioProcessor::processBlock (AudioSampleBuffer& buffer, MidiBuffe
|
|||||||
buffer.clear(i, 0, buffer.getNumSamples());
|
buffer.clear(i, 0, buffer.getNumSamples());
|
||||||
|
|
||||||
float pitch = myYin.getPitch(buffer.getWritePointer (0)); // returns Pitch in Hertz
|
float pitch = myYin.getPitch(buffer.getWritePointer (0)); // returns Pitch in Hertz
|
||||||
printf("pitch: %f", pitch);
|
|
||||||
|
|
||||||
for (int channel = 0; channel < totalNumInputChannels; ++channel) {
|
for (int channel = 0; channel < totalNumInputChannels; ++channel) {
|
||||||
//float* channelData = buffer.getWritePointer (channel);
|
//float* channelData = buffer.getWritePointer (channel);
|
||||||
|
4
test.RPP
4
test.RPP
@@ -1,4 +1,4 @@
|
|||||||
<REAPER_PROJECT 0.1 "5.40/OSX64" 1498529808
|
<REAPER_PROJECT 0.1 "5.40/OSX64" 1498533127
|
||||||
RIPPLE 0
|
RIPPLE 0
|
||||||
GROUPOVERRIDE 0 0 0
|
GROUPOVERRIDE 0 0 0
|
||||||
AUTOXFADE 1
|
AUTOXFADE 1
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
MASTER_FX 1
|
MASTER_FX 1
|
||||||
MASTER_SEL 0
|
MASTER_SEL 0
|
||||||
<MASTERFXLIST
|
<MASTERFXLIST
|
||||||
WNDRECT 34 368 639 377
|
WNDRECT 34 68 839 677
|
||||||
SHOW 0
|
SHOW 0
|
||||||
LASTSEL 0
|
LASTSEL 0
|
||||||
DOCKED 0
|
DOCKED 0
|
||||||
|
1
wrDsp
Submodule
1
wrDsp
Submodule
Submodule wrDsp added at a8bb31b28a
Reference in New Issue
Block a user