aboutsummaryrefslogtreecommitdiff
path: root/simon/midi.cpp
AgeCommit message (Collapse)Author
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
2003-03-06and more cleanup ....Paweł Kołodziejski
svn-id: r6720
2003-01-03Add olki's patch for sound effects in simon1dosTravis Howell
Plus hack to allow choice between midi music and sound effects via 's' key svn-id: r6326
2003-01-03Remove sion 1 music warningTravis Howell
Change warning about missing vga file to error svn-id: r6323
2002-12-21MidiStreamer no longer derives from MidiDriver.Jamieson Christian
Removed MidiStreamer methods that weren't actually needed. That's one layer of indirection removed from Simon music. svn-id: r6050
2002-12-12Changed handling of malformed pitchbend events.Jamieson Christian
Added related warning output for future reference. svn-id: r5909
2002-12-11ripped out obsolete midi streaming code from backends (this may break ↵Max Horn
Alsa/SEQ/Windows/Morphos compile, I tried my best, but you'll have to clean up after me) svn-id: r5905