Sync playback to the actual beat count rather than relying on BPM #5

Open
ratijas wants to merge 43 commits from ratijas/muzika-gromche:work/r/beats into master
3 changed files with 27 additions and 0 deletions
Showing only changes of commit ba0162b3e1 - Show all commits

BIN
Assets/PWNEDLoop.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Assets/PWNEDStart.ogg (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -200,6 +200,27 @@ namespace MuzikaGromche
"#A01471", "#4CAF50", "#CB2243", "#F01D7A", "#AF005A", "#FFD85D", "#EF355F", "#FF66B2", "#A01471", "#4CAF50", "#CB2243", "#F01D7A", "#AF005A", "#FFD85D", "#EF355F", "#FF66B2",
]), ]),
}, },
new Track
{
Name = "PWNED",
AudioType = AudioType.OGGVORBIS,
Language = Language.ENGLISH,
WindUpTimer = 39.73f,
Bars = 32,
BeatsOffset = -0.2f,
ColorTransitionIn = 0.5f,
ColorTransitionOut = 0.3f,
ColorTransitionEasing = Easing.InExpo,
Palette = Palette.Parse(["#9E9E9E", "#383838", "#5E5E5E", "#2E2E2E", "#666666", "#4B4B4B", "#8E8E8E", "#1D1D1D"]).Use(gray8 =>
{
var flag4 = Palette.Parse(["#FFFFFF", "#0032A0", "#DA291C", "#000000"]);
var gray6 = new Palette(gray8.Colors[0..6]);
var gray14 = gray8 + gray6;
var lyrics = flag4 + gray14.Stretch(2);
var instrumental = gray8.Stretch(4);
return lyrics * 2 + instrumental * 2;
}),
},
]; ];
public static Track ChooseTrack() public static Track ChooseTrack()