mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 16:41:13 +00:00
cd38e5e6be
Squashed commit of the following: commit f961d7764ccab2dbed8166706896b4b3750e5ab9 Author: Randy Heit <rheit@users.noreply.github.com> Date: Sat Mar 7 23:09:24 2015 -0600 Was missing some files from the dumb_static project commit fb6b709c903687015fe775cac5ea1146dfd47051 Author: Randy Heit <rheit@users.noreply.github.com> Date: Sat Mar 7 22:59:38 2015 -0600 Update CMakeLists.txt for new DUMB commit 8201b9aee8cc6e8d7fb7043a0e7062e26b9891b1 Author: Randy Heit <rheit@users.noreply.github.com> Date: Sat Mar 7 22:32:44 2015 -0600 Change the default DUMB quality to cubic commit 0bd9e1858642dd03cf9633ac1fd69e0e54c67c06 Author: Randy Heit <rheit@users.noreply.github.com> Date: Sat Mar 7 22:30:17 2015 -0600 Update mod_volramp for new DUMB volume ramping settings commit 622a67044e3a0aea560e397622b3c6138a8a8cb9 Author: Randy Heit <rheit@users.noreply.github.com> Date: Sat Mar 7 22:14:04 2015 -0600 Add new DUMB quality levels to the menu commit b23a3862b9fba672d2c966d8eebcab7ade951498 Author: Randy Heit <rheit@users.noreply.github.com> Date: Sat Mar 7 21:50:03 2015 -0600 Speed up resamplers by removing lots of implicit function calls commit 9b884676b9c6afbc4bbe889e7e33a10cffa0e90c Author: Randy Heit <rheit@users.noreply.github.com> Date: Sat Mar 7 21:49:57 2015 -0600 Remove direct access to the FP aliasing mixer The original integer one is faster, and using floats gains nothing here, so don't bother offering it. commit 8f9fc8d3317f0db3480577b2c92963dc88f609d0 Author: Randy Heit <rheit@users.noreply.github.com> Date: Sat Mar 7 20:14:34 2015 -0600 Use unsigned phase counters in the resampler - delta should always be positive commit d1228954405bbcd036de66e9bcbe443657cfc590 Author: Randy Heit <rheit@users.noreply.github.com> Date: Fri Mar 6 23:09:14 2015 -0600 Restore DUMB's original resamplers - The all-in-one resamplers in resampler.c have more overhead than the originals, so bring them back. Specifically, the aliasing, linear, and cubic resamplers have been restored to their previous form. Also, this is the original aliasing filter and not the blip_buf one. The resampler.c resamplers are still accessible but at different quality numbers. commit 730e5d98a0c127b9177e5364752d47a82416a0e4 Author: Randy Heit <rheit@users.noreply.github.com> Date: Fri Mar 6 22:00:06 2015 -0600 Convert phase back to integers - Having to call functions to convert to integer and chop off the non-decimal part of the phase for every sample is super heavyweight. commit a6325a54e77d2c523f3637c963a41314287b1b0f Author: Randy Heit <rheit@users.noreply.github.com> Date: Fri Mar 6 20:16:29 2015 -0600 Remove fir_resampler files - What are these still doing here? commit 7f3ebf9b7fa9c9ba9e579b081a263f0e7f949da5 Author: Randy Heit <rheit@users.noreply.github.com> Date: Fri Mar 6 20:01:53 2015 -0600 Try to eek out some more performance from new resamplers - Change some floats to doubles to avoid extra conversions. - Use modf() instead of fmod(), since it seems at least marginally faster. commit 87047ef20068ee394a3132f173bf12ead8aae8b2 Author: Randy Heit <rheit@users.noreply.github.com> Date: Fri Mar 6 19:19:09 2015 -0600 Add DUMBCALLBACK to filesystem functions in music_dumb.cpp commit 36a39ead8109660e1c6054ab91799a765b1ca219 Merge: 92473a0 68d6ef8 Author: Randy Heit <rheit@users.noreply.github.com> Date: Thu Mar 5 21:48:17 2015 -0600 Merge branch 'dumb_branch' into newdumb2 Conflicts: dumb/include/dumb.h dumb/src/core/dumbfile.c dumb/src/helpers/blip_buf.c dumb/src/helpers/fir_resampler.c dumb/src/helpers/resamp3.inc dumb/src/helpers/resample.inc dumb/src/it/itread.c dumb/src/it/itrender.c dumb/src/it/loadmod.c dumb/src/it/loadmod2.c dumb/src/it/readam.c dumb/src/it/readdsmf.c dumb/src/it/readmod.c dumb/src/it/readmod2.c dumb/src/it/readokt.c dumb/src/it/readpsm.c dumb/src/it/readptm.c dumb/src/it/readstm.c commit 92473a05517ba36c632236f08a36d4b1870e526a Author: Randy Heit <rheit@users.noreply.github.com> Date: Thu Mar 5 15:08:15 2015 -0600 Add seek and get_size functions to mem_dfs commit 7635e05007df7415d07cc202c2f082424687a0c4 Author: Randy Heit <rheit@users.noreply.github.com> Date: Thu Mar 5 14:17:25 2015 -0600 Restore ZDoom customizations to DUMB commit cfdb14c4bbb43410a1549e45f54be1e5872759ae Merge: fe3c5bd f900c65 Author: Randy Heit <rheit@users.noreply.github.com> Date: Thu Mar 5 19:00:05 2015 -0600 Merge commit 'f900c65e79c089755013d84cf7f8' into newdumb2 commit fe3c5bdf270c2b1ab65cd8e96bfc16bc88025ae6 Author: Randy Heit <rheit@users.noreply.github.com> Date: Thu Mar 5 18:59:41 2015 -0600 Remove old DUMB to make way for new DUMB commit 68d6ef8731e2499bd99790c40cf0dcd179c9903b Merge: f900c65 2424469 Author: Randy Heit <rheit@users.noreply.github.com> Date: Thu Mar 5 14:19:19 2015 -0600 Merge remote-tracking branch 'dumb_remote/master' into dumb_branch commit f900c65e79c089755013d84cf7f856da78c0bc39 Author: Chris Moeller <kode54@gmail.com> Date: Thu Jun 20 22:27:52 2013 -0700 Fixed C++11 compilation error on Mac OS X commit 24244696518e81dccac26d13e0acfdaeec56b79e Author: Chris Moeller <kode54@gmail.com> Date: Tue Feb 10 00:07:32 2015 -0800 Revert default resampling quality to cubic, as it's a nice trade-off between speed and quality commit 766a20f4816f5d08275a430ed68d788aefb23e5b Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 16 20:52:57 2015 -0800 Fixed compilation with -fPIC on x86 and x64 commit 1f2c97ef13d66e4787ea1da86a75c6ab7d3b66a7 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 12 02:01:36 2015 -0800 Fixed non-SIMD blep and blam handlers commit 7f3dd7ed3c97b1f0030ac24753ab248a8d8374b4 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 12 01:25:45 2015 -0800 Sanity fix for ARM NEON code: vmlaq always adds onto the first input parameter commit 189c55a1eb5902b09579efb79ed9a5b0f960b6c0 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 12 00:03:36 2015 -0800 Typo fix that I only caught by trying to build for ARM commit 85297714b9f89914a04c39c340a2433a20925f2c Author: Chris Moeller <kode54@gmail.com> Date: Sun Jan 11 17:18:53 2015 -0800 Fixed a bug with resampler not clearing blep/blam state variables commit a39b4d41f63ed34754bcfe94e1638ab2fe9ecb71 Author: Chris Moeller <kode54@gmail.com> Date: Sat Jan 10 22:15:47 2015 -0800 Added a way to configure the load-time panning separation of hard panned channels, now defaulting to 25% commit 80e1e1a33c3b1b64012ef24a6537176ea0cc7fd0 Author: Chris Moeller <kode54@gmail.com> Date: Sat Jan 10 21:50:15 2015 -0800 Overhauled resampler quite a bit, and implmented a new band-limited linear interpolation mode commit 8ea3282ceaf9e2915d60310fc74fed6951e2b754 Author: Chris Moeller <kode54@gmail.com> Date: Tue Jan 6 22:44:59 2015 -0800 Fixed STM trying to seek and read non-existing samples commit f3d6e8f9b1718b1ec1791c49150a0e140ea83911 Author: Chris Moeller <kode54@gmail.com> Date: Sun Nov 23 00:46:57 2014 -0800 Revert to MSVC 2013 commit a2e6f8de924377007fdd014945e0ce74e44dac78 Author: Chris Moeller <kode54@gmail.com> Date: Thu Nov 20 21:38:31 2014 -0800 Updated project file to MSVC 2015 commit 7ee625748304ef158460633439c153724171eb3e Author: Chris Moeller <kode54@gmail.com> Date: Sun Sep 28 17:48:43 2014 -0700 Updated bit array source and enabled decoration on both bit array and resampler functions commit 97ef9342913d3ea48e8682bf80a3154631fd481d Author: Chris Moeller <kode54@gmail.com> Date: Fri Aug 15 06:10:31 2014 -0700 Fix for MSVC 2013, which now provides its own log2 commit 2069bbc7ae0aa2b395b844f3085db5b3b989d8fc Author: Chris Moeller <kode54@gmail.com> Date: Fri Aug 15 05:46:02 2014 -0700 Updated project for MSVC 2013 commit c7f726980b257e127cb0fc788674cc5958005588 Author: Chris Moeller <kode54@gmail.com> Date: Wed Jul 2 12:24:31 2014 -0700 Fixed dead note dropping when volume ramping is active commit c08c5988a0f2106660dd61734d91541a0d894e49 Merge: 2c21da5 3b31096 Author: Chris Moeller <kode54@gmail.com> Date: Wed May 21 22:53:31 2014 -0700 Merge pull request #10 from realistschuckle/master Move the block for adding the Mac OS X specific properties to after the registration of the library commit 3b310960c80638e07863de76db5bfdf828577491 Author: Curtis Schlak <realistschuckle@gmail.com> Date: Thu May 22 00:44:09 2014 -0500 Move the block for adding the Mac OS X specific properties to after the registration of the library. commit 2c21da52cbd096f3d7409b58b47d8cddcad6b84b Author: Chris Moeller <kode54@gmail.com> Date: Sun May 11 17:29:13 2014 -0700 Increased precision of resampler phase variable, greatly reducing the incidence of sample rate rounding errors commit 9aa0dc277e1360b918aa62f87c92841f25f141ab Merge: 47337ba 143ac6b Author: Chris Moeller <kode54@gmail.com> Date: Wed May 7 21:09:09 2014 -0700 Merge pull request #9 from Vagabond/adt-valgrind-uninitialized-memory Fix 2 places valgrind warns about unintialized memory being used commit 143ac6b1311c738587defa65016358fa71be0e31 Author: Andrew Thompson <andrew@hijacked.us> Date: Thu May 8 00:02:39 2014 -0400 Fix 2 places valgrind warns about unintialized memory being used commit 47337ba425c79771a522050f85d17db804619ac7 Merge: 5b36c39 57614d0 Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 18 16:38:36 2014 -0700 Merge pull request #8 from katajakasa/ttv-cmake-header-path Change dumb.h install subdirectory in cmake script commit 57614d0c3f4e160d73676f422e1ba282cc135bbf Author: Tuomas Virtanen <katajakasa@gmail.com> Date: Sat Apr 19 02:16:48 2014 +0300 Change dumb.h install subdirectory in cmake script commit 5b36c39238d02c7f1fa8df791ae54935830300ca Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 11 16:34:13 2014 -0700 Adjusted tempo timing a bit, now rounding samples per tick down instead of up commit 7a0d05c002c7ced72ceba489fc603b10b6d72d2b Author: Chris Moeller <kode54@gmail.com> Date: Tue Apr 8 15:15:29 2014 -0700 Updated license from the original project with clause 8 commit 8c6f27a159f53fbf7a622dfd3ac59bb1df23d206 Merge: 6cb73ee 5ed52e6 Author: Chris Moeller <kode54@gmail.com> Date: Tue Apr 8 15:10:19 2014 -0700 Merge pull request #6 from Vagabond/adt-unix-debug Don't include the MSVC debug header if we aren't using MSVC commit 5ed52e609b8fc32e00cb46330a0c08d5f01a0ea5 Author: Andrew Thompson <andrew@hijacked.us> Date: Tue Apr 8 13:10:54 2014 -0400 Don't include the MSVC debug header if we aren't using MSVC commit 6cb73ee3430f7ba10376286a06f28eeb2ed598a2 Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 4 21:45:39 2014 -0700 Attempt to fix issue #5 with compiling cpuid inline assembly on any platform using PIC commit 651e5235b72883f8480bb8138fad01bb168c16f4 Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 4 20:25:43 2014 -0700 Updated sinc resampler with unscaled windowing, which fixes a lot of the previous aliasing commit 9e2c91079ddbbc3d968f17e78b734d529af2afcd Merge: 07c545a 98e7d70 Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 4 19:46:41 2014 -0700 Merge pull request #4 from katajakasa/ttv-cmake-improvements CMake readme+improvements commit 07c545a6b7437f30c2864892a1709efcb50b521b Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 4 17:14:38 2014 -0700 MSVC fix again commit 84ac89922d6fed2d363254965111a0c3222811f1 Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 4 16:50:51 2014 -0700 Resampler now adds input delay and subtracts output delay according to whichever quality is selected, rather than being fixed for sinc only. This fixes blep synthesis mode defeating note on and off volume ramping. commit 98e7d70de745097165e1ea40ded2d3d7e16699b4 Author: Tuomas Virtanen <katajakasa@gmail.com> Date: Fri Apr 4 16:08:13 2014 +0300 Add readme file for cmake building. This adds a simple readme file for building the cmake project. It includes the most common flags and quick build/install commands. commit 33bc39397f3bef48d5c1c688bfec929db653c9d5 Author: Tuomas Virtanen <katajakasa@gmail.com> Date: Fri Apr 4 16:05:43 2014 +0300 CMake improvements and cleanups Add missing "-msse" flag, clean up old BUILD_SHARED flags (cmake has its own system for doing this) and add a couple more build targets. commit fa1413c69747f35c396fce8bbd8d2fba005bb11e Author: Chris Moeller <kode54@gmail.com> Date: Fri Mar 28 17:50:30 2014 -0700 Changed volume ramping so normal transitions to or from zero volume are quicker commit 58556af70c7d3ad68657cbda7ff3d4d74aefb70e Author: Chris Moeller <kode54@gmail.com> Date: Wed Mar 26 20:58:26 2014 -0700 Removed blip_buf.c from remaining projects commit 74390bd111b0496a25967cd1418e6f7ec0a4a868 Author: Chris Moeller <kode54@gmail.com> Date: Wed Mar 26 20:51:43 2014 -0700 Implemented blep synthesis into resampler.c, and removed blip_buf.c and code which referenced the old resamplers commit cb8ab8c6f6ddef8a0938f771e3fad9d0ca6b2735 Author: Chris Moeller <kode54@gmail.com> Date: Wed Mar 26 02:12:33 2014 -0700 Derp commit 56093a31621a65b1f9aae21fbb34cf62e7918a15 Author: Chris Moeller <kode54@gmail.com> Date: Wed Mar 26 02:04:50 2014 -0700 Another meh fix commit 23f4dc1b6d64df60fea10eae1d6bf0a88c6d9c0c Author: Chris Moeller <kode54@gmail.com> Date: Wed Mar 26 01:40:41 2014 -0700 Oops, I somehow seriously broke volume ramping prior to the previous release commit 3bcbb6a94a73e0d782e63055a20e7d90860a8b70 Author: Chris Moeller <kode54@gmail.com> Date: Tue Mar 25 20:19:21 2014 -0700 Made disabling volume ramping actually work correctly commit 4fcf162e992167d875978ce829f4d8347b1297f4 Author: Chris Moeller <kode54@gmail.com> Date: Tue Mar 25 20:04:09 2014 -0700 Forgot to re-add missing function commit dfdf86be5e69122bb1ed4aa34cb6ecc6a7158672 Author: Chris Moeller <kode54@gmail.com> Date: Tue Mar 25 20:01:37 2014 -0700 Oops, typo commit 477011d74059eac39f530737ad73b98da24085f1 Author: Chris Moeller <kode54@gmail.com> Date: Tue Mar 25 19:50:19 2014 -0700 Made volume ramping configurable once again, now configurable between note on/off declicking only or full ramping commit 52a88bedf98d7582e1efda99782534dab0d3f089 Author: Chris Moeller <kode54@gmail.com> Date: Mon Mar 24 18:07:52 2014 -0700 Oops, accidentally made DUMB twice as loud as it should be commit c052e6a45599edc6401e3c3b4513d903f6917e92 Author: Chris Moeller <kode54@gmail.com> Date: Mon Mar 24 17:24:51 2014 -0700 Fixed resampler for large increments; fixes spx-troughtheinfinite.it commit 243233d3977da6693aeb131dce03c03cd74ead75 Author: Chris Moeller <kode54@gmail.com> Date: Mon Mar 24 17:23:44 2014 -0700 Reworked volume ramping a bit commit a15a906131e89bc8b7fb43dc0c54f704f743d7df Author: Chris Moeller <kode54@gmail.com> Date: Sun Mar 23 20:58:27 2014 -0700 Changed sinc window to Nuttal 3 term, and added pre-fill of silence to account for half the window size minus one commit 3e3c7e15806ba01fc6a680def36ee0df4a3bc6da Author: Chris Moeller <kode54@gmail.com> Date: Sun Mar 23 20:58:03 2014 -0700 Removed a stale file from project commit 3aaf281a82702411ba77067784afb6ba936f8a46 Author: Chris Moeller <kode54@gmail.com> Date: Sun Mar 23 13:24:54 2014 -0700 Forgot to remove last vestiges of now unused linear and cubic code commit ee94f03e1d576e6879122dc992f01f2df0b0078c Author: Chris Moeller <kode54@gmail.com> Date: Sun Mar 23 13:05:08 2014 -0700 Oops wrong header commit e1e2edd45fe09a616b336f4e59fcff069da6af4e Author: Chris Moeller <kode54@gmail.com> Date: Sun Mar 23 01:30:23 2014 -0700 Oops commit 6937b61cc57d839278f6ee73bc9471eaa07c7f87 Author: Chris Moeller <kode54@gmail.com> Date: Sun Mar 23 01:28:04 2014 -0700 Replaced built-in linear and cubic resamplers with new routines commit a8d9baafc008bc851bce7b0aef799b74b9732a76 Author: Chris Moeller <kode54@gmail.com> Date: Sat Mar 22 16:29:27 2014 -0700 Renamed lanczos_resampler to sinc_resampler, changed to Blackman window commit 0d21e1317cb204c4975cb98f7ab3ca5685aca910 Author: Chris Moeller <kode54@gmail.com> Date: Fri Mar 21 16:15:28 2014 -0700 Remove comments which are no longer correct commit a2f7fccb2b2cd6b504990b09f784d74b3bb9e8bd Author: Chris Moeller <kode54@gmail.com> Date: Fri Mar 21 15:55:46 2014 -0700 Optimized SSE with optional SSE convolving loop, and doubled the kernel size commit f7e4d06555e314a0b831d8a44a802043d16df69e Author: Chris Moeller <kode54@gmail.com> Date: Fri Mar 21 07:06:51 2014 -0700 Overhauled volume ramping and note start/end declicking, now volume ramping is mandatory commit 02b855c989a02ddf757cf87110857cf376b879e4 Author: Chris Moeller <kode54@gmail.com> Date: Thu Mar 20 22:26:06 2014 -0700 Work around two possible issues in XM reader; Fixes dark_lighthouse.xm. commit b661a11b09185a8e8b8a2c4a5c64021cc928ef12 Author: Chris Moeller <kode54@gmail.com> Date: Tue Mar 4 17:11:22 2014 -0800 Fixed offset effect limiting edge case due to samples being 64 points longer due to LPC processing commit 7e4d1331dee5772d6eb91073ac68f18b1bd4a55d Author: Chris Moeller <kode54@gmail.com> Date: Fri Feb 28 17:51:32 2014 -0800 Revert last change as file was actually broken commit 70c9d7e03ed210010c88acb2024c94fc60d74cdc Merge: 3ec1cc5 b068221 Author: Chris Moeller <kode54@gmail.com> Date: Fri Feb 28 17:06:13 2014 -0800 Merge branch 'master' of github.com:kode54/dumb commit 3ec1cc5db70c2f782b9e4b1f199bfb04ceae8718 Author: Chris Moeller <kode54@gmail.com> Date: Fri Feb 28 17:05:33 2014 -0800 Added a workaround for pattern 255 in the order list commit b0682214bba89f1a6386ed891495a53f74bb67d9 Merge: 3a25c20 3a9b6c7 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 13 23:54:15 2014 -0800 Merge pull request #3 from Vagabond/adt-cmake-install-name Set the dylib install name on OSX commit 3a9b6c7cb585c6b1328a97a8befe2f979a1b009d Author: Andrew Thompson <andrew@hijacked.us> Date: Tue Jan 14 02:54:22 2014 -0500 Set the dylib install name on OSX commit 3a25c206f5610e2626926be036b1ffaa8afab5ef Author: Chris Moeller <kode54@gmail.com> Date: Mon Dec 2 23:17:42 2013 -0800 Fixed panning and sample loops commit 16c119ad546665eef86579cefd2a6501c0e3059f Author: Chris Moeller <kode54@gmail.com> Date: Mon Nov 25 17:05:36 2013 -0800 Fixed assertion checks in case of envelope loops on the last node commit b456e20491ea5edc1c052d21e1c105f2d2d5815b Author: Chris Moeller <kode54@gmail.com> Date: Mon Nov 25 17:05:02 2013 -0800 Added extra safety checking to aliased resampling mode commit 55217b9408a6d8d47e9aed12276d096711d3e8f4 Merge: e5df9e9 30dc8c8 Author: Chris Moeller <kode54@gmail.com> Date: Sun Nov 10 23:41:07 2013 -0800 Merge branch 'ttv-cmake-v2' of https://github.com/omf2097/dumb commit 30dc8c8c9ead24734d0a42994d2fd3186bf05874 Author: Tuomas Virtanen <katajakasa@gmail.com> Date: Mon Nov 11 09:29:52 2013 +0200 Remove unnecessary USE_SSE option from cmake file. commit e5df9e9bec0ff82bce7930ee2dadd5a925cd8342 Author: Chris Moeller <kode54@gmail.com> Date: Sun Nov 10 23:21:34 2013 -0800 Added more architecture type guards to _USE_SSE blocks commit 14bf151cba840ea4db29226c1bcfb07c286b1afa Author: Tuomas Virtanen <katajakasa@gmail.com> Date: Sat Nov 2 21:24:06 2013 +0200 Add initial CMake script and directory commit 094cfcc27187a209a5b457b15276d618fea08658 Author: Chris Moeller <kode54@gmail.com> Date: Sun Nov 10 22:35:24 2013 -0800 Made the inline assembly cpuid function specific to GCC/Clang like it should have been in the first place. commit 2c9ca950a32cd2de05ed8ae384ad08248793fecd Author: Chris Moeller <kode54@gmail.com> Date: Thu Nov 7 19:36:22 2013 -0800 Pan and pitch envelopes carry regardless of NNA being note cut commit e07088e5f65186f78681116f3337a89d9db3f5ae Author: Chris Moeller <kode54@gmail.com> Date: Thu Nov 7 19:06:43 2013 -0800 It is now possible to use both Gxx/Lxx and hx in the volume column in the same row commit ee34129043d15e9cb9f980ab73585bbec8b40314 Author: Chris Moeller <kode54@gmail.com> Date: Thu Nov 7 18:20:52 2013 -0800 Fixed IT mixing Dxx regular volume slide with cx/dx volume column slide effect commit b85fdab6f8102a7df5925d58a4e07b98ed69dd4a Author: Chris Moeller <kode54@gmail.com> Date: Thu Nov 7 17:52:50 2013 -0800 Simplified pan law calculation a bit commit da31373331b91be6d6dd7e83a1e6eee94b0a585a Author: Chris Moeller <kode54@gmail.com> Date: Mon Oct 7 08:11:57 2013 -0700 Fixed Asylum Music Format panning effect commit 5945794aff46562478ff764a841e085448046125 Author: Chris Moeller <kode54@gmail.com> Date: Fri Oct 4 13:14:52 2013 -0700 Fixed a C11 warning by adding a macro lock around blip_t declaration commit bf5dd80894f947d3eca15960ca1b329e9ccde677 Author: Chris Moeller <kode54@gmail.com> Date: Fri Oct 4 10:16:35 2013 -0700 Copied LONG_LONG definition inside of tarray header so it doesn't need to include the main dumb header commit 8298eb20f77e77c92012ca880e479456d0d1112c Author: Chris Moeller <kode54@gmail.com> Date: Fri Oct 4 10:15:52 2013 -0700 Made resampler and SSE filter setup functions public, in case anyone wants to call them early to prevent possible but harmless race conditions commit 23f9ebdf1a385e01b365598527c0a59458a4c99d Author: Chris Moeller <kode54@gmail.com> Date: Fri Oct 4 10:15:00 2013 -0700 Implemented automatic detection of SSE support commit a5652e854199c29a6c06493515d20b0cb939a173 Author: Chris Moeller <kode54@gmail.com> Date: Fri Oct 4 10:12:17 2013 -0700 Renamed init_cubic function in preparation to make it public commit af75f07ccc9813ad19ba5b9a7f488c07834f7e9c Author: Chris Moeller <kode54@gmail.com> Date: Fri Oct 4 10:10:32 2013 -0700 Fixed compilation errors/warnings commit 46a337c17f1921640757007c67f5af3ca2a3ba19 Author: Chris Moeller <kode54@gmail.com> Date: Fri Sep 27 19:59:47 2013 -0700 Envelopes do not carry when New Note Action is Cut commit fed6a743dd695249dde84369b09ac8a4e6facfe7 Author: Chris Moeller <kode54@gmail.com> Date: Fri Sep 27 19:57:03 2013 -0700 Reworked declicker final volume propagation a bit commit 9fc8f92d437a8132e90d53c94e6ca019b928dd1c Author: Chris Moeller <kode54@gmail.com> Date: Fri Sep 27 19:55:52 2013 -0700 Fixed declicker handling cases where a declicking operation lasts longer than the current block commit 5fedef969bbde33acedc5be6dad13e943e3aa98e Author: Chris Moeller <kode54@gmail.com> Date: Fri Sep 27 19:53:31 2013 -0700 Removed start of note ramp when raising volume from zero on a running note, as normal volume ramping will already kick in commit 3a3375f808ee166c78315e1005cd82203e356b3c Author: Chris Moeller <kode54@gmail.com> Date: Fri Sep 27 19:51:13 2013 -0700 Fixed IT envelope loop pickup when the loop start is not on the first tick commit f8dfb33eeaf570b29580736dd1d5092e49ae9ddf Author: Chris Moeller <kode54@gmail.com> Date: Fri Sep 27 19:49:44 2013 -0700 Moved internal headers out of public dumb.h commit 75c25767bcae8a13eb08b00fd46c4922619c34b6 Author: Chris Moeller <kode54@gmail.com> Date: Fri Sep 27 11:21:57 2013 -0700 Added documentation from the original project commit 50e839d4f51e1ff6fcbe68d39519475d7da74c4a Author: Chris Moeller <kode54@gmail.com> Date: Mon Sep 16 15:48:04 2013 -0700 Fixed 8xx effect for MODs, which have a range of 00...FF, not 00...7F or 80 or whatever commit 4a26a05d107a1aee0cc21bf5a41344da35acc3bf Author: Chris Moeller <kode54@gmail.com> Date: Tue Aug 27 15:26:30 2013 -0700 Fixed IT note cut and note off commands commit 7a16e6a7caf6c001064e47e5da9c19f9e2c75d43 Author: Chris Moeller <kode54@gmail.com> Date: Mon Aug 26 22:50:32 2013 -0700 Invalid notes correctly cause note fade, and range of valid notes increased to include 120/B-9 commit 5c5fedc5f76277abc281066b26dd7463a06841b4 Author: Chris Moeller <kode54@gmail.com> Date: Sun Aug 25 23:06:43 2013 -0700 Normalized the indentation in the Lanczos resampler, and optimized the resampler a bit commit b3596083ebba5974d1a5b9052145394eae980948 Author: Chris Moeller <kode54@gmail.com> Date: Sun Aug 25 09:49:55 2013 -0700 IT NFx/NxF should not affect background voices commit 2fcecb0f960dc6d206a480bc882ce430054350e2 Merge: ea96b85 d244b87 Author: Chris Moeller <kode54@gmail.com> Date: Sun Aug 25 07:55:15 2013 -0700 Merge branch 'master' of bitbucket.org:kode54/dumb commit ea96b859192e9db25968d290b19e57ef25b62a1c Author: Chris Moeller <kode54@gmail.com> Date: Sun Aug 25 07:50:31 2013 -0700 Channel volume effect should only apply to foreground voices commit d244b8790af5c8caee2eacff1cda8380390eba93 Author: Chris Moeller <kode54@gmail.com> Date: Fri Aug 23 16:46:43 2013 -0700 Fixed row played tracking and row timekeeping information for orders with skip commands commit d1fe0fdbd105df23a2f879b54385074a3891ce2d Author: Chris Moeller <kode54@gmail.com> Date: Fri Aug 23 15:56:35 2013 -0700 Fixed XM arpeggio commit 1c44d72e13bbd62790f71206fb061c606ec96337 Author: Chris Moeller <kode54@gmail.com> Date: Sat Aug 3 17:46:19 2013 -0700 Meh commit 01b9e3faabace3855a6fcd8cae6c253aeee28206 Author: Chris Moeller <kode54@gmail.com> Date: Thu Aug 1 09:29:49 2013 -0700 - I didn't realize that sigrenderer->tick counted down from speed to 1, rather than up from 0 to speed-1, so every other format's arpeggios were backwards except for XM. Fixed. - Mask tick count to 0-31 so it can't overflow the arpeggio tables. commit 29c3c9e5c9ce8debcd419eac92d841a2e26c7483 Author: Chris Moeller <kode54@gmail.com> Date: Sun Jul 28 18:05:04 2013 -0700 Apply delta to compressed samples regardless of creating tracker version commit 52caa06214b5b09c8e69b56fb769f6ea93c941b2 Merge: 0fc04de ee557fc Author: Chris Moeller <kode54@gmail.com> Date: Sun Jul 28 18:02:51 2013 -0700 Merge branch 'master' of github.com:kode54/dumb commit 0fc04dec175327cc0f99c011690bafa4a3c2ccf5 Author: Chris Moeller <kode54@gmail.com> Date: Sun Jul 28 18:01:28 2013 -0700 - Rewrote arpeggio implementation to use note offset tables - Implemented Fast Tracker II arpeggio bug (ticks count backwards from speed minus one, speeds greater than 15 result in note offsets reading from the vibrato table, which gets clamped to 2) commit ee557fc6f24807d7383ea025c99e81efed3c9ef2 Author: Chris Moeller <kode54@gmail.com> Date: Sat Jul 27 16:30:29 2013 -0700 Meh. commit 951ce0752e9c64a792551b2868613a1b5b85f884 Author: Chris Moeller <kode54@gmail.com> Date: Fri Jul 26 11:11:39 2013 -0700 Fixed songs with envelope loops on the last tick commit eaad8176c626959111f3c13fc82b1c4ad02a1e83 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jul 22 19:56:28 2013 -0700 Fixed envelope start and end shortcuts commit 27406abff56cb47d39c1a9e2d4f50336a882be49 Merge: 5698ac5 f2cd234 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jul 22 19:28:27 2013 -0700 Merge branch 'master' of github.com:kode54/dumb commit 5698ac532ffe1e01f7e23a476a6ea52341276b26 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jul 22 19:28:15 2013 -0700 Fixed envelope loop timing commit f2cd2349a4a2b49960f4193be7377dbdd9547a95 Author: Chris Moeller <kode54@gmail.com> Date: Fri Jul 19 15:56:51 2013 -0700 Fixed so it only initializes envelopes when instruments are enabled commit 01f8ce4b56e460057d6cca3bfc2d58e3600300aa Author: Chris Moeller <kode54@gmail.com> Date: Thu Jul 18 08:23:11 2013 -0700 Fixed envelope carry to only occur if the running note has not already been cut or released commit b9aea1412d1645766b9373c432ac498abed34b63 Author: Chris Moeller <kode54@gmail.com> Date: Wed Jul 17 18:53:55 2013 -0700 Further fixes to IT envelope behavior commit a42b6bcdc28e200a751baf4414e6f4c6ebb36c71 Author: Chris Moeller <kode54@gmail.com> Date: Wed Jul 17 18:34:09 2013 -0700 Reimplemented envelope carry to be more like other players commit 0bc29b4eb63b5758cf0d174258b6b072a3041a33 Author: Carlos Rafael Giani <dv@pseudoterminal.org> Date: Sun Jun 30 16:43:31 2013 +0200 various fixes to address GCC warnings commit 991ce8202643a296969d9a623e9702966a957e69 Author: Chris Moeller <kode54@gmail.com> Date: Sat Jun 22 15:16:04 2013 -0700 Moved DUMBFILE structure to its own header file to unify the rare cases where it needs to be visible outside of dumbfile.c commit bfb8fea251124760b834c36e5eabd2aff24494b4 Author: Chris Moeller <kode54@gmail.com> Date: Fri Jun 21 00:14:19 2013 -0700 Whoops. commit f5a1c5ec318cd7c17fb54f2ed2cb70d72cd549f6 Author: Chris Moeller <kode54@gmail.com> Date: Thu Jun 20 22:28:11 2013 -0700 Eliminated all clang compilation warnings commit d31fb2084659b64d07eb0644d9bacfd67059d066 Author: Chris Moeller <kode54@gmail.com> Date: Thu Jun 20 22:27:52 2013 -0700 Fixed C++11 compilation error on Mac OS X commit d2d6f48b2bdecc96a60c7e7dfab2b83bf72dc143 Author: Chris Moeller <kode54@gmail.com> Date: Sun Jun 16 09:55:19 2013 -0700 Fixed another stupid error commit 9b377f8d7f76159d7f227c727aeae7e16fd1db7b Author: Chris Moeller <kode54@gmail.com> Date: Sat Jun 15 19:48:23 2013 -0700 Cleaned up several warnings, including a buffer overflow in the DSMF reader commit e12facc69845ef4f16bc70f755dc7cb898cede41 Author: Chris Moeller <kode54@gmail.com> Date: Wed Jun 12 07:19:13 2013 -0700 Disabled MSVC 2012 default of SSE2 commit 5b83c82c3cc13dd2eeec47758fde4cd61d455bd6 Author: Chris Moeller <kode54@gmail.com> Date: Wed Jun 12 05:56:32 2013 -0700 Fixed intermittent noise with SSE resonant filters by special casing zero length render calls commit 796c801be6b1db3a800a844ab58b9a5454951ace Author: Chris Moeller <kode54@gmail.com> Date: Wed Jun 12 04:06:19 2013 -0700 Subsong scanner always tries to play the first order now commit b5f940169c2968b54e8d48cf880f5999c5932922 Author: Chris Moeller <kode54@gmail.com> Date: Wed Jun 12 03:45:06 2013 -0700 Re-enabled SSE support and rewrote SSE filter function commit cf2577d4bc284fb5c5b71377413a47c72a1362dc Author: Chris Moeller <kode54@gmail.com> Date: Sun Jun 9 11:22:34 2013 -0700 Fixed timekeeping when starting a sigrenderer with a time offset commit 89724f7ac8c7b5395df41443c504f7a3c486f144 Author: Chris Moeller <kode54@gmail.com> Date: Sun Jun 9 10:47:48 2013 -0700 Coding consistency fixes commit 68f8a3aa8fb53b98625232d99cc5bd040e67dd96 Author: Chris Moeller <kode54@gmail.com> Date: Sun Jun 9 10:33:32 2013 -0700 Fixed timekeeping commit 3e73bae5e9ddd3a44d9b0767093d93dfd45df1fc Author: Chris Moeller <kode54@gmail.com> Date: Sun Jun 9 10:33:16 2013 -0700 Enabled SSE compilation commit 2e0b1fae827b0cf771049e8697f0e8c98df87f96 Author: Chris Moeller <kode54@gmail.com> Date: Sun Jun 9 02:58:16 2013 -0700 Disabled SSE as MSVC 2012 breaks it commit ca9fae207ca4505560ac9f0a3f25cd076179e5dc Author: Chris Moeller <kode54@gmail.com> Date: Fri Jun 7 20:24:38 2013 -0700 Fixed position status reset on callback-aborted loop commit 852b2b9d01fa0f31dd004d5acc19035401faf6f3 Author: Chris Moeller <kode54@gmail.com> Date: Fri Jun 7 20:23:41 2013 -0700 Added MSVC 2012 v110_xp platform commit a6c23d0bd4ab4a4e28fe4bbb112f4f56c68488b9 Author: Chris Moeller <kode54@gmail.com> Date: Tue Jun 4 19:15:25 2013 -0700 Fixed Qt project file commit 381ce8ea4237a64d63ac447d1e42463edde356da Author: Chris Moeller <kode54@gmail.com> Date: Tue Jun 4 11:00:52 2013 -0700 Fixed duplicating some timekeeping state variables commit 7c1e30edb5700a7751281cc0f8e5e3bb4934989f Author: Chris Moeller <kode54@gmail.com> Date: Tue Jun 4 10:57:59 2013 -0700 Small fix for possible issue with time reporting for looped modules if callback ends playback commit 153721b1c9f4cde62fa17d6aef56f782b37384bf Author: Chris Moeller <kode54@gmail.com> Date: Mon Jun 3 18:41:31 2013 -0700 - Implemented loop-accurate time position reporting into DUMB - Implemented get samples stopping short on loops commit 99111038210a07af485be94a6e85dc43faa10eff Author: Carlos Rafael Giani <dv@pseudoterminal.org> Date: Wed May 22 17:37:36 2013 +0200 M_PI may not be defined When building with gcc 4.7.2 and -std=c99 , M_PI is not defined commit db4dcf6c1581496e336062c866ce522544d25849 Author: Carlos Rafael Giani <dv@pseudoterminal.org> Date: Wed May 22 17:36:35 2013 +0200 the MEMFILE filesystem didn't have seek and get_size functions This caused crashes if read_any was used commit 4e0faec2b81698376b78c4715d633de23140cd10 Author: Carlos Rafael Giani <dv@pseudoterminal.org> Date: Wed May 22 17:35:47 2013 +0200 renamed "restrict" parameters to "restrict_" "restrict" is a keyword since C99 commit e65a86fc81352fbd667269f22878365606e2cf2c Author: Chris Moeller <kode54@gmail.com> Date: Mon May 6 17:08:39 2013 -0700 Removed unnecessary optimization function commit 1fe80f166e57778b1500bb035ec9ff8d95819006 Author: Chris Moeller <kode54@gmail.com> Date: Sat May 4 21:08:17 2013 -0700 Fixed regular surround mixing commit a869c4734a0df7a35b7616089db89cf64fcb3d80 Author: Chris Moeller <kode54@gmail.com> Date: Sat May 4 21:07:58 2013 -0700 Optimizations and bug fixes for the Lanczos resampler commit 6edaad13465e6739f185884bd2d308e1f50d7cc9 Author: Chris Moeller <kode54@gmail.com> Date: Thu May 2 16:04:14 2013 -0700 Fixed resonant filter handling in surround mixer commit b40d6a5877558121d876ee3c578daecf138b504c Author: Chris Moeller <kode54@gmail.com> Date: Tue Apr 30 13:04:56 2013 -0700 Implemented 3 channel surround mixing commit 85fa2b7e833e2ec45af7ed9629c9f360e4f37730 Author: Chris Moeller <kode54@gmail.com> Date: Mon Apr 29 18:04:41 2013 -0700 Removed unnecessary code commit 8111a1eb5bcd11f01dd4fcea067d53b00c13d8a4 Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 26 02:13:17 2013 -0700 Whoops, that was Blackman-Harris, not Lanczos. Lanczos produces less aliasing, anyway. commit ffd168da5e639f5ef9943d2cc8c8be202a1003b0 Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 26 01:42:23 2013 -0700 Fixed phase calculation when downsampling commit 1eef4c9f892c119f2f92f0d928efe1b7a98af934 Author: Chris Moeller <kode54@gmail.com> Date: Fri Apr 26 00:25:04 2013 -0700 - Implemented Lanczos resampler - Fixed overhead of performing effects updates on background voices commit 8605fb3a520aafb2d43febb6c0a9acde871090e7 Author: Chris Moeller <kode54@gmail.com> Date: Mon Apr 22 23:15:06 2013 -0700 Replaced FIR resampler's IIR low pass filter with a fixed set of cutoff stages commit 5f1d4388b1ba13ca80540f4734bbc58648468e3c Author: Chris Moeller <kode54@gmail.com> Date: Sat Mar 16 15:03:07 2013 -0700 - Removed *16/11 scale from S3M global volume - Applied S3M master volume as mixing volume - Renderer now ignores S3M Vxx for values greater than 0x40 commit cc986aa7dad019e2e4f8fe2d42013e50a1cd79d6 Merge: 9a68144 8ba1f7e Author: Chris Moeller <kode54@gmail.com> Date: Tue Feb 19 21:10:15 2013 -0800 Fixed shit commit 8ba1f7e7c01eef9dac7dd79cf2026ae9c3364b8d Author: Chris Moeller <kode54@gmail.com> Date: Tue Feb 19 21:08:21 2013 -0800 Fixed panning correctly this time commit 569b49a533a53b92dceac0eb6b4aa6641f65ae5e Author: Chris Moeller <kode54@gmail.com> Date: Tue Feb 19 21:08:02 2013 -0800 Implemented support for compressed stereo samples commit 9a68144bfcd970e257b37ccc001d58c23cbe007e Author: Chris Moeller <kode54@gmail.com> Date: Thu Feb 14 12:21:31 2013 -0800 Changed panning rule from 3dB to 0dB to match most trackers commit c7aadf292975e96c3036fc4f2e4248a5c727fa5d Author: Chris Moeller <kode54@gmail.com> Date: Sun Feb 10 11:45:04 2013 -0800 Fixed loop start for STK modules commit ff84ff32fe1fc82926020feedf894c4fb5c37ccd Author: Chris Moeller <kode54@gmail.com> Date: Tue Jan 22 03:02:12 2013 -0800 Fixed serious error with MPT extension reading commit 3aee7f113c66f19e93f9e41a6e280e12dfd9a0e9 Author: Chris Moeller <kode54@gmail.com> Date: Thu Jan 17 16:26:06 2013 -0800 Fixed envelope reading to gracefully handle nodes which are out of range commit 73da922bddede1f81fffc7e5e895cace755b378d Author: Chris Moeller <kode54@gmail.com> Date: Wed Jan 16 22:03:01 2013 -0800 Implemented support for the obscure S9F sample reverse effect commit 0994e9948c6ca6b2d50e1e5e4ac87b8371764b7f Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 14 20:14:48 2013 -0800 Removed unused variables commit beea1d9f5c32609b8b48859f018a4225b1ab29ab Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 14 20:11:28 2013 -0800 More fixes for seeking support commit a79a9725a9ed45f80d0c9ecf6fc1697219937dd9 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 14 19:26:42 2013 -0800 Fixes for C89 limitations and some const types commit d8784727e4b117e77c9cf4ff609dace2c4d1da24 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 14 19:06:08 2013 -0800 Implemented full seeking in DUMBFILE and modified several readers to account for this change, which also reduces their overall memory usage commit 3267dd862062e755782f04eee5db47ef338fc5b8 Author: Chris Moeller <kode54@gmail.com> Date: Sat Jan 12 18:34:22 2013 -0800 - Added silence padding for samples which are too short to predict padding for - Added extra comments commit d5b0ced73cd72f99816b7db788cef63b2603bbe4 Author: Chris Moeller <kode54@gmail.com> Date: Sat Jan 12 18:33:35 2013 -0800 Eliminate clipping from the low-pass filter stage by increasing intermediate buffer type size to int commit a57194a330f1ed2b44bb681e3d2c63880628f214 Author: Chris Moeller <kode54@gmail.com> Date: Sat Jan 12 15:59:36 2013 -0800 - Simplified low-pass filter - Eliminated accidentally applied resonance from low-pass filter - Silenced a C89 error by adding a static cast commit 6c8eeb8a7b0e72c3de865d517ec0ff4778389315 Author: Chris Moeller <kode54@gmail.com> Date: Sat Jan 12 10:17:54 2013 -0800 Added a low-pass filter to the FIR resampler commit b440292bbb949f0aaf5dbb8fa17169833fd15c5e Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 11 20:53:32 2013 -0800 - Fixed FIR resampling - Silenced warnings commit 0f63644adc09deb4f7aa87d156a8d2fc70418fef Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 11 20:22:46 2013 -0800 Fixed C99isms for MSVC commit 3a1e4eeeb0e868cadc392a59c962bcd0ec57e924 Merge: e032212 abedfc2 Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 11 19:58:47 2013 -0800 Merge branch 'master' of github.com:kode54/dumb ... oops, I started making changes without pulling the latest source first. commit e032212355ac7075c91fc9d9c48b990f02353a60 Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 11 19:58:42 2013 -0800 Made SSE filters configurable commit abedfc226b1f070c979ac8e8d6c09fa31eee96c8 Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 11 19:39:43 2013 -0800 Added new files to MSVC projects commit d666d3d8906a27d9475e7aea1b650da8c5d163b2 Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 11 19:35:58 2013 -0800 Cleaned up MSVC 2010 project file commit 8cc51b9415ad34de3aa8e8f29f5e5eac96b9fae1 Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 11 19:30:28 2013 -0800 Removed stale source control file commit 52b415ace8dee10d26984da1eabf36fc08f07f4c Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 11 19:27:12 2013 -0800 - Implemented FIR resampler - Implemented one-time LPC extension of samples without permanent loops, to better facilitate declicking, and also to help flush the resamplers commit 2fa3b87ae99fc62a03ec26c81c81ae23f3ab7cec Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 11 19:24:34 2013 -0800 Minor indentation change commit 4df0e8c5be294fa1fe3ea96eff8387c2505912ec Author: Chris Moeller <kode54@gmail.com> Date: Sun Dec 30 10:59:29 2012 -0800 Fixed pattern counting, and swapped pattern counting flag commit b97e36954f873516c31c0a8c24054784f3c9d751 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 29 18:02:21 2012 -0800 Fixed portamento up effect when NNA channels are active commit ac46a8b6056cf12bff464407bc1582301051c1f1 Author: Chris Moeller <kode54@gmail.com> Date: Wed Dec 26 13:22:49 2012 -0800 Fixed STM speed handling commit 425a8407fb003e1ca7d5f332cad9d7be90a6e2ee Author: Chris Moeller <kode54@gmail.com> Date: Sun Dec 23 13:40:35 2012 -0800 Oops, forgot MSVC doesn't have snprintf commit ad8a234f3c6c9b3e7a2d590c81f297bf20375f6d Author: Chris Moeller <kode54@gmail.com> Date: Sun Dec 23 13:32:31 2012 -0800 Buffer entire file into memory to allow for weird file offsets, and add minimal Open/MPT extension reading commit 347a1170d6d00ec2ea9db2a3667ee7c8d2ef422b Author: Chris Moeller <kode54@gmail.com> Date: Sun Dec 23 13:31:41 2012 -0800 Fixed envelope handling commit b837698bcffa3952e5fa26e80ffc562e961002b9 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 19:15:19 2012 -0800 Fixed memory reader for formats which perform empty skips at the end of the file, like Asylum AMF commit 690b8c607fa01df486f00af03b068d11acd14d55 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 18:56:25 2012 -0800 Silenced MSVC warning, removed unused variables, and reordered some code for pre-C99 compilers commit 3ec6f425abbaf5fc6141fdff1783cd5d71005fe8 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 18:55:51 2012 -0800 Silenced MSVC warning commit b80bcdf9054a60bbba6806313327b10d14ab9517 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 18:55:32 2012 -0800 Added new 'any' reader to MSVC 2010 project commit efd9431447a6f686e8212ffc796624ed58b06531 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 18:54:44 2012 -0800 Added format tag to IT reader commit 07787fb0eb2473c7bc7e7185d37936c1b78e424b Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 18:41:25 2012 -0800 Portability fixes commit a17f9925e5b2e4b5fc20108723374c142e942bbe Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 18:40:43 2012 -0800 Included SSE optimized it_filter function, enabled if _USE_SSE macro is defined at compile time commit 918d6366a57d34b63dd8144790f979cd9d2656f5 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 18:39:41 2012 -0800 Implemented simple 'any' format reader which attempts to detect the format of the input file and passes it off to the correct reader. commit d013643820c4fd4d1d80011bed52a047be46c9f1 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 16:50:52 2012 -0800 Added Qt project file commit f4c6edf2923b3098e80123ae2262d01bf6fa89f6 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 16:49:34 2012 -0800 Only provide our own log2 for MSVC, since other platforms should already provide it commit 5c9c4359042555c182a4bd52ef212a162e5bbd76 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 16:49:01 2012 -0800 Removed unused variable from function declarations, a leftover from copying from the MOD reader commit 9b60a9a4784af5eb7ae2274726c7107c072eb3a6 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 22 16:48:30 2012 -0800 Added limits.h for LONG_MAX commit 045efbd6fc579a78e304185e480c8c15b2b932c4 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 15 22:54:14 2012 -0800 Fixed older pattern counting mode commit 5b53815e1f271746627bde0bfce7140109b88f14 Author: Chris Moeller <kode54@gmail.com> Date: Sat Dec 15 22:47:19 2012 -0800 Made the new MOD pattern counting system optional commit 30b178af5674b8604306885a693c2a8aa422472f Author: Chris Moeller <kode54@gmail.com> Date: Sun Dec 9 23:17:38 2012 -0800 Fixed ADPCM sample support commit 02190e007b4967b8a546f64a3934724817ff5c3a Author: Chris Moeller <kode54@gmail.com> Date: Sun Dec 9 21:59:33 2012 -0800 Fixed MOD pattern count calculation in weird cases where the last sample is missing four bytes commit 756ecf2ac0a2b70639193aca55627b64dac8d8d5 Author: Chris Moeller <kode54@gmail.com> Date: Sun Dec 9 19:53:45 2012 -0800 Added interface for inserting extra DUH signals, and fixed searching for IT sigdata when more than one signal is present commit d2575fcc80abf2f04e702adb60a6265cef0fcabb Author: Chris Moeller <kode54@gmail.com> Date: Tue Dec 4 03:49:30 2012 -0800 - Implemented final solution for MOD pattern count calculation - Fixed possible memory leak which only would have occurred with rare MOD files - Fixed a possible memory allocation error or crash with FLT8 MOD files commit b17c5254eeac1bff7e4b613c151e0232c2cba646 Author: Chris Moeller <kode54@gmail.com> Date: Mon Nov 26 03:49:04 2012 -0800 Remove trailing whitespace from all song, instrument, and sample names commit 32c9bb420240cac2120e7e01c2683df88d1dc1ac Author: Chris Moeller <kode54@gmail.com> Date: Mon Nov 26 03:11:49 2012 -0800 Corrected MOD reader to only check the known number of orders when calculating the pattern count commit 9e3012a7ce5fb52383f51c99061bc45921699f63 Author: Chris Moeller <kode54@gmail.com> Date: Thu Sep 20 05:28:25 2012 -0700 Fixed pitch slides on non-playing channels commit e84e1824fbd0b2b690bd9beb2e25fd308e661982 Author: Chris Moeller <kode54@gmail.com> Date: Sun Sep 9 11:23:47 2012 -0700 Fixed envelopes so they only carry from the same channel commit 22e82be0a7b0a915a2669e8f4ff889a938a7bfcb Author: Chris Moeller <kode54@gmail.com> Date: Sun Sep 9 09:26:00 2012 -0700 Reverted previous failed tone portamento fix commit 09b78300e19b5cb72d4a515c1e331800d3a6ffbd Author: Chris Moeller <kode54@gmail.com> Date: Sun Sep 9 08:18:55 2012 -0700 Fixed IT tone portamento again commit e0917efbb9707dea88f1f4c525be7c7647bd82a4 Author: Chris Moeller <kode54@gmail.com> Date: Sat Sep 8 19:55:47 2012 -0700 Fixed IT tone portamento so it can continue without a destination note on every row commit 15b780d08f2ee6f50a9843dc7479349f4deee5a7 Author: Chris Moeller <kode54@gmail.com> Date: Sun Sep 2 12:56:38 2012 -0700 Fixed most effects applying to background voices commit 8d87ab8b9ec398cf3831b87dc969a28e278f3105 Author: Chris Moeller <kode54@gmail.com> Date: Tue Aug 7 00:02:03 2012 -0700 - Fixed XM sample header size handling to always assume a size of 0x28 - Version is now 0.9.9.56 commit 7ad496ecf2fd658a51de55df0e7f0257025038cc Author: Chris Moeller <kode54@gmail.com> Date: Sun Jul 8 12:57:56 2012 -0700 - Added sanity checking to XM reader instrument and sample header sizes - Added footer tag checking to prevent tags from reaching the module reader - Version is now 0.9.9.55 commit 5bee3e5ba3d57d1b16dda6d82c18fb417781625b Author: Chris Moeller <kode54@gmail.com> Date: Tue Jul 3 22:24:17 2012 -0700 - Fixed XM reader for files with smaller than expected instrument or sample header sizes - Version is now 0.9.9.54 commit 0e95459562669335f7de543d063cfa57d25a8b77 Author: Chris Moeller <kode54@gmail.com> Date: Mon Feb 27 16:04:22 2012 -0800 2012-02-24 19:11 UTC - kode54 - Fixed MOD vibrato depth - Fixed XM tremolo ramp and square waveform tracking - Version is now 0.9.9.52 commit 7fc359f6c61939618b11aa2aedf42d45220609f7 Author: Chris Moeller <kode54@gmail.com> Date: Fri Feb 10 17:14:38 2012 -0800 Fixed BaseClasses project name capitalization to correct version control tracking, removed TFS tracking files. commit 149898118213ec5d5cf8bba057702ab984b8dfa3 Author: Chris Moeller <kode54@gmail.com> Date: Fri Feb 10 16:53:05 2012 -0800 Added ignore lists for compiler output files commit b85ab3ba352ea05126f6b4ebcca293f223a3988f Author: Chris Moeller <kode54@gmail.com> Date: Fri Feb 10 12:28:35 2012 -0800 All projects updated and now compile in the new git repository. commit 8c3e510483ba1fdec19017dad4a5004d694177eb Author: Chris Moeller <kode54@gmail.com> Date: Wed Aug 31 07:53:24 2011 +0000 - Corrected old style PSM note data - Version is now 0.9.9.45 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C724 commit 317a6f3da95fddbdbff464d77ad47ffd0dbfdaff Author: Chris Moeller <kode54@gmail.com> Date: Sun Aug 14 02:31:37 2011 +0000 Major project file maintenance git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C717 commit 71ecdc7274a7fa33af0a0dea915eb3a294b0b04a Author: Chris Moeller <kode54@gmail.com> Date: Tue Aug 2 23:31:19 2011 +0000 - Fixed IT stereo samples - Version is now 0.9.9.43 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C713 commit 667b479457fd7c1e9aff4ea8301295c81762bdf5 Author: Chris Moeller <kode54@gmail.com> Date: Sun Jun 5 22:49:29 2011 +0000 - Fixed IT envelope reading for node counts over 25, which are invalid - Version is now 0.9.9.41 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C684 commit 4a268f95b7d2a116e3ea53d297c1d5a29f46bf07 Author: Chris Moeller <kode54@gmail.com> Date: Wed May 25 18:42:29 2011 +0000 - Added missing song restart position initialization to AM, AMFF, and DSM readers - Version is now 0.9.9.40 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C682 commit 07f761e918e8a621f64242dd1a631ceba03cc920 Author: Chris Moeller <kode54@gmail.com> Date: Thu May 12 12:26:57 2011 +0000 - Fixed IT New Note Action duplicate check types for sample and instrument - Version is now 0.9.9.38 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C678 commit 7def196332594817f94138dce2942007d232d407 Author: Chris Moeller <kode54@gmail.com> Date: Wed Mar 23 05:45:50 2011 +0000 - Corrected volume slide behavior for S3M playback, and also adjusted the slide volume level clipping range for S3M to 0-63 - Updated S3M playback to share memory between DEFIJQRS effects - Adjusted S3M reader to a lower master volume level scale - Version is now 0.9.9.36 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C668 commit f5f34570905e87f1933a0220d71d0d48c05b9b49 Author: Chris Moeller <kode54@gmail.com> Date: Wed Feb 9 08:10:45 2011 +0000 - Added a workaround for bad sample offsets in STM files - Disabled inserting note cut commands in STM files, as there is no such command in the format - Version is now 0.9.9.35 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C614 commit d78c28566689e3fca51f1fbb7208cde8b6e190a6 Author: Chris Moeller <kode54@gmail.com> Date: Tue Feb 8 14:11:09 2011 +0000 - Fixed STM sample reading - Version is now 0.9.9.34 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C613 commit c2cb42ff918b398ec8c305ddc6574f9f8f945ad9 Author: Chris Moeller <kode54@gmail.com> Date: Tue Feb 8 12:03:29 2011 +0000 - Implemented support for STM 1.x format - Flagged STM files as stereo, as they should be - Version is now 0.9.9.33 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C612 commit 33cd2c469ae9872dd0710297760bfb1dfe53a56d Author: Chris Moeller <kode54@gmail.com> Date: Wed Jan 19 15:20:02 2011 +0000 - Made Oktalyzer reader more tolerant of truncated files - Version is now 0.9.9.30 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C562 commit e169b25f34ca140da8375a7085791447a5b8e8e8 Author: Chris Moeller <kode54@gmail.com> Date: Wed Jan 19 07:14:25 2011 +0000 - Implemented Oktalyzer format loader - Version is now 0.9.9.29 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C555 commit e34d68685d2e5e8b45f62acdaf8157872624620c Author: Chris Moeller <kode54@gmail.com> Date: Fri Jan 14 00:10:44 2011 +0000 2011-01-13 23:11 UTC - kode54 - Implemented ASYLUM instrument base semitone offset - Fixed ASYLUM effect number translation - Version is now 0.9.9.28 2011-01-13 21:28 UTC - kode54 - Quick fix for PT2 invert loop effect - Version is now 0.9.9.27 2011-01-13 20:37 UTC - kode54 - Implemented PT2 invert loop effect - Version is now 0.9.9.26 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C545 commit c0fc19ef2e756ef25aa44ca3775b4afed3f02c9c Author: Chris Moeller <kode54@gmail.com> Date: Tue Jan 11 18:57:59 2011 +0000 - Changed aliased resampler loop conditions a bit to fix some bugs - Removed resampler loop unrolling, as it actually made things slightly slower - Fixed a bug with songs triggering notes on the first order with instrument changes before any note commands have been triggered - Version is now 0.9.9.24 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C543 commit bf42c55a9ad494b3bcbee5dc2959f03c1938fdfb Author: Chris Moeller <kode54@gmail.com> Date: Sun Jan 9 14:18:02 2011 +0000 Import of blip_buf and one missing header. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C540 commit 9ac6cf69758fe0db6d6e654f298cd36efdb73366 Author: Chris Moeller <kode54@gmail.com> Date: Sun Jan 9 14:16:37 2011 +0000 - Replaced old aliased resampling mode with a 65536x oversampling sinc resampler - Version is now 0.9.9.23 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C539 commit 4c0d2d92e6cc5c607a145f9fcbc8903e39327d1f Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 3 14:33:17 2011 +0000 Add missing files to repository, delete old 7-Zip source folder git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C534 commit a9176165a2ccc56410b2004d2f5dd40b2052453a Author: Chris Moeller <kode54@gmail.com> Date: Mon Nov 22 01:24:37 2010 +0000 - Changed a break to row behavior in DUMB, hopefully it doesn't break anything - Version is now 0.9.9.22 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C516 commit 1a9e0d4fd889dc9d17a5ebe97825be0cb2b7a273 Author: Chris Moeller <kode54@gmail.com> Date: Sun Oct 3 06:17:34 2010 +0000 - Added range checking for XM global volume command - Version is now 0.9.9.20 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C490 commit ca554279a235b23c7f5f6ff9ce478a7aa7250dfe Author: Chris Moeller <kode54@gmail.com> Date: Sat Aug 21 01:00:49 2010 +0000 - Fixed channel muting when switching or restarting songs, or when seeking - Version is now 0.9.9.19 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C467 commit 6e159ab89b5df27acf8a182a1ea5bf307ba8ff95 Author: Chris Moeller <kode54@gmail.com> Date: Fri Mar 12 00:16:35 2010 +0000 - Fixed two bugs with pattern loops causing songs to loop forever - Version is now 0.9.9.13 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C383 commit 73bec70252bbed9b127d091f6dfded8c0a31116e Author: Chris Moeller <kode54@gmail.com> Date: Fri Feb 12 20:33:49 2010 +0000 The Great Merge of 2010 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C370 commit 7c2cc8b01ae64355772be20f7d5edd4e30bd1e08 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:02:22 2010 +0000 {12/17/2009 2:12:36 AM}Reverted sinc interpolation until I feel like fixing it git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C365 commit eff0f2541daf739f21bb0662345915f4fa60354f Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:02:22 2010 +0000 {12/17/2009 2:02:04 AM}Failed sinc interpolation for future review git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C364 commit 92fea5b475e37c39b28b88ab28b0dfbd8c899adf Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:02:16 2010 +0000 {10/23/2009 9:27:50 PM}2009-10-24 05:13 UTC - kode54 - Restored old sample info tag reading method and made the new style optional - Version is now 0.9.9.8 2009-10-18 04:52 UTC - kode54 - Changed sigdata flags for AMF reader - Version is now 0.9.9.7 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C352 commit 52da4eb628a4a0f96495b42b75aac6b3a76d101a Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:02:16 2010 +0000 {10/17/2009 6:03:36 AM}- Fixed a stupid bug in the AMF reader - Version is now 0.9.9.6 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C351 commit db718382dfb187fbdaa16a9dd4904c073fb8004d Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:02:15 2010 +0000 {10/12/2009 11:53:02 AM~10/12/2009 11:53:04 AM}- Implemented DSMI AMF reader - Changed MO3 unpacker to use unmo3.dll - Version is now 0.9.9.5 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C348 commit 19527c25846226fe8d5479aaefc5bee0f3274d1a Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:02:14 2010 +0000 {9/30/2009 4:11:06 AM} git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C347 commit d02aa3a3a3ab05acf6908411f8ecfcb46bf06f73 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:01:37 2010 +0000 {5/3/2009 5:29:28 PM}Underflow fix. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C262 commit da229930ce0f698c7443ae693e593d582748822f Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:01:37 2010 +0000 {4/18/2009 4:30:02 PM}- Fixed another bug in xm_note_off with potential unknown files. - Version is now 0.9.8.5 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C259 commit df55c420128a38d58016ef9517707c37b15e67fc Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:01:17 2010 +0000 {1/7/2009 4:53:48 PM}Removed inherited property sheet definitions. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C214 commit 1f89a5627cfc0c48aa13a1d6bcb060847119206b Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:01:06 2010 +0000 {10/4/2008 3:54:34 PM}Fixed xm_note_off for when instrument number is out of range. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C201 commit 1f2e7f8d46858490d0bd6a5e4855a4c168a8a31f Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:01:05 2010 +0000 {5/28/2008 5:29:34 PM}Fixed renderer for tempos greater than 255 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C198 commit 242c96c172f5203f595a4ba24f9649c2c975846f Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:01:04 2010 +0000 {5/1/2008 3:06:24 PM~5/1/2008 3:07:24 PM} git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C196 commit 83a79f2c29b2601d78087aaa8e8363157e0b4ecb Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:01:02 2010 +0000 {4/28/2008 3:21:58 PM~4/28/2008 3:22:14 PM}Converted projects for Visual Studio 2008. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C193 commit a78d4c613bc37d175db2fa90fc82f4b43e0ea470 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:59 2010 +0000 {1/27/2008 5:51:00 PM} git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C192 commit f230355b7f90105f13ca56343c4d2e2c1763d68f Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:56 2010 +0000 {7/24/2007 3:48:08 PM}2007-01-26 22:50 UTC - kode54 - Moved IT S70-2 effects alongside the rest of S7x so they all trigger after paired notes. - Integrated note on/cut ramping with volume transition ramping to reduce setup/cleanup overhead of calling render_playing and the resampler functions for single samples. - Note on/cut ramping scaled from 7 sample logarithmic and 256 sample linear to .75ms and 5ms respectively, both linear. - Integrated the pattern looping changes from DUMB 0.9.3, since a few files seemed to be broken. The XM-only features still needed to be flagged for XM so they won't break MOD. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C181 commit 684f4672fe54d3e82a6912a8896cf812ca0acbdb Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:42 2010 +0000 {1/24/2007 5:58:58 AM}Reduced the warning level of the Release target to 3 and enabled project database debugging info, for when the relevant measures are enabled in foo_dumb. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C166 commit 79c6f2cb09edeebcebd3e8e6422caf38720df82a Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:42 2010 +0000 {1/24/2007 5:57:52 AM}2007-01-24 08:34 UTC - kode54 - Implemented 669 running effects correctly. 2007-01-22 18:54 UTC - kode54 - Implemented 669 running effects, nasty stuff. 2007-01-21 14:21 UTC - kode54 - Fixed a bug in IT renderer / get_true_pan that caused it to crash on IT files with instruments enabled upon hitting an invalid instrument change. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C165 commit 885cabebbfc78ad7a3e4c4ecf80b1b6045faa139 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:42 2010 +0000 {1/24/2007 5:56:54 AM}Corrected effects parsing and added global flag for the renderer. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C164 commit 41014790720378a31106ea18e27bcb2d45fcc2a5 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:42 2010 +0000 {1/24/2007 5:55:02 AM}2007-01-21 17:43 UTC - kode54 - XM reader now ignores sample header length, as Sk@le Tracker fills this with nonsense. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C163 commit a87eac09ccd72ca7257d6102835e8b94bfac6583 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:42 2010 +0000 {1/24/2007 5:54:32 AM}Removed unused variables. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C162 commit fa3a8d1cafd0db06dc748af6755355f101978ad4 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:41 2010 +0000 {1/24/2007 5:52:26 AM}2007-01-23 17:42 UTC - kode54 - Fixed IT reader decompression to support compression+delta on files created with 2.15 or newer. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C161 commit 8b1e1b01ceea3d5b7cb5fa2a781a883ccfbe44af Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:26 2010 +0000 {11/29/2006 6:01:06 AM}2006-10-12 06:28 UTC - kode54 - STM reader checks for more values after the song name, reports the correct order list size, and ignores samples which are shorter than four bytes or have a default volume of zero. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C137 commit cfb81dff3e9a09bd943bec1a814f35c41432c356 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:26 2010 +0000 {11/29/2006 6:00:28 AM}2006-11-01 00:50 UTC - kode54 - IT renderer now cuts existing notes when it reaches a note where the instrument references an invalid sample. (jumping under trees.it) 2006-10-14 08:33 UTC - kode54 - IT renderer pattern loop processor now resets the rows played to clear table per channel regardless of whether order changed since last loop start was initiated. This is correct, since two pattern loop starts in a row means that a loop will never jump to the first loop point. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C136 commit 4f9a59e413f0cf404b136a7a1696968ecddd8372 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:25 2010 +0000 {11/29/2006 5:59:20 AM}2006-11-01 00:50 UTC - kode54 - Resamplers now return immediately if the fixed point delta is zero. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C135 commit 3be9ce486cf67827f18346b54d83478d487abd40 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:22 2010 +0000 {10/6/2006 9:42:18 PM~10/6/2006 9:42:20 PM}2006-10-07 05:24 UTC - kode54 - Simplified volume ramping update code, reducing the size of the resampler code considerably. - Bumped the volume ramping precision to 24 bits of fraction precision, which is needed by Sweetsin.xm. - Moved sample rate reporting to dynamic info as requested by Peter, since it's not a property of the files themselves, but user configurable. - Version is now 0.9.8.1 2006-10-07 03:42 UTC - kode54 - Changed DSMF sample loader to ignore unknown flags instead of blowing an error. 2006-09-25 17:39 UTC - kode54 - Added hack to MOD loader for when sample start is specified in bytes instead of words. 2006-09-19 15:05 UTC - kode54 - Shuffled finetune calculation into the correct position, immediately applied as delta is calculated from note. - Promoted IT_SAMPLE finetune property to signed short as char is insufficient for full semitone range. (+/- 256) - Changed resampler to use full 64-bit comparison for todo variable range checking which should hopefully eliminate any further problems with pitch slides which go out of range. - Version is now 0.9.8 git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C123 commit 719dbbe38317512e9aabb2654953e9ba226caaf6 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:09 2010 +0000 {6/16/2006 12:00:56 AM}- Changed Amiga clock rate and divisor constant - Added finetune property to IT_SAMPLE git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C110 commit 7b35d20e52156ddf5eb73015f43f6787f520bcf5 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:09 2010 +0000 {6/13/2006 4:52:42 AM}Removed a line of unneeded code. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C108 commit 691d717ba6d2bee9c477e971f157f57bf051ed8b Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:08 2010 +0000 {6/13/2006 4:52:18 AM}2006-06-10 18:10 UTC - kode54 - Fixed volume ramping. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C107 commit bbee7ab76b3e04fa2ae1cff8a23f9a61e214c6bf Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:08 2010 +0000 {6/9/2006 9:34:08 AM~6/9/2006 9:34:10 AM}Ported changes over from DUMB 0.9.3. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C106 commit 5ed3b0ec86820172d2cff9a19529e60a9c39a93a Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:03 2010 +0000 {6/8/2006 7:36:56 AM}2006-06-03 02:13 UTC - kode54 - Implemented ASYLUM Music Format support. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C102 commit cf89f65a58886db9c0c274a7032a50e61911ace8 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:03 2010 +0000 {6/8/2006 7:36:18 AM}2006-06-02 21:20 UTC - kode54 - IT renderer now supports pattern jump and break to row on the same row. (coffee-blues 3.mod) 2006-06-02 20:25 UTC - kode54 - Empty pattern scanner now returns the correct value for completely empty pattern structures, and also checks for lists of empty rows. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C101 commit 14e15b8bfdf9d09e0a884d899641af5ad09de82d Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:02 2010 +0000 {5/31/2006 8:37:04 PM}2006-05-31 23:15 UTC - kode54 - Implemented STM support. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C96 commit 82f65ee68c0d49d7419769992da22131ac6d48ec Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:01 2010 +0000 {5/31/2006 8:36:40 PM}2006-05-30 00:04 UTC - kode54 - XM reader now truncates instrument envelope lengths to 12, and performs some basic envelope loop checking, similar to Open ModPlug Tracker. (revive_nimnone.xm) git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C95 commit 1dbeaf67c98af889a5a71fec6ad1e14e470461ac Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:01 2010 +0000 {5/31/2006 8:36:12 PM}2006-05-30 03:57 UTC - kode54 - IT reader works around a broken file that has several of the instruments offset by two bytes from their indicated file offsets. Since the hack only checks for offset by two null bytes, it also assumes that the two bytes it can't read from the end are also zero. (bz_ult9.it) - IT reader treats null instrument/sample/pattern offsets as empty items. (flight2.it, sherri.it) git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C94 commit 2b2f154894d691a18ede7740a2c319d90b47a14d Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:01 2010 +0000 {5/31/2006 8:35:22 PM}2006-06-01 00:47 UTC - kode54 - STM reader reads effects properly now. 2006-05-31 23:15 UTC - kode54 - Implemented STM support. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C93 commit 9d44f7d96637019c3d9ff0f2186a7886fac466b5 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:01 2010 +0000 {5/31/2006 8:34:58 PM}2006-05-31 23:15 UTC - kode54 - Implemented STM support. git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C92 commit d8680ee4bdafc15a97bab686bb61597289fedec1 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 09:00:00 2010 +0000 {5/27/2006 1:41:32 PM}2006-05-27 22:40 UTC - kode54 - S3M reader defaults to maximum (128) global volume when the header value is either zero or greater than 64. (darkness2.s3m) git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C88 commit 4e1db2adb05e53c50fe38102676889c22a4f2e66 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:59:57 2010 +0000 {5/26/2006 10:58:10 PM~5/26/2006 10:58:12 PM}2006-05-22 21:44 UTC - kode54 - XM reader now supports up to 256 instruments, even though FT2 only supports up to 128. ModPlug Tracker again. 2006-05-22 18:43 UTC - kode54 - S3M reader was using the incorrect index into component for sample packing when reading sample data. Was using n, should have been m. 2006-05-22 17:26 UTC - kode54 - IT renderer may have a bug with its time_lost / loop handling. Switchover from sustain loop would compound time_lost onto itself for every note-off. I'm not sure if this crap is even doing the right thing, especially in the case of a sample with a sustain loop, but no main loop. Working around for now by zeroing time_lost after note-off. (hall8.it) - S3M reader ignores effects outside of 1-25 range so nothing can hit internal effects which are XM or PTM only. (N4.S3M) - IT reader now supports ModPlug Tracker extensions for up to 4000 samples and mapping them with instruments. (hallowe.it.it) - XM reader now supports instrument vibrato 4, random. Yet another ModPlug extension. (hcw-st.xm) 2006-05-21 02:11 UTC - kode54 - S3M reader correctly reads all 24 bits of the sample memory segment offset, fixing at least one file with >1MB of sample data (d-t-x_x.s3m) - XM reader stops reading instruments when it has at least one valid instrument and encounters an error, fixing at least one file with too high instrument count in the header (drx-chri.xm) - IT reader ignores instrument header signatures, since there seem to be files with bad signatures on unused/filler instruments (dsouls.it) - MOD reader can now be restricted to handling 31 sample files with legal/known signatures only, so frontend can fall back on restricted MOD loading for files with incorrect extensions (dreamer_0g.s3m) 2006-05-20 xx:xx UTC - kode54 - Modified silence skipping to hack around some "S L O W" effects crap and a misused break to row effect git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C84 commit 3527875388468d5343c7958d4781f250d4c333d6 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:59:17 2010 +0000 {11/28/2005 4:51:00 AM} git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C54 commit 95afd4ca875c3f3983de167afcc7deda682a8c8d Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:59:11 2010 +0000 {11/20/2005 7:14:42 PM~11/20/2005 7:14:44 PM} git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C50 commit dae50fa2a1a66a8658827483bdc8a7aae48e019b Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:59:05 2010 +0000 {11/6/2005 9:04:04 PM}Added generic RIFF module handler and AM/AMFF format readers git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C46 commit 8b2fadaf5a88171d9d94782c9a28e45f4ed10c92 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:59:03 2010 +0000 {10/30/2005 1:56:28 AM~10/30/2005 1:56:40 AM} git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C43 commit 9db1273c6431216946c2c30e71e2c90859635744 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:58:43 2010 +0000 {10/13/2005 2:19:30 AM~10/13/2005 2:22:22 AM} git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C22 commit b844f7ce65c15ee70426640de1802ba97d409dec Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:58:42 2010 +0000 {10/13/2005 1:58:16 AM}Arpeggio fix for FastTracker 2 bug git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C21 commit ef97e29d06fdf5c3b9584eeacee58fd0914a0007 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:58:42 2010 +0000 {10/12/2005 5:04:42 PM}Emit format version info git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C20 commit f9fef91057834185b03a4cf8418bdf859b72b092 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:58:42 2010 +0000 {10/12/2005 4:52:14 PM}XM format v1.02 and v1.03 support git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C19 commit 9acd29b47bd6aaae698e958bc1f4906ead27e2cb Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:58:41 2010 +0000 {10/11/2005 4:36:06 PM}Partial XM format v1.02 implementation ( incomplete ) git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C15 commit 00b26550e65da3350f684ebc19be57050a2cca1a Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:58:41 2010 +0000 {10/11/2005 4:16:34 PM} git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C14 commit 61d10a21c142cb717bc25f03d5772b3cb4e09529 Author: Chris Moeller <kode54@gmail.com> Date: Mon Jan 11 08:58:33 2010 +0000 {10/11/2005 3:57:38 PM~10/11/2005 3:58:38 PM} git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C13
541 lines
23 KiB
Text
541 lines
23 KiB
Text
/* _______ ____ __ ___ ___
|
|
* \ _ \ \ / \ / \ \ / / ' ' '
|
|
* | | \ \ | | || | \/ | . .
|
|
* | | | | | | || ||\ /| |
|
|
* | | | | | | || || \/ | | ' ' '
|
|
* | | | | | | || || | | . .
|
|
* | |_/ / \ \__// || | |
|
|
* /_______/ynamic \____/niversal /__\ /____\usic /| . . ibliotheque
|
|
* / \
|
|
* / . \
|
|
* readme.txt - General information on DUMB. / / \ \
|
|
* | < / \_
|
|
* | \/ /\ /
|
|
* \_ / > /
|
|
* | \ / /
|
|
* | ' /
|
|
* \__/
|
|
*/
|
|
|
|
|
|
********************
|
|
*** Introduction ***
|
|
********************
|
|
|
|
|
|
Thank you for downloading DUMB v0.9.3! You should have the following
|
|
documentation:
|
|
|
|
readme.txt - This file
|
|
licence.txt - Conditions for the use of this software
|
|
release.txt - Release notes and changes for this and past releases
|
|
docs/
|
|
howto.txt - Step-by-step instructions on adding DUMB to your project
|
|
faq.txt - Frequently asked questions and answers to them
|
|
dumb.txt - DUMB library reference
|
|
deprec.txt - Information about deprecated parts of the API
|
|
ptr.txt - Quick introduction to pointers for those who need it
|
|
fnptr.txt - Explanation of function pointers for those who need it
|
|
modplug.txt - Our official position regarding ModPlug Tracker
|
|
|
|
This file will help you get DUMB set up. If you have not yet done so, please
|
|
read licence.txt and release.txt before proceeding. After you've got DUMB set
|
|
up, please refer to the files in the docs/ directory at your convenience. I
|
|
recommend you start with howto.txt.
|
|
|
|
|
|
****************
|
|
*** Features ***
|
|
****************
|
|
|
|
|
|
Here is the statutory feature list:
|
|
|
|
- Freeware
|
|
|
|
- Supports playback of IT, XM, S3M and MOD files
|
|
|
|
- Faithful to the original trackers, especially IT; if it plays your module
|
|
wrongly, please tell me so I can fix the bug! (But please don't complain
|
|
about differences between DUMB and ModPlug Tracker; see docs/modplug.txt)
|
|
|
|
- Accurate support for low-pass resonant filters for IT files
|
|
|
|
- Very accurate timing and pitching; completely deterministic playback
|
|
|
|
- Click removal
|
|
|
|
- Facility to embed music files in other files (e.g. Allegro datafiles)
|
|
|
|
- Three resampling quality settings: aliasing, linear interpolation and cubic
|
|
interpolation
|
|
|
|
- Number of samples playing at once can be limited to reduce processor usage,
|
|
but samples will come back in when other louder ones stop
|
|
|
|
- All notes will be present and correct even if you start a piece of music in
|
|
the middle
|
|
|
|
- Option to take longer loading but seek fast to any point before the music
|
|
first loops (seeking time increases beyond this point)
|
|
|
|
- Audio generated can be used in any way; DUMB does not necessarily send it
|
|
straight to a sound output system
|
|
|
|
- Can be used with Allegro, can be used without (if you'd like to help make
|
|
DUMB more approachable to people who aren't using Allegro, please contact
|
|
me)
|
|
|
|
- Makefile provided for DJGPP, MinGW, Linux, BeOS and Mac OS X
|
|
|
|
- Project files provided for MSVC 6
|
|
|
|
- Autotools-based configure script available as a separate download for
|
|
masochists
|
|
|
|
- Code should port anywhere that has a 32-bit C compiler; instructions on
|
|
compiling it manually are available further down
|
|
|
|
|
|
*********************
|
|
*** What you need ***
|
|
*********************
|
|
|
|
|
|
To use DUMB, you need a 32-bit C compiler (GCC and MSVC are fine). If you
|
|
have Allegro, DUMB can integrate with its audio streams and datafiles, making
|
|
your life easier. If you do not wish to use Allegro, you will have to do some
|
|
work to get music playing back. The 'dumbplay' example program requires
|
|
Allegro.
|
|
|
|
Allegro - http://alleg.sf.net/
|
|
|
|
|
|
**********************************************
|
|
*** How to set DUMB up with DJGPP or MinGW ***
|
|
**********************************************
|
|
|
|
|
|
You should have got the .zip version. If for some reason you got the .tar.gz
|
|
version instead, you may have to convert make/config.bat to DOS text file
|
|
format. WinZip does this automatically by default. Otherwise, loading it into
|
|
MS EDIT and saving it again should do the trick (but do not do this to the
|
|
Makefiles as it destroys tabs). You will have to do the same for any files
|
|
you want to view in Windows Notepad. If you have problems, just go and
|
|
download the .zip instead.
|
|
|
|
Make sure you preserved the directory structure when you extracted DUMB from
|
|
the archive. Most unzipping programs will do this by default, but pkunzip
|
|
requires you to pass -d. If not, please delete DUMB and extract it again
|
|
properly.
|
|
|
|
If you are using Windows, open an MS-DOS Prompt or a Windows Command Line.
|
|
Change to the directory into which you unzipped DUMB.
|
|
|
|
If you are using MinGW (and you haven't renamed 'mingw32-make'), type:
|
|
|
|
mingw32-make
|
|
|
|
Otherwise, type the following:
|
|
|
|
make
|
|
|
|
DUMB will ask you whether you wish to compile for DJGPP or MinGW. Then it
|
|
will ask you whether you want support for Allegro. (You have to have made and
|
|
installed Allegro's optimised library for this to work.) Finally, it will
|
|
compile optimised and debugging builds of DUMB, along with the example
|
|
programs. When it has finished, run one of the following to install the
|
|
libraries:
|
|
|
|
make install
|
|
mingw32-make install
|
|
|
|
All done! If you ever need the configuration again (e.g. if you compiled for
|
|
DJGPP before and you want to compile for MinGW now), run one of the
|
|
following:
|
|
|
|
make config
|
|
mingw32-make config
|
|
|
|
See the comments in the Makefile for other targets.
|
|
|
|
Note: the Makefile will only work properly if you have COMSPEC or ComSpec set
|
|
to point to command.com or cmd.exe. If you set it to point to a Unix-style
|
|
shell, the Makefile won't work.
|
|
|
|
Please let me know if you have any trouble.
|
|
|
|
As an alternative, MSYS users may attempt to use the configure script,
|
|
available in dumb-0.9.3-autotools.tar.gz. This has been found to work without
|
|
Allegro, and is untested with Allegro. I should appreciate feedback from
|
|
anyone else who tries this. I do not recommend its use, partly because it
|
|
creates dynamically linked libraries and I don't know how to stop it from
|
|
doing that (see the section on compiling DUMB manually), and partly because
|
|
autotools are plain evil.
|
|
|
|
Scroll down for information on the example programs. Refer to docs/howto.txt
|
|
when you are ready to start programming with DUMB. If you use DUMB in a game,
|
|
let me know - I might decide to place a link to your game on DUMB's website!
|
|
|
|
|
|
******************************************************
|
|
*** How to set DUMB up with Microsoft Visual C++ 6 ***
|
|
******************************************************
|
|
|
|
|
|
If you have a newer version of Microsoft Visual C++ or Visual Something that
|
|
supports C++, please try these instructions and let me know if it works.
|
|
|
|
You should have got the .zip version. If for some reason you got the .tar.gz
|
|
version instead, you may have to convert some files to DOS text file format.
|
|
WinZip does this automatically by default. Otherwise, loading such files into
|
|
MS EDIT and saving them again should do the trick. You will have to do this
|
|
for any files you want to view in Windows Notepad. If you have problems, just
|
|
go and download the .zip instead.
|
|
|
|
Make sure you preserved the directory structure when you extracted DUMB from
|
|
the archive. Most unzipping programs will do this by default, but pkunzip
|
|
requires you to pass -d. If not, please delete DUMB and extract it again
|
|
properly.
|
|
|
|
DUMB comes with a workspace Microsoft Visual C++ 6, containing projects for
|
|
the DUMB core, the Allegro interface library and each of the examples. The
|
|
first thing you might want to do is load the workspace up and have a look
|
|
around. You will find it in the dumb\vc6 directory under the name dumb.dsw.
|
|
Note that the aldumb and dumbplay projects require Allegro, so they won't
|
|
work if you don't have Allegro. Nevertheless, dumbplay is the best-commented
|
|
of the examples, so do have a look.
|
|
|
|
When you are ready to add DUMB to your project, follow these instructions:
|
|
|
|
1. Open your project in VC++.
|
|
2. Select Project|Insert Project into Workspace...
|
|
3. Navigate to the dumb\vc6\dumb directory and select dumb.dsp.
|
|
Alternatively, if you know that you are statically linking with a library
|
|
that uses the statically linked multithreaded runtime (/MT), you may wish
|
|
to select dumb_static.dsp in the dumb_static subdirectory instead.
|
|
4. Select Build|Set Active Configuration..., and reselect one of your
|
|
project's configurations.
|
|
5. Select Project|Dependencies... and ensure your project is dependent on
|
|
DUMB.
|
|
6. Select Project|Settings..., Settings for: All Configurations, C/C++ tab,
|
|
Preprocessor category. Add the DUMB include directory to the Additional
|
|
Include Directories box.
|
|
7. Ensure that for all the projects in the workspace (or more likely just all
|
|
the projects in a particular dependency chain) the run-time libraries are
|
|
the same. That's in Project|Settings, C/C++ tab, Code generation category,
|
|
Use run-time library dropdown. The settings for Release and Debug are
|
|
separate, so you'll have to change them one at a time. Exactly which run-
|
|
time library you use will depend on what you need; it doesn't appear that
|
|
DUMB has any particular requirements, so set it to whatever you're using
|
|
now. (It will have to be /MD, the multithreaded DLL library, if you are
|
|
statically linking with Allegro. If you are dynamically linking with
|
|
Allegro than it doesn't matter.)
|
|
8. If you are using Allegro, do some or all of the above for the aldumb.dsp
|
|
project in the aldumb directory too.
|
|
|
|
Good thing you only have to do all that once ... or twice ...
|
|
|
|
If you have the Intel compiler installed, it will - well, should - be used to
|
|
compile DUMB. The only setting I [Tom Seddon] added is /QxiM. This allows the
|
|
compiler to use PPro and MMX instructions, and so when compiling with Intel
|
|
the resultant EXE will require a Pentium II or greater. I don't think this is
|
|
unreasonable. After all, it is 2003 :)
|
|
|
|
[Note from Ben: the Intel compiler is evil! It makes AMD processors look bad!
|
|
Patch it or boycott it or something!]
|
|
|
|
If you don't have the Intel compiler, VC will compile DUMB as normal.
|
|
|
|
This project file and these instructions were provided by Tom Seddon (I hope
|
|
I got his name right; I had to guess it from his e-mail address!). Chad
|
|
Austin has since changed the project files around, and I've just attempted to
|
|
hack them to incorporate new source files. I've also tried to update the
|
|
instructions using guesswork and some knowledge of Visual J++ (you heard me).
|
|
The instructions and the project files are to this day untested by me. If you
|
|
have problems, check the download page at http://dumb.sf.net/ to see if they
|
|
are addressed; failing that, direct queries to me and I'll try to figure them
|
|
out.
|
|
|
|
If you have any comments at all on how the VC6 projects are laid out, or how
|
|
the instructions could be improved, I should be really grateful to hear them.
|
|
I am a perfectionist, after all. :)
|
|
|
|
Scroll down for information on the example programs. When you are ready to
|
|
start using DUMB, refer to docs/howto.txt. If you use DUMB in a game, let me
|
|
know - I might decide to place a link to your game on DUMB's website!
|
|
|
|
|
|
******************************************************
|
|
*** How to set DUMB up on Linux, BeOS and Mac OS X ***
|
|
******************************************************
|
|
|
|
|
|
You should have got the .tar.gz version. If for some reason you got the .zip
|
|
version instead, you may have to strip all characters with ASCII code 13 from
|
|
some of the text files. If you have problems, just go and download the
|
|
.tar.gz instead.
|
|
|
|
You have two options. There is a Makefile which should cope with most
|
|
systems. The first option is to use this default Makefile, and the procedure
|
|
is explained below. The second option is to download
|
|
dumb-0.9.3-autotools.tar.gz, extract it over the installation, run
|
|
./configure and use the generated Makefile. Users who choose to do this are
|
|
left to their own devices but advised to read the information at the end of
|
|
this section. I strongly recommend the first option.
|
|
|
|
If you are not using the configure script, the procedure is as follows.
|
|
|
|
First, run the following command as a normal user:
|
|
|
|
make
|
|
|
|
You will be asked whether you want Allegro support. Then, unless you are on
|
|
BeOS, you will be asked where you'd like DUMB to install its headers,
|
|
libraries and examples (which will go in the include/, lib/ and bin/
|
|
subdirectories of the prefix you specify). BeOS has fixed locations for these
|
|
files. You may use shell variables here, e.g. $HOME or ${HOME}, but ~ will
|
|
not work. Once you have specified these pieces of information, the optimised
|
|
and debugging builds of DUMB will be compiled, along with the examples. When
|
|
it has finished, you can install them with:
|
|
|
|
make install
|
|
|
|
You may need to be root for this to work. It depends on the prefix you chose.
|
|
|
|
Note: the Makefile will only work if COMSPEC and ComSpec are both undefined.
|
|
If either of these is defined, the Makefile will try to build for a Windows
|
|
system, and will fail.
|
|
|
|
Please let me know if you have any trouble.
|
|
|
|
Scroll down for information on the example programs. Refer to docs/howto.txt
|
|
when you are ready to start programming with DUMB. If you use DUMB in a game,
|
|
let me know - I might decide to place a link to your game on DUMB's website!
|
|
|
|
Important information for users of the configure script follows.
|
|
|
|
The Makefile generated by the configure script creates dynamically linked
|
|
libraries, and I don't know how to stop it from doing so. See the section
|
|
below on building DUMB manually for why I recommend linking DUMB statically.
|
|
However, if you choose to use the configure script, note the following.
|
|
|
|
The default Makefile is a copy of Makefile.rdy (short for 'ready'), and it
|
|
must exist with the name Makefile.rdy in order to work. The configure script
|
|
will overwrite Makefile, so if you want the default Makefile back, just run:
|
|
|
|
cp Makefile.rdy Makefile
|
|
|
|
Do not use a symlink, as that would result in Makefile.rdy getting
|
|
overwritten next time the configure script is run!
|
|
|
|
You can also access the usual build system by passing '-f Makefile.rdy' to
|
|
Make.
|
|
|
|
|
|
********************************************************
|
|
*** How to build DUMB manually if nothing else works ***
|
|
********************************************************
|
|
|
|
|
|
Those porting to platforms without floating point support should be aware
|
|
that DUMB does use floating point operations but not in the inner loops. They
|
|
are used for volume and note pitch calculations, and they are used when
|
|
initialising the filter algorithm for given cut-off and resonance values.
|
|
Please let me know if this is a problem for you. If there is enough demand, I
|
|
may be able to eliminate one or both of these cases.
|
|
|
|
All of the library source code may be found in the src/ subdirectory. There
|
|
are headers in the include/ subdirectory, and src/helpers/resample.c also
|
|
#includes some .inc files in its own directory.
|
|
|
|
There are four subdirectories under src/. For projects not using Allegro, you
|
|
will need all the files in src/core/, src/helpers/ and src/it/. If you are
|
|
using Allegro, you will want the src/allegro/ subdirectory too. For
|
|
consistency with the other build systems, the contents of src/allegro/ should
|
|
be compiled into a separate library.
|
|
|
|
I recommend static-linking DUMB, since the version information is done via
|
|
macros and the API has a tendency to change. If you static-link, then once
|
|
your program is in binary form, you can be sure that changes to the installed
|
|
version of DUMB won't cause it to malfuction. It is my fault that the API has
|
|
been so unstable. Sorry!
|
|
|
|
Compile each .c file separately. As mentioned above, you will need to specify
|
|
two places to look for #include files: the include/ directory and the source
|
|
file's own directory. You will also need to define the symbol
|
|
DUMB_DECLARE_DEPRECATED on the command line.
|
|
|
|
Do not compile the .inc files separately.
|
|
|
|
You may need to edit dumb.h and add your own definition for LONG_LONG. It
|
|
should be a 64-bit integer. If you do this, please see if you can add a check
|
|
for your compiler so that it still works with other compilers.
|
|
|
|
DUMB has two build modes. If you define the symbol DEBUGMODE, some checks for
|
|
programmer error will be incorporated into the library. Otherwise it will be
|
|
built without any such checks. (DUMB will however always thoroughly check the
|
|
validity of files it is loading. If you ever find a module file that crashes
|
|
DUMB, please let me know!)
|
|
|
|
I recommend building two versions of the library, one with DEBUGMODE defined
|
|
and debugging information included, and the other with compiler optimisation
|
|
enabled. If you can install DUMB system-wide so that your projects, and other
|
|
people's, can simply #include <dumb.h> or <aldumb.h> and link with libraries
|
|
by simple name with no path, then that is ideal.
|
|
|
|
If you successfully port DUMB to a new platform, please let me know!
|
|
|
|
|
|
****************************
|
|
*** The example programs ***
|
|
****************************
|
|
|
|
|
|
Three example programs are provided. On DOS and Windows, you can find them in
|
|
the examples subdirectory. On other systems they will be installed system-
|
|
wide.
|
|
|
|
dumbplay
|
|
This program will only be built if you have Allegro. Pass it the filename
|
|
of an IT, XM, S3M or MOD file, and it will play it. It's not a polished
|
|
player with real-time threading or anything - so don't complain about it
|
|
stuttering while you use other programs - but it does show DUMB's fidelity
|
|
nicely. You can control the playback quality by editing dumb.ini, which
|
|
must be in the current working directory. (This is a flaw for systems
|
|
where the program is installed system-wide, but it is non-fatal.) Have a
|
|
look at the examples/dumb.ini file for further information.
|
|
|
|
dumbout
|
|
This program does not need Allegro. You can use it to stream an IT, XM,
|
|
S3M or MOD file to raw PCM. This can be used as input to an encoder like
|
|
oggenc (with appropriate command-line options), or it can be sent to a
|
|
.pcm file which can be read by any respectable waveform editor. This
|
|
program is also convenient for timing DUMB. Compare the time it takes to
|
|
render a module with the module's playing time! dumbout doesn't try to
|
|
read any configuration file; the options are set on the command line.
|
|
|
|
dumb2wav
|
|
This program is much the same as dumbout, but it writes a .wav file with
|
|
the appropriate header. Thanks go to Chad Austin for this useful tool.
|
|
|
|
|
|
*********************************************
|
|
*** Downloading music or writing your own ***
|
|
*********************************************
|
|
|
|
|
|
If you would like to compose your own music modules, then this section should
|
|
help get you started.
|
|
|
|
The best programs for the job are the trackers that pioneered the file
|
|
formats:
|
|
|
|
Impulse Tracker - IT files - http://www.lim.com.au/ImpulseTracker/
|
|
Fast Tracker II - XM files - http://www.fasttracker2.com/
|
|
Scream Tracker 3 - S3M files - No official site known, please use Google
|
|
|
|
MOD files come from the Amiga; I do not know what PC tracker to recommend for
|
|
editing these. If you know of one, let me know! In the meantime, I would
|
|
recommend using a more advanced file format. However, don't convert your
|
|
existing MODs just for the sake of it.
|
|
|
|
Fast Tracker II is Shareware. It offers a very flashy interface and has a
|
|
game embedded, but the IT file format is more powerful and better defined. By
|
|
all means try them both and see which you prefer; it is largely a matter of
|
|
taste (and, in some cases, religion). Impulse Tracker and Scream Tracker 3
|
|
are Freeware, although you can donate to Impulse Tracker and receive a
|
|
slightly upgraded version. DUMB is likely to be at its best with IT files.
|
|
|
|
These editors are DOS programs. Users of DOS-incapable operating systems may
|
|
like to try ModPlug Tracker, but should read docs/modplug.txt before using it
|
|
for any serious work. If you use a different operating system, or if you know
|
|
of any module editors for Windows that are more faithful to the original
|
|
trackers' playback, please give me some links so I can put them here!
|
|
|
|
ModPlug Tracker - http://www.modplug.com/
|
|
|
|
If you have an x86 Linux system with VGA-compatible hardware (which covers
|
|
all PC graphics cards I've ever seen), you should be able to get Impulse
|
|
Tracker running with DOSEMU. You will have to give it access to the VGA ports
|
|
and run it in a true console, as it will not work with the X-based VGA
|
|
emulation. I personally added the SB16 emulation to DOSEMU, so you can even
|
|
use filters! However, it corrupts samples alarmingly often when saving on my
|
|
system - probably a DOSEMU issue. If you set this up, I am curious to know
|
|
whether it works for you.
|
|
|
|
DOSEMU - http://www.dosemu.org/
|
|
|
|
BEWARE OF WINAMP! Although it's excellent for MP3s, it is notorious for being
|
|
one of the worst module players in existence; very many modules play wrongly
|
|
with it. There are plug-ins available to improve Winamp's module support, for
|
|
example WSP.
|
|
|
|
Winamp - http://www.winamp.com/
|
|
WSP - http://www.spytech.cz/index.php?sec=demo
|
|
|
|
(There is a Winamp plug-in that uses DUMB, but it is unreliable. If anyone
|
|
would like to work on it, please get in touch.)
|
|
|
|
While I am at it I should also point out that Winamp is notorious for
|
|
containing security flaws. Install it at your own risk, and if it is your
|
|
work computer, check with your boss first!
|
|
|
|
Samples and instruments are the building blocks of music modules. You can
|
|
download samples at
|
|
|
|
http://www.tump.net/
|
|
|
|
If you would like to download module files composed by other people, check
|
|
the following sites:
|
|
|
|
http://www.modarchive.com/
|
|
http://www.scene.org/
|
|
http://www.tump.net/
|
|
http://www.homemusic.cc/main.php
|
|
http://www.modplug.com/
|
|
|
|
Once again, if you know of more sites where samples or module files are
|
|
available for download, please let me know.
|
|
|
|
If you wish to use someone's music in your game, please respect the
|
|
composer's wishes. In general, you should ask the composer. Music that has
|
|
been placed in the Public Domain can be used by anyone for anything, but it
|
|
wouldn't do any harm to ask anyway if you know who the author is. In many
|
|
cases the author will be thrilled, so don't hesitate!
|
|
|
|
A note about converting modules from one format to another, or converting
|
|
from MIDI: don't do it, unless you are a musician and are prepared to go
|
|
through the file and make sure everything sounds the way it should! The
|
|
module formats are all slightly different, and MIDI is very different;
|
|
converting from one format to another will usually do some damage.
|
|
|
|
Instead, it is recommended that you allow DUMB to interpret the original file
|
|
as it sees fit. DUMB may make mistakes (it does a lot of conversion on
|
|
loading), but future versions of DUMB will be able to rectify these mistakes.
|
|
On the other hand, if you convert the file, the damage is permanent.
|
|
|
|
|
|
***********************
|
|
*** Contact details ***
|
|
***********************
|
|
|
|
|
|
If you have trouble with DUMB, or want to contact me for any other reason, my
|
|
e-mail address is given below. Please do get in touch, even if I appear to
|
|
have disappeared!
|
|
|
|
If you wish to chat online about something, perhaps on IRC, that can most
|
|
likely be arranged. Send me an e-mail.
|
|
|
|
|
|
******************
|
|
*** Conclusion ***
|
|
******************
|
|
|
|
|
|
This is the conclusion.
|
|
|
|
|
|
Ben Davis
|
|
entheh@users.sf.net
|