Merge branch 'dev' of dirkenstein/MicroDexed into dev

Ich probiere es mal. Letztendlich kann man ja auch die Stimmen auf 12 reduzieren, sobald USE_REVERB definiert wurde.
pull/9/head
Holger Wirtz 5 years ago committed by Gitea
commit f34eccfc6f
  1. 7
      source_microdexed.h

@ -29,6 +29,13 @@ class AudioSourceMicroDexed : public AudioStream, public Dexed {
getSamples(AUDIO_BLOCK_SAMPLES, lblock->data); getSamples(AUDIO_BLOCK_SAMPLES, lblock->data);
if (render_time > audio_block_time_us) // everything greater 2.9ms is a buffer underrun! if (render_time > audio_block_time_us) // everything greater 2.9ms is a buffer underrun!
xrun++; xrun++;
if (render_time > audio_block_time_us - (audio_block_time_us / 10)) {
Serial.println("At CPU Limit");
uint8_t nnotes = getNumNotesPlaying();
//setMaxNotes(nnotes);
max_notes = nnotes;
}
if (render_time > render_time_max) if (render_time > render_time_max)
render_time_max = render_time; render_time_max = render_time;

Loading…
Cancel
Save