4 Commits

Author SHA1 Message Date
Tharo 2121d62a6f Audio: Fix note values (#1864)
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-28 18:01:53 -03:00
Tharo fc8d1165c8 [Audio 9/9] Loose ends (#1755)
* [Audio 9/9] Loose ends

* Fix sampleconv memset bug

* Doc updates from oot
2024-12-13 16:27:45 -08:00
louist103 f6d4a8731e Name OOT samples in sample bank 0 (#1695)
* Name samples

Fix FileName

FIx

Revert "FIx"

This reverts commit 510dcd8c03242f49d88173357c36fd0cc8911945.

Fix

* Formatting fixes

* fix

* \n

* snake case

* format

* Bank 2

* Fix extract assets

* Update SampleBank_0.xml

* Fix copy errors
2024-12-12 17:46:26 -08:00
Tharo 6c4896d947 [Audio 1/?] Extract Samplebanks and Soundfonts to XML (#1666)
* [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
2024-08-08 14:11:38 +10:00