change back to previous theme song

I like it more and takes 5MB less
This commit is contained in:
yugecin 2017-12-16 13:44:23 +01:00
parent 71e9b7e2e9
commit 9acef42502
4 changed files with 4 additions and 5 deletions

View File

@ -32,6 +32,5 @@ The following projects were referenced in creating opsu!:
Theme Song Theme Song
---------- ----------
Rainbows - Kevin MacLeod (incompetech.com) The theme song is "On the Bach" by Jingle Punks, from the [YouTube Audio Library]
Licensed under Creative Commons: By Attribution 3.0 License (https://www.youtube.com/audiolibrary/music).
http://creativecommons.org/licenses/by/3.0/

Binary file not shown.

BIN
res/theme.ogg Normal file

Binary file not shown.

View File

@ -97,14 +97,14 @@ public class Configuration {
private Beatmap createThemeBeatmap() { private Beatmap createThemeBeatmap() {
try { try {
String[] tokens = {"theme.mp3", "Rainbows", "Kevin MacLeod", "219350"}; String[] tokens = {"theme.ogg", "On the Bach", "Jingle Punks", "66000"};
Beatmap beatmap = new Beatmap(null); Beatmap beatmap = new Beatmap(null);
beatmap.audioFilename = new File(tokens[0]); beatmap.audioFilename = new File(tokens[0]);
beatmap.title = tokens[1]; beatmap.title = tokens[1];
beatmap.artist = tokens[2]; beatmap.artist = tokens[2];
beatmap.endTime = Integer.parseInt(tokens[3]); beatmap.endTime = Integer.parseInt(tokens[3]);
beatmap.timingPoints = new ArrayList<>(1); beatmap.timingPoints = new ArrayList<>(1);
beatmap.timingPoints.add(new TimingPoint("1080,545.454545454545,4,1,0,100,0,0")); beatmap.timingPoints.add(new TimingPoint("-44,631.578947368421,4,1,0,100,1,0"));
return beatmap; return beatmap;
} catch (Exception e) { } catch (Exception e) {
return null; return null;