aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-07Remove redundant event handling for preset selection dialog.Gravatar Chris Xiong
... which is also causing trouble for some systems.
2021-11-07visualization / renderer: fixes and fixes.Gravatar Chris Xiong
Fixed incorrect values shown for denominator of current time singature. Fixed hidding OSD while rendering completely messing up the whole thing. FPS of offscreen rendering is no longer capped.
2021-11-07Set device id of fluidsynth to 16, as used by most GS synths.Gravatar Chris Xiong
(This should really be a new option...) Also strip the marker bytes of sysex messages before sending to Fluidsynth. Someone didn't read the docs before coding.
2021-06-04Rendered visualization should no longer drift away from correct timing...Gravatar Chris Xiong
... after tempo changes.
2021-05-30Fix certain sysex messages causing crashes.Gravatar Chris Xiong
2021-05-30Control the 3D viewport in a more sane way.Gravatar Chris Xiong
No more random viewport resets for real this time.
2021-01-27Fix all missing return statements in the current code base.Gravatar Chris Xiong
2021-01-25Fix yet another function with no return statement.Gravatar Chris Xiong
2021-01-23Pass 4 effect buffers (as it should be) to fluid_synth_process.Gravatar Chris Xiong
Also retrieve active voices from the audio processing callback. (the values are still messed up sometimes...)
2021-01-08Missing return statement.Gravatar Chris Xiong
why do I keep doing this
2021-01-07new_fluid_audio_driver2 doesn't work for any audio drivers available on Windows.Gravatar Chris Xiong
whoops. another opportunity to inject my crappy code into fluidsynth though.
2021-01-07ci(windows): copy windows-extra plugin, use rtmidi from MSYS2Gravatar Gary Wang
2021-01-07feat: windows extra pluginGravatar Gary Wang
2021-01-07Wait voice now checks for output level instead of polyphony.Gravatar Chris Xiong
Fluidsynth sometimes screw up the number of currently sounding voices.
2021-01-07Fix another freezing issue on Windows.Gravatar Chris Xiong
insert bad pun here
2021-01-07Stupid sequencer puts reset messages after channel setup messages.Gravatar Chris Xiong
This is only a workaround. These midi files should be seen as ill-formed. This patch puts any sysex messages ahead of other messages that have the same time stamp.
2021-01-07Add support for devices that requires a short delay after the reset message.Gravatar Chris Xiong
SD-20/SC-8850/SC-8820 explicitly require such delay (50ms). This is not a requirement for SD-80/SD-90. To add the delay, append a single double digit hexadecimal number denoting the time to wait in milliseconds to the reset message.
2021-01-07Fixed even more misplaced patches in the only device configuration file.Gravatar Chris Xiong
2021-01-07Fix misplaced patch.Gravatar Chris Xiong
2021-01-07Fix very random crashes when run with QtCreator and freezes on Windows.Gravatar Chris Xiong
Guys, don't code at 1am.
2020-12-25Proper event-based playback interruption.Gravatar Chris Xiong
Also fixed random pauses after seeking. This should address everything left over by 64fd118e.
2020-12-14Emergency.Gravatar Chris Xiong
2020-12-14Before we have tick-based playback, we get this monstrosity.Gravatar Chris Xiong
This should help fixing issues such as "welp my player freezes when I switch tracks" etc. Don't worry. Event-based playback is here to stay. TODOs: - Maybe switch to an implementation based on condition variables? Current implementation is just a mess and unnecessarily wastes CPU time. Also that will allow several new interfaces to be added (such as player.interrupt) - Fix seeking. Seeking is still weird if there's a long gap between events.
2020-12-14Add unified interface for retrieving playback status.Gravatar Chris Xiong
This should make several methods obsolete, however I'm too lazy to migrate them right now. So one more item on the todo list I guess.
2020-11-14Add Windows CI courtesy of @BLumia.Gravatar Chris Xiong
Squashed commit of the following: commit f4f3bb2de34de497502e5fcc85a2404634f20620 Author: Gary Wang <wzc782970009@gmail.com> Date: Fri Nov 13 22:06:19 2020 +0800 Update windows-msys2.yml commit 7f461cf24aaaf4ee7379157327a406f409adcdef Author: Gary Wang <wzc782970009@gmail.com> Date: Fri Nov 13 21:37:07 2020 +0800 Update windows-msys2.yml commit 2636ea029927c40e4e72168f7669314ced1bc624 Author: Gary Wang <wzc782970009@gmail.com> Date: Thu Nov 12 23:00:43 2020 +0800 Update windows-msys2.yml commit 5fae2b1de295f614864d4403d9104ce6f01b951a Author: Gary Wang <wzc782970009@gmail.com> Date: Thu Nov 12 22:29:08 2020 +0800 Update windows-msys2.yml commit 748e4c4e5118120f1393a75b912d9dfc78ea9b50 Author: Gary Wang <wzc782970009@gmail.com> Date: Thu Nov 12 19:39:52 2020 +0800 Update windows-msys2.yml commit 1b4b048d80b2573c7ae19ae3695e3f56e43be3e9 Author: Gary Wang <wzc782970009@gmail.com> Date: Thu Nov 12 14:16:55 2020 +0800 Update windows-msys2.yml commit fc39ea6088522c7604e4e3cd9f4be1facc7460b3 Author: Gary Wang <wzc782970009@gmail.com> Date: Thu Nov 12 13:50:30 2020 +0800 Update windows-msys2.yml commit 91af4cc3213d11002a8e7b500a66e5af8a8d0f86 Author: Gary Wang <wzc782970009@gmail.com> Date: Thu Nov 12 13:43:05 2020 +0800 Update windows-msys2.yml commit 3fd1ad4a18a31e307f332a272d6e12ad31957234 Author: Gary Wang <wzc782970009@gmail.com> Date: Thu Nov 12 13:20:32 2020 +0800 Update windows-msys2.yml commit d093a45e98502180b746933e1b429e9c302a9d6b Author: Gary Wang <wzc782970009@gmail.com> Date: Thu Nov 12 12:54:56 2020 +0800 Update windows-msys2.yml commit 896a9c60f5a81ee1411e8b92dc80fc63abe5810b Author: Gary Wang <wzc782970009@gmail.com> Date: Thu Nov 12 00:00:05 2020 +0800 Update windows-msys2.yml commit 5d8381bd3e1ad03bd1d5efc3795e89de4c52545c Author: Gary Wang <wzc782970009@gmail.com> Date: Wed Nov 11 23:34:33 2020 +0800 Update windows-msys2.yml commit 42182bd553f666a1aba023a847505fd4e52062d0 Author: Gary Wang <wzc782970009@gmail.com> Date: Wed Nov 11 23:26:54 2020 +0800 Update windows-msys2.yml commit 704d2b0f385a1ae62238e8a118b8cdebfab800ea Author: Gary Wang <wzc782970009@gmail.com> Date: Wed Nov 11 23:14:51 2020 +0800 Update windows-msys2.yml commit 4e19b40ff8aaacbecf6825fc39092454f213ff98 Author: Gary Wang <wzc782970009@gmail.com> Date: Wed Nov 11 23:01:34 2020 +0800 Create windows-msys2.yml
2020-11-11Unnecessary space?Gravatar Chris Xiong
2020-11-11setMargin() disappeared?Gravatar Chris Xiong
2020-11-11Don't spam qmpmidioutfluid everywhere.Gravatar Chris Xiong
Also stop using stuff removed from Qt 6 (not yet done).
2020-11-11Fix stupid divide by zero crash.Gravatar Chris Xiong
2020-11-10fix: missing link libraries path for windows buildGravatar Gary Wang
2020-10-14fix: windows buildGravatar Gary Wang
2020-09-30New application icon by the one and only @ShadowPower.Gravatar Chris Xiong
2020-08-05I can still code!Gravatar Chris Xiong
Next / Prev track is now selected based on the current track being played rather than the selected track in the playlist window. Also fixed stupid a mistype.
2020-05-12Stop using a dumber version of QRect().Gravatar Chris Xiong
This is going to break old configuration, so bump QMP_CONFIGURATION_FILE_REV.
2020-05-12Format EVERYTHING.Gravatar Chris Xiong
Hopefully this will make the source code less horrendous and actually readable. The command used was: ``` astyle --suffix=none --style=allman --attach-extern-c --attach-closing-while --indent-switches --indent-after-parens --pad-oper --pad-header --unpad-paren --align-pointer=name --recursive './*.cpp,*.hpp' ```
2020-05-02Blindly committed Windows code never worked.Gravatar Chris Xiong
I successfully kept my clean record of zero ports working first try.
2020-05-02(presumably) Ported the visualization renderer to Windows.Gravatar Chris Xiong
2020-05-02New command line option "list-options" for visualization renderer.Gravatar Chris Xiong
Add documentation for the visualization renderer.
2020-05-02Reworked parameter passing for the frame processor program.Gravatar Chris Xiong
2020-05-01Fixed visualization viewport randomly reverting to default.Gravatar Chris Xiong
Fixed unexpected pitch wheel activity in rendered video. Remove type checking in the option syntax.
2020-05-01Visualization renderer now understands command line arguments.Gravatar Chris Xiong
Fixed wrong tick calculation in render mode. Fixed most of the hangs and crashes associated with the renderer. Do not write pixel data in the visualization thread.
2020-04-30Add visualization renderer.Gravatar Chris Xiong
Add API for getting raw pitch bend values. Fix non-compliant RPN handling. The visualization renderer is still at the "proof-of-concept" stage. It's not very usable (yet).
2020-04-29Make all methods in the API pure virtual.Gravatar Chris Xiong
Finally, creating multiple implementations of the API is now much easier.
2020-04-29Decouple CMidiPlayer and qmpMidiOutFluid.Gravatar Chris Xiong
Visualization renderer should no longer depend on the fluidsynth library. Reworked the "wait voice" option: now it only takes effect if an automatic track switch happens. Actually process events while waiting for async operation to finish.
2020-04-28Preparation for the visualization renderer.Gravatar Chris Xiong
The visualization should now sync better. Remove calls to real-time APIs in the visualization loop.
2020-04-28Update SMELT.Gravatar Chris Xiong
2020-04-20Remove now unused callback.Gravatar Chris Xiong
2020-04-20Move Gain to the FluidSynth section.Gravatar Chris Xiong
2020-04-19Fix unintended control values sent to external midi devices.Gravatar Chris Xiong
2020-04-19Add configuration file revision checking.Gravatar Chris Xiong
Upgrading should be less dangerous now.