mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-03-21 18:04:50 -05:00
Convert .aif files to .wav (#2213)
* Convert uncompress samples to .wav files, and introduce wav2agb with matching capabilities Convert cries Remove aif2pcm and cleanup wav2agb * Add --no-pad option to support hq mixer * Update wav2agb README * Include the alignment padding in wav2agb * cleanup
This commit is contained in:
parent
7b6bdab12a
commit
d507b24ae9
4
Makefile
4
Makefile
|
|
@ -139,7 +139,7 @@ AUTO_GEN_TARGETS :=
|
|||
include make_tools.mk
|
||||
# Tool executables
|
||||
GFX := $(TOOLS_DIR)/gbagfx/gbagfx$(EXE)
|
||||
AIF := $(TOOLS_DIR)/aif2pcm/aif2pcm$(EXE)
|
||||
WAV2AGB := $(TOOLS_DIR)/wav2agb/wav2agb$(EXE)
|
||||
MID := $(TOOLS_DIR)/mid2agb/mid2agb$(EXE)
|
||||
SCANINC := $(TOOLS_DIR)/scaninc/scaninc$(EXE)
|
||||
PREPROC := $(TOOLS_DIR)/preproc/preproc$(EXE)
|
||||
|
|
@ -272,7 +272,7 @@ generated: $(AUTO_GEN_TARGETS)
|
|||
%.s: ;
|
||||
%.png: ;
|
||||
%.pal: ;
|
||||
%.aif: ;
|
||||
%.wav: ;
|
||||
|
||||
%.1bpp: %.png ; $(GFX) $< $@
|
||||
%.4bpp: %.png ; $(GFX) $< $@
|
||||
|
|
|
|||
|
|
@ -17,12 +17,13 @@ $(MID_BUILDDIR)/%.o: $(MID_ASM_DIR)/%.s
|
|||
$(AS) $(ASFLAGS) -I sound -o $@ $<
|
||||
|
||||
# Compressed cries
|
||||
$(CRY_BIN_DIR)/%.bin: $(CRY_SUBDIR)/%.aif
|
||||
$(AIF) $< $@ --compress
|
||||
$(CRY_BIN_DIR)/%.bin: $(CRY_SUBDIR)/%.wav
|
||||
# NOTE: If using ipatix's High Quality Audio Mixer, remove "--no-pad" below.
|
||||
$(WAV2AGB) -b -c -l 1 --no-pad $< $@
|
||||
|
||||
# Uncompressed sounds
|
||||
$(SOUND_BIN_DIR)/%.bin: sound/%.aif
|
||||
$(AIF) $< $@
|
||||
$(SOUND_BIN_DIR)/%.bin: sound/%.wav
|
||||
$(WAV2AGB) -b $< $@
|
||||
|
||||
# For each line in midi.cfg, we do some trickery to convert it into a make rule for the `.mid` file described on the line
|
||||
# Data following the colon in said file corresponds to arguments passed into mid2agb
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ MAKEFLAGS += --no-print-directory
|
|||
|
||||
# Inclusive list. If you don't want a tool to be built, don't add it here.
|
||||
TOOLS_DIR := tools
|
||||
TOOL_NAMES := aif2pcm bin2c gbafix gbagfx jsonproc mapjson mid2agb preproc ramscrgen rsfont scaninc
|
||||
TOOL_NAMES := bin2c gbafix gbagfx jsonproc mapjson mid2agb preproc ramscrgen rsfont scaninc wav2agb
|
||||
|
||||
TOOLDIRS := $(TOOL_NAMES:%=$(TOOLS_DIR)/%)
|
||||
|
||||
|
|
|
|||
Binary file not shown.
BIN
sound/direct_sound_samples/bicycle_bell.wav
Normal file
BIN
sound/direct_sound_samples/bicycle_bell.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/classical_choir_voice_ahhs.wav
Normal file
BIN
sound/direct_sound_samples/classical_choir_voice_ahhs.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/abra.wav
Normal file
BIN
sound/direct_sound_samples/cries/abra.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/absol.wav
Normal file
BIN
sound/direct_sound_samples/cries/absol.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/aerodactyl.wav
Normal file
BIN
sound/direct_sound_samples/cries/aerodactyl.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/aggron.wav
Normal file
BIN
sound/direct_sound_samples/cries/aggron.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/aipom.wav
Normal file
BIN
sound/direct_sound_samples/cries/aipom.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/alakazam.wav
Normal file
BIN
sound/direct_sound_samples/cries/alakazam.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/altaria.wav
Normal file
BIN
sound/direct_sound_samples/cries/altaria.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/ampharos.wav
Normal file
BIN
sound/direct_sound_samples/cries/ampharos.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/anorith.wav
Normal file
BIN
sound/direct_sound_samples/cries/anorith.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/arbok.wav
Normal file
BIN
sound/direct_sound_samples/cries/arbok.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/arcanine.wav
Normal file
BIN
sound/direct_sound_samples/cries/arcanine.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/ariados.wav
Normal file
BIN
sound/direct_sound_samples/cries/ariados.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/armaldo.wav
Normal file
BIN
sound/direct_sound_samples/cries/armaldo.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/aron.wav
Normal file
BIN
sound/direct_sound_samples/cries/aron.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/articuno.wav
Normal file
BIN
sound/direct_sound_samples/cries/articuno.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/azumarill.wav
Normal file
BIN
sound/direct_sound_samples/cries/azumarill.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/azurill.wav
Normal file
BIN
sound/direct_sound_samples/cries/azurill.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/bagon.wav
Normal file
BIN
sound/direct_sound_samples/cries/bagon.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/baltoy.wav
Normal file
BIN
sound/direct_sound_samples/cries/baltoy.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/banette.wav
Normal file
BIN
sound/direct_sound_samples/cries/banette.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/barboach.wav
Normal file
BIN
sound/direct_sound_samples/cries/barboach.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/bayleef.wav
Normal file
BIN
sound/direct_sound_samples/cries/bayleef.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/beautifly.wav
Normal file
BIN
sound/direct_sound_samples/cries/beautifly.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/beedrill.wav
Normal file
BIN
sound/direct_sound_samples/cries/beedrill.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/beldum.wav
Normal file
BIN
sound/direct_sound_samples/cries/beldum.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/bellossom.wav
Normal file
BIN
sound/direct_sound_samples/cries/bellossom.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/bellsprout.wav
Normal file
BIN
sound/direct_sound_samples/cries/bellsprout.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/blastoise.wav
Normal file
BIN
sound/direct_sound_samples/cries/blastoise.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/blaziken.wav
Normal file
BIN
sound/direct_sound_samples/cries/blaziken.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/blissey.wav
Normal file
BIN
sound/direct_sound_samples/cries/blissey.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/breloom.wav
Normal file
BIN
sound/direct_sound_samples/cries/breloom.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/bulbasaur.wav
Normal file
BIN
sound/direct_sound_samples/cries/bulbasaur.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/butterfree.wav
Normal file
BIN
sound/direct_sound_samples/cries/butterfree.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/cacnea.wav
Normal file
BIN
sound/direct_sound_samples/cries/cacnea.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/cacturne.wav
Normal file
BIN
sound/direct_sound_samples/cries/cacturne.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/camerupt.wav
Normal file
BIN
sound/direct_sound_samples/cries/camerupt.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/carvanha.wav
Normal file
BIN
sound/direct_sound_samples/cries/carvanha.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/cascoon.wav
Normal file
BIN
sound/direct_sound_samples/cries/cascoon.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/castform.wav
Normal file
BIN
sound/direct_sound_samples/cries/castform.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/caterpie.wav
Normal file
BIN
sound/direct_sound_samples/cries/caterpie.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/celebi.wav
Normal file
BIN
sound/direct_sound_samples/cries/celebi.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/chansey.wav
Normal file
BIN
sound/direct_sound_samples/cries/chansey.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/charizard.wav
Normal file
BIN
sound/direct_sound_samples/cries/charizard.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/charmander.wav
Normal file
BIN
sound/direct_sound_samples/cries/charmander.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/charmeleon.wav
Normal file
BIN
sound/direct_sound_samples/cries/charmeleon.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
sound/direct_sound_samples/cries/chikorita.wav
Normal file
BIN
sound/direct_sound_samples/cries/chikorita.wav
Normal file
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user