Add original music composition (#10)

* Add original music composition

* Optimize music

I just ran Cleanup and Automatic Sample Trimmer on it in OpenMPT

Co-authored-by: Pk11 <epicpkmn11@outlook.com>
This commit is contained in:
RocketRobz 2022-04-13 12:37:27 -06:00 committed by GitHub
parent 8ad8252061
commit d9a9d7f006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 2 deletions

View File

@ -38,7 +38,7 @@ SOURCES := source
INCLUDES := include
DATA := data
GRAPHICS := gfx
AUDIO :=
AUDIO := audio
BANNER := ../banner.bin
# specify a directory which contains the nitro filesystem
@ -59,7 +59,7 @@ LDFLAGS = -specs=ds_arm9.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project (order is important)
#---------------------------------------------------------------------------------
LIBS := -lqrencode -lfat -lnds9
LIBS := -lqrencode -lfat -lmm9 -lnds9
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing

View File

@ -15,3 +15,4 @@ Most other things such as the word length, starting day, and any text strings ar
- [Pk11](https://github.com/Epicmn11): This DS port
- [Josh Wardle](https://github.com/powerlanguage): The original Wordle
- [lifehackerhansol](https://github.com/lifehackerhansol): animatedbannerpatch.py from [TWiLight Menu++](https://github.com/DS-Homebrew/TWiLightMenu)
- [Rocket Robz](https://github.com/RocketRobz): Original music composition

BIN
audio/music.it Normal file

Binary file not shown.

BIN
resources/music.mid Normal file

Binary file not shown.

BIN
resources/music.mptm Normal file

Binary file not shown.

View File

@ -6,12 +6,21 @@
#include <fat.h>
#include <nds.h>
#include <stdio.h>
#include <maxmod9.h>
#include "soundbank.h"
#include "soundbank_bin.h"
Game *game;
int main() {
bool fatInited = fatInitDefault();
mmInitDefaultMem((mm_addr)soundbank_bin);
mmLoad(MOD_MUSIC);
mmSetModuleVolume(800);
mmStart(MOD_MUSIC, MM_PLAY_LOOP);
initGraphics();
game = new Game();