- fixed problems

- updated .gitignore
This commit is contained in:
2025-08-03 17:04:57 +02:00
parent c0e651bf68
commit 26c3ee4cb6
8 changed files with 12 additions and 13 deletions
+3 -1
View File
@@ -1,2 +1,4 @@
build build
.cache
c_cpp_properties.json
compile_commands.json
+1
View File
@@ -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
+1
View File
@@ -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
{ {
+1 -1
View File
@@ -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");
+2 -2
View File
@@ -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
{ {
+3 -1
View File
@@ -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
View File
@@ -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 Schrages method. // flows by Schrages method.
if (*idum < 0) if (*idum < 0)
*idum += PM_IM; *idum += PM_IM;
-2
View File
@@ -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"