summaryrefslogtreecommitdiff
path: root/tools/audio
AgeCommit message (Collapse)Author
2026-03-28Audio: Fix note values (#1864)Tharo
Due to the layout of the pitch_frequencies lookup table, note values computed in extraction were reflected around middle C (midi note number 60). This didn't matter for matching, values would successfully roundtrip. However when using samples in external programs or converting soundfonts to standard formats the note values would lead to incorrect playback of sounds. This change corrects the note values so that external programs correctly infer the pitch of the sound when played at a particular MIDI key.
2026-03-09sampleconv: Improve WAV SMPL chunk handling, properly handle (#1862)Tharo
odd chunk sizes * Read WAV SMPL chunks for note info when INST chunks are not available * Populate the SMPL chunk on conversion to wav * Properly handle unaligned (odd) WAV chunk sizes
2026-03-09Soundfont Compiler: Implement fine-tuning in the final tuning calculation ↵Tharo
(#1863)
2026-02-04Allow `atblgen` to process `sequence_order.in` with empty lines in between ↵Anghelo Carvajal
lines for building on Macos (#1850) * Allow atblgen to process `sequence_order.in` with empty lines in between other lines * Fix memory leak issues and missing flags in makefile * FIx warning that apparently only appeared because optimization flags are now enabled * Skip empty lines at the beginning of the file
2025-05-24Seperate baserom segments dir from output dir (#1802)Derek Hensley
2025-01-12Sync soundfont_compiler.c with recent OoT change, give automatic names to ↵Tharo
sequence 0 channels that implement sfx (#1784) * Sync soundfont_compiler.c with recent OoT change, give automatic names to sequence 0 channels that implement sfx * Fix bss
2024-12-13[Audio 9/9] Loose ends (#1755)Tharo
* [Audio 9/9] Loose ends * Fix sampleconv memset bug * Doc updates from oot
2024-11-06Animation Cleanup: En_Z* (#1727)engineer124
* cleanup * more progress * finish off z * one more thing * one more animIndex * fix spacing
2024-10-05Add missing std headers to audio tools (#1704)Anghelo Carvajal
2024-09-15[Audio 8/?] Check-in handwritten sequences, build sequences, automate ↵Tharo
various sfx arrays (#1679) * [Audio 8/?] Check-in handwritten sequences, build sequences, automate various sfx arrays * Fix whitespace in aseq.h * Suggested changes, adjust some MML syntax and add more instruction descriptions * Special case progress script (#9) * Hack progress script * Small adjustment to text fileSectionFixer * Add the dir of the input .seq file to the list of includes to sequence assembling so that assembler-level includes like .include or .incbin work intuitively * Remove old comment that was missed before * aseq.h tweaks * Review suggestions, aseq.h adjustments --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2024-09-04[Audio 7/?] Extract sequences to assembly (#1677)Tharo
* [Audio 7/?] Extract sequences to assembly Co-authored-by: MNGoldenEagle <17274702+MNGoldenEagle@users.noreply.github.com> Co-authored-by: zelda2774 <69368340+zelda2774@users.noreply.github.com> * Changes from OoT PR reviews * Remove unused multiprocessing import and regen assets/xml/audio/sequences --------- Co-authored-by: MNGoldenEagle <17274702+MNGoldenEagle@users.noreply.github.com> Co-authored-by: zelda2774 <69368340+zelda2774@users.noreply.github.com>
2024-08-27[Audio 6/?] Build Soundfonts and the Soundfont Table (#1675)Tharo
* [Audio 6/?] Build Soundfonts and the Soundfont Table * Fix bss * Maybe fix warnings * Improve lots of error messages * Suggested changes from OoT PR * Suggested changes * Make soundfont_table.h generation depend on the samplebank xmls since they are read, report from which soundfont the invalid pointer indirect warning originates from
2024-08-17[Audio 5/?] Build the Samplebank Table (#1674)Tharo
* [Audio 5/?] Build the Samplebank Table * OoT suggested changes * Fix format specifier * Moved linker_scripts files used in final linker to linker_scripts/final * Populate OTHER_DIRS with linker_scripts subdirs * Unhide the partial link command
2024-08-14[Audio 4/?] Build Samplebanks, match Audiotable (#1672)Tharo
* [Audio 4/?] Build Samplebanks, match Audiotable * Add missing scope in MARK chunk handling * Add comment to generate asm file when buffer bug data is emitted, remove duplicate CC4 definition * Adjust comment * SBCFLAGS * Remove unnecessary comments on notes_lut * Split build directories creation command into several to avoid it becoming too long * objcopy -j -> --only-section * Try fix mkdir from clean * Try fix 2
2024-08-08[Audio 2/?] Extract audio samples to wav (#1670)Tharo
* [Audio 2/?] Extract audio samples to wav Co-authored-by: zelda2774 <69368340+zelda2774@users.noreply.github.com> * How * Hopefully fix warning I don't get locally * [OoT Review] Pad default sample filenames, comment on the vadpcm frame encoder functions, other suggested changes * Small tweaks to above * Remove some obsolete code --------- Co-authored-by: zelda2774 <69368340+zelda2774@users.noreply.github.com>
2024-08-08[Audio 1/?] Extract Samplebanks and Soundfonts to XML (#1666)Tharo
* [Audio 1/?] Extract Samplebanks and Soundfonts to XML * Remove config.py in view of using config yamls for addresses in the future, implement suggested changes from OoT review * Remove some commented out dead code, adjust setup-audio in makefile * Move audio extraction from setup to assets in makefile