|
|
@ -9,6 +9,7 @@ |
|
|
|
#include "instr_kick.hh" |
|
|
|
#include "instr_noise.hh" |
|
|
|
#include "instr_fm.hh" |
|
|
|
#include "instr_grainlet.hh" |
|
|
|
|
|
|
|
namespace ld = daisy; |
|
|
|
namespace dsp = daisysp; |
|
|
@ -24,7 +25,7 @@ namespace Heck { |
|
|
|
static ld::MidiUartHandler midi{}; |
|
|
|
static ld::FIFO<ld::MidiEvent, 128> event_log{}; |
|
|
|
|
|
|
|
Instrument::Noise instrument0{}; |
|
|
|
Instrument::Grainlet instrument0{}; |
|
|
|
Instrument::FM instrument1{}; |
|
|
|
Instrument::FM instrument2{}; |
|
|
|
Instrument::Kick instrument3{}; |
|
|
@ -197,7 +198,7 @@ namespace Heck { |
|
|
|
{ |
|
|
|
hw.Configure(); |
|
|
|
hw.Init(); |
|
|
|
hw.StartLog(true); |
|
|
|
hw.StartLog(Constants::Developer::BOOT_WAIT_FOR_LOG); |
|
|
|
|
|
|
|
but_rec.Init(hw.GetPin(28), 0); |
|
|
|
|
|
|
@ -399,13 +400,13 @@ namespace Heck { |
|
|
|
clock_bar_new = clock.count_bar(); |
|
|
|
if (clock_bar_new != clock_bar_current) { |
|
|
|
clock_bar_current = clock_bar_new; |
|
|
|
hw.PrintLine("Bar: %i", clock_bar_current); |
|
|
|
// hw.PrintLine("Bar: %i", clock_bar_current);
|
|
|
|
} |
|
|
|
|
|
|
|
clock_16n_new = clock.count_16n(); |
|
|
|
if (clock_16n_new != clock_16n_current) { |
|
|
|
clock_16n_current = clock_16n_new; |
|
|
|
hw.PrintLine("16n: %i", clock_16n_current); |
|
|
|
// hw.PrintLine("16n: %i", clock_16n_current);
|
|
|
|
sequencer.next_step(); |
|
|
|
} |
|
|
|
|
|
|
|