zeromus [Thu, 09 Nov 2017 21:15:56 +0000 ]
Update XSFPlayer_2SF.cpp
Make it substantially more obvious how to hack the 2sf player to output at a different samplerate by removing the secret implicit 44100 based calculation
Naram Qashat [Wed, 10 Dec 2014 04:06:40 +0000 ]
[NCSF] Update version and README for the previous change.
Naram Qashat [Sat, 06 Dec 2014 23:41:35 +0000 ]
Fix unsigned underflow with a loop offset of 0 on an ADPCM SWAV.
Also a minor optimization when reading the SWAVs.
Naram Qashat [Sat, 08 Nov 2014 04:30:12 +0000 ]
[NCSF] Update README file for the previous 2 commits.
Naram Qashat [Mon, 27 Oct 2014 08:15:11 +0000 ]
[NCSF] Applied sinc modification from kode54:
Sinc mode should not scale the window, just the sinc pulse.
Naram Qashat [Sun, 26 Oct 2014 03:12:53 +0000 ]
[NCSF] Utilize the PLAYER blocks in the SDAT if they exist.
Backwards compatibility is kept by treating the lack of PLAYER info as
if all channels are able to be allocated.
Naram Qashat [Fri, 24 Oct 2014 23:58:46 +0000 ]
[NCSF] Very minor cleanups.
Naram Qashat [Fri, 24 Oct 2014 08:28:29 +0000 ]
[2SF] A few commits from the asmjit project.
Naram Qashat [Fri, 24 Oct 2014 03:27:37 +0000 ]
[NCSF] Bump version number for the previous fixes.
Naram Qashat [Fri, 24 Oct 2014 03:21:37 +0000 ]
Adding a .gitignore to stop git from trying to version certain files.
Naram Qashat [Fri, 24 Oct 2014 03:19:16 +0000 ]
[NCSF] Documented what FSS functions were originally used.
* Changed default of modDelay to 0.
* Also minor cleanup.
Naram Qashat [Fri, 24 Oct 2014 03:05:57 +0000 ]
[NCSF] Reversed the order of the PSG and Noise channel allocations.
This was suggested by fincs as the proper way to fix channels being
cutoff incorrectly.
(Also moved volume assignment so it was less duplicated.)
Naram Qashat [Fri, 24 Oct 2014 03:03:52 +0000 ]
[NCSF] Changed sinc interpolation to a Nuttall 3-term Window on suggestion from kode54.
Naram Qashat [Fri, 24 Oct 2014 01:52:35 +0000 ]
[NCSF] Fixed unintentional infinite loop in the previous attack rate calculation fix.
Naram Qashat [Fri, 24 Oct 2014 01:40:50 +0000 ]
[NCSF] Changes to the Sound View debug window:
* No longer has the hold/busy items.
* Source Address replaced with State.
Naram Qashat [Wed, 22 Oct 2014 23:44:45 +0000 ]
[NCSF] Partial fix to channels being unintentionally cut off.
Naram Qashat [Wed, 22 Oct 2014 21:55:03 +0000 ]
[NCSF] Minor correction to the attack rate calculation.
(Basically, it should never allow the same volume level as the previous
calculation.)
Naram Qashat [Wed, 22 Oct 2014 21:30:48 +0000 ]
[NCSF] Corrected attack rate calculation.
Naram Qashat [Mon, 20 Oct 2014 06:33:26 +0000 ]
[NCSF] Minor edit with the debug Sound View so it doesn't use a reference.
Naram Qashat [Sat, 18 Oct 2014 08:35:07 +0000 ]
[NCSF] Bump version number for the previous volume fixes.
Naram Qashat [Sat, 18 Oct 2014 08:32:32 +0000 ]
[NCSF] One more volume fix, the default volume is 127, not 64.
Naram Qashat [Sat, 18 Oct 2014 08:20:53 +0000 ]
[NCSF] Correctly handle the SSEQ volume from the INFO block.
Naram Qashat [Thu, 16 Oct 2014 05:43:49 +0000 ]
[NCSF] REALLY remove minor instance of variable shadowing.
Naram Qashat [Thu, 16 Oct 2014 00:28:01 +0000 ]
[NCSF] Remove minor instance of variable shadowing.
Naram Qashat [Wed, 15 Oct 2014 22:03:10 +0000 ]
[NCSF] Move track allocation into the SSEQ command handler.
This was suggested by fincs after I found some sequences that appeared
to do track allocations later in them than expected originally.
Naram Qashat [Tue, 14 Oct 2014 01:21:03 +0000 ]
[NCSF] Minor code changes to reduce code duplication.
* Made a function in the Override struct to centralize where it
determines whether to use the override value or not.
* Made a function that returns the number of bytes that a command needs,
and used that to remove all the conditionals for processing a command to
instead handle that within the IF command itself.
Thanks to fincs and Henke37 for the suggestions to do this.
Naram Qashat [Mon, 13 Oct 2014 22:00:29 +0000 ]
[NCSF] Implemented the random, variable, and conditional commands. Also fixed loop counter.
Naram Qashat [Tue, 07 Oct 2014 21:45:05 +0000 ]
Reverted the sound changes back to the original FSS code, but with the fix to clamp the total volume.
Also commented out the code that uses the SSEQ's volume, it seems as if
the DS doesn't use it so I probably shouldn't be using it either.
Naram Qashat [Mon, 06 Oct 2014 00:17:36 +0000 ]
[NCSF] Removed the Cnv_Scale function as it seemed to cause sounds to be too loud in some cases.
Naram Qashat [Mon, 06 Oct 2014 00:00:09 +0000 ]
[NCSF] Fix volume issues with a little help from the Nintendo DS SDK.
Also added a clone of DeSmuME's Sound View that is only build during a
debug build, which helped to identify the above issues.
Naram Qashat [Sun, 28 Sep 2014 19:30:52 +0000 ]
Made note of update to zlib 1.28. (Should actually say 1.2.8, but I'll fix that in the future.)
Naram Qashat [Sun, 28 Sep 2014 18:43:16 +0000 ]
[NCSF] Should've updated the version number before.
Naram Qashat [Sun, 28 Sep 2014 04:13:39 +0000 ]
[NCSF] Minor comment fix from the previous NCSF commit.
Naram Qashat [Sun, 28 Sep 2014 04:12:43 +0000 ]
[2SF] Update from asmjit.
Naram Qashat [Sun, 28 Sep 2014 04:07:18 +0000 ]
[NCSF] Interpolation changes:
* Removed Cosine, 4-Point B-Spline, 6-Point B-Spline, and 6-point
Osculating.
* Added 4-Point Legrange and 6-Point Legrange.
* Changed wording of the Sinc interpolation to mention that it is
16-point.
Naram Qashat [Thu, 25 Sep 2014 17:08:47 +0000 ]
Removing this file as it doesn't help since common.props is already tracked, trying another route.
Naram Qashat [Thu, 25 Sep 2014 16:58:31 +0000 ]
Trying to get git to ignore changes I make to common.props in the future (have to be able to change it to build the DLLs).
Naram Qashat [Thu, 25 Sep 2014 16:39:52 +0000 ]
This should've never got committed as it was, oops.
Naram Qashat [Thu, 25 Sep 2014 16:28:21 +0000 ]
* Small Makefile changes.
* Removed a couple files that were not being used.
* Cleanups found with clang's -Weverything (and shutting it up about a
lot of things that were ridiculous, as well as ignoring some of the
warnings still coming up).
Naram Qashat [Wed, 24 Sep 2014 18:00:04 +0000 ]
[2SF] Minor edit of a preprocessor line.
Naram Qashat [Wed, 24 Sep 2014 17:58:55 +0000 ]
Lots of changes in regards to strings, as follows:
* Removed my custom String class, as well as removed the really old
Unicode ConvertUTF, the UTF Converter, and the UTF Encode/Decode
functions.
* Replaced the above with using standard C++ std::wstring_convert and
std::codecvt_utf8.
* Added headers adapted from llvm's libc++ project for allowing the
above C++ classes to exist with GCC and Clang when libc++ isn't being
used.
* Used std::string over std::wstring whenever possible.
* Added header adapted from llvm's libc++ project to create special
versions of the ifstream and ofstream classes that would utilize _wfopen
on non-MSVC Windows compilers, so those compilers could access files on
Windows that use characters outside the current codepage.
* Removed the -static-libgcc and -static-libstdc++ flags from the
Makefile for non-MSVC builds. The generated DLLs will require extra DLLs
from either Cygwin or MinGW (whichever is used to compile), I've only
tested with MinGW and for some reason they crash Winamp on exit, I have
no idea why.
Naram Qashat [Mon, 22 Sep 2014 15:11:14 +0000 ]
Some recent fixes from asmjit.
Naram Qashat [Fri, 19 Sep 2014 00:02:22 +0000 ]
Replaced the Makefile with one that handles things better.
* g++ compiled DLLs seem to not be seen by Winamp when the
-static-libgcc and -static-libstdc++ flags are used.
* clang++ compiled DLLs seem to cause Winamp to crash on exit.
Naram Qashat [Wed, 17 Sep 2014 23:51:45 +0000 ]
* Fixes for gcc and clang (while they can compile the code, the DLLs made aren't functional, but oh well).
* [2SF] Used more up-to-date asmjit, despite the ugly looking code.
Naram Qashat [Mon, 15 Sep 2014 18:27:18 +0000 ]
[GSF] Copied a few things from kode54's viogsf.
Naram Qashat [Mon, 08 Sep 2014 20:57:24 +0000 ]
Fix compile issue with the last commit.
Naram Qashat [Mon, 08 Sep 2014 20:52:49 +0000 ]
Use std::copy_n/std::fill_n instead of std::copy/std::fill where possible.
Naram Qashat [Mon, 08 Sep 2014 19:06:52 +0000 ]
Minor cleanups in the framework.
Naram Qashat [Mon, 08 Sep 2014 18:51:19 +0000 ]
A few more cases of using #pragma once instead of include guards.
Naram Qashat [Mon, 08 Sep 2014 18:47:36 +0000 ]
Use #pragma once instead of include guards.
Naram Qashat [Mon, 08 Sep 2014 18:16:54 +0000 ]
[SNSF] Make the SNSF sinc resampler use Lanczos instead.
Naram Qashat [Mon, 08 Sep 2014 18:16:23 +0000 ]
Somehow I've had the wrong include directory in the project files all this time, and thus was missing a file as well. Oops.
Naram Qashat [Mon, 08 Sep 2014 17:53:30 +0000 ]
[2SF] Minor template removal.
Naram Qashat [Mon, 08 Sep 2014 16:20:28 +0000 ]
Updating the VBA-M code to revision 1231.
Naram Qashat [Tue, 17 Jun 2014 14:40:29 +0000 ]
Reverted Sinc interpolation back to the Lanczos window.
Naram Qashat [Tue, 28 May 2013 02:34:22 +0000 ]
[SNSF] Replaced most uses of fill/copy with fill_n/copy_n, and a few other minor code cleanups.
Naram Qashat [Thu, 23 May 2013 10:02:16 +0000 ]
[SNSF] Massive code cleanup, as well as removing as much unused code/variables as possible.
Naram Qashat [Thu, 16 May 2013 23:35:37 +0000 ]
[GSF] Minor changes.
Naram Qashat [Thu, 16 May 2013 06:09:56 +0000 ]
[GSF] Somehow these were not committed earlier.
Naram Qashat [Thu, 16 May 2013 05:25:34 +0000 ]
[GSF] Some more code cleanup, also removed a few files that were unneeded.
Naram Qashat [Tue, 14 May 2013 05:07:18 +0000 ]
[GSF] Massive code cleanup.
(As an aside, blargg's code style makes me go blarg myself.)
Naram Qashat [Fri, 10 May 2013 23:31:06 +0000 ]
[GSF] Removed Types.h because all it really was doing now was including stdint.
Naram Qashat [Fri, 10 May 2013 21:45:36 +0000 ]
[GSF] Cleanup, a tiny bit of making sure it was like viogsf, also used the standard integer types and not VBA-M's typedefs.
Naram Qashat [Fri, 10 May 2013 19:13:28 +0000 ]
[GSF] Commented out SWI 3 (STOP), based on the last revision of Caitsith2's Highly Advanced GSF plugin, as he said it's not needed for GSFs and actually causes issues with GBS2GSF conversions that are longer than 5 minutes.
Naram Qashat [Thu, 09 May 2013 05:33:20 +0000 ]
Added common.props to the in_xsf_framework project.
Naram Qashat [Thu, 09 May 2013 05:25:49 +0000 ]
Added README file.
Naram Qashat [Wed, 08 May 2013 07:42:24 +0000 ]
Added Sinc resampler to SNSF plugin, as well as fixed issue with there being garbage at the start of an SNSF when played after one has finished.
Naram Qashat [Tue, 07 May 2013 09:42:46 +0000 ]
* Replaced Lanczos window with Hann window for the windowed sinc function in the NCSF plugin.
* Added a ring buffer specifically designed for working with SWAVs to replace the one provided by kode54, still have to give him thanks for the original though.
* Fixed clipping issue caused by invalid clamping values.
* Minor fix to using the min()/max() functions of numeric_limits because Winamp's out.h includes windows.h without my specific wrapper to redefine things.
Naram Qashat [Thu, 02 May 2013 03:08:02 +0000 ]
Update from FSS commits 39e6fa8 and 5204c55, guards ADSR against invalid values, these may not be 100% correct but they currently work as is.
Naram Qashat [Fri, 26 Apr 2013 17:56:54 +0000 ]
Minor update to scale the phase offset, thanks to kode54.
Naram Qashat [Fri, 26 Apr 2013 04:54:28 +0000 ]
Fixed up the Lanczos interpolation in NCSF (thanks to kode54), also allowed the NCSF plugin to use 32-bit samples in it's GenerateSamples function.
Naram Qashat [Wed, 24 Apr 2013 00:29:21 +0000 ]
Added Lanczos interpolation to the NCSF plugin, and cleaned up a bit of the other code, as well as removing pstdint.h since it's no longer needed.
Naram Qashat [Tue, 23 Apr 2013 04:07:41 +0000 ]
Some more code cleanup in DeSmuME.
Naram Qashat [Fri, 19 Apr 2013 17:01:50 +0000 ]
Updated to latest DeSmuME SVN.
Naram Qashat [Fri, 19 Apr 2013 16:45:47 +0000 ]
Slight update from DeSmuME SVN and a bit more code style cleanup of the AsmJit stuff, since I think it's code style is ugly.
Naram Qashat [Fri, 19 Apr 2013 03:22:54 +0000 ]
Removed a bunch of casts, they seem to be fine without them in most cases.
Naram Qashat [Fri, 19 Apr 2013 00:47:39 +0000 ]
Forgot to update the version number on the last commit.
Naram Qashat [Fri, 19 Apr 2013 00:43:31 +0000 ]
Implemented circular interpolation buffer to fix interpolation, thanks to kode54 for the code.
Naram Qashat [Thu, 18 Apr 2013 21:22:55 +0000 ]
Updating in_2sf to use a newish version of DeSmuME, 0.9.9 from SVN. Somewhat cleaned up as well, but not everything because it's a pain in the ass.
Naram Qashat [Sat, 13 Apr 2013 00:27:27 +0000 ]
Removed the save state loading from the 2SF player and updated the VBA-M code to the latest revision.
Naram Qashat [Fri, 12 Apr 2013 17:36:31 +0000 ]
For in_snsf, replaced the B-spline interpolation with the 6-point, 5th-order version, and replaced the Optimal interpolation with 6-point, 5th-order 2nd-order Osculating.
Naram Qashat [Fri, 12 Apr 2013 17:13:27 +0000 ]
Very minor optimization on decoding ADPCM when reading an SWAV.
Naram Qashat [Fri, 12 Apr 2013 14:25:49 +0000 ]
Removed the optimal, lagrange, and hermite interpolations and added in 2nd-order osculating.
Naram Qashat [Fri, 12 Apr 2013 14:24:45 +0000 ]
Added B-spline and Optimal interpolations to in_snsf, but I'll probably be changing this later.
Naram Qashat [Wed, 10 Apr 2013 18:39:59 +0000 ]
* Added more interpolation methods to in_ncsf.
* Cleaned up a little of the code in the Interpolate function in in_ncsf.
* Made it so changes in the config can apply to a running song, depending on the player.
* Slight optimization of in_ncsf's interpolation so it doesn't have as much std::vector accessing.
* Stopped trying to use the slope of the points to determine points outside the sample's range, hopefully will stop some of the clipping.
Naram Qashat [Sun, 07 Apr 2013 20:40:04 +0000 ]
Updated version number for the previous 2 revisions.
Naram Qashat [Sun, 07 Apr 2013 20:39:00 +0000 ]
Utilize SSEQ's volume from it's INFO section, plus some minor optimizations.
Naram Qashat [Sun, 07 Apr 2013 20:38:28 +0000 ]
Fix crashing if a file no longer exists when Winamp tries to access it.
Naram Qashat [Wed, 03 Apr 2013 02:40:32 +0000 ]
Added new interpolation methods, added version number in plugin description.
Naram Qashat [Tue, 02 Apr 2013 07:03:26 +0000 ]
Corrected issue with terminating the SSEQ player by actually making it stop properly.
Naram Qashat [Sat, 30 Mar 2013 20:17:42 +0000 ]
Cleanup of some warnings, updating modification dates, using nullptr instead of NULL in some cases.
Naram Qashat [Sat, 30 Mar 2013 11:36:38 +0000 ]
Utilized more C++11 constructs. Also attempted to fix issue with the Info Box not wanting to come up anymore if the file doesn't exist.
Naram Qashat [Thu, 28 Mar 2013 18:54:12 +0000 ]
Minor lack of a reference in IsDigitsOnly.
Naram Qashat [Wed, 27 Mar 2013 05:21:27 +0000 ]
Fixed minor, non-breaking issue with reading SSEQs.
Naram Qashat [Tue, 26 Mar 2013 10:58:50 +0000 ]
Fixed getting the path of the filename for XSFFile.
Naram Qashat [Tue, 26 Mar 2013 06:41:19 +0000 ]
Import actual code.
Naram Qashat [Wed, 08 May 2013 18:48:14 +0000 ]
Initial creation of new git repository, this is currently lacking the source files, will be added in the next commit.