aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
AgeCommit message (Collapse)Author
2010-09-09SCI: Add getLastChannel() function to MidiPlayer classWalter van Niftrik
svn-id: r52655
2010-09-08SCI: dont remap to channel 9 (fix real mt32)Martin Kiewitz
svn-id: r52634
2010-09-06SCI: extending comment for prev. commitMartin Kiewitz
svn-id: r52606
2010-09-06SCI: dont play audio on kDoSound in hoyle4Martin Kiewitz
hoyle4 has garbled audio data svn-id: r52605
2010-09-06SCI: fix regression of r52569Martin Kiewitz
fade in/out of samples svn-id: r52604
2010-09-06SCI: AdLib: process patch change commands when playswitch is off.Walter van Niftrik
svn-id: r52595
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-03SCI: Added a warning when using GM with SCI1 gamesFilippos Karapetis
The MT-32 <-> GM mapping has only been worked on for SCI0/SCI01 games. Throw a warning when the user chooses GM in a SCI1 game, and there is no after market GM support from Sierra for this game svn-id: r52505
2010-09-03SCI: Rewrote the game name IDs of the Mt32MemoryTimbreMaps array to be like ↵Filippos Karapetis
the game IDs we use svn-id: r52504
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-19SCI: Added checking for the existence of a GM track, to determine if device ↵Filippos Karapetis
ID 7 or 12 should be used. Fixes the GM music in the demo of QFG3, which is using an in-between version of SCI1 and SCI1.1 svn-id: r52211
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-18SCI MIDI: adding some asserts as well as proper initialization for _velocityMapFilippos Karapetis
svn-id: r52184
2010-08-18SCI: Changed a warning into a debugCFilippos Karapetis
svn-id: r52183
2010-08-16Merge trunk, from r51777 to r52105Alejandro Marzini
svn-id: r52108
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-06Merged from trunk, from r51495 to r51775Alejandro Marzini
svn-id: r51776
2010-08-04SCI: Turned a warning into a debugCFilippos Karapetis
svn-id: r51738
2010-08-04SCI: fix fadeout on workaroundsMartin Kiewitz
svn-id: r51728
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-08-02SCI: Silenced some sound related warnings. Added an empty function for ↵Filippos Karapetis
kDoSound(Restore), called when restoring games svn-id: r51661
2010-08-01SCI: kDoSound(mute) behaviour changeMartin Kiewitz
svn-id: r51589
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
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-29SCI: Added back debug output to sound commandsFilippos Karapetis
svn-id: r51460
2010-07-27SCI: Fix PCjr soundMatthew Hoops
svn-id: r51369
2010-07-26SOUND: Move the Mac snd decoder from SCI to /soundMatthew Hoops
For use with Kyra1 Mac instrument samples. T7G Mac and Loom Mac also use this format for their custom instrument samples. svn-id: r51327
2010-07-22SCI: Cleanup leftovers from the FreeSCI sound codeFilippos Karapetis
svn-id: r51178
2010-07-20SCI: fix regression of r50463Martin Kiewitz
also check delta, because _play_tick does not include delta at that point - fixing sq1 ship takeoff svn-id: r51067
2010-07-20SCI: renaming kDoSound(resume) to resumeAfterRestoreMartin Kiewitz
kDoSound(resumeAfterRestore) is called right after restoring a saved game for sound-sci0 games, we already resume playing music inside restore, so we don't need to implement this at all svn-id: r51058
2010-07-19SCI: disabling kDoSound(StopAll)Martin Kiewitz
this call can't be right, gets called in kq1 several times and would stop background effects svn-id: r51039
2010-07-19SCI: update sample ticker when pausedMartin Kiewitz
little adjustment of r51017 svn-id: r51018
2010-07-19SCI: change kDoSound(updateCues) for samplesMartin Kiewitz
only set signal when sample was/is playing, fixes qfg2 genie intro svn-id: r51017
2010-07-18SCI: Rename the Amiga music drivers to AmigaMac to reflect its current purpose.Matthew Hoops
svn-id: r51006
2010-07-18SCI: Oops, silence gcc warning.Matthew Hoops
svn-id: r51002
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-18SCI: adding obj in kDoSound debug outputMartin Kiewitz
svn-id: r50994
2010-07-17Remove extra ";" in class declarations.Johannes Schickel
svn-id: r50955
2010-07-16SCI: adding signatures for 4-parameter variant of kDoSound(sendMidi), needs ↵Martin Kiewitz
to get figured out how this works - fixes signature mismatch in lsl1 svn-id: r50937
2010-07-14SCI: adding sound version 2.1, to properly add sci2.1 signature for ↵Martin Kiewitz
kDoSound(play) svn-id: r50878
2010-07-13SCI: erroring out on unsupported soundversion in midiparserMartin Kiewitz
svn-id: r50849
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-11SCI: changing signature for kDoSound(resume) it seems its called right after ↵Martin Kiewitz
restoring to resume music - which we do already automatically svn-id: r50800