Commit graph

6797 commits

Author SHA1 Message Date
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
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
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
AArt1256
5599ee327b fixed global variables 2024-08-21 13:33:37 +03: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
Adam Lederer
ea02a913b2 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) 2024-08-19 02:44:18 -05:00
Adam Lederer
94ef697ea6 cheat to avoid warning -Werror=class-memaccess on linux 2024-08-19 02:44:18 -05:00
Adam Lederer
91d36d0a62 typo in style fix 2024-08-19 02:44:18 -05:00
Adam Lederer
55af1648e7 accidentally left some logs in 2024-08-19 02:44:18 -05:00
Adam Lederer
15d47d0aae style fixes 2024-08-19 02:44:18 -05:00
Adam Lederer
5c9fd69ac1 add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack) 2024-08-19 02:44:18 -05:00
tildearrow
a318508b40 0.5 leftover 2024-08-18 18:20:01 -05:00
tildearrow
2dac603f17 GUI: fix indentation 2024-08-18 17:23:09 -05:00
tildearrow
39923742ab ZSM export: move to ROM export framework 2024-08-18 17:21:17 -05:00
AArt1256
f0b138ff48 fixed typos in a soundchip's name 2024-08-18 14:35:04 +03:00
AArt1256
eb95330013 why song.h 2024-08-18 14:32:03 +03:00
AArt1256
cac033f8bb fixed song.h hopefully 2 2024-08-18 14:30:02 +03:00
AArt1256
f4b28ea957 fixed song.h hopefully 2024-08-18 14:29:29 +03:00
cam900
7fb7d32bd5 Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-08-18 20:23:14 +09:00
cam900
875ef08256
Fix Y8950 ADPCM memory addressing
Max supported size is 262144 bytes, so I fixed that.
2024-08-18 20:22:24 +09:00
ヴェルメンスィヱ
ae1fa8d3b8
Add TeraDrive presets (#2086)
* correct some preset errors

* decapitalization

* Add TeraDrive presets

* Correct Sord M5 clock

* Revert "Correct Sord M5 clock"

This reverts commit 92d3e4a85e.

* Correct formatting errors

* Move PC speaker

* I have no idea how I changed libsndfile.
2024-08-18 05:58:25 -05:00
tildearrow
e7c39a0d6f fix 2024-08-18 05:52:50 -05:00
tildearrow
7974b96275 fixes 2024-08-18 02:30:30 -05:00
tildearrow
aa4ccc3c3f importExport/shared -> fileOpsCommon 2024-08-17 18:51:05 -05:00
tildearrow
5bfd389ae6 GUI: new default value for S3M OPL3 2024-08-17 18:24:04 -05:00
tildearrow
e3e61c817c Merge branch 'master' into sample_banks 2024-08-17 17:53:15 -05:00
tildearrow
3f47979ea7 IT import: handle end of file when reading samples 2024-08-17 17:18:14 -05:00
tildearrow
3fce04e77b GUI: getGain debug 2024-08-17 16:56:11 -05:00
tildearrow
636a9921a2 changes 2024-08-17 16:29:13 -05:00
LTVA1
f5743da6e8 Update settings.cpp 2024-08-17 16:26:53 -05:00
LTVA1
5770f381ba setting to choose between OPL2 and OPL3, channel naming 2024-08-17 16:26:53 -05:00
LTVA1
41e094d79d OPL3, hide unused channels 2024-08-17 16:26:53 -05:00
alederer
fca3ce02a7
Add action to set curIns based on current channel instrument at cursor (#2090)
* push test

* remove test file

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

---------

Co-authored-by: Adam Lederer <adam@adamlederer.com>
2024-08-17 15:50:52 -05:00
tildearrow
3cde827c17 GUI: localize bitfield labels 2024-08-17 00:12:02 -05:00
tildearrow
8ad9bfa245 fix panbrello depth 2024-08-16 23:59:20 -05:00
cam900
16ca40e0d2 Add OPL4/MultiPCM 12-bit PCM support 2024-08-16 20:45:40 +09:00
cam900
2c417811b3 Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-08-16 20:35:16 +09:00
MrHassium
faed541abf
2 new demo song and a name change (#2058)
* Famitune 1

* Ay Mate!

* Name Change momento!!!!

* I dont know how to replace files so we deleting and putting new versions

* Updating a song

* die

* Updating a song again

* comma
2024-08-15 15:56:17 -05:00
Aleksi Knutsi
a9591fae71
AY Timer bug fixes and some QOL improvements (#2073)
* Create android.yml

* bug fixes part 1

* bollocks number 1

* Update android.yml

* why are you crackling you arent supposed to do that

* stop crackling please

* what a load of

* what a load of part 2

* what a load of part 3

* what a load of part 4

* final commit... i hope!

* final commit my rear bottom

* final commit for real this time

* Delete .github/workflows/android.yml

* Update sysDef.cpp
2024-08-15 15:55:29 -05:00
tildearrow
eaa943e724 GUI: parse ROM export requisites 2024-08-15 11:28:10 -05:00
AArt1256
ce9d510076 added more presets and fixed memory bug yay 2024-08-15 14:36:58 +03:00
freq-mod
33f56ba531 remove leftovers 2024-08-14 20:27:58 +02:00
cam900
afec47e9cc Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-08-14 17:56:27 +09:00
cam900
f906b4ebe4 Safety check for MSM6295 bankswitched address 2024-08-14 17:54:20 +09:00
tildearrow
34517754ad port TIunA to export framework, part 4
index option
2024-08-13 18:42:11 -05:00
tildearrow
b7631542c6 port TIunA to export framework, part 3
options
2024-08-13 18:07:07 -05:00
tildearrow
249032f096 port TIunA to export framework, part 2
progress bars!
2024-08-13 17:47:18 -05:00
tildearrow
bb5ad38fb6 port TIunA to export framework, part 1
part 2 includes progress bars and options
2024-08-13 16:50:13 -05:00
tildearrow
aad42210d7 it kinda works 2024-08-13 14:34:06 -05:00
freq-mod
03bc023644 spacing 2024-08-13 13:55:20 +02:00
tildearrow
e475b29ec3 a menu 2024-08-13 04:40:26 -05:00
tildearrow
b5e500d85d dev217 2024-08-13 04:14:46 -05:00
MooingLemur
0224882a42 oops, should have been 47.0.2 2024-08-13 04:11:08 -05:00
MooingLemur
3b9cf70ff5 VERA: bump default chip type 2024-08-13 04:11:08 -05:00
MooingLemur
a8122d3efd Add VERA 47.0.3 chip type 2024-08-13 04:11:08 -05:00
tildearrow
45eab67fd4 prepare more stuff 2024-08-13 04:10:03 -05:00
tildearrow
1bdcbf95d3 prepare a ROM export dialog 2024-08-12 23:20:08 -05:00
freq-mod
8e39d5ff8f part final please god 2024-08-12 19:26:20 +02:00
freq-mod
d1e198ddff part 4 2024-08-12 19:25:53 +02:00
freq-mod
aa225175a8 sample banks part 3 2024-08-12 19:23:52 +02:00
freq-mod
235a254458 sample banks part 2 2024-08-12 18:22:52 +02:00
freq-mod
dce4c9a4b2 sample bank import 2024-08-12 15:54:37 +02:00
tildearrow
7591b2ed6a Byte-Sized Bop
by Someone64
2024-08-12 04:10:44 -05:00
AArt1256
8480e31430 upd1771c instrument colors yay 2024-08-11 17:38:06 +03:00
AArt1256
36c143deb0 added more support to upd1771c 2024-08-11 13:40:50 +03:00
AArt1256
f14ff25796 added basic uPD1771C support 2024-08-11 09:22:49 +03:00
tildearrow
8d005f7cbc fix Linux build 2024-08-10 22:49:22 -05:00