Commit graph

8863 commits

Author SHA1 Message Date
tildearrow
c06759b235 NES:codestyle 2024-08-24 16:43:15 -05:00
LTVA1
efb89f7f94 yeah 2024-08-24 16:36:55 -05:00
tildearrow
332b449f0e deGNUize 2024-08-24 06:03:28 -05:00
freq-mod
46e48e42ea backport default sys picker from B 2024-08-24 11:24:58 +02:00
tildearrow
db19b13ce4 GUI: update credits 2024-08-24 03:08:46 -05:00
tildearrow
977c464e7b GUI: fix audio export progress window 2024-08-24 03:08:35 -05:00
tildearrow
ee21a996fa
Merge pull request #2102 from alederer/volPorta
Volume portamento (vol porta) effect (D3xx, D4xx for fast)
2024-08-24 03:00:29 -05:00
Adam Lederer
2982a40110 update vol-porta-ending logic to be more readable 2024-08-24 00:59:03 -07:00
tildearrow
bcdad3c538 AY: remove all ffff writes 2024-08-24 02:47:51 -05:00
tildearrow
a458e105d9 VGM export: use QSound ADPCM size 2024-08-23 20:16:48 -05:00
tildearrow
5a79a70980 GUI: missing WonderSwan pan macros 2024-08-23 20:10:23 -05:00
tildearrow
99ae6a2b38 VGM export: include song comments
also show song comments on mobile
2024-08-23 17:46:09 -05:00
Adam Lederer
d0f3e0fa58 GUI_ACTION_PAT_ABSORB_INSTRUMENT search through prior orders (also set instrument to none if no instrument found 2024-08-23 15:20:08 -05:00
alederer
c5310d1855
Instrument editor undo (minus FixedQueue change) (#2094)
* add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack)

* style fixes

* accidentally left some logs in

* typo in style fix

* cheat to avoid warning -Werror=class-memaccess on linux

* warn instead of assert on case where MemPatch application would exceed size of target buffer (which should never happen, if you're applying the patch to the same type it was generated from)

* instrument editor undo: don't check delta if no user input has come in that could potentially have dirtied the editor

* don't run a delta against cached instrument if not insEditOpen

* revert fixedQueue to before my 'fix' (if i touch it again i'll add unit tests)

* explicitly cast to (DivInstrumentPOD*) when memsetting DivInstrumentPOD in DivInstrument constructor, rather than relying on implicit memory layout

* use delete[] instead of free (whoops)

* MemPatch/DivInstrumentUndoStep -- remove clear() function (ambiguous whether it should free data, it only existed to set data to null after the swap, so just do that directly now). Also set data to null after delete.

* DivInstrument -- fix dangling undo-step pointers being created on duplicate (potentially leading to use-after-free), fix undo-step objects being shamelessly leaked

---------

Co-authored-by: Adam Lederer <adam@adamlederer.com>
2024-08-23 15:17:19 -05:00
Adam Lederer
08f1381fee minor cleanup 2024-08-23 11:24:24 -07:00
Adam Lederer
ae4adececd do nothing if volume column empty 2024-08-23 11:16:22 -07:00
Adam Lederer
310ad13916 volume portamento (vol porta) on D3xx and D4xx (D4 is fast version, rate * 256) 2024-08-23 10:50:13 -07:00
tildearrow
bae45e0b86 SN: fix arp macro with easy period 2024-08-23 02:25:53 -05:00
tildearrow
9b64bc104f pont of noreturn cover
by leejh20
2024-08-23 02:25:53 -05:00
LTVA1
3b6ddebc64 disable 2024-08-23 00:53:44 -05:00
LTVA1
9f9638931d yeah 2024-08-23 00:53:44 -05:00
tildearrow
8a18f962f9 VGM export: don't generate garbage stop sample com
issue #2072
2024-08-22 23:17:22 -05:00
tildearrow
231bece848 SDL audio: don't close audio device if not open
issue #2068
2024-08-22 22:20:25 -05:00
LTVA1
a08380182d arr 2 2024-08-22 03:17:35 -05:00
LTVA1
f433f79dfe aarr 2024-08-22 03:17:35 -05:00
LTVA1
3a72acc3b0 init 2024-08-22 03:17:35 -05:00
LTVA1
952b18c0c9 Update build.yml 2024-08-22 03:17:35 -05:00
LTVA1
33eea96986 small fixes, print progress in rows/files 2024-08-22 03:17:35 -05:00
LTVA1
a4dae5302b account for fadeout length, optimize some progress bar calc 2024-08-22 03:17:35 -05:00
LTVA1
17f6ea5c6a account for non-beginning loop point location
Ig I will optimize some of the calculations later when account for fadeout is added
2024-08-22 03:17:35 -05:00
LTVA1
481a5710df fix3? 2024-08-22 03:17:35 -05:00
LTVA1
56749ad286 fix2? 2024-08-22 03:17:35 -05:00
LTVA1
beca6bea00 fix? 2024-08-22 03:17:35 -05:00
LTVA1
d79bad195a looks like it works, no account for fadeout tho 2024-08-22 03:17:35 -05:00
tildearrow
a77d8bc87e oh crap 2024-08-21 14:46:40 -05:00
tildearrow
6a3d130c51 Merge branch 'master' of github.com:tildearrow/furnace 2024-08-20 15:05:47 -05:00
tildearrow
07ab7db2f8 don't use built-in MBS to WCS 2024-08-20 15:04:41 -05:00
alederer
28dc0b12a1
"Adopt instrument" action also adopts octave (#2095)
* push test

* remove test file

* add GUI_ACTION_PAT_ABSORB_INSTRUMENT action (set current instrument to channel's current instrument column)

* rename 'absorb instrument' to 'adopt instrument' (clearer), adopt octave as well, replace editor octave min/max numbers in the code with defines

* CRAP

* rename 'adopt instrument' back to 'absorb instrument'

---------

Co-authored-by: Adam Lederer <adam@adamlederer.com>
Co-authored-by: tildearrow <me@tildearrow.org>
2024-08-19 13:19:50 -05:00
tildearrow
a410b90452 CRAP 2024-08-19 12:54:09 -05:00
tildearrow
ecbfacef1f add SFWrapper error logging 2024-08-19 12:40:51 -05:00
tildearrow
d3af810462 Revert "add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack)"
This reverts commit 5c9fd69ac1.
2024-08-19 02:49:24 -05:00
tildearrow
f1de0bf2b7 Revert "style fixes"
This reverts commit 15d47d0aae.
2024-08-19 02:49:24 -05:00
tildearrow
73c61d9ac7 Revert "accidentally left some logs in"
This reverts commit 55af1648e7.
2024-08-19 02:49:24 -05:00
tildearrow
c00947071a Revert "typo in style fix"
This reverts commit 91d36d0a62.
2024-08-19 02:49:24 -05:00
tildearrow
78d7fb4da0 Revert "cheat to avoid warning -Werror=class-memaccess on linux"
This reverts commit 94ef697ea6.
2024-08-19 02:49:24 -05:00
tildearrow
257abca831 Revert "warn instead of assert on case where MemPatch application would exceed size of target buffer (which should never happen, if you're applying the patch to the same type it was generated from)"
This reverts commit ea02a913b2.
2024-08-19 02:49:24 -05:00
tildearrow
251be67b69 Revert "instrument editor undo: don't check delta if no user input has come in that could potentially have dirtied the editor"
This reverts commit ad53b33d7c.
2024-08-19 02:49:24 -05:00
tildearrow
4f3d61c0f1 Revert "don't run a delta against cached instrument if not insEditOpen"
This reverts commit 2ab5ac4e07.
2024-08-19 02:49:24 -05:00
Adam Lederer
2ab5ac4e07 don't run a delta against cached instrument if not insEditOpen 2024-08-19 02:44:18 -05:00
Adam Lederer
ad53b33d7c instrument editor undo: don't check delta if no user input has come in that could potentially have dirtied the editor 2024-08-19 02:44:18 -05:00