Mapped oscillator pulse width to modulation wheel.

This commit is contained in:
Anachronaut
2026-03-14 09:23:08 -04:00
parent 48ee8c2c75
commit 801ea22d3e
3 changed files with 9 additions and 1 deletions

View File

@@ -79,6 +79,8 @@ int main(void)
20, 55, 20, RAYWHITE);
DrawText(TextFormat("MIDI: client %d port %d", gMidi.client, gMidi.port),
20, 90, 20, GRAY);
if (gSynth.waveform == WAVE_PULSE)
DrawText(TextFormat("Duty Cycle: %.2f", gSynth.dutyCycle), 20, 280, 20, GREEN);
EndDrawing();
}