Skip to content

Commit

Permalink
LFO startup fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asb2m10 committed Jan 1, 2016
1 parent 2f672af commit 451497d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/Dexed.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Source/PluginData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down
2 changes: 2 additions & 0 deletions Source/PluginProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 451497d

Please sign in to comment.