Add some music from *Style Savvy: Fashion Forward*

This commit is contained in:
RocketRobz 2021-07-18 20:49:38 -06:00
parent b0efcd2bd1
commit 3d12111f8c
32 changed files with 121 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -185,6 +185,42 @@ void loadMusic(int num) {
startName = "romfs:/music/sonicJam/gallery_start.wav";
loopName = "romfs:/music/sonicJam/gallery_loop.wav";
break;
case 46: // Style Savvy: Fashion Forward - Intro Song (Japanese)
startName = "nitro:/music/styleSavvy3/introJapanese_start.wav";
loopName = "nitro:/music/styleSavvy3/introJapanese_loop.wav";
break;
case 47: // Style Savvy: Fashion Forward - Intro Song (English)
startName = "nitro:/music/styleSavvy3/introEnglish_start.wav";
loopName = "nitro:/music/styleSavvy3/introEnglish_loop.wav";
break;
case 48: // Style Savvy: Fashion Forward - Title Screen
loopName = "romfs:/music/styleSavvy3/title.wav";
break;
case 49: // Style Savvy: Fashion Forward - My Apartment
loopName = "romfs:/music/styleSavvy3/apartment.wav";
break;
case 50: // Style Savvy: Fashion Forward - Beaumonde City (Morning)
loopName = "romfs:/music/styleSavvy3/beaumonde6AM.wav";
break;
case 51: // Style Savvy: Fashion Forward - Beaumonde City (Noon)
loopName = "romfs:/music/styleSavvy3/beaumonde1PM.wav";
break;
case 52: // Style Savvy: Fashion Forward - Beaumonde City (Sunset)
loopName = "romfs:/music/styleSavvy3/beaumonde7PM.wav";
break;
case 53: // Style Savvy: Fashion Forward - Beaumonde City (Night)
loopName = "romfs:/music/styleSavvy3/beaumonde9PM.wav";
break;
case 54: // Style Savvy: Fashion Forward - Beaumonde City (Midnight)
loopName = "romfs:/music/styleSavvy3/beaumonde12AM.wav";
break;
case 55: // Style Savvy: Fashion Forward - Phone
startName = "romfs:/music/styleSavvy3/phone_start.wav";
loopName = "romfs:/music/styleSavvy3/phone_loop.wav";
break;
case 56: // Style Savvy: Fashion Forward - Wardrobe
loopName = "romfs:/music/styleSavvy3/wardrobe.wav";
break;
}
if (access(startName, F_OK) == 0) {

27
include/ss3BgmNames.h Normal file
View File

@ -0,0 +1,27 @@
const char* ss3BgmNames[] = {
"Intro Song (Japanese)",
"Intro Song (English)",
"Title Screen",
"Beaumonde City (Morning)",
"Beaumonde City (Noon)",
"Beaumonde City (Sunset)",
"Beaumonde City (Night)",
"Beaumonde City (Midnight)",
"My Apartment",
"Phone",
"Wardrobe",
};
int ss3BgmNums[] = {
46,
47,
48,
50,
51,
52,
53,
54,
49,
55,
56,
};

View File

@ -230,6 +230,53 @@ void loadMusic(int num) {
loopName = "nitro:/music/sonicJam/gallery_loop.raw";
sampleRate = 22050;
break;
case 46: // Style Savvy: Fashion Forward - Intro Song (Japanese)
startName = "nitro:/music/styleSavvy3/introJapanese_start.raw";
loopName = "nitro:/music/styleSavvy3/introJapanese_loop.raw";
sampleRate = 32728;
break;
case 47: // Style Savvy: Fashion Forward - Intro Song (English)
startName = "nitro:/music/styleSavvy3/introEnglish_start.raw";
loopName = "nitro:/music/styleSavvy3/introEnglish_loop.raw";
sampleRate = 32728;
break;
case 48: // Style Savvy: Fashion Forward - Title Screen
loopName = "nitro:/music/styleSavvy3/title.raw";
sampleRate = 32000;
break;
case 49: // Style Savvy: Fashion Forward - My Apartment
loopName = "nitro:/music/styleSavvy3/apartment.raw";
sampleRate = 32000;
break;
case 50: // Style Savvy: Fashion Forward - Beaumonde City (Morning)
loopName = "nitro:/music/styleSavvy3/beaumonde6AM.raw";
sampleRate = 32000;
break;
case 51: // Style Savvy: Fashion Forward - Beaumonde City (Noon)
loopName = "nitro:/music/styleSavvy3/beaumonde1PM.raw";
sampleRate = 32000;
break;
case 52: // Style Savvy: Fashion Forward - Beaumonde City (Sunset)
loopName = "nitro:/music/styleSavvy3/beaumonde7PM.raw";
sampleRate = 22050;
break;
case 53: // Style Savvy: Fashion Forward - Beaumonde City (Night)
loopName = "nitro:/music/styleSavvy3/beaumonde9PM.raw";
sampleRate = 32000;
break;
case 54: // Style Savvy: Fashion Forward - Beaumonde City (Midnight)
loopName = "nitro:/music/styleSavvy3/beaumonde12AM.raw";
sampleRate = 32000;
break;
case 55: // Style Savvy: Fashion Forward - Phone
startName = "nitro:/music/styleSavvy3/phone_start.raw";
loopName = "nitro:/music/styleSavvy3/phone_loop.raw";
sampleRate = 22050;
break;
case 56: // Style Savvy: Fashion Forward - Wardrobe
loopName = "nitro:/music/styleSavvy3/wardrobe.raw";
sampleRate = 32000;
break;
}
snd().loadStream(startName, loopName, sampleRate, stereo, true);
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -40,6 +40,7 @@
#include "superMarioBrosBgmNames.h"
#include "ss1BgmNames.h"
#include "ss2BgmNames.h"
#include "ss3BgmNames.h"
#include "tetrisPartyBgmNames.h"
#include <unistd.h>
@ -130,6 +131,7 @@ static u8 bgmPageOrder[] = {
4, // Sonic Mania
5, // Style Savvy
8, // Style Savvy: Trendsetters
11, // Style Savvy: Fashion Forward
9, // Super Mario Bros.
3, // Tetris Party
};
@ -191,6 +193,9 @@ void PhotoStudio::getMaxChars() {
case 10:
import_totalCharacters = 2;
break;
case 11:
import_totalCharacters = 10;
break;
}
} else if (subScreenMode == 1) {
// Locations
@ -758,6 +763,8 @@ const char* PhotoStudio::bgmGameTitle(void) const {
return "Super Mario Bros.";
case 10:
return "Sonic Jam";
case 11:
return ss3Title();
}
return "???";
}
@ -850,6 +857,8 @@ const char* PhotoStudio::bgmName(int i) const {
return superMarioBrosBgmNames[i];
case 10:
return sonicJamBgmNames[i];
case 11:
return ss3BgmNames[i];
}
return "???";
}
@ -898,6 +907,8 @@ int PhotoStudio::getBgmNum(void) const {
return superMarioBrosBgmNums[bgmList_cursorPosition];
case 10:
return sonicJamBgmNums[bgmList_cursorPosition];
case 11:
return ss3BgmNums[bgmList_cursorPosition];
}
return 0;
}