aboutsummaryrefslogtreecommitdiff
path: root/backends/midi
AgeCommit message (Collapse)Author
2004-07-27Add passthrough ability. Patch by Christian Schoenebeck with slight ↵Jonathan Gray
modifications svn-id: r14354
2004-03-19Reverted to the old random_nr() function. This appears to have been theTorbjörn Andersson
cause of bug #916886: Calling getRandomNumber(-1) causes ScummVM to crash, while calling random_nr(-1) doesn't. We may still want to replace it with getRandomNumber() later, of course. svn-id: r13341
2004-03-13Patch #902111: Change remaining random function calls to use RandomSourceMax Horn
svn-id: r13262
2004-02-24the OSystem changes we discussed on the ML (note: renaming of the existing ↵Max Horn
OSystem API is not yet finished); porters will have to fix their ports to get them to compile again svn-id: r13036
2004-02-05Prepare Zodiac MIDI supportChris Apers
svn-id: r12734
2004-01-20Handle command 0xD0 (queen uses this) - thanks aholler.Joost Peters
svn-id: r12533
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-25disable the reverb hack for now; at hacked in sound font support (specify ↵Max Horn
'soundfont' config option with path to a .SF2 file); simplify code a bit by using OpenDefaultComponent; allow usage of any music device, not just the DLSSynth (this may or may not help people with real MIDI devices) svn-id: r11918
2003-12-24fix various buglets (like, only 15 of the 16 channels were being inited; ↵Max Horn
also, the 'All note off' code caused odd problems, not yet sure why. I am disabling it for now) svn-id: r11884
2003-12-24fix drum channelMax Horn
svn-id: r11883
2003-12-11add config file parameter to specify the desired port when using the ALSA ↵Jonathan Gray
music driver svn-id: r11583
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11220
2003-11-03stdafx.h needs to be included first.Marcus Comstedt
svn-id: r11117
2003-10-18cleanupMax Horn
svn-id: r10894
2003-10-17Make PalmOS port happyChris Apers
svn-id: r10843
2003-10-07More Euphony/YM2612 instrument layering and polyphonyJamieson Christian
fixes. Aside from variations in the instrument timbre, the output from ScummVM now seems to match up with the output from UNZ (MAME YM2612 emulator). svn-id: r10672
2003-10-07Remove my trace output. :PJamieson Christian
svn-id: r10669
2003-10-07More polyphony tweaks. Sounding a bit better.Jamieson Christian
svn-id: r10668
2003-10-06fixed warningsMax Horn
svn-id: r10646
2003-10-06removed unused 'rate' param from nextTick; another tiny tweak to ↵Max Horn
Operator2612::nextTick (avoids one memory store over here, woohoo <g>) svn-id: r10644
2003-10-06remove <string> include so we don't depend on stdlib stuff (not used anyway) ↵Jonathan Gray
this also stops compile problems arising from our overloaded memory operators here svn-id: r10643
2003-10-06malloc/new optimizationsMax Horn
svn-id: r10642
2003-10-06Per-channel polyphony now > 1Jamieson Christian
svn-id: r10641
2003-10-06even more optimizationsMax Horn
svn-id: r10639
2003-10-06some more tweaksMax Horn
svn-id: r10637
2003-10-06some incremental changes (more will follow, this is step-by-step ↵Max Horn
optimzation, watch it happen in pseudo-real-time and color. icecream is sold at the entrance, please stop smoking svn-id: r10636
2003-10-06More performance optimizationsJamieson Christian
svn-id: r10629
2003-10-06oops - that happesn if you incorrectly re-apply a broken patch =)Max Horn
svn-id: r10628
2003-10-06more optimizationsMax Horn
svn-id: r10627
2003-10-06Fix compiler warningsJamieson Christian
svn-id: r10626
2003-10-06The real YM2612 implementation. Portable,Jamieson Christian
and with significant performances optimizations thanks to Fingolfin, or optimizing emperor. :) svn-id: r10625
2003-10-05Preliminary preparation for new YM2612 FM emulator.Jamieson Christian
All the hooks are in, but actual implementation needs to be checked for portability. svn-id: r10615
2003-09-28removed duplicate g_timer object (one was global, one was static to ↵Max Horn
timer.cpp); set g_system earlier (might prevent a few race conditions) svn-id: r10471
2003-09-26Converted the MPU-401 timer to use the Timer class.Jamieson Christian
Since this was the only place where we were using create_thread, that method should be removable now. I also removed the midi_driver_thread overrides for the MorphOS and YPA1 (Palm) backends. These need to be tested by their respective porters. svn-id: r10414
2003-09-25Fix for Bug [810564] ALL: missing instruments with native MT-32Jamieson Christian
As defined in Patch [811623] MT-32 patch for Bug 810564 Added a channel mask to MPU-401 devices so that --native-mt32 may force the device to use only the subset of MIDI channels actually supported by the MT-32. Also added a best-guess interpretation of iMuse Part priority in the SysEx 0x00 msg, since part priorities become more of an issue when the channel count is cramped. svn-id: r10409
2003-09-18changed & documented the premixer semanticsMax Horn
svn-id: r10294
2003-09-18Extend the ALSA version check to look at SND_LIB_MAJOR as well. They'reTorbjörn Andersson
bound to hit 1.0 any year now. Of course, this is completely untested. svn-id: r10288
2003-09-18moved engine.* to base; this fixes some linking issues when building a ↵Max Horn
barebone ScummVM (or maybe I just want to increase our CVS stats? <g>) svn-id: r10287
2003-09-10moved declaration of error/warning/debug from engine.h to util.hMax Horn
svn-id: r10151
2003-08-23use startup message, avoid possible race condition on exitRuediger Hanke
svn-id: r9833
2003-08-17Changed adlib note priorities for small header gamesJochen Hoenicke
svn-id: r9746
2003-08-15Changed on_timer frequency in adlib so V3 SFX are correctly timed.Jochen Hoenicke
Changed V3 conversion code to adapt to the new (correct) speed. svn-id: r9712
2003-08-13Remove debug code that shouldn't have been commitTravis Howell
svn-id: r9655
2003-08-12Add adlib music for indy3ega/loom and adlib sfx, patch #770862Travis Howell
svn-id: r9649
2003-08-08Revamped the GM-to-FM emulation tables.Jamieson Christian
The new tables come directly from the Adlib driver for the original Sam & Max distro. Sam & Max using Adlib should now sound essentially identical to the original distro ("a few more tests"), and other games without specific Adlib support, such as Simon, should sound a whole lot closer to the GM tonality. Percussion support is now comprehensive for Sam & Max and a lot more thorough for other games. svn-id: r9605
2003-08-08Added generic send() option to MidiChannel.Jamieson Christian
This circumvents problems doing generic send() calls to MidiDrivers that support more than 16 MIDI channels (i.e. Adlib). Because of the way it interacts with MidiDriver, Simon could have run into a problem if it tried to allocate more than 15 Adlib music channels (though this would only happen in very, VERY rare circumstances). Also fixed a problem with the channel numbering scheme used by MidiDriver_Adlib, in particular the percussion channel number. svn-id: r9604
2003-08-05getting rid of g_mixer; removing lots of whitespaceMax Horn
svn-id: r9527
2003-08-05removing whitespaceMax Horn
svn-id: r9526
2003-08-05Hotfixes ...Ruediger Hanke
svn-id: r9514
2003-08-05Rvert this non-smallheader adlib changeTravis Howell
svn-id: r9491