aboutsummaryrefslogtreecommitdiff
path: root/simon/midi.cpp
AgeCommit message (Collapse)Author
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-05-10Moved class File and the MD5 stuff to namespace CommonMax Horn
svn-id: r18037
2005-04-03Committed patch #1168149 (Shared GM/MT-32 mapping) by eriktorbjorn as-is. ↵Jerome Fisher
This does the following: - Replaces multiple identical MT-32-to-General MIDI mapping tables with a common one in MidiDriver. - Changes Sky's GmChannel class to allow NULL instrument and velocity mapping tables, giving a 1-to-1 mapping without creating a dummy table. svn-id: r17361
2005-01-28Use class Mutex instead of MutexRefMax Horn
svn-id: r16679
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-10-23Better support of MT-32.Eugene Sandulenko
svn-id: r15659
2004-09-08Fingolfin's suggested fix for bug #1004919.Torbjörn Andersson
svn-id: r14959
2004-09-04cleanupMax Horn
svn-id: r14878
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-10-12Fix for Bug [821514] SIMON: No Adlib volume for percussionJamieson Christian
Transmit volume with each percussion event. (Necessary because music and SFX tracks may share the percussion channel.) This is the same approach used in iMuse. svn-id: r10753
2003-10-03Simon namespaceMax Horn
svn-id: r10574
2003-09-24Whitespace changesTorbjörn Andersson
svn-id: r10390
2003-08-11More music volume management fixesJamieson Christian
svn-id: r9636
2003-08-11Fix for Bug [777589] SIMON1: Sound volume strangenessJamieson Christian
Fixed redundant, cumulative adjustments of _masterVolume on the individual channel volumes. This fixes problems with individual instruments changing volume by too much, or dropping out altogether, when changing the master music volume. svn-id: r9635
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-08More Simon shutdown cleanupJamieson Christian
svn-id: r9602
2003-08-08Fixed hang from double-lock of mutexJamieson Christian
svn-id: r9600
2003-08-01#include cleanup (explicityl specify the location for headers from common/, ↵Max Horn
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359
2003-07-24Fix for Bug [775534] 0.5.0 RC SIMON1DOS Random sfx notes during musicJamieson Christian
Corrected a problem with resource size computation for GMF sound effect resources. Since GMF resources have no size info, we were computing sizes with the assumption that each GMF appears in its own file, so the file size becomes the resource size. This is true for simon1dos music files but not for SFX files. This fix uses the resource offset pointers at the beginning of SFX files to properly compute the size of SFX resources. svn-id: r9155
2003-07-14Fixed behavior of "m" key under simon1dos.Jamieson Christian
The "m" key was turning off both music AND MIDI sound effects. It now turns off only the music. svn-id: r9014
2003-07-14Feature [770161] SIMON: Remap instruments to GMJamieson Christian
Apparently Simon 1 (all versions) uses MT32 instruments, so now we map them to GM *unless* the --native-mt32 option was specified. svn-id: r9001
2003-05-25Fixed undefined file read operationJamieson Christian
svn-id: r7971
2003-05-25fixed format stringMax Horn
svn-id: r7931
2003-05-25Added music support for simon1demoJamieson Christian
svn-id: r7927
2003-05-24Fixed hanging notes when switching tracksJamieson Christian
svn-id: r7878
2003-05-24Fixed MIDI channel conflict between music and MIDI sound effects in simon1dos.Jamieson Christian
Also added notes about the GMF header for posterity's sake. svn-id: r7877
2003-05-24Added support for GMF loop specifierJamieson Christian
svn-id: r7874
2003-05-24Fixed problem with hanging notes when switching music tracksJamieson Christian
svn-id: r7873
2003-05-24Added support for simultaneous music and MIDI sound effects to simon1dos.Jamieson Christian
Note that 's' still toggles MIDI sound effects on and off. svn-id: r7872
2003-05-23Fixed hanging notes when toggling SFX mode in Simon 1Jamieson Christian
svn-id: r7865
2003-05-23Fixed problem with Simon music playing even when paused.Jamieson Christian
svn-id: r7864
2003-05-22Reset channel volumes on loadJamieson Christian
svn-id: r7813
2003-05-21More Simon music fixes.Jamieson Christian
svn-id: r7767
2003-05-21Fixed Simon 1 sound effects.Jamieson Christian
More semantic fixes. svn-id: r7765
2003-05-21More Simon music fixesJamieson Christian
svn-id: r7761
2003-05-21Fixed thread problem that causes occassional crashesJamieson Christian
svn-id: r7757
2003-05-20Fixed buffer allocation problem for GMF resources.Jamieson Christian
Thanks for wjp for tracking this one down. svn-id: r7748
2003-05-20Fix for simon2win musicJamieson Christian
svn-id: r7746
2003-05-20Fixed memory overrun problemJamieson Christian
svn-id: r7745
2003-05-20Fixed file scan alignment problemJamieson Christian
svn-id: r7742
2003-05-20oopsMax Horn
svn-id: r7731
2003-05-20init MidiPlayer fullyMax Horn
svn-id: r7730
2003-05-20init some member varsMax Horn
svn-id: r7723
2003-05-19Fixed music looping problem in simon1winJamieson Christian
svn-id: r7672
2003-05-19Fixed Simon 1 music regression.Jamieson Christian
SMF parser now supports malformed Simon pitch bend events. Implemented SMF parser jump method. svn-id: r7669
2003-05-18Implemented new Simon MIDI module, switching from MidiStreamer to ↵Jamieson Christian
MidiParser. Restructuring enables XMIDI support and vc_72 implementation. Various cleanup on MidiParser's and MidiDriver's. svn-id: r7654
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726