aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth
AgeCommit message (Collapse)Author
2013-05-17AUDIO: Reduce callback frequency of the MT-32 emulator.Johannes Schickel
Formerly the frequency was at 10000Hz. This resulted in 3,4 or even only 1 sample to be generated between callbacks on my system. All the other MIDI drivers use a much lower frequency here. The MidiDriver_Emulated subclasses use a frequency of 250Hz (by default) and the MidiDriver_MPU401 subclasses (which are for example the ALSA output) use 100Hz. With the new frequency of 250Hz 128 samples are generated between callbacks. This will hopefully reduce the overhead of the MT-32 emulator (the engine's code was run 10000 times a second too) a bit. I talked with KingGuppy and it seems the value was increased in the past (still with the very old MT-32 emulator code) because there were accuracy issues. However, I gave the lower frequency a quick test with the MI1, MI2 and ITE intro and didn't spot any obvious differences. As a result, KingGuppy and I agreed to lower it back to 250Hz. If there are any problems coming up we can still slightly increase the frequency to 1000Hz for example. Thanks to waltervn for noticing this. Thanks to KingGuppy for discussion.
2013-05-01MT32: Fix some non-initialized fields in MidiDriver_MT32 - CID 1002949Filippos Karapetis
2013-03-27MT-32: Sync with the latest changes in muntFilippos Karapetis
This syncs our code with munt commit 15e9f65
2013-03-03MT-32: Sync with the latest changes in muntFilippos Karapetis
2013-03-03MT-32: Also replace cosf() (C99) with cos()Filippos Karapetis
2013-03-03MT-32: Avoid using sinf() (which is C99) in favor of sin()Filippos Karapetis
2013-03-02MT32: Sync with the latest changes in muntFilippos Karapetis
The major change is the addition of a refined wave generator based on logarithmic fixed-point computations and LUTs
2013-03-02MT32: Update copyright yearFilippos Karapetis
2013-02-04MT32: Also attempt to load roms named CM32L_CONTROL.ROM / CM32L_PCM.ROMFilippos Karapetis
This was accidentally removed in commit 5711d23
2013-02-04MT32: Sync with the latest changes in muntFilippos Karapetis
This syncs our code with munt commit ee380de
2013-01-26Merge pull request #301 from lordhoto/c++11-playgroundJohannes Schickel
RFC: Allow use of override and nullptr. Also allow C++11 compilation.
2013-01-26Merge branch 'eriktorbjorn-fluidsynth-settings'Johannes Schickel
This is a manual merge of a slightly adapted pull request #296. The changes made are: - Each time the theme format changes, the version was increased - default.inc has been regenerated in the same commit as the theme changes
2013-01-26GUI: Make the FluidSynth settings dialog a bit more like QsynthTorbjörn Andersson
To help people familiar with Qsynth (I'm not, but it seems to be one of the more polished FluidSynth front ends), use the same presentation and terminology for the FluidSynth settings. More to follow.
2013-01-26FLUIDSYNTH: Add separate dialog for FluidSynth settingsTorbjörn Andersson
I don't really understand what these parameters do, or what the sensible values are, so for now the sliders are limited only by the allowed (or, in one case, "safe") values.
2013-01-24JANITORIAL: Fix ){ -> ) {Einar Johan Trøan Sømåen
2013-01-19MT32: Sync with the latest changes in muntFilippos Karapetis
This syncs our code with munt commits 535bf96, 934c116, 1643d07 and 2eac585
2013-01-09AUDIO: Silence C++11 narrowing warnings.Johannes Schickel
2013-01-06MT32: Remove the screen drawing code of the MUNT debug messages (bug #3599702)Filippos Karapetis
The MUNT debug messages are called from an audio callback, which is not allowed to update the screen, as per the OSystem documentation in common/system.h:401
2013-01-06MT-32: Only show MUNT debug messages for debug level 4 and above (bug #3599702)Filippos Karapetis
This avoids showing warnings in the intro of FOTAQ when using the MT-32 emulator
2013-01-02COPYRIGHT: After a discussion it with KingGuppy, revert copyright ↵Strangerke
modification in some Munt files (thanks LordHoto for pointing it)
2013-01-02JANITORIAL: Update copyright yearStrangerke
2013-01-02MT-32: Sync with the latest changes in muntFilippos Karapetis
This syncs our code with munt commits 3f0db2d and 2c5f314
2012-12-27MT32: Add missing initialization codeFilippos Karapetis
This code wasn't added when syncing with the official munt codebase
2012-12-27MT32: Move the ROM file deletion code to the ScummVM MT32 driverFilippos Karapetis
This removes the custom ScummVM file deletion code in the munt code
2012-12-26MT32: Update the MT32 emulator and adapt to its new APIFilippos Karapetis
Previous munt commit was 84b2819 (Dec 22, 2012) Current munt commit is 6afddaf (Dec 23, 2012) This commit also updates the MT32 driver code to the latest munt API
2012-12-25MT32: Update the MT32 emulator to a newer munt commitFilippos Karapetis
Previous munt commit was f969d20 (Nov 15, 2012) Current munt commit is 84b2819 (Dec 22, 2012) We are still missing the changes from commit 788f7b1 onwards (Dec 22, 2012). There are bigger ROM access-related changes from that point, which we'll have to integrate as well.
2012-12-01AUDIO: Fix AdLib volume when ENABLE_OPL3 is not definedTorbjörn Andersson
This should ensure that when ENABLE_OPL3 is not defined, the old code (using a lookup table) is used for calculating vol1 and vol2 (unless, of course, _scummSmallHeader is true). I hope I got it right this time.
2012-12-01AUDIO: Fix AdLib volume regression in pre-iMUSE SCUMM gamesTorbjörn Andersson
This assumes that _scummSmallHeader = 1 means we don't care about what _opl3Mode is when calculating the volume in mcKeyOn(). I hope this is correct.
2012-11-23AUDIO: Fix spurious compiler warnings about use-before-set variable.D G Turner
2012-11-22Merge pull request #283 from lordhoto/scumm-opl3Johannes Schickel
SCUMM: Support OPL3 in Sam&Max
2012-11-22AUDIO: Remove two extra commas.Johannes Schickel
2012-11-22AUDIO: Disallow custom percussion instruments in MIDI->AdLib code.Johannes Schickel
2012-11-22AUDIO: Only enable OPL3 code in MIDI->AdLib, when we have the DOSBox ↵Johannes Schickel
emulator builtin.
2012-11-20AUDIO: Slight cleanup and typo fix in S&M OPL3 code.Johannes Schickel
2012-11-15MT32: Make all constant tables in the MT32Emu namespace staticFilippos Karapetis
Added in munt commit d4f8ebf54be0a8255af08bb24f1962afa8378096
2012-11-15MT32: Update the MT32 emulator to the latest munt revisionFilippos Karapetis
Previous munt revision was 189f607c88e7404ad99abcf4b90f23b103003ed1 (Feb 09, 2012). Current munt revision is f969d2081d41b669c1bfebd0026b5419c09517ae (Nov 15, 2012)
2012-11-11AUDIO: remove unused variables in FM-TOWNS imuse driverathrxx
2012-10-01AUDIO: Add support for Sam&Max's OPL3 output in our SCUMM AdLib driver.Johannes Schickel
This is an initial implementation and does not implement the differences in voice allocation.
2012-10-01AUDIO: Add easy way to write to OPL3's secondary register set.Johannes Schickel
2012-09-30AUDIO: Switch MidiDriver_ADLIB to new OPL API.Johannes Schickel
2012-09-30AUDIO: Properly handle AdLibPercussionChannel::noteOff.Johannes Schickel
2012-09-30AUDIO: Comment out unused member in AdLibPart.Johannes Schickel
2012-09-30AUDIO: Give AdLibSetParam's members more descriptive names.Johannes Schickel
2012-09-30AUDIO: Enforce method naming guidelines in adlib.cpp.Johannes Schickel
2012-09-30AUDIO: Enforce variable naming guidelines in adlib.cpp.Johannes Schickel
2012-09-30AUDIO: Fix formatting in adlib.cpp.Johannes Schickel
Powered by astyle.cpp.
2012-09-30AUDIO: Rename global variables in SCUMM AdLib code.Johannes Schickel
This does give them slightly nicer names and also adds a "g_" prefix to them.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-05AUDIO: Silence MSVC warning about un-initialized newIncrement variableLittleboy
2012-03-17ALL: Make use of defined() for the preprocessor consistent.Johannes Schickel
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code.