Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/MicroDexed/commit/20221e4c24fa969894e12799ca6f2a555193426d
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
7 additions and
3 deletions
MicroDexed.ino
BIN
doc/MicroDexed_Latency.png
@ -118,6 +118,7 @@ uint8_t effect_delay_time = 0;
uint8_t effect_delay_feedback = 0 ;
uint8_t effect_delay_volume = 0 ;
bool effect_delay_sync = 0 ;
elapsedMicros fill_audio_buffer ;
# ifdef MASTER_KEY_MIDI
bool master_key_enabled = false ;
@ -330,16 +331,18 @@ void setup()
void loop ( )
{
int16_t * audio_buffer ; // pointer to AUDIO_BLOCK_SAMPLES * int16_t
const uint16_t audio_block_time_m s = 1000000 / ( SAMPLE_RATE / AUDIO_BLOCK_SAMPLES ) ;
const uint16_t audio_block_time_u s = 1000000 / ( SAMPLE_RATE / AUDIO_BLOCK_SAMPLES ) ;
// Main sound calculation
if ( queue1 . available ( ) )
if ( queue1 . available ( ) & & fill_audio_buffer > audio_block_time_us - 10 )
{
fill_audio_buffer = 0 ;
audio_buffer = queue1 . getBuffer ( ) ;
elapsedMicros t1 ;
dexed - > getSamples ( AUDIO_BLOCK_SAMPLES , audio_buffer ) ;
if ( t1 > audio_block_time_m s ) // everything greater 2.9ms is a buffer underrun!
if ( t1 > audio_block_time_u s ) // everything greater 2.9ms is a buffer underrun!
xrun + + ;
if ( t1 > render_time_max )
render_time_max = t1 ;
@ -364,6 +367,7 @@ void loop()
// MIDI input handling
handle_input ( ) ;
# ifdef I2C_DISPLAY
// UI
if ( master_timer > = TIMER_UI_HANDLING_MS )
Width:
|
Height:
|
Size: 19 KiB