Commit graph

34 commits

Author SHA1 Message Date
Martin Kiewitz
24459b5842 SCI: reverting r50058 - we can't actually send to the channels at that time, because we do not own the channels at that point
svn-id: r50059
2010-06-19 19:47:22 +00:00
Martin Kiewitz
a845e8b859 SCI: move setVolume down inside loadMusic so that it actually affects the used channels
svn-id: r50058
2010-06-19 19:39:36 +00:00
Martin Kiewitz
447f127013 SCI: fixing uninitialized usage in MidiParser_SCI
svn-id: r50057
2010-06-19 19:16:42 +00:00
Martin Kiewitz
562f8a9463 SCI: implementing fading for sci1 only for used channels of the object, fixes lsl1 music issues when going right at the start
svn-id: r50018
2010-06-18 13:36:29 +00:00
Filippos Karapetis
98944b8171 Added information regarding a FIXME
svn-id: r50002
2010-06-18 02:29:20 +00:00
Filippos Karapetis
0eee4e79bf Changed an assert into a warning with a FIXME (happens in SQ1)
svn-id: r49994
2010-06-18 02:16:00 +00:00
Martin Kiewitz
423029c027 SCI: implemented channel muting for sci1, finally fixes lsl5 paino scene with patti
svn-id: r49926
2010-06-17 11:54:54 +00:00
Martin Kiewitz
705d3c2d85 SCI: fixes regressions of r49905 (thx to digitall) - first we now find out what channels are used in sci0 as well, we are doing straight mapping for sci0 though - this fixes music in sci0 games, also fixing crash in sq1vga because of using null pMidiParser
svn-id: r49922
2010-06-17 08:41:04 +00:00
Matthew Hoops
39276e82db Fix another valgrind warning, thanks to digitall for spotting.
svn-id: r49918
2010-06-17 03:57:38 +00:00
Martin Kiewitz
02c3397ddf SCI: fix debug command "show_instruments", got broken by r49905 on purpose
svn-id: r49906
2010-06-16 21:07:26 +00:00
Martin Kiewitz
af65de6e1a SCI: implement channel remapping for SCI1
svn-id: r49905
2010-06-16 21:02:58 +00:00
Filippos Karapetis
a6a482b83c SCI: Added a version of allNotesOff() which sends messages only to the channels used by the associated song instead of all channels
svn-id: r49673
2010-06-14 22:35:49 +00:00
Filippos Karapetis
f4739f9f68 Added debug output to kDoAudio and some music commands. Also added a warning when an audio stream can't be created. Finally, the debug level of the MIDI parser debug output has been raised to 4, as it's too verbose
svn-id: r49605
2010-06-12 11:41:22 +00:00
Filippos Karapetis
a08d06ad35 - Added a new debug command, verify_midi, which can be used to check all the songs of a game for unmapped instruments (still WIP and disabled)
- Fixed a bug in the verify_scripts command (it was loading the script resource twice)

svn-id: r49597
2010-06-11 14:47:13 +00:00
Martin Kiewitz
f470e1d96e SCI: adding current delta to tick position when getting the setsignalloop command - fixes sq3 music slight delay before actual looping
svn-id: r49585
2010-06-10 20:52:04 +00:00
Filippos Karapetis
722c4f1b8d Some more work on channel remapping: Moved the remapping code to the music loading code (still disabled)
svn-id: r49430
2010-06-04 15:01:26 +00:00
Filippos Karapetis
1973bd5a71 Added channel remapping to MidiParser_SCI (currently unused)
svn-id: r49414
2010-06-03 21:57:49 +00:00
Filippos Karapetis
694d30eb31 Don't cripple setVolume(), but throw a warning when receiving invalid volumes and correct them for now - fixes the music in GK1
svn-id: r47690
2010-01-29 23:59:50 +00:00
Filippos Karapetis
8977c1a4aa Disabled the MIDI volume changing code till we figure out why it's getting volume values greater than 127
svn-id: r47688
2010-01-29 23:08:12 +00:00
Walter van Niftrik
9861b04b93 SCI: Add driver for Yamaha FB-01. Cleanup.
svn-id: r47571
2010-01-26 19:25:33 +00:00
Johannes Schickel
69071078b3 Replace some more Adlib uses by AdLib.
svn-id: r47530
2010-01-25 00:13:32 +00:00
Filippos Karapetis
b8d0c214ea Reset the value of _resetOnPause when a song is loaded/unloaded
svn-id: r47434
2010-01-22 12:32:54 +00:00
Filippos Karapetis
47c97f4a60 - The reverb value is now obtained from the music driver
- Implemented kSetReverb (0x50) and kResetOnPause (0x4C)

svn-id: r47433
2010-01-22 12:26:12 +00:00
Martin Kiewitz
c8e2b0f967 SCI: fixing iceman intro again (dont set datainc immediately but after delta)
svn-id: r47424
2010-01-21 22:33:35 +00:00
Walter van Niftrik
208dbf1d9a SCI: Renamed softseq/ to drivers/
svn-id: r47418
2010-01-21 16:27:29 +00:00
Filippos Karapetis
77ea73e9a5 Fixed a Valgrind warning about an uninitialized variable, from waltervn
svn-id: r47320
2010-01-16 16:00:21 +00:00
Filippos Karapetis
fa079a6d6f Send a velocity off signal to all channels when a song is loaded
svn-id: r47315
2010-01-15 22:15:58 +00:00
Torbjörn Andersson
552746951e Fixed warning.
svn-id: r47309
2010-01-15 18:01:49 +00:00
Filippos Karapetis
7aa20a38a8 Unified some of the code in midiMixChannels() and midiFilterChannels()
svn-id: r47305
2010-01-15 08:23:48 +00:00
Filippos Karapetis
177cfe4c92 When unloading a song, only reset the channels that it actually used, not all channels
svn-id: r47304
2010-01-15 07:40:07 +00:00
Filippos Karapetis
218d04afa1 Hold pedal is now reset as well when a sound is unloaded
svn-id: r47298
2010-01-14 16:39:47 +00:00
Filippos Karapetis
24d1db6155 The pitch wheel is now properly reset when a song is unloaded
svn-id: r47290
2010-01-13 14:46:45 +00:00
Filippos Karapetis
3b8512b104 Cleanup, fixed fading of digital sound effects
svn-id: r47023
2010-01-05 10:28:09 +00:00
Filippos Karapetis
84cd8d2dc7 Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purpose
svn-id: r47007
2010-01-05 01:22:16 +00:00
Renamed from engines/sci/sfx/midiparser.cpp (Browse further)