<feed xmlns='http://www.w3.org/2005/Atom'>
<title>2ship2harkinian/mm/src/audio/lib/synthesis.c, branch develop</title>
<subtitle>2Ship2Harkinian: Majora’s Mask PC port</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/'/>
<entry>
<title>Bump LUS and OTRExporter, add null audio backend (#1289)</title>
<updated>2025-10-29T16:56:57+00:00</updated>
<author>
<name>Eblo</name>
<email>7004497+Eblo@users.noreply.github.com</email>
</author>
<published>2025-10-29T16:56:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=83921dc012588c520efe0ed8c7ac1406806543c7'/>
<id>83921dc012588c520efe0ed8c7ac1406806543c7</id>
<content type='text'>
* Bump LUS and OTRExporter, add null audio backend

* Missed an include change

* And again

* Thanks macOS

* Another one

* Bump LUS again, fixing SDL audio backend bug

* Sync LUS bump changes to merged PRs

* Bump LUS again

* Update CMakeLists.txt includes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Bump LUS and OTRExporter, add null audio backend

* Missed an include change

* And again

* Thanks macOS

* Another one

* Bump LUS again, fixing SDL audio backend bug

* Sync LUS bump changes to merged PRs

* Bump LUS again

* Update CMakeLists.txt includes</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Fix cracking/buzzing with streamed audio (#1153)" (#1233)</title>
<updated>2025-09-10T16:35:39+00:00</updated>
<author>
<name>Eblo</name>
<email>7004497+Eblo@users.noreply.github.com</email>
</author>
<published>2025-08-30T04:21:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=635ec7ccc63e27d7e14f692a5d0fc08ca2caacb1'/>
<id>635ec7ccc63e27d7e14f692a5d0fc08ca2caacb1</id>
<content type='text'>
This reverts commit 120c657607dc3c7b5d8e063d457744733bb5b668.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 120c657607dc3c7b5d8e063d457744733bb5b668.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Merge develop-rena -&gt; develop (#1258)" (#1269)</title>
<updated>2025-09-10T16:32:40+00:00</updated>
<author>
<name>Eblo</name>
<email>7004497+Eblo@users.noreply.github.com</email>
</author>
<published>2025-09-10T16:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=df18c6deffd68663a11c84d437da419e6433d679'/>
<id>df18c6deffd68663a11c84d437da419e6433d679</id>
<content type='text'>
This reverts commit 47771de011abced823d9b699fffc8832fedff1b7.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 47771de011abced823d9b699fffc8832fedff1b7.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge develop-rena -&gt; develop (#1258)</title>
<updated>2025-09-03T12:38:51+00:00</updated>
<author>
<name>Eblo</name>
<email>7004497+Eblo@users.noreply.github.com</email>
</author>
<published>2025-09-03T12:38:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=47771de011abced823d9b699fffc8832fedff1b7'/>
<id>47771de011abced823d9b699fffc8832fedff1b7</id>
<content type='text'>
* add health check preventing hop counter reset on death (#1214)

* Fix rando refills for Chateau Romani (#1216)

* Allow access to smithy checks without a sword (#1208)

* Fix float slider labels (#1210)

* Do not allow gameover audio to be changed (#1225)

* Fix slider labels where position is None (#1227)

* Fix BSoDT bugs with audio and early day change (#1228)

* Properly configure INCLUDE_MPQ_SUPPORT (#1243)

* Check previousBankValue in custom bank thresholds (#1232)

* Restore vertices after geometry seams patch (#1237)

* Fix softlock with Magic Hag's Blue Potion (#1252)

* Revert "Fix cracking/buzzing with streamed audio (#1153)" (#1233)

This reverts commit 120c657607dc3c7b5d8e063d457744733bb5b668.

* [Rando] Reset cycle collectible flags on cycle save (#1254)

* bump to Rena Bravo (#1257)

---------

Co-authored-by: mckinlee &lt;mckinlee@ymail.com&gt;
Co-authored-by: balloondude2 &lt;55861555+balloondude2@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add health check preventing hop counter reset on death (#1214)

* Fix rando refills for Chateau Romani (#1216)

* Allow access to smithy checks without a sword (#1208)

* Fix float slider labels (#1210)

* Do not allow gameover audio to be changed (#1225)

* Fix slider labels where position is None (#1227)

* Fix BSoDT bugs with audio and early day change (#1228)

* Properly configure INCLUDE_MPQ_SUPPORT (#1243)

* Check previousBankValue in custom bank thresholds (#1232)

* Restore vertices after geometry seams patch (#1237)

* Fix softlock with Magic Hag's Blue Potion (#1252)

* Revert "Fix cracking/buzzing with streamed audio (#1153)" (#1233)

This reverts commit 120c657607dc3c7b5d8e063d457744733bb5b668.

* [Rando] Reset cycle collectible flags on cycle save (#1254)

* bump to Rena Bravo (#1257)

---------

Co-authored-by: mckinlee &lt;mckinlee@ymail.com&gt;
Co-authored-by: balloondude2 &lt;55861555+balloondude2@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix cracking/buzzing with streamed audio (#1153)</title>
<updated>2025-05-14T01:50:24+00:00</updated>
<author>
<name>lilacLunatic</name>
<email>8488221+lilacLunatic@users.noreply.github.com</email>
</author>
<published>2025-05-14T01:50:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=120c657607dc3c7b5d8e063d457744733bb5b668'/>
<id>120c657607dc3c7b5d8e063d457744733bb5b668</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup includes (#1072)</title>
<updated>2025-04-06T21:17:50+00:00</updated>
<author>
<name>louist103</name>
<email>35883445+louist103@users.noreply.github.com</email>
</author>
<published>2025-04-06T21:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=3d0feab897b065106f5d38ffbc55f075f990e784'/>
<id>3d0feab897b065106f5d38ffbc55f075f990e784</id>
<content type='text'>
* Cleanup

* Format

* Fixes

* Update macports-deps.txt

* Fix mac

* Update macports-deps.txt

Co-authored-by: Archez &lt;Archez@users.noreply.github.com&gt;

* Move includes around

---------

Co-authored-by: Archez &lt;Archez@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Cleanup

* Format

* Fixes

* Update macports-deps.txt

* Fix mac

* Update macports-deps.txt

Co-authored-by: Archez &lt;Archez@users.noreply.github.com&gt;

* Move includes around

---------

Co-authored-by: Archez &lt;Archez@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Custom Audio Support (#778)</title>
<updated>2025-03-03T04:30:05+00:00</updated>
<author>
<name>louist103</name>
<email>35883445+louist103@users.noreply.github.com</email>
</author>
<published>2025-03-03T04:30:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=2d0942a1b187938f55d34c71e0965e37a70b1094'/>
<id>2d0942a1b187938f55d34c71e0965e37a70b1094</id>
<content type='text'>
* Implement custom sequences and the audio editor.

* Fix implicit function declaration `AudioEditor_GetReplacementSeq`

* Fix mac again.

* String and header cleanup

* Oops

* WIP ZIP Sound fonts

* The game opens and audio seems to play correctly. Needs extensive testing.

* Name sequences

* Cleanup the SF importer a little.

* XML Sequences good

* Fix mac

* Destructor

* Bump submodule

* Thread safe queue

* Add WAV decoder

* sequenceMap-&gt;mSequenceMap and a string fix

* Streamed sequence importer

* Add s16 sample processing.

* Fix drwave define

* Fix STB

* Reorder the loading to enable custom sound fonts

* New streamed solution

* Bump exporter

* Generate 1 minute long looping sequence.

* Very long sample support (113 minutes or so)

* MP3 Decoding

* Don't byteswap the crc from XML.

* WIP OGG

* add windows cmake stuff (broken) and fixes to OGG

* Just throw more cores at the problem

* Dynamically allocate fontMap

* Re-add OOB read fix from old branch

* FLAC decoder, threads for the other compressed formats

* Remove thread from class

* timings

* cleanup conflicts

* update submodules

* update submodules

* update submodules

* loop or not to loop

* named audio XML

* Update submodules

* format

* format again cause git didnt see it for some reason

* move drlib to submodule

* Update apt-deps.txt

* Fix for new cmake

* fix game interactor

* Update macports-deps.txt

* PR fixes and fix OTRExporter for mac

* format

* format

* ifdef intrin header

* Docs

* use macro for preview

* Small fixes

* format

* fix 2nd day clock town

* Update exporter

* Fix duplicate global in stubs.c

* restore editor to use cvars again sadge

* Format

* warn if more than 255 sequences

* use main seq player to avoid an overflow

* fix the wrong seq playing in the editor again

* 16 bit seqIds

* fix shop crash

* format

* cleanups

* Delete audio collection

* Add entry to modern menu

* Cleanup the audio collection

* fix clock town randomization

* format

* format again

* some fixes for custom audio (#1)

* how I would sort the sequences (#2)

clang

one more

forgot to revert

Co-authored-by: mckinlee &lt;mckinlee@ymail.com&gt;

* Adjustments to ocarina song types

* stereo

* format

* Loop point support

* Part of a PR review

* Remove drlib submodule

* Clarify change

* Format

* Add tag

* switch to find_package

* bump ZAPDTR

* Milk bar day/night fix

* x86 SIMD for aMixImpl

* format

* NEON

* format

* remove | 0x900 causing a crash

* Asan fixes

* add missing define for MSVC

* Clock town fixes

Co-authored-by: mckinlee &lt;mckinlee@ymail.com&gt;

* format

* Fix underscore logic in audio collection

* Use torch sample XML format

* fix font map size and format

* quick fix

* Update exporter

* Opus

* actions packages

* fix it again?

* Fix a few missed 16 bit masks

* Remove unused stubs

* Revert "Fix a few missed 16 bit masks"

This reverts commit 7143c4ff92d23157a79a10b4ee62e93e35acb23e.

* Opus decoding

* Fixes for linux and other things

* free opus data

* format

* Update FindOpusFile.cmake

* bria's fix?

* Update BenMenuBar.cpp

* Update BenMenuBar.cpp

* Split ocarina tabs

* better error handling

* Remove unused vectors

* move audio editor to enhancements

* Fix mac again?

* Final cleanups

* Format

* extern C

* Allow custom fanfares to be used in songs

* format

* WIP sf editor support

* Format

* Jacks fixes

* Bump submodule

* Archez's fixes

* Format

---------

Co-authored-by: mckinlee &lt;mckinlee@ymail.com&gt;
Co-authored-by: Archez &lt;archez39@me.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Implement custom sequences and the audio editor.

* Fix implicit function declaration `AudioEditor_GetReplacementSeq`

* Fix mac again.

* String and header cleanup

* Oops

* WIP ZIP Sound fonts

* The game opens and audio seems to play correctly. Needs extensive testing.

* Name sequences

* Cleanup the SF importer a little.

* XML Sequences good

* Fix mac

* Destructor

* Bump submodule

* Thread safe queue

* Add WAV decoder

* sequenceMap-&gt;mSequenceMap and a string fix

* Streamed sequence importer

* Add s16 sample processing.

* Fix drwave define

* Fix STB

* Reorder the loading to enable custom sound fonts

* New streamed solution

* Bump exporter

* Generate 1 minute long looping sequence.

* Very long sample support (113 minutes or so)

* MP3 Decoding

* Don't byteswap the crc from XML.

* WIP OGG

* add windows cmake stuff (broken) and fixes to OGG

* Just throw more cores at the problem

* Dynamically allocate fontMap

* Re-add OOB read fix from old branch

* FLAC decoder, threads for the other compressed formats

* Remove thread from class

* timings

* cleanup conflicts

* update submodules

* update submodules

* update submodules

* loop or not to loop

* named audio XML

* Update submodules

* format

* format again cause git didnt see it for some reason

* move drlib to submodule

* Update apt-deps.txt

* Fix for new cmake

* fix game interactor

* Update macports-deps.txt

* PR fixes and fix OTRExporter for mac

* format

* format

* ifdef intrin header

* Docs

* use macro for preview

* Small fixes

* format

* fix 2nd day clock town

* Update exporter

* Fix duplicate global in stubs.c

* restore editor to use cvars again sadge

* Format

* warn if more than 255 sequences

* use main seq player to avoid an overflow

* fix the wrong seq playing in the editor again

* 16 bit seqIds

* fix shop crash

* format

* cleanups

* Delete audio collection

* Add entry to modern menu

* Cleanup the audio collection

* fix clock town randomization

* format

* format again

* some fixes for custom audio (#1)

* how I would sort the sequences (#2)

clang

one more

forgot to revert

Co-authored-by: mckinlee &lt;mckinlee@ymail.com&gt;

* Adjustments to ocarina song types

* stereo

* format

* Loop point support

* Part of a PR review

* Remove drlib submodule

* Clarify change

* Format

* Add tag

* switch to find_package

* bump ZAPDTR

* Milk bar day/night fix

* x86 SIMD for aMixImpl

* format

* NEON

* format

* remove | 0x900 causing a crash

* Asan fixes

* add missing define for MSVC

* Clock town fixes

Co-authored-by: mckinlee &lt;mckinlee@ymail.com&gt;

* format

* Fix underscore logic in audio collection

* Use torch sample XML format

* fix font map size and format

* quick fix

* Update exporter

* Opus

* actions packages

* fix it again?

* Fix a few missed 16 bit masks

* Remove unused stubs

* Revert "Fix a few missed 16 bit masks"

This reverts commit 7143c4ff92d23157a79a10b4ee62e93e35acb23e.

* Opus decoding

* Fixes for linux and other things

* free opus data

* format

* Update FindOpusFile.cmake

* bria's fix?

* Update BenMenuBar.cpp

* Update BenMenuBar.cpp

* Split ocarina tabs

* better error handling

* Remove unused vectors

* move audio editor to enhancements

* Fix mac again?

* Final cleanups

* Format

* extern C

* Allow custom fanfares to be used in songs

* format

* WIP sf editor support

* Format

* Jacks fixes

* Bump submodule

* Archez's fixes

* Format

---------

Co-authored-by: mckinlee &lt;mckinlee@ymail.com&gt;
Co-authored-by: Archez &lt;archez39@me.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Mirror Mode (#535)</title>
<updated>2024-10-03T03:44:36+00:00</updated>
<author>
<name>Garrett Cox</name>
<email>garrettjcox@gmail.com</email>
</author>
<published>2024-10-03T03:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=c474a82a94db5ad2fb97dcc55db2b491906a653f'/>
<id>c474a82a94db5ad2fb97dcc55db2b491906a653f</id>
<content type='text'>
* Mirror mode initial version

* Update mm/src/code/z_actor.c

Co-authored-by: Archez &lt;Archez@users.noreply.github.com&gt;

* mirror mode support for minimaps and dungeon pause map

* mirror mode support overworld pause map and song of soaring

* mirror mode support for various remaining things

* mirror mode support pause warp enhancement

* Add searchable menu item

---------

Co-authored-by: Archez &lt;Archez@users.noreply.github.com&gt;
Co-authored-by: Archez &lt;archez39@me.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Mirror mode initial version

* Update mm/src/code/z_actor.c

Co-authored-by: Archez &lt;Archez@users.noreply.github.com&gt;

* mirror mode support for minimaps and dungeon pause map

* mirror mode support overworld pause map and song of soaring

* mirror mode support for various remaining things

* mirror mode support pause warp enhancement

* Add searchable menu item

---------

Co-authored-by: Archez &lt;Archez@users.noreply.github.com&gt;
Co-authored-by: Archez &lt;archez39@me.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>run clang format (#448)</title>
<updated>2024-05-22T14:05:05+00:00</updated>
<author>
<name>briaguya</name>
<email>70942617+briaguya-ai@users.noreply.github.com</email>
</author>
<published>2024-05-22T13:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=6da00312950dd7a28d8382064e5a8979dff82745'/>
<id>6da00312950dd7a28d8382064e5a8979dff82745</id>
<content type='text'>
* add linux clang format script

* first shot at powershell

* whoops

* webrequest is slow, try webclient

* just get the one file

* simplify and maybe make it work?

* whoops again

* try a different suggestion

* why is it always windows

* again

* try again

* bit of path stuff

* chmod +x

* add action to check

* fix workflow name

* run clang format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* add linux clang format script

* first shot at powershell

* whoops

* webrequest is slow, try webclient

* just get the one file

* simplify and maybe make it work?

* whoops again

* try a different suggestion

* why is it always windows

* again

* try again

* bit of path stuff

* chmod +x

* add action to check

* fix workflow name

* run clang format</pre>
</div>
</content>
</entry>
<entry>
<title>Audio Works (#180)</title>
<updated>2024-05-22T14:05:01+00:00</updated>
<author>
<name>Kenix3</name>
<email>kenixwhisperwind@gmail.com</email>
</author>
<published>2024-04-14T20:36:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/2ship2harkinian/commit/?id=912d46761b7750b8291ca7172f9e9fb140cd268b'/>
<id>912d46761b7750b8291ca7172f9e9fb140cd268b</id>
<content type='text'>
* initial audio work

* Implements caching and fixes a ton of issues with audio

* Uses correct memory sizes in mixer.c

* Resets mixer values

* Actually correct dmem buff values in mixer.c

* Remove breakpoints

* Fix sequences not playing

* The forbidden type.

* Forbidden TYPES?!

* Thanks Louis

* Thanks Louis Part 2

* Fix garbled audio

* Fixed ADSR bugs

* Fixes ASAN crash in loading samples.

This code is causing the game to attempt to read sample data beyond the actual sample data.

* Comments out the sample clamping since we aren't affecting the rest of the calculations in the function.

* Fixes crashing while loading audio samples.

Additionally, lowers the log level for audio commands.

* Textbox SFX UB Fix

* Decreases priority of more debug messages

* Fixed a couple uintptr_t issues

* Adds context to Jack's hack of shortcutting later loading sequences.

* Audio corruption fix

* Few uintptr_t fixes

* Fix build on linux

* Fix build on mac

* call audio exit

* fix sfx in dialog

* unstub more audio funcs

---------

Co-authored-by: Random06457 &lt;28494085+Random06457@users.noreply.github.com&gt;
Co-authored-by: Nicholas Estelami &lt;NEstelami@users.noreply.github.com&gt;
Co-authored-by: louis &lt;35883445+louist103@users.noreply.github.com&gt;
Co-authored-by: Adam Bird &lt;archez39@me.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* initial audio work

* Implements caching and fixes a ton of issues with audio

* Uses correct memory sizes in mixer.c

* Resets mixer values

* Actually correct dmem buff values in mixer.c

* Remove breakpoints

* Fix sequences not playing

* The forbidden type.

* Forbidden TYPES?!

* Thanks Louis

* Thanks Louis Part 2

* Fix garbled audio

* Fixed ADSR bugs

* Fixes ASAN crash in loading samples.

This code is causing the game to attempt to read sample data beyond the actual sample data.

* Comments out the sample clamping since we aren't affecting the rest of the calculations in the function.

* Fixes crashing while loading audio samples.

Additionally, lowers the log level for audio commands.

* Textbox SFX UB Fix

* Decreases priority of more debug messages

* Fixed a couple uintptr_t issues

* Adds context to Jack's hack of shortcutting later loading sequences.

* Audio corruption fix

* Few uintptr_t fixes

* Fix build on linux

* Fix build on mac

* call audio exit

* fix sfx in dialog

* unstub more audio funcs

---------

Co-authored-by: Random06457 &lt;28494085+Random06457@users.noreply.github.com&gt;
Co-authored-by: Nicholas Estelami &lt;NEstelami@users.noreply.github.com&gt;
Co-authored-by: louis &lt;35883445+louist103@users.noreply.github.com&gt;
Co-authored-by: Adam Bird &lt;archez39@me.com&gt;</pre>
</div>
</content>
</entry>
</feed>
