Commit graph

6923 commits

Author SHA1 Message Date
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
LTVA1 1fbbe29d14
Merge branch 'tildearrow:master' into SID3 2024-08-23 12:53:29 +03: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 36411defd2 fix software DAC sample rate being dependent on chip clock 2024-08-22 19:48:35 +03:00
LTVA1 f2ffd0e831 allow custom hover text for bitfield macros 2024-08-22 18:11:15 +03:00
LTVA1 ecb46ae682 fix volume command 2024-08-22 14:55:25 +03:00
LTVA1 093b1fe4dc
Merge branch 'tildearrow:master' into SID3 2024-08-22 14:17:34 +03: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
LTVA1 c26fa0c1f6
Merge branch 'tildearrow:master' into SID3 2024-08-19 21:44:23 +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
LTVA1 a2326182f6 add tSU filter cutoff & duty slide effects 2024-08-19 15:22:08 +03: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
LTVA1 f6878d100a change inst id 2024-08-19 07:16:40 +03: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
LTVA1 a249dd4515 translate sample bank messages 2024-08-18 19:04:56 +03:00
LTVA1 bc352728b5
Merge branch 'tildearrow:master' into SID3 2024-08-18 18:56:11 +03:00
LTVA1 f4ff45efb7 add cutoff & resonance scaling control effects, work more on Russian locale 2024-08-18 18:55:46 +03: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 92d3e4a85efbbe6b61a3c47624cec7eaade8e6fe.

* 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
LTVA1 5fd93596b6
Merge branch 'tildearrow:master' into SID3 2024-08-18 09:17:21 +03: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
LTVA1 91b08aaeb4 SID3 docs, part 3
also fix wave mix mode saving and remove unneeded lfsr taps save
2024-08-17 22:30:54 +03:00
LTVA1 99be4541c5 more in-tune tonal noise waves, add locale to presets, update Russian locale
Also make noise a little closer to C64
2024-08-17 16:38:46 +03:00
LTVA1 4e7c1773ed fix 2024-08-17 13:49:56 +03:00
LTVA1 80933510a5 rework noise readout, alter noise freq for specific feedback bits config 2024-08-17 13:40:15 +03:00
LTVA1 4079f7a8c3 some edits in Russian locale, start working on presets locale 2024-08-17 12:22:38 +03:00
LTVA1 e35bcb3549
Merge branch 'tildearrow:master' into SID3 2024-08-17 08:19:36 +03: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
LTVA1 5b13461087 Update insEdit.cpp 2024-08-16 17:55:40 +03:00
LTVA1 90e5fb79e5 cutoff and resonance scaling and instrument save/load!
also mix minmod CPU usage variable initialization, and work a bit on Russian locale
2024-08-16 17:37:07 +03: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
LTVA1 5d6dcd60bf Merge branch 'master' of https://github.com/tildearrow/furnace into tildearrow-master 2024-08-16 10:35:32 +03:00
LTVA1 466adb5613 localize channel pair hints 2024-08-16 10:31:23 +03:00
LTVA1 3b4c7bfb6d prepare UI for software cutoff/resonance scaling 2024-08-16 10:22:59 +03: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
LTVA1 87e0a9fbff oops 2024-08-14 22:16:28 +03:00
LTVA1 5f0c61d225 C64 and SID2 channel pairs 2024-08-14 22:09:07 +03:00
LTVA1 75f35e91d6 finish channel pairs for dave chip 2024-08-14 21:48:57 +03:00
freq-mod 33f56ba531 remove leftovers 2024-08-14 20:27:58 +02:00
LTVA1 b6ecd79ffa Merge branch 'master' of https://github.com/tildearrow/furnace into SID3 2024-08-14 21:19:12 +03:00
LTVA1 006fe144ac version bump... 2024-08-14 21:17:10 +03:00
LTVA1 7c324ec39d naive channel pair refactor (dumb replace one pair with vector of pairs) 2024-08-14 20:01:16 +03: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
LTVA1 0ea53fdae5 phase reset effects & fix wavetable change 2024-08-13 20:36:45 +03: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
LTVA1 46f1ae33c7 add cutoff and pulse width slides for C64, SID2 and SID3
Also add clipping for ADSR, duty and cutoff when in instrument types you go SID3 -> SID2 or SID2 -> C64 or SID3 -> C64
2024-08-12 16:54:26 +03:00
LTVA1 e0df55749a MOAR EFFECTS!! 2024-08-12 12:59:34 +03:00
tildearrow 7591b2ed6a Byte-Sized Bop
by Someone64
2024-08-12 04:10:44 -05:00
LTVA1 6417da27e9 add different clock speed, optimize channel processing, add quarter clock speed flag 2024-08-12 11:22:10 +03:00
LTVA1 802f55a26e hide some settings in inst UI for wave channel, do sample reg writes interleaved with usual reg writes 2024-08-11 21:41:48 +03:00
AArt1256 8480e31430 upd1771c instrument colors yay 2024-08-11 17:38:06 +03:00
LTVA1 d38a2b4f37
Merge branch 'tildearrow:master' into SID3 2024-08-11 17:03:06 +03:00
LTVA1 65d65ef81e add phase invesrion for left/right channel and feedback 2024-08-11 16:47:49 +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
tildearrow 0325f9ed57 NO 2024-08-10 19:50:58 -05:00
tildearrow 148f49eb2b further preparations 2024-08-10 19:38:50 -05:00
tildearrow a4aa408912 apvr eatavel eao rso jyrsovrs
to-do:
- make an "exporting ROM" dialog with progress and all
- move TIunA export to the ROM export framework
- perhaps do the same with ZSM in the future?
2024-08-10 19:25:01 -05:00
LTVA1 f5877abafe add distortion to wave channel as well... 2024-08-10 23:45:12 +03:00
LTVA1 845b36e3f2 throw in some shitty asymmetrical distortion (no, it's not 6581 SID distortion you want... sigh) 2024-08-10 22:49:39 +03:00
LTVA1 57f4f64bbb clarify 2024-08-10 15:32:05 +03:00
AArt1256 1863703203 added sample maps? 2024-08-10 14:43:48 +03:00
LTVA1 3206b39525 add filter mode macro, SID2 wave mix macro tips 2024-08-10 14:21:28 +03:00
tildearrow 48523add00 asfgdhk;lj 2024-08-10 02:16:30 -05:00
AArt1256 cf6d485f4c quick change to make PCM channel mutable 2024-08-09 18:10:20 +03:00
AArt1256 37b58dbdb6 noise channel fixed 2024-08-09 16:17:33 +03:00
LTVA1 4ac2338cd7 sigh 6 2024-08-09 15:41:04 +03:00
LTVA1 6349f161eb sigh 5 2024-08-09 15:13:16 +03:00
LTVA1 37fc2ece2c fx fix 2024-08-09 14:33:34 +03:00
LTVA1 6bf391b4bc wavetables and samples for SID3! (unfinished) 2024-08-09 14:30:45 +03:00
AArt1256 4f0572ff66 why 2 2024-08-09 13:13:34 +03:00
AArt1256 7fa61a564c why 2024-08-09 13:09:06 +03:00