diff --git a/Builds/MacOSX/juicysfplugin.xcodeproj/project.pbxproj b/Builds/MacOSX/juicysfplugin.xcodeproj/project.pbxproj index da14800..3731ab7 100644 --- a/Builds/MacOSX/juicysfplugin.xcodeproj/project.pbxproj +++ b/Builds/MacOSX/juicysfplugin.xcodeproj/project.pbxproj @@ -187,7 +187,7 @@ 358E455322BED9C60087ED8D /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; - dstPath = lib; + dstPath = Contents/lib; dstSubfolderSpec = 1; files = ( 358E455F22BED9D80087ED8D /* libpcre.1.dylib in CopyFiles */, @@ -206,7 +206,7 @@ 358E456922BED9E80087ED8D /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; - dstPath = lib; + dstPath = Contents/lib; dstSubfolderSpec = 1; files = ( 358E456A22BED9F10087ED8D /* libpcre.1.dylib in CopyFiles */, @@ -225,7 +225,7 @@ 358E457422BEDA060087ED8D /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; - dstPath = lib; + dstPath = Contents/lib; dstSubfolderSpec = 1; files = ( 358E457522BEDA140087ED8D /* libpcre.1.dylib in CopyFiles */, @@ -244,7 +244,7 @@ 358E457F22BEDA180087ED8D /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; - dstPath = lib; + dstPath = Contents/lib; dstSubfolderSpec = 1; files = ( 358E458022BEDA210087ED8D /* libpcre.1.dylib in CopyFiles */, diff --git a/Source/FluidSynthModel.cpp b/Source/FluidSynthModel.cpp index f9a4301..89b272a 100644 --- a/Source/FluidSynthModel.cpp +++ b/Source/FluidSynthModel.cpp @@ -43,7 +43,7 @@ void FluidSynthModel::initialise() { settings = new_fluid_settings(); // https://sourceforge.net/p/fluidsynth/wiki/FluidSettings/ -// fluid_settings_setint(settings, "synth.verbose", 1); + fluid_settings_setint(settings, "synth.verbose", 1); synth = new_fluid_synth(settings); fluid_synth_set_sample_rate(synth, currentSampleRate); diff --git a/Source/PluginProcessor.cpp b/Source/PluginProcessor.cpp index 80f55eb..5114a46 100644 --- a/Source/PluginProcessor.cpp +++ b/Source/PluginProcessor.cpp @@ -156,7 +156,7 @@ void JuicySFAudioProcessor::processBlock (AudioBuffer& buffer, MidiBuffer // and now get our synth to process these midi events and generate its output. synth.renderNextBlock (buffer, midiMessages, 0, numSamples); - fluid_synth_process(fluidSynth, numSamples, 1, nullptr, buffer.getNumChannels(), buffer.getArrayOfWritePointers()); + fluid_synth_process(fluidSynth, numSamples, 0, nullptr, buffer.getNumChannels(), buffer.getArrayOfWritePointers()); // (see juce_VST3_Wrapper.cpp for the assertion this would trip otherwise) // we are !JucePlugin_ProducesMidiOutput, so clear remaining MIDI messages from our buffer