Commit graph

630 commits

Author SHA1 Message Date
tildearrow 33934bedda let's see 2024-10-02 14:11:27 -05:00
tildearrow 5f78df0cd7 Merge remote-tracking branch 'alederer/macro-editor-list-show-modified' 2024-09-29 16:36:37 -05:00
tildearrow 1f1b9fcc87 I don't trust you
where did you get these numbers from? did you make them up?
first you go "bruh bruh bruh" on me and then you drop this. couldn't
you at least look around a bit?!

since when has OPZ been clocked at 4MHz? who said that it does?
the chip's been designed to run at NTSC colorburst frequency, damn it!

on top of that, you didn't have to make up anything. AT ALL.
fixed frequency is simpler than eating with a fork. you just write the
frequency IN HERTZ (!!), the block and that's it.
really? were these numbers necessary?

oh man....
2024-09-22 16:56:54 -05:00
tildearrow 838646800a OPZ: code style fixes 2024-09-22 03:58:17 -05:00
tildearrow dc47194e3d Merge branch 'master' into opz-improvements 2024-09-22 00:35:46 -05:00
tildearrow fa0c417976 now on insEdit
the final step is to fix pitch linearity
2024-09-21 17:56:37 -05:00
tildearrow d703aa1e97 almost there
eliminate the velociraptor
2024-09-21 17:37:30 -05:00
tildearrow 47f36f99d9 Merge branch 'master' into SID3 2024-09-13 23:46:13 -05:00
tildearrow 0af7275275 hmmm 2024-09-13 23:28:18 -05:00
tildearrow 0b0e6d5e13 a couple corrections
SID3 will have data independent of C64 and SID2
2024-09-13 23:08:25 -05:00
Adam Lederer d19cd493c4 better scaling for envelope/LFO mode 2024-09-12 14:36:55 +02:00
Adam Lederer 66b22cce32 fix: macro editor scaling in "single (list)" mode
specifically the bottom line with "length/step-length/delay" and the associated buttons -- previously would just get cut off when there wasn't enough room, now scales the elements to fit (uses a table)
2024-09-12 14:36:55 +02:00
Adam Lederer 035ac2978f macro editor: add scaling option, show macro len
* extend "autoMacroStepSize" setting to include an option to set the horizontal scale in the macro view based on the longest macro (of the current tab). this means that you'll have a consistent horizontal scale across all the macros, rather than changing for each macro. existing options are unaffected.

* in "single" macro view, i noticed that there was no way of knowing which macros were actually being used (i.e. non-zero len) without selecting each of them individually and then trying to remember. so i added a len readout per macro to the listing.
2024-09-11 11:52:42 -07:00
freq-mod 688517bfd1 OPLL: fix ins preview 2024-09-10 18:13:48 +02:00
cam900 a18dea53e3 Fix tooltip for OPL waveforms 2024-09-09 20:26:59 +09:00
tildearrow 5e5896fd52 Merge branch 'master' into ymf278b 2024-09-05 19:32:48 -05:00
tildearrow 435c858dc9 a couple fixes 2024-09-05 19:24:42 -05:00
tildearrow eb95024fb9 Merge branch 'master' into master 2024-09-05 18:13:46 -05:00
LTVA1 80c7f645fb wha 2024-08-25 18:19:39 +03:00
LTVA1 b905671798 make GUI hide block/f-num in the pitch control mode 2024-08-25 17:26:59 +03:00
LTVA1 e58518ed62 first attempt, arp & pitch macros work 2024-08-25 13:33:01 +03:00
cam900 3e1e2fc2a6 Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-08-25 12:50:51 +09:00
LTVA1 6c20b26a19 make inst editor undo work through ugly goto 2024-08-24 19:30:29 +03:00
LTVA1 12bd2d3829 Merge branch 'master' of https://github.com/tildearrow/furnace into SID3 2024-08-24 19:15:27 +03:00
tildearrow 5a79a70980 GUI: missing WonderSwan pan macros 2024-08-23 20:10:23 -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
LTVA1 f2ffd0e831 allow custom hover text for bitfield macros 2024-08-22 18:11:15 +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 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 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 f4ff45efb7 add cutoff & resonance scaling control effects, work more on Russian locale 2024-08-18 18:55: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 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 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 3b4c7bfb6d prepare UI for software cutoff/resonance scaling 2024-08-16 10:22:59 +03: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
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 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
LTVA1 65d65ef81e add phase invesrion for left/right channel and feedback 2024-08-11 16:47:49 +03:00
AArt1256 f14ff25796 added basic uPD1771C support 2024-08-11 09:22:49 +03:00
LTVA1 57f4f64bbb clarify 2024-08-10 15:32:05 +03:00
LTVA1 3206b39525 add filter mode macro, SID2 wave mix macro tips 2024-08-10 14:21:28 +03:00