aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/music.cpp
AgeCommit message (Collapse)Author
2010-12-07SCI: Removed the system strings code and replaced it with a much more ↵Filippos Karapetis
simplified version, thus greatly simplifying handling of system strings svn-id: r54805
2010-11-26SCI: Added a define to turn off channel remapping (for debugging)Filippos Karapetis
svn-id: r54496
2010-11-25SCI: Initialize global reverb correctly. Fixes bug #3118700 - "SCI KQ5: ↵Filippos Karapetis
Assertion in midi.cpp" (regression from r54478) svn-id: r54481
2010-11-25SCI: implemented reverb handling and related functionalityFilippos Karapetis
svn-id: r54478
2010-11-24SCI: Some renaming and added several TODOs concerning reverbFilippos Karapetis
svn-id: r54461
2010-11-24SCI/SOUND: Applied patch #3117577 - "SCI: MT-32 plays "warble" of notes when ↵Filippos Karapetis
music resumes", with some slight modifications This is only used by SCI for now, but it is probably correct to apply this for all engines, thus an appropriate TODO has been added svn-id: r54460
2010-11-24SCI: Moved handling of special reverb value 127 outside of the MIDI driverFilippos Karapetis
svn-id: r54459
2010-11-24SCI: Added a getReverb() accessor to the SciMusic classFilippos Karapetis
svn-id: r54456
2010-10-19SCI: fixing possible deadlock inside clearPlaylistMartin Kiewitz
thx to ajax16384 svn-id: r53613
2010-10-07SCI: Fix for bug #3083151 - "QFG3: Long pause while loading specific savegame"Filippos Karapetis
svn-id: r53060
2010-09-17SCI: Add CMS driver for SCI1-SCI1.1.Johannes Schickel
svn-id: r52781
2010-09-09SCI: Fix last MIDI channel number for adlib driverWalter van Niftrik
svn-id: r52662
2010-09-08SCI: dont remap to channel 9 (fix real mt32)Martin Kiewitz
svn-id: r52634
2010-09-06SCI: fix regression of r52569Martin Kiewitz
fade in/out of samples svn-id: r52604
2010-09-05SCI: ignore kDoSound volume changes on samplesMartin Kiewitz
svn-id: r52569
2010-09-05SCI: sierra sci ignores vol for kDoSound samplesMartin Kiewitz
now "score" is halfway playing, but it's cut so only "s" is played. Needs to get further investigated svn-id: r52568
2010-09-02SCI: Show a warning window regarding GM in some games.Filippos Karapetis
Sierra has released a patch adding after market General MIDI support for 8 SCI1 games (LSL1, LSL5, Hoyle 3, SQ1, SQ4, Eco1 floppy, Longbow and Fairy Tales). If the user has selected the General MIDI music driver in one of these games and no associated MIDI patch is found, show an informational dialog on game startup in order to inform the user to download Sierra's MIDI patch, together with some short instructions. svn-id: r52500
2010-09-01SCI: set master volume correctlyMartin Kiewitz
and merge it together with global volume, fixes bug #3053104) svn-id: r52484
2010-08-31SCI: renaming fb01-enable to "native_fb01"Martin Kiewitz
svn-id: r52471
2010-08-31SCI: forgot one rename of "enable_fb01"Martin Kiewitz
svn-id: r52470
2010-08-18SCI: Only perform queuing of song signals for SCI0, where we handle the ↵Filippos Karapetis
updating of song queues ourselves. Newer games handle signaling on their own, thus we shouldn't interfere with this. Fixes bug #3045913 - "PHARKAS CD: Crash at the start menu" (a regression from rev #52043) svn-id: r52195
2010-08-12SCI: queuing signal, if signal not passed to scriptsMartin Kiewitz
fixes laura bow 1 when knocking at the door in the attic, scripts wait for 0xb in that case, sound resource sets 0xb and then immediately ends. This resulted in the scripts only getting the termination signal, so they waited endlessly. (bug #3042981) svn-id: r52043
2010-08-11SCI: not pausing kDoSound samples anymoreMartin Kiewitz
but pausing looped samples only fixes "I'm melting" sample in sq1 death (bug #3038048) added detailed comment about this change svn-id: r51985
2010-08-03SCI: not error()ing out on no free channelsMartin Kiewitz
instead we just ignore such channels. I'm not sure how sierra sci behaved in that case, they ignored channels as well, but maybe they removed them from earlier music svn-id: r51715
2010-07-29SCI: midi hold behaviour fixedMartin Kiewitz
we shouldnt react on hold midi data when no actual hold was called, fixes eq2/amulet problem (bug #3035392) svn-id: r51482
2010-07-27SCI: Fix PCjr soundMatthew Hoops
svn-id: r51369
2010-07-18SCI: Rename the Amiga music drivers to AmigaMac to reflect its current purpose.Matthew Hoops
svn-id: r51006
2010-07-18SCI: Add initial support for SCI0 Mac and SCI1 Amiga/Mac sound.Matthew Hoops
SCI1 sound is pretty much done, but envelope support is still not 100% complete. SCI0 Mac sound is not complete, but sounds "ok" for now. Much thanks to Walter, who did a ton of work on this. svn-id: r51001
2010-07-18SCI: change to r50995 - better stop fading when stop is calledMartin Kiewitz
svn-id: r50996
2010-07-18SCI: if game starts fading, stops music and later starts music again don't ↵Martin Kiewitz
resume fading - fixes lsl6 music when going in from swimming pool svn-id: r50995
2010-07-09SCI: fixing regression of r50414 - we set volume to standard levels inside ↵Martin Kiewitz
initCommands since then, so if we set the actual needed volume before calling that it will get ignored - fixes lsl1demo svn-id: r50766
2010-07-09SCI: added currently commented-out pauseSound implementation for some sci0 ↵Martin Kiewitz
games, allowing integer for that subfunction svn-id: r50759
2010-06-29SCI: Rewrap yet more commentsMax Horn
svn-id: r50505
2010-06-28SCI: ignoring set signal on tick 0 directly in parseNextEvent instead of ↵Martin Kiewitz
filtering, also now ignoring channel volume changes on tick 0 (fixes lsl5 fading of sound 274, almost at the end), fixing also fading in gk1 and enabling fading in sci32 again svn-id: r50463
2010-06-27SCI: tell midiparser that he lost ownership of channels in case we take them ↵Martin Kiewitz
away svn-id: r50405
2010-06-26SCI: dont call midiparser->stop() if paused sound gets stoppedMartin Kiewitz
svn-id: r50310
2010-06-25SCI: set MDT_PREFER_GM instead od MDT_PREFER_MT32Florian Kagerer
svn-id: r50289
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-22SCI: removing unneeded capacity uint from r50143Martin Kiewitz
svn-id: r50147
2010-06-22SCI: change midi queue to Common::Array and make it resize itself if needed ↵Martin Kiewitz
instead of error() svn-id: r50143
2010-06-21SCI: fades already send out commands directlyMartin Kiewitz
svn-id: r50131
2010-06-21SCI: instead of queueing inside midiparser, we are queueing now globally in ↵Martin Kiewitz
SciMusic, also some little cleanup svn-id: r50130
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-20SCI: storing all manual midi commands now and actually sending them to ↵Martin Kiewitz
driver during onTimer() - fixes mt32 emulation crashing during lsl5 piano scene svn-id: r50073
2010-06-19SCI: locking _mutex inside SciMusic::sendMidiCommand(MusicEntry *pSnd, ↵Martin Kiewitz
uint32 cmd) svn-id: r50065
2010-06-19SCI: fixing another uninitialized variable usage issue - also limiting reset ↵Martin Kiewitz
velocity to used channels only, same is true for setting voice count svn-id: r50062
2010-06-19SCI: stopping scripts from sending to unused channels manually (fixes sq1vga)Martin Kiewitz
svn-id: r50060
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-19SCI: free channels for channel remapping on stop and pause, instead of ↵Martin Kiewitz
dispose - fixes qfg3 demo going out of channels svn-id: r50054
2010-06-17Strict mode: Changed several warnings due to logic bugs into errors. If an ↵Filippos Karapetis
error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning svn-id: r49973