diff options
Diffstat (limited to 'internal/generator/theme_sounds.go')
| -rw-r--r-- | internal/generator/theme_sounds.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/generator/theme_sounds.go b/internal/generator/theme_sounds.go index e41e7a5..4876ab1 100644 --- a/internal/generator/theme_sounds.go +++ b/internal/generator/theme_sounds.go @@ -47,6 +47,7 @@ var themeSoundPresets = map[string]themeSounds{ "aurora": soundsAurora(), "matrix": soundsMatrix(), "ocean": soundsOcean(), + "dos": soundsDos(), "retro": soundsRetro(), "cosmos": soundsCosmos(), } @@ -141,6 +142,16 @@ func soundsOcean() themeSounds { return s } +func soundsDos() themeSounds { + var s themeSounds + s.Splash.Freqs = []float64{800, 1000} + s.Splash.Spacing, s.Splash.Gain, s.Splash.Wave = 0.08, 0.12, "square" + s.Nav.Freq, s.Nav.Wave, s.Nav.Dur, s.Nav.Gain = 1000, "square", 0.03, 0.1 + s.Open.Wave, s.Open.Start, s.Open.End, s.Open.Dur, s.Open.Gain = "square", 400, 800, 0.1, 0.1 + s.Close.Wave, s.Close.Start, s.Close.End, s.Close.Dur, s.Close.Gain = "square", 800, 200, 0.1, 0.09 + return s +} + func soundsRetro() themeSounds { var s themeSounds s.Splash.Freqs = []float64{1046.5, 1318.5} |
