11 years ago[NCSF] Minor code changes to reduce code duplication.
Naram Qashat []
[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.

11 years ago[NCSF] Implemented the random, variable, and conditional commands. Also fixed loop counter.
Naram Qashat []
[NCSF] Implemented the random, variable, and conditional commands. Also fixed loop counter.

11 years agoReverted the sound changes back to the original FSS code, but with the fix to clamp the total volume.
Naram Qashat []
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.

11 years ago[NCSF] Removed the Cnv_Scale function as it seemed to cause sounds to be too loud in some cases.
Naram Qashat []
[NCSF] Removed the Cnv_Scale function as it seemed to cause sounds to be too loud in some cases.

11 years ago[NCSF] Fix volume issues with a little help from the Nintendo DS SDK.
Naram Qashat []
[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.

11 years agoMade note of update to zlib 1.28. (Should actually say 1.2.8, but I'll fix that in the future.)
Naram Qashat []
Made note of update to zlib 1.28. (Should actually say 1.2.8, but I'll fix that in the future.)

11 years ago[NCSF] Should've updated the version number before.
Naram Qashat []
[NCSF] Should've updated the version number before.

11 years ago[NCSF] Minor comment fix from the previous NCSF commit.
Naram Qashat []
[NCSF] Minor comment fix from the previous NCSF commit.

11 years ago[2SF] Update from asmjit.
Naram Qashat []
[2SF] Update from asmjit.

11 years ago[NCSF] Interpolation changes:
Naram Qashat []
[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.

11 years agoRemoving this file as it doesn't help since common.props is already tracked, trying another route.
Naram Qashat []
Removing this file as it doesn't help since common.props is already tracked, trying another route.

11 years agoTrying 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 []
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).

11 years agoThis should've never got committed as it was, oops.
Naram Qashat []
This should've never got committed as it was, oops.

11 years ago* Small Makefile changes.
Naram Qashat []
* 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).

11 years ago[2SF] Minor edit of a preprocessor line.
Naram Qashat []
[2SF] Minor edit of a preprocessor line.

11 years agoLots of changes in regards to strings, as follows:
Naram Qashat []
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.

12 years agoSome recent fixes from asmjit.
Naram Qashat []
Some recent fixes from asmjit.

12 years agoReplaced the Makefile with one that handles things better.
Naram Qashat []
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.

12 years ago* Fixes for gcc and clang (while they can compile the code, the DLLs made aren't functional, but oh well).
Naram Qashat []
* 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.

12 years ago[GSF] Copied a few things from kode54's viogsf.
Naram Qashat []
[GSF] Copied a few things from kode54's viogsf.

12 years agoFix compile issue with the last commit.
Naram Qashat []
Fix compile issue with the last commit.

12 years agoUse std::copy_n/std::fill_n instead of std::copy/std::fill where possible.
Naram Qashat []
Use std::copy_n/std::fill_n instead of std::copy/std::fill where possible.

12 years agoMinor cleanups in the framework.
Naram Qashat []
Minor cleanups in the framework.

12 years agoA few more cases of using #pragma once instead of include guards.
Naram Qashat []
A few more cases of using #pragma once instead of include guards.

12 years agoUse #pragma once instead of include guards.
Naram Qashat []
Use #pragma once instead of include guards.

12 years ago[SNSF] Make the SNSF sinc resampler use Lanczos instead.
Naram Qashat []
[SNSF] Make the SNSF sinc resampler use Lanczos instead.

12 years agoSomehow 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 []
Somehow I've had the wrong include directory in the project files all this time, and thus was missing a file as well. Oops.

12 years ago[2SF] Minor template removal.
Naram Qashat []
[2SF] Minor template removal.

12 years agoUpdating the VBA-M code to revision 1231.
Naram Qashat []
Updating the VBA-M code to revision 1231.

12 years agoReverted Sinc interpolation back to the Lanczos window.
Naram Qashat []
Reverted Sinc interpolation back to the Lanczos window.

13 years ago[SNSF] Replaced most uses of fill/copy with fill_n/copy_n, and a few other minor code cleanups.
Naram Qashat []
[SNSF] Replaced most uses of fill/copy with fill_n/copy_n, and a few other minor code cleanups.

13 years ago[SNSF] Massive code cleanup, as well as removing as much unused code/variables as possible.
Naram Qashat []
[SNSF] Massive code cleanup, as well as removing as much unused code/variables as possible.

13 years ago[GSF] Minor changes.
Naram Qashat []
[GSF] Minor changes.

13 years ago[GSF] Somehow these were not committed earlier.
Naram Qashat []
[GSF] Somehow these were not committed earlier.

13 years ago[GSF] Some more code cleanup, also removed a few files that were unneeded.
Naram Qashat []
[GSF] Some more code cleanup, also removed a few files that were unneeded.

13 years ago[GSF] Massive code cleanup.
Naram Qashat []
[GSF] Massive code cleanup.

(As an aside, blargg's code style makes me go blarg myself.)

13 years ago[GSF] Removed Types.h because all it really was doing now was including stdint.
Naram Qashat []
[GSF] Removed Types.h because all it really was doing now was including stdint.

13 years ago[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 []
[GSF] Cleanup, a tiny bit of making sure it was like viogsf, also used the standard integer types and not VBA-M's typedefs.

13 years ago[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 []
[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.

13 years agoAdded common.props to the in_xsf_framework project.
Naram Qashat []
Added common.props to the in_xsf_framework project.

13 years agoAdded README file.
Naram Qashat []
Added README file.

13 years agoAdded 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 []
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.

13 years ago* Replaced Lanczos window with Hann window for the windowed sinc function in the NCSF plugin.
Naram Qashat []
* 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.

13 years agoUpdate 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 []
Update from FSS commits 39e6fa8 and 5204c55, guards ADSR against invalid values, these may not be 100% correct but they currently work as is.

13 years agoMinor update to scale the phase offset, thanks to kode54.
Naram Qashat []
Minor update to scale the phase offset, thanks to kode54.

13 years agoFixed 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 []
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.

13 years agoAdded 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 []
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.

13 years agoSome more code cleanup in DeSmuME.
Naram Qashat []
Some more code cleanup in DeSmuME.

13 years agoUpdated to latest DeSmuME SVN.
Naram Qashat []
Updated to latest DeSmuME SVN.

13 years agoSlight 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 []
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.

13 years agoRemoved a bunch of casts, they seem to be fine without them in most cases.
Naram Qashat []
Removed a bunch of casts, they seem to be fine without them in most cases.

13 years agoForgot to update the version number on the last commit.
Naram Qashat []
Forgot to update the version number on the last commit.

13 years agoImplemented circular interpolation buffer to fix interpolation, thanks to kode54 for the code.
Naram Qashat []
Implemented circular interpolation buffer to fix interpolation, thanks to kode54 for the code.

13 years agoUpdating 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 []
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.

13 years agoRemoved the save state loading from the 2SF player and updated the VBA-M code to the latest revision.
Naram Qashat []
Removed the save state loading from the 2SF player and updated the VBA-M code to the latest revision.

13 years agoFor 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 []
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.

13 years agoVery minor optimization on decoding ADPCM when reading an SWAV.
Naram Qashat []
Very minor optimization on decoding ADPCM when reading an SWAV.

13 years agoRemoved the optimal, lagrange, and hermite interpolations and added in 2nd-order osculating.
Naram Qashat []
Removed the optimal, lagrange, and hermite interpolations and added in 2nd-order osculating.

13 years agoAdded B-spline and Optimal interpolations to in_snsf, but I'll probably be changing this later.
Naram Qashat []
Added B-spline and Optimal interpolations to in_snsf, but I'll probably be changing this later.

13 years ago* Added more interpolation methods to in_ncsf.
Naram Qashat []
* 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.

13 years agoUpdated version number for the previous 2 revisions.
Naram Qashat []
Updated version number for the previous 2 revisions.

13 years agoUtilize SSEQ's volume from it's INFO section, plus some minor optimizations.
Naram Qashat []
Utilize SSEQ's volume from it's INFO section, plus some minor optimizations.

13 years agoFix crashing if a file no longer exists when Winamp tries to access it.
Naram Qashat []
Fix crashing if a file no longer exists when Winamp tries to access it.

13 years agoAdded new interpolation methods, added version number in plugin description.
Naram Qashat []
Added new interpolation methods, added version number in plugin description.

13 years agoCorrected issue with terminating the SSEQ player by actually making it stop properly.
Naram Qashat []
Corrected issue with terminating the SSEQ player by actually making it stop properly.

13 years agoCleanup of some warnings, updating modification dates, using nullptr instead of NULL in some cases.
Naram Qashat []
Cleanup of some warnings, updating modification dates, using nullptr instead of NULL in some cases.

13 years agoUtilized 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 []
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.

13 years agoMinor lack of a reference in IsDigitsOnly.
Naram Qashat []
Minor lack of a reference in IsDigitsOnly.

13 years agoFixed minor, non-breaking issue with reading SSEQs.
Naram Qashat []
Fixed minor, non-breaking issue with reading SSEQs.

13 years agoFixed getting the path of the filename for XSFFile.
Naram Qashat []
Fixed getting the path of the filename for XSFFile.

13 years agoImport actual code.
Naram Qashat []
Import actual code.

13 years agoInitial creation of new git repository, this is currently lacking the source files, will be added in the next commit.
Naram Qashat []
Initial creation of new git repository, this is currently lacking the source files, will be added in the next commit.