Skip to content

Commit

Permalink
Hooking up octave pots
Browse files Browse the repository at this point in the history
  • Loading branch information
cutlasses committed Aug 12, 2017
1 parent 1994199 commit 791a0b1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CompileSwitches.h
@@ -1,6 +1,6 @@
#pragma once

#define DEBUG_OUTPUT
#define STANDALONE_AUDIO
//#define DEBUG_OUTPUT
//#define STANDALONE_AUDIO
#define PERF_CHECK
//#define SET_TEMPO
2 changes: 1 addition & 1 deletion GlitchDelayInterface.h
Expand Up @@ -47,7 +47,7 @@ class GLITCH_DELAY_INTERFACE
const I2C_DIAL& loop_speed_dial() const;
const I2C_DIAL& feedback_dial() const;
const I2C_DIAL& low_mix_dial() const;
const I2C_DIAL& hight_mix_dial() const;
const I2C_DIAL& high_mix_dial() const;
const I2C_DIAL& mix_dial() const;

const TAP_BPM& tap_bpm() const;
Expand Down
2 changes: 1 addition & 1 deletion GlitchDelayInterface.ino
Expand Up @@ -134,7 +134,7 @@ const I2C_DIAL& GLITCH_DELAY_INTERFACE::low_mix_dial() const
return m_low_mix_dial;
}

const I2C_DIAL& GLITCH_DELAY_INTERFACE::hight_mix_dial() const
const I2C_DIAL& GLITCH_DELAY_INTERFACE::high_mix_dial() const
{
return m_high_mix_dial;
}
Expand Down
4 changes: 4 additions & 0 deletions GlitchDelayV2.ino
Expand Up @@ -158,6 +158,10 @@ void loop()
const bool move_loop = glitch_delay_interface.mode() == 0;
glitch_delay_effect.set_loop_moving( move_loop );

glitch_mixer.gain( 0, glitch_delay_interface.low_mix_dial().value() * 0.5f );
glitch_mixer.gain( 1, 0.5f );
glitch_mixer.gain( 2, glitch_delay_interface.high_mix_dial().value() * 0.5f );

if( glitch_delay_interface.tap_bpm().beat_type() == TAP_BPM::AUTO_BEAT )
{
glitch_delay_effect.set_beat();
Expand Down

0 comments on commit 791a0b1

Please sign in to comment.