kopia lustrzana https://github.com/jameshball/osci-render
change default bpm to 60 to fix unexpected behavior
rodzic
bbdd98d34f
commit
018771797d
|
@ -554,8 +554,8 @@ void OscirenderAudioProcessor::processBlock(juce::AudioBuffer<float>& buffer, ju
|
||||||
int totalNumOutputChannels = getTotalNumOutputChannels();
|
int totalNumOutputChannels = getTotalNumOutputChannels();
|
||||||
double sampleRate = getSampleRate();
|
double sampleRate = getSampleRate();
|
||||||
|
|
||||||
// MIDI transport info variables (defaults to 120bpm, 4/4 time signature at zero seconds and not playing)
|
// MIDI transport info variables (defaults to 60bpm, 4/4 time signature at zero seconds and not playing)
|
||||||
double bpm = 120;
|
double bpm = 60;
|
||||||
double playTimeSeconds = 0;
|
double playTimeSeconds = 0;
|
||||||
bool isPlaying = false;
|
bool isPlaying = false;
|
||||||
juce::AudioPlayHead::TimeSignature timeSig;
|
juce::AudioPlayHead::TimeSignature timeSig;
|
||||||
|
|
Ładowanie…
Reference in New Issue