From d27859453c82f21c5348404a3b4a16747c7e7972 Mon Sep 17 00:00:00 2001 From: Lucas Bremgartner Date: Sat, 26 Nov 2022 18:18:13 +0100 Subject: [PATCH] buzzer: make all note durations float64 --- buzzer/notes.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buzzer/notes.go b/buzzer/notes.go index f75007e..543c743 100644 --- a/buzzer/notes.go +++ b/buzzer/notes.go @@ -1,9 +1,9 @@ package buzzer const ( - Whole = 4 - Half = 2 - Quarter = 1 + Whole = 4.0 + Half = 2.0 + Quarter = 1.0 Eighth = 0.500 )