mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-10 16:49:36 +00:00
More debug Audio Beep Test tweaks (#2028)
This commit is contained in:
+13
-2
@@ -46,20 +46,31 @@ class AudioTestView : public View {
|
||||
Labels labels{
|
||||
{{7 * 8, 3 * 16}, "Audio Beep Test", Color::light_grey()},
|
||||
{{0 * 8, 6 * 16}, "Sample Rate (Hz):", Color::light_grey()},
|
||||
{{25 * 8, 7 * 16}, "Step:", Color::light_grey()},
|
||||
{{0 * 8, 8 * 16}, "Frequency (Hz):", Color::light_grey()},
|
||||
{{0 * 8, 10 * 16}, "Duration (ms):", Color::light_grey()},
|
||||
{{25 * 8, 10 * 16}, "0=con", Color::light_grey()},
|
||||
{{0 * 8, 12 * 16}, "Volume:", Color::light_grey()}};
|
||||
|
||||
OptionsField options_sample_rate{
|
||||
{18 * 8, 6 * 16},
|
||||
5,
|
||||
{{"24000", 24000},
|
||||
{"48000", 48000}}};
|
||||
{"48000", 48000},
|
||||
{"12000", 12000}}};
|
||||
|
||||
OptionsField options_step{
|
||||
{26 * 8, 8 * 16},
|
||||
4,
|
||||
{{" 1", 1},
|
||||
{" 10", 10},
|
||||
{" 100", 100},
|
||||
{"1000", 1000}}};
|
||||
|
||||
NumberField field_frequency{
|
||||
{18 * 8, 8 * 16},
|
||||
5,
|
||||
{100, 24000 / 2},
|
||||
{},
|
||||
100,
|
||||
' ',
|
||||
true};
|
||||
|
||||
Reference in New Issue
Block a user