- fixed problems
- updated .gitignore
This commit is contained in:
+3
-1
@@ -1,2 +1,4 @@
|
|||||||
build
|
build
|
||||||
|
.cache
|
||||||
|
c_cpp_properties.json
|
||||||
|
compile_commands.json
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
#include <JuceHeader.h>
|
#include <JuceHeader.h>
|
||||||
#include "JaySynthVoice.h"
|
#include "JaySynthVoice.h"
|
||||||
#include "JaySynthMonophonicMGR.h"
|
#include "JaySynthMonophonicMGR.h"
|
||||||
|
#include "JaySynthMidiCC.h"
|
||||||
|
|
||||||
#define GET_NUM_VOICES max_num_voices
|
#define GET_NUM_VOICES max_num_voices
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
#include <JuceHeader.h>
|
#include <JuceHeader.h>
|
||||||
#include <synth/synth_defs.h>
|
#include <synth/synth_defs.h>
|
||||||
|
#include <synth/voice.h>
|
||||||
|
|
||||||
class JaySynthVoice
|
class JaySynthVoice
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -400,7 +400,7 @@ void MidiCC_PopUp::sliderValueChanged (Slider* sliderThatWasMoved)
|
|||||||
{
|
{
|
||||||
slider_test->setTooltip (String(toParam(pMidiCC->getParam(pMidiCC_container), (synth_float_t)slider_test->getValue())));
|
slider_test->setTooltip (String(toParam(pMidiCC->getParam(pMidiCC_container), (synth_float_t)slider_test->getValue())));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (lastControlValue == 0)
|
if (lastControlValue == 0)
|
||||||
slider_test->setTooltip (L"0.0");
|
slider_test->setTooltip (L"0.0");
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
|
|
||||||
//[Headers] -- You can add your own extra header files here --
|
//[Headers] -- You can add your own extra header files here --
|
||||||
#include <JuceHeader.h>
|
#include <JuceHeader.h>
|
||||||
#include "PluginProcessor.h"
|
#include "JaySynthMidiCC.h"
|
||||||
//#include "juce.h"
|
#include "JaySynth.h"
|
||||||
|
|
||||||
class MidiCC_PopUp_Listener
|
class MidiCC_PopUp_Listener
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -25,7 +25,9 @@
|
|||||||
//[Headers] -- You can add your own extra header files here --
|
//[Headers] -- You can add your own extra header files here --
|
||||||
#include <JuceHeader.h>
|
#include <JuceHeader.h>
|
||||||
#include <synth/synth_defs.h>
|
#include <synth/synth_defs.h>
|
||||||
#include "PluginProcessor.h"
|
#include "JaySynth.h"
|
||||||
|
#include "JaySynthMidiCC.h"
|
||||||
|
|
||||||
class VelKey_PopUp_Listener
|
class VelKey_PopUp_Listener
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
+1
-6
@@ -1,12 +1,7 @@
|
|||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <time.h>
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "synth_defs.h"
|
|
||||||
#include "noise.h"
|
#include "noise.h"
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
@@ -31,7 +26,7 @@ double ran0(long *idum)
|
|||||||
*idum ^= PM_MASK; // XORing with MASKallows use of zero and other
|
*idum ^= PM_MASK; // XORing with MASKallows use of zero and other
|
||||||
k=(*idum)/PM_IQ; // simple bit patterns for idum.
|
k=(*idum)/PM_IQ; // simple bit patterns for idum.
|
||||||
*idum=PM_IA*(*idum-k*PM_IQ)-PM_IR *k; // Compute idum=(IA*idum) % IM without over-
|
*idum=PM_IA*(*idum-k*PM_IQ)-PM_IR *k; // Compute idum=(IA*idum) % IM without over-
|
||||||
// flows by Schrage’s method.
|
// flows by Schrage�s method.
|
||||||
if (*idum < 0)
|
if (*idum < 0)
|
||||||
*idum += PM_IM;
|
*idum += PM_IM;
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "synth_defs.h"
|
#include "synth_defs.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user