Definition at line 104 of file AnimartrixRing.ino.
104 {
106
107
109 screenMapLocal.setDiameter(
110 0.15);
113 .setScreenMap(screenMapLocal);
115
116
118
119
120
121
122
123 auto input =
audio.audioInput();
124 if (input) {
128 printf(
"AnimartrixRing: Audio routed via FastLED.add() (auto-pump)\n");
129 }
130 }
134 printf(
"AnimartrixRing: Audio using manual pump (fallback)\n");
135 }
136
137
138
139
143
144
147 (void)sLastState;
148
149 Serial.println(
"AnimartrixRing setup complete (3-state orchestrator)");
150}
fl::UIAudio audio("Audio Input")
fl::FxEngine fxEngine(NUM_LEDS)
fl::Animartrix animartrix(xyMap, FIRST_ANIMATION)
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
fl::shared_ptr< animartrix_ring::SoundOrchestrator > gOrchestrator
fl::shared_ptr< fl::audio::Processor > gAudioProcessor
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
void printf(const char *format, const Args &... args) FL_NOEXCEPT
Printf-like formatting function that prints directly to the platform output.
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
References animartrix, audio, brightness, FastLED, fx2dTo1d, fxEngine, gAudioProcessor, gAutoPump, gOrchestrator, leds, fl::make_shared(), NUM_LEDS, PIN_DATA, screenmap, Serial, fl::ScreenMap::setDiameter(), animartrix_ring::Silence, and TypicalLEDStrip.