aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/drivers/midi.cpp
AgeCommit message (Collapse)Author
2013-04-17SCI: Fix confusing use of strncpyWillem Jan Palenstijn
2013-03-27SCI: Remove some useless checks in the MIDI driverFilippos Karapetis
2012-04-05SCI: Do not cast away const qualifier.Johannes Schickel
2011-05-13SCI: Don't include several debug tables when REDUCE_MEMORY_USAGE is definedmd5
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-27SCI: Removed unused variablesmd5
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
2011-04-13SCI: Added handling for another version of mt32.drv (bug #3285556)md5
This is used in another version of KQ4 early (0.000.274)
2011-04-02SCI: Replace not required emumidi headerdhewg
2011-03-27SCI: Fix default pan value in MIDI driver.Walter van Niftrik
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-03SCI: Don't ignore SysEx messages at the driver level but warn insteadmd5
SysEx messages in the driver are usually the result of a bug which should be investigated and not silently ignored
2011-03-03SCI: Slight cleanup of some sound driversmd5
2011-02-27SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLYmd5
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-26SCI: Some slight fixes for the code that reads the LSL2 early MT32.DLL ↵md5
driver, thanks to waltervn
2011-02-26SCI: Added support for reading data off the MT32.DRV driver found in LSL2 ↵md5
early (bug #3192627)
2011-02-10SCI: Added comments to the FB-01 and MIDI drivers. The original driver files ↵Filippos Karapetis
are only needed in SCI0 early games, which didn't include separate sound patch resources. Thanks to waltervn for the information he supplied svn-id: r55875
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2010-11-26SCI: Only filter channels for early SCI0, as GM currently uses all channels.Walter van Niftrik
svn-id: r54498
2010-11-26SCI: Send the SCI0 reverb init after reading the reverb dataFilippos Karapetis
svn-id: r54492
2010-11-25SCI: Some reverb-related changes in the MIDI driver, based on a patch by ↵Filippos Karapetis
waltervn svn-id: r54484
2010-11-25SCI: Initialize reverb in the music driver correctly. Based on a patch by ↵Filippos Karapetis
waltervn svn-id: r54483
2010-11-25SCI: Added support for the alternate Windows MIDI soundtracks of the CD ↵Filippos Karapetis
versions of EcoQuest, Jones, KQ5 and SQ4 svn-id: r54476
2010-11-25SCI: Fix bug in MT-32 checksum computation. Thanks Sven for finding this.Walter van Niftrik
svn-id: r54471
2010-11-25SCI: Set _useMT32Track correctly for KQ5 Windows, thus simplifying the codeFilippos Karapetis
svn-id: r54465
2010-11-25SCI: Added support for the alternative GM tracks of the Windows version of ↵Filippos Karapetis
KQ5CD (bug #3041239) Note that the empty GM track for the Sierra logo makes the game hang, so the MT-32 track is used, which sounds awful svn-id: r54464
2010-11-24SCI: Moved handling of special reverb value 127 outside of the MIDI driverFilippos Karapetis
svn-id: r54459
2010-11-24SCI: some changes to the way reverb is handledFilippos Karapetis
- "Invalid" SCI reverb values (127) are properly handled now - SCI kDoSound(reverb) sets the global reverb (renamed it accordingly) - kDoSound(reverb) can also return the current reverb if no parameter is sent svn-id: r54457
2010-11-24SCI: Added a TODO for the default reverb valueFilippos Karapetis
svn-id: r54454
2010-11-24SCI: Read MT-32 reverb data correctly (patch #3117434)Filippos Karapetis
svn-id: r54453
2010-11-23SCI: Ignore polyphonic/channel aftertouch (0xa0 / 0xd0) in the MIDI driver, ↵Filippos Karapetis
like in the Adlib driver. SSCI doesn't handle these, so we shouldn't handle them either svn-id: r54428
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-10SCI3: Some changesFilippos Karapetis
- Placed the SCI3 version detection in the proper place - Some new types of SCI3 MT-32 patches (e.g. in the Lighthouse SCI3 demo) are ignored, for now svn-id: r54188
2010-10-28SCI: Split the GM related names out of map-mt32-to-gm.h and into a separate ↵Filippos Karapetis
header file svn-id: r53906
2010-10-28SCI: Improved the description of the "map_instrument" console command a bit. ↵Filippos Karapetis
Also, the dynamic mappings are now checked before the static ones svn-id: r53903
2010-10-28SCI: Several changes related to MT-32 -> GM mappingFilippos Karapetis
- Changed C - style comments in map-mt32-to-gm.h to C++ - style comments - Added a new dynamic MT-32 -> GM mapping, complementary to the normal one, which can be done on the fly using the new console command "map_instrument" - The "show_instruments" command has been moved to the music section and now displays the instruments of the game which aren't in the MT32-> GM mapping svn-id: r53902
2010-09-14SCI: Some constification.Johannes Schickel
svn-id: r52726
2010-09-09SCI: Add getLastChannel() function to MidiPlayer classWalter van Niftrik
svn-id: r52655
2010-09-03SCI: Added a warning when using GM with SCI1 gamesFilippos Karapetis
The MT-32 <-> GM mapping has only been worked on for SCI0/SCI01 games. Throw a warning when the user chooses GM in a SCI1 game, and there is no after market GM support from Sierra for this game svn-id: r52505
2010-08-19SCI: Added checking for the existence of a GM track, to determine if device ↵Filippos Karapetis
ID 7 or 12 should be used. Fixes the GM music in the demo of QFG3, which is using an in-between version of SCI1 and SCI1.1 svn-id: r52211
2010-08-18SCI MIDI: adding some asserts as well as proper initialization for _velocityMapFilippos Karapetis
svn-id: r52184
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-19SCI: make channel remapping stop using channel 0 for mt32 - fixes playback ↵Martin Kiewitz
accordingly (like lsl1 at the start) svn-id: r50056
2010-06-18SCI: (Temporary?) workaround for firmware bug in common USB-MIDI cables.Walter van Niftrik
svn-id: r49982
2010-02-17SCI: Reduce header interdependenciesMax Horn
svn-id: r48086
2010-02-02SCI: Fix bug in keyshift handling in midi driver.Walter van Niftrik
svn-id: r47806
2010-01-29SCI: Fix out-of-bounds error in MT-32 patch reading in GM mode.Walter van Niftrik
svn-id: r47662
2010-01-26SCI: Add driver for Yamaha FB-01. Cleanup.Walter van Niftrik
svn-id: r47571
2010-01-22SCI: Fix OB1 error in rhythm mapping in MT-32 to GM translationWalter van Niftrik
svn-id: r47428
2010-01-21SCI: CleanupWalter van Niftrik
svn-id: r47419