Commit Graph

  • 91b8912015 Rename all SU_BEGIN_* macros into BEGIN_*; there's no real risk of nameclash and makes the code more readable. Veikko Sariola 2020-05-26 17:45:37 +03:00
  • efc6db71ab Reverse the logic of USE_SECTIONS (it's now DISABLE_SECTIONS) and then remove unnecessary defines. Veikko Sariola 2020-05-26 17:30:50 +03:00
  • 3b10476dc2 Remove unused strucs / struc members; in particular: .params /.ports. Veikko Sariola 2020-05-26 16:35:19 +03:00
  • cf86a951f5 Move all constants into the end of sointu.asm, littering them around started getting messy. Veikko Sariola 2020-05-26 16:30:57 +03:00
  • 35b8253776 Delete CONCATENATE macro - it is not used anymore. Veikko Sariola 2020-05-26 14:25:15 +03:00
  • dac5afea60 Implement IN, OUTAUX and AUX opcodes, to conveniently input from or output to global ports. Veikko Sariola 2020-05-25 23:14:02 +03:00
  • 17c6afceb4 Fix bug that su_env_map was not compiled when using only compressor, and rename it to su_nonlinear_map. Veikko Sariola 2020-05-25 20:45:36 +03:00
  • 1f92373a63 Limit compressor stack use. Veikko Sariola 2020-05-25 20:37:34 +03:00
  • 1eb6974d5d Optimize compressor size. Veikko Sariola 2020-05-25 20:29:34 +03:00
  • 55d9ca0ffc Reverse the voiceno counter: now it starts from MAX_VOICES and decrements until 0. This way, the VM needs not know anything about MAX_VOICES. Veikko Sariola 2020-05-25 17:23:54 +03:00
  • a193b8b1ef Inline transform_values into the VM, leading to a slightly more efficient register use. Veikko Sariola 2020-05-25 16:57:50 +03:00
  • 3198452b9c Add a change log. Veikko Sariola 2020-05-25 14:14:13 +03:00
  • 33d83d29a5 Update project description & version. Veikko Sariola 2020-05-25 13:50:09 +03:00
  • 8d0ae21fb6 Remove separate playerstack and clean up the code. Veikko Sariola 2020-05-25 11:16:49 +03:00
  • 7de7b49e24 Change apply to "do" and add brackets. Veikko Sariola 2020-05-24 01:11:17 +03:00
  • 2c6f4f44d5 Use some of the unused space of synth object for curvoices. Veikko Sariola 2020-05-24 00:45:59 +03:00
  • 457c1fdc32 Move things to stack, anticipating support for multicore rendering. Veikko Sariola 2020-05-24 00:32:49 +03:00
  • 5c25eacd08 Optimize delay for better register use. Veikko Sariola 2020-05-23 17:40:22 +03:00
  • da52c10f7f Get rid of transformed values and use the header of the voice for that; saves _CX completely for the opcode. Veikko Sariola 2020-05-23 17:30:52 +03:00
  • 79b384a0d6 Clean up comments and some defines. Veikko Sariola 2020-05-23 16:02:29 +03:00
  • bd005d52a7 Clean up whitespace. Veikko Sariola 2020-05-23 15:09:32 +03:00
  • 6f06306f0c Re-engineer delay, to use stack for the delay WRK pointer and to support note-syncing transpose. Veikko Sariola 2020-05-23 15:05:38 +03:00
  • afbff66e36 Use strucs for stack locations, instead of hard-coding them everywhere. Veikko Sariola 2020-05-21 17:43:14 +03:00
  • 654e5868bc Implement support for 64-bit builds. Veikko Sariola 2020-05-21 17:18:18 +03:00
  • 6f7fed4c6b Move jnc *_mono, ..., *_mono: code from function bodies to the stereofilter helper. Veikko Sariola 2020-05-20 08:49:23 +03:00
  • dc99157fbb Implement unison oscillators: multiple versions of slightly detuned oscillators that are added up to make a signal. Veikko Sariola 2020-05-19 21:12:49 +03:00
  • adc4a6e45f Implement sample-based oscillators, with sample import from gm.dls. Veikko Sariola 2020-05-19 18:29:47 +03:00
  • 77b989d88d Optimize size. Veikko Sariola 2020-05-18 16:25:20 +03:00
  • 666fd385d1 Fix bug in SEND STEREO. Veikko Sariola 2020-05-18 16:23:49 +03:00
  • 5d1145be39 Improve README. Veikko Sariola 2020-05-17 16:48:28 +03:00
  • fc0ad4c011 Implement compressor. Veikko Sariola 2020-05-17 16:37:08 +03:00
  • 71a5a18257 Implement player speed modulation opcode for triplets and such. Veikko Sariola 2020-05-17 09:51:20 +03:00
  • 15717557f1 Split polyphony test into two tests. Veikko Sariola 2020-05-17 08:32:35 +03:00
  • f06810d956 Optimize size. Veikko Sariola 2020-05-16 23:53:39 +03:00
  • 3b33b4e4d2 Improve README. Veikko Sariola 2020-05-16 23:26:21 +03:00
  • d87d2e22cf Implement new effect: bit-crusher. Veikko Sariola 2020-05-16 23:22:31 +03:00
  • 6a0a2fc36c Optimize the implementations of gain and invgain. Veikko Sariola 2020-05-16 23:01:16 +03:00
  • ac5b4dd496 Make clip opcode working and add regression tests to it. Veikko Sariola 2020-05-16 22:49:59 +03:00
  • 5760f78201 Implement gain and inverse gain effects, for the moments when you just need them. Veikko Sariola 2020-05-16 22:29:08 +03:00
  • e966bc0084 Improve README. Veikko Sariola 2020-05-16 21:55:32 +03:00
  • 87264c443c Add tests for opcode stereo variants, squashing several bugs in the process. Implement receive opcode to test stereo sending. Veikko Sariola 2020-05-16 21:23:41 +03:00
  • f9388b028a Rename test files to represent better the new opcodes they correspond to. Veikko Sariola 2020-05-16 18:32:56 +03:00
  • 42ebc52c96 Remove trailing spaces and convert tabs to spaces. Veikko Sariola 2020-05-16 09:16:23 +03:00
  • d328431413 Improve README. Veikko Sariola 2020-05-16 08:54:55 +03:00
  • 78d4cd50e8 Rewrote most of the synth to better support stereo signals and polyphony. VSTi removed as there is no plan to update the VSTi to support the new features. Veikko Sariola 2020-05-16 08:25:52 +03:00
  • 5c1b87f254 Improve comments for UpdateInstrument Veikko Sariola 2020-05-04 20:19:58 +03:00
  • 6be7959cd1 Refactor the waveshaper function to save some bytes. Veikko Sariola 2020-05-03 17:02:08 +03:00
  • 3c3fe6caf8 Improve comments and formatting. Veikko Sariola 2020-05-03 16:34:39 +03:00
  • 212951c75d Make tests rebuild when 4klang.asm and 4klang.inc are changed. Veikko Sariola 2020-05-03 12:50:42 +03:00
  • 9546574f13 Add regression test for AUX output. Veikko Sariola 2020-05-03 11:21:09 +03:00
  • c63dfd74f9 Make transform macro definition slightly more readable. Veikko Sariola 2020-05-03 11:12:53 +03:00
  • 53a1be9b61 Refactor all values to have a universal support for modulations. Veikko Sariola 2020-05-01 16:56:30 +03:00
  • 0c08f3d41c Remove unnecessary short jump. Veikko Sariola 2020-05-01 09:34:17 +03:00
  • 8dc7a9b5a0 Fix some name manglings. Veikko Sariola 2020-05-01 09:31:36 +03:00
  • 405ef66b31 Remove unnecessary code from Power-function. Veikko Sariola 2020-05-01 09:17:10 +03:00
  • 660da68a48 Add regression test for polyphony (MAX_VOICES = 2). Veikko Sariola 2020-05-01 08:51:43 +03:00
  • f97cea2a17 Refactor 4klang to use cross-platform defines and 4klang.asm & .inc to work more like .c and .h. Veikko Sariola 2020-04-25 23:45:47 +03:00
  • 771c0b96e3 Put back 8klang builds. Veikko Sariola 2020-04-30 13:08:05 +03:00
  • 09c497fef6 Add regression tests for delay modulations. Veikko Sariola 2020-04-25 11:29:14 +03:00
  • 7170b049d3 Add regression tests for VCF opcode and its modulations. Veikko Sariola 2020-04-24 22:51:42 +03:00
  • 4b9b1710eb Add regression tests for delay (DLL) opcode. Veikko Sariola 2020-04-23 20:06:41 +03:00
  • a49fba060c Add regression tests for distortion, including sample-and-hold and modulations. Veikko Sariola 2020-04-18 21:21:21 +03:00
  • 41222b09a7 Move all raw audio files related to tests into subfolders, to have slightly more clean folder structure and to avoid mixing source files and data files. Veikko Sariola 2020-04-18 19:47:16 +03:00
  • 886ee85a09 Improve CMakeLists.txt for tests, so it is easier to define test prerequirements. Veikko Sariola 2020-04-18 13:16:33 +03:00
  • d9f4def1d4 Add regression tests for vco modulations (cm, dm, fm, gm, pm, sm and tm) Veikko Sariola 2020-04-17 19:36:09 +03:00
  • cc2babde9c Add regression test for envelope modulation. Veikko Sariola 2020-04-17 18:21:37 +03:00
  • 462521518f Add regression tests for FST and FSTG opcodes. Veikko Sariola 2020-04-16 22:05:50 +03:00
  • 9c7db45a46 Rewrote parts of the test renderer to read the whole data from disk in one fread. Veikko Sariola 2020-04-16 14:05:17 +03:00
  • 374be5256e Add regression test for VCO opcode, lfo variant. Veikko Sariola 2020-04-16 13:37:30 +03:00
  • 83e3ab165e Add test for 16-bit output, also moving the testname for test_renderer into compiler definition to avoid rewriting it everytime. Veikko Sariola 2020-04-15 23:17:03 +03:00
  • cff4538b8c Make the CMakeLists.txt for the tests a slightly more sensible; the data files are copied after every build if they are newer. Veikko Sariola 2020-04-15 19:45:31 +03:00
  • d6798bdae3 Add regression test for VCO opcode (oscillator) for testing stereo sound creation. Veikko Sariola 2020-04-14 23:37:15 +03:00
  • 34a98ebc4a Add regression test for VCO opcode (oscillator): gate, noise, pulse and trisaw variants. Veikko Sariola 2020-04-14 23:11:10 +03:00
  • 38499e01bb Add regression test for VCO opcode (oscillator), sine wave variant. Veikko Sariola 2020-04-14 22:23:09 +03:00
  • 35b2df2a2f Require CMake version 3.15, as the Visual Studio statically linking runtime policy was introduced in it. Veikko Sariola 2020-04-14 21:44:45 +03:00
  • ce81ef5ef9 Add regression test for FOP opcode, loadnote variant. Veikko Sariola 2020-04-14 21:44:05 +03:00
  • 398543d67c Add regression tests for FOP opcode: add, addp2, mul, mulp2, push and xchg variants. Veikko Sariola 2020-04-14 18:08:57 +03:00
  • e790549d27 Add regression test to test fop opcode / addp, mulp and pop variants. Veikko Sariola 2020-04-13 19:10:46 +03:00
  • 08518a9527 Add regression test to test multiple instruments. Veikko Sariola 2020-04-13 17:50:09 +03:00
  • b1ba5e9e6b Add regression test to test panning opcode. Veikko Sariola 2020-04-13 17:34:46 +03:00
  • f33da76d1e Add regression test to test load opcode. Veikko Sariola 2020-04-13 17:18:26 +03:00
  • 1f0fdfc30e Improve and rename envelope test. The test focuses on GO4k_ENV opcode only and does not use panning. Veikko Sariola 2020-04-13 16:53:11 +03:00
  • 2bee9edd0b Quick fix so that global store opcode is exported as 12 when glitch is not used. Veikko Sariola 2020-04-12 22:14:28 +03:00
  • 8d984cbc38 Implement ctest unit test, first test simply testing that envelope works as it used to. Veikko Sariola 2020-04-12 21:55:28 +03:00
  • e180694d9e Switch to CMake for builds and reorganize the source directories. Veikko Sariola 2020-04-12 21:54:36 +03:00
  • e285541203
    Merge pull request #3 from kebby/master Dominik Ries 2019-08-17 20:23:53 +02:00
  • 175b49bc3a
    Merge pull request #1 from petersalomonsen/petersalomonsen/osxplayer_rendersingletickwithauthoringflag Dominik Ries 2019-08-17 20:17:56 +02:00
  • 391f826de9 Added getChunk/setChunk to VSTi so patches are stored with the project Tammo Hinrichs 2019-08-17 17:16:05 +02:00
  • fd1013586a backported various bugfixes from master: 4klang-3.11 Dominik Ries 2019-04-06 12:55:46 +02:00
  • ccecfc1898 Mac OSX player and Single tick rendering Peter Salomonsen 2018-12-02 16:44:50 +01:00
  • b06829eab1
    Update README.md Dominik Ries 2018-10-29 08:55:57 +01:00
  • 449801b85b Merge branch 'master' of https://github.com/hzdgopher/4klang Dominik Ries 2018-10-28 22:18:39 +01:00
  • 7d758d6d66 version 3.2.2 - legacy fix for global sections save/load memory out of bounds access - fixed delay index fuckup during export when skipping instruments with delay mode "note sync" Dominik Ries 2018-10-28 22:18:13 +01:00
  • 86828062e8
    Create LICENSE Dominik Ries 2018-04-02 22:48:13 +02:00
  • d1f776b473 Merge branch 'master' of https://github.com/hzdgopher/4klang Dominik Ries 2018-03-16 19:18:56 +01:00
  • ced4a2b7b9 fixed bug in distortion when using stereo and sample&hold. Dominik Ries 2018-03-16 19:18:41 +01:00
  • de562f8785
    updated readme with screenshot Dominik Ries 2018-03-14 22:30:45 +01:00
  • 10457b31ec added image Dominik Ries 2018-03-14 22:09:19 +01:00
  • 85f963720a Merge branch 'master' of https://github.com/hzdgopher/4klang Dominik Ries 2018-03-11 13:46:38 +01:00
  • ed24e757e5 batch commit version 3.2.1: Dominik Ries 2018-03-11 13:46:23 +01:00