aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-02-17Attempt to fix incorrect delay calculation on 32-bit systemsWohlstand
2017-02-17Better audio clipping while mixingWohlstand
2017-02-16Remove usage of std::shared_ptrWohlstand
because it is not supported on Android NDK, yet (even C++11 usagae is enabled!)
2017-02-16Fix processing of the drums of AIL banks!Wohlstand
The field B_transpose on drums means note number, and is no need extra calculations Here is a right specification for AIL's bank format, gotten from AIL 2 sources which are been published by Miles ``` //GTL - "Global Timbre Bank" struct GTL Head // GTL file header entry structure { uint8_t patch; uint8_t bank; uint32_t offset; } //- Length is 6 bytes //Look for timbre until .patch will equal to 0xFF, then look for each instrument Note: DW - Define Word - uint16_t DB - Define Byte - uint8_t BNK STRUC ;.BNK-style timbre definition B_length dw ? ; lenght of timbre entry B_transpose db ? B_mod_AVEKM db ? ;op_0 = FM modulator B_mod_KSLTL db ? B_mod_AD db ? B_mod_SR db ? B_mod_WS db ? B_fb_c db ? B_car_AVEKM db ? ;op_1 = FM carrier B_car_KSLTL db ? B_car_AD db ? B_car_SR db ? B_car_WS db ? ENDS OPL3BNK STRUC ;.BNK-style OPL3 timbre definition BNK <> O_mod_AVEKM db ? ;op_2 O_mod_KSLTL db ? O_mod_AD db ? O_mod_SR db ? O_mod_WS db ? O_fb_c db ? O_car_AVEKM db ? ;op_3 O_car_KSLTL db ? O_car_AD db ? O_car_SR db ? O_car_WS db ? ENDS ```
2017-02-15Fix weird drums processing for some banksWohlstand
(when bass drums are taking too high tone)
2017-02-15Fixed logarithmic volumes flag and added support for XMI and MUS formatsWohlstand
MUS playing was totally invalid: the MUS data are completely different from regular MIDI data. Now is added a right converter which results a MIDI data which can be played correctly.
2017-02-07Fill drum-less 47'th bank with drums set from the other bankWohlstand
2017-02-07Fixed swapped melodic and drums mistake of the 12'th bank "Earthsiege"Wohlstand
Now this bank is finally works fine!
2017-01-26Created a "Theme Park" bank with the fixed drumsWohlstand
Using BNKs directly results a wrong pitch for the drums and set is incompatible with General Midi, so, some drums has been swapped and copy-pasted
2017-01-16Split adlmidi.cpp now keeps API functions onlyWohlstand
other code has been moved into separated files
2016-12-09Added a changalbe volume ranges modelWohlstand
(to allow banks play sound be more native like to their original implementations)
2016-12-08Little experiment with switchable volume range modelsWohlstand
2016-12-08Rename "slots" into "chipslots"Wohlstand
(including this header into Qt application will cause error, because "slots" in Qt just an dummy macro)
2016-12-07OoopsWohlstand
Fixed wrong generated sound in some cases. DBOPL has own constructors to initialize it's fields. memset no need here
2016-12-07Fix another Android NDK's warningWohlstand
(this member is already initialized in constructor!)
2016-12-07Fixed another crash and dealing with uninitialized memoryWohlstand
2016-12-07Little refactoring of adl_play() function to fix return size valueWohlstand
2016-12-07Added validation of variable length value on MIDI loadingWohlstand
- (to prevent a weird crash caused by track with no events inside) Also attempt to fix issue #4
2016-12-07Fixed crash in the DosBox versionWohlstand
(because after std::vector's resize, contents is uninitialized, Valgrind has been confirmed that)
2016-12-07Ouch (fixed inverted loop flag, reported in issue #3)Wohlstand
2016-12-07Begin optimization works on Nuked OPL3's codeWohlstand
Small experiment with macros and inlines at first. I think, is a time to review DosBox's code for optimization tricks to apply on the Nuked
2016-12-06Fixed Android buildWohlstand
2016-12-06Added Nuked OPL3 emulator (which is more accurate than DosBox's)Wohlstand
Also: - Fixed warnings in the CLang code model plugin for Qt Creator - Fixed bend coefficient which caused incorrect hi-hats in DMX banks
2016-11-15Fixed drums in 4 banksWohlstand
2016-10-23Fixed build on WindowsWohlstand
2016-10-22Apply latest update of ADLMIDIWohlstand
- Added support of playing CMF files
2016-09-02Added three Apogee banks: Blood, Lee and NAMWohlstand
2016-09-02Added a function to retrieve a count of the banksWohlstand
2016-08-06Fixed infinite loop caused by attempt to play blank MIDI-fileWohlstand
2016-08-05Handle 111'th controller as loopStart pointWohlstand
2016-06-20Merge branch 'master' of git@github.com:Wohlstand/libADLMIDI.gitWohlstand
# Conflicts: # src/adldata.cpp
2016-06-20Replacing some IBK's with merged TMB'sWohlstand
2016-06-13Partially modified banksWohlstand
2016-06-13Fixed freezing on IMF playingWohlstand
(my previous implementation of fget() initator sucks, it must return unsigned char inside signed integer container to be able return "-1" on eof)
2016-06-09Another changes of the modded OP3 banksWohlstand
2016-06-09Another experiment with OP3-filesWohlstand
(old IBK with modded bank has been replaced with better OP3 file)
2016-06-07Continue research at JungleVision file formatWohlstand
2016-05-14Fixed exampleWohlstand
2016-05-14Added 68'th bank: default Timbre bank of the Build EngineWohlstand
2016-03-22Fixed file parsing and accuracy of DMX banks playbackWohlstand
2016-03-16More accurate DMX fine tune of second voiceWohlstand
2016-02-07Changes made in January and February 2016Wohlstand
- Fixed freezing on invalid loop points (instead, ignore them!) - Optimized output generating - Instead of 16-bit samples stored into array of 32-bit integers, return true PCM-16bit for convenience and with no confusion!
2016-02-07Taking generated audio also via pointerWohlstand
Not only via callback funtion pointer
2016-02-07Small warning fixWohlstand
2016-02-07Small fix of the drumsWohlstand
- small work over updated drum bank - set usage of Duke Nukem 3D's drum bank to O'Connel's (66) and to Ultimate Soccer Manager's (48) banks
2015-12-20Add one new IBK bank (Jamey O'Connel's)Wohlstand
2015-12-20Refresh my-gmopl bankWohlstand
2015-12-10Allow volume modulationWohlstand
2015-12-10Adding one new IBK-based bankWohlstand
2015-10-10Fix error of Windows buildWohlstand
with "NO_OLDNAMES" included <sstream> causes "::iswblank not declared" error