aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2009-07-31process all DMA Events before Macros, for the unlikely chance of making a ↵Norbert Lange
difference svn-id: r42962
2009-07-31using accessmodifiers in Tfmx now and removed/disabled functions that now ↵Norbert Lange
dont work anymore (the commandline utility cant be compiled anymore as result of this) added arraysize of external signals and check it before accesses moved 2 debug-functions into Tfmx.cpp, removed depencies to files in the tfmx folder moved common code for fade-effects in a seperate method svn-id: r42961
2009-07-29Fix typo, which made our "floorf" macro use "floorf" instead of "floor" on ↵Johannes Schickel
systems without "floorf". svn-id: r42904
2009-07-27Oops enabled HACK to prevent multiple OPL instances again.Johannes Schickel
svn-id: r42849
2009-07-19use own soundhandle as the ones in Kyra::Sound seem to be used for voices ↵Norbert Lange
(and might get killed) svn-id: r42620
2009-07-19use ticks for timing fadeoutNorbert Lange
svn-id: r42618
2009-07-19fixed retiring of external NotesNorbert Lange
fixed/improved counting DMAs in Paula added flag for looping songs rearranged maxtrax.h a bit svn-id: r42613
2009-07-19fixed: intro-music started twice because it was hardcoded in the engineNorbert Lange
removed verbose debug-output from maxtrax svn-id: r42604
2009-07-19add support for fadeoutNorbert Lange
svn-id: r42601
2009-07-19some more tables included, for tempo and volume valuesNorbert Lange
svn-id: r42600
2009-07-18fixed some initialisation issuesNorbert Lange
svn-id: r42595
2009-07-18first attempt at enabling soundeffects using an table from the executeable. ↵Norbert Lange
Doesnt quite work as it should svn-id: r42575
2009-07-17merge with trunkNorbert Lange
svn-id: r42574
2009-07-17added primitive support for Kyrandia`s Intro Music.Norbert Lange
svn-id: r42567
2009-07-17precalculating some more from CalcNoteNorbert Lange
svn-id: r42556
2009-07-17avoid some calculations from being done every time in CalcNoteNorbert Lange
svn-id: r42553
2009-07-17simplified NoteOn calculationsNorbert Lange
added playNote command for soundeffects svn-id: r42544
2009-07-15Got rid of two more ioFailed usesMax Horn
svn-id: r42501
2009-07-14Got rid of some more ioFailed uses (also fixed a potential leak in ↵Max Horn
graphics/font.cpp, and handle eos correctly in the FLAC code) svn-id: r42488
2009-07-14removed one more useless variable and turned often used flags into boolsNorbert Lange
big cleanup of the interrupt-function changed NoteOn function to pass the results directly instead of saving them in member variables svn-id: r42466
2009-07-13cleaned up NoteOn a bitNorbert Lange
fixed NoteOff and removed some useless variables - intro sounds fine now svn-id: r42461
2009-07-13added routine pickvoice to dinamically choose a fitting channelNorbert Lange
use similar FP-rounding as the original player svn-id: r42454
2009-07-10made all structures that are only written when loading song/samples constNorbert Lange
fixed volume-handling a bit, still not correct svn-id: r42343
2009-07-10added initialisation of channelsNorbert Lange
svn-id: r42339
2009-07-10changed: period in Paula get set immediately instead of queuedNorbert Lange
svn-id: r42336
2009-07-10added timebased effectsNorbert Lange
fixed passing length of samples to Paula fixed setting tempo at songstart fixed setting tempo/flags only if loading a score svn-id: r42334
2009-07-09fixed some mismatched new[]/deleteNorbert Lange
fixed 2 bugs in the calcnote function svn-id: r42304
2009-07-09Added proper safeguards for shorten.*, thereby fixing commit 42259Filippos Karapetis
svn-id: r42290
2009-07-09Renamed sound/iff.* to sound/iff_sound.* to fix an issue with the upcoming ↵Filippos Karapetis
changes to the MSVC project files (sound/iff.* produces iff.obj, which clashes with iff.obj from graphics/iff.*) svn-id: r42287
2009-07-09fixed up some constantsNorbert Lange
svn-id: r42276
2009-07-09fixed (and inlined) the "Antilog" functionNorbert Lange
svn-id: r42274
2009-07-08implemented setting note-periods, likely still somewhat wrong.Norbert Lange
reversed the log functions which does exactly the inverse as the name implies (its refered as "antilog" in the sources *rollseyes*) svn-id: r42273
2009-07-08Added guards to only include the Shorten audio code when the SAGA2 code in ↵Filippos Karapetis
the SAGA engine is enabled svn-id: r42259
2009-07-06fix identation and replaced the "goto-workaround" with something simplerNorbert Lange
svn-id: r42189
2009-07-06GCC thinks it's wrong to goto past variables being initialised (even if theyTorbjörn Andersson
aren't used afterwards). Fixed that, and some warnings. svn-id: r42187
2009-07-06Implemented a few commandsNorbert Lange
Partially implemented queued Events and some related commands svn-id: r42186
2009-07-04Added tons of members to MaxTrax, songs get fully loaded and stored internallyNorbert Lange
svn-id: r42096
2009-07-01added a skeleton for maxtrax modules. Not much happening yet, just reading ↵Norbert Lange
and displaying a bit of information for maxtrax file svn-id: r42013
2009-07-01- Added GCC_PRINTF attribute to several funcs where it makes senseMax Horn
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings - removed duplicate prototypes for some funcs - fixed some "increases required alignment of target type" warnings svn-id: r42009
2009-07-01some Code-FormattingNorbert Lange
svn-id: r41994
2009-07-01Merging in changes from trunkNorbert Lange
svn-id: r41989
2009-07-01Added kyra projectNorbert Lange
removed 1 potentially troublesome assert svn-id: r41988
2009-06-30engines/scumm/*: enabled choosing of the colorpalette, by setting RenderMode ↵Norbert Lange
to EGA the "old" palette will be used tfmx/tfmxplayer.cpp: removed some unused stuff sound/mods/tfmx.cpp: emulating the way MI initialises new macro-programms. (Difference might not be audible at all) svn-id: r41976
2009-06-27Modified macro-,patter-,track-step functions to loop aslong they are ↵Norbert Lange
supposed to execute. (instead of doing that loop "outside"). Added "addBeginn" Effect, not used by MI but simple to implemt. svn-id: r41910
2009-06-25Fixed restarting of song (hopefully thouroughly)Norbert Lange
replaced all modulos with masks swapped Paulas stereo output svn-id: r41856
2009-06-20and 1 fix for a regression - always set sampleperiod before starting outputNorbert Lange
svn-id: r41717
2009-06-20fixed portamento-effect.Norbert Lange
Added stopping of sfx, seems like Monkey Island is pretty messy when it comes to handling sfx though. Those two changes fix the "mansion burglary" svn-id: r41716
2009-06-20Some more cleanups,Norbert Lange
fixed patterncommand 0xFE not working, added an option "-hack-patternstop" to the commandline tool svn-id: r41710
2009-06-19Added fade effect, song 17 uses it.Norbert Lange
svn-id: r41694
2009-06-19modified doSong so you can start a new Song without killing running macrosNorbert Lange
svn-id: r41693