From 336cab7de444fb26ee9819099968278527cb7565 Mon Sep 17 00:00:00 2001 From: xtex Date: Sun, 30 Jul 2023 10:05:05 +0800 Subject: [PATCH] feat: adjust composer parameters --- common/src/main/kotlin/quaedam/projection/music/Composer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/quaedam/projection/music/Composer.kt b/common/src/main/kotlin/quaedam/projection/music/Composer.kt index 32a868b..0fb2881 100644 --- a/common/src/main/kotlin/quaedam/projection/music/Composer.kt +++ b/common/src/main/kotlin/quaedam/projection/music/Composer.kt @@ -12,7 +12,7 @@ class Composer(val noteRandom: Random, val rhythmRandom: Random) { data class Note(val note: Int, val volume: Float, val time: Int) - val baseTime = arrayOf(5, 5, 3, 3, 4, 4, 2, 2, 10).random(rhythmRandom) + val baseTime = arrayOf(5, 5, 3, 3, 4, 4, 2, 2, 8).random(rhythmRandom) val baseNote = noteRandom.nextInt(5..19) fun composeMusic() = decorate(