LFO startup fix

pull/1/head
asb2m10 8 years ago
parent 2f672af406
commit 451497d07c
  1. BIN
      Builds/MacOSX/Dexed.xcodeproj/project.xcworkspace/xcuserdata/asb2m10.xcuserdatad/UserInterfaceState.xcuserstate
  2. 2
      Source/Dexed.h
  3. 2
      Source/PluginData.cpp
  4. 2
      Source/PluginProcessor.cpp

@ -31,7 +31,7 @@ void dexed_trace(const char *source, const char *fmt, ...);
#define TRACE(fmt, ...) dexed_trace(__PRETTY_FUNCTION__,fmt,##__VA_ARGS__)
#endif
#else
#define DEXED_VERSION "0.9.1b2"
#define DEXED_VERSION "0.9.1b3"
#define TRACE(fmt, ...)
#endif

@ -329,7 +329,7 @@ void DexedAudioProcessor::setStateInformation(const void* source, int sizeInByte
controllers.breath.parseConfig(root->getStringAttribute("breathMod").toRawUTF8());
controllers.at.parseConfig(root->getStringAttribute("aftertouchMod").toRawUTF8());
setEngineType(root->getIntAttribute("engineType", 0));
setEngineType(root->getIntAttribute("engineType", 1));
monoMode = root->getIntAttribute("monoMode", 0);
File possibleCartridge = File(root->getStringAttribute("activeFileCartridge"));

@ -108,6 +108,8 @@ void DexedAudioProcessor::prepareToPlay(double sampleRate, int samplesPerBlock)
keyboardState.reset();
lfo.reset(data + 137);
nextMidi = new MidiMessage(0xF0);
midiMsg = new MidiMessage(0xF0);
}

Loading…
Cancel
Save