Skip to content

Commit

Permalink
Pepega
Browse files Browse the repository at this point in the history
  • Loading branch information
Loloppe committed Mar 16, 2022
1 parent 6317e55 commit 0be4a8c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Lolighter/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,11 @@ private void OpenAudio_Click(object sender, RoutedEventArgs e)
bool limiter = true;

List<float> indistinguishableRange = new();
indistinguishableRange.Add(0.005f); // Overmapped (a bit)
indistinguishableRange.Add(0.01f); // Very Overmapped
indistinguishableRange.Add(0.005f); // Overmapped
indistinguishableRange.Add(0.003f); // Very good
indistinguishableRange.Add(0.0015f); // Good
indistinguishableRange.Add(0.0010f); // Acc

BPMDetector detector = new(filePath);
BPMGroup group = detector.Groups.Where(o => o.Count == detector.Groups.Max(o => o.Count)).First();
Expand Down Expand Up @@ -630,11 +632,13 @@ private void OpenAudio_Click(object sender, RoutedEventArgs e)


List<DifficultyBeatmaps> btList = new();
DifficultyBeatmaps difficultyBeatmaps = new("Hard", 5, "HardStandard.dat", 16, 0, new(0, 0, "Decent", null, null, null, null, null, null, null));
DifficultyBeatmaps difficultyBeatmaps = new("Easy", 5, "EasyStandard.dat", 16, 0, new(0, 0, "Acc", null, null, null, null, null, null, null));
btList.Add(difficultyBeatmaps);
infoData._difficultyBeatmapSets.Add(new("Standard", btList));
infoData._difficultyBeatmapSets[0]._difficultyBeatmaps.Add(new("Expert", 7, "ExpertStandard.dat", 18, 0, new(0, 0, "Good", null, null, null, null, null, null, null)));
infoData._difficultyBeatmapSets[0]._difficultyBeatmaps.Add(new("ExpertPlus", 9, "ExpertPlusStandard.dat", 20, 0, new(0, 0, "Overmapped", null, null, null, null, null, null, null)));
infoData._difficultyBeatmapSets[0]._difficultyBeatmaps.Add(new("Normal", 7, "NormalStandard.dat", 18, 0, new(0, 0, "Decent", null, null, null, null, null, null, null)));
infoData._difficultyBeatmapSets[0]._difficultyBeatmaps.Add(new("Hard", 7, "HardStandard.dat", 18, 0, new(0, 0, "Good", null, null, null, null, null, null, null)));
infoData._difficultyBeatmapSets[0]._difficultyBeatmaps.Add(new("Expert", 7, "ExpertStandard.dat", 18, 0, new(0, 0, "Overmapped", null, null, null, null, null, null, null)));
infoData._difficultyBeatmapSets[0]._difficultyBeatmaps.Add(new("ExpertPlus", 9, "ExpertPlusStandard.dat", 20, 0, new(0, 0, "Very Overmapped", null, null, null, null, null, null, null)));
infoData._beatsPerMinute = bpm;

DiffListBox.Items.Clear();
Expand Down

0 comments on commit 0be4a8c

Please sign in to comment.