summaryrefslogtreecommitdiff
path: root/src/i_oplmusic.c
AgeCommit message (Collapse)Author
2013-09-08Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2639
2013-06-19Fix OPL MIDI playback on big endian systems (thanks GhostlyDeath).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2607
2012-10-28Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2537
2012-01-05Add hack command-line option for on-screen OPL status output - usefulSimon Howard
for GENMIDI development. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2482
2011-06-13Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2347
2011-03-28Fix OPL MIDI playback when using an empty .mus / .mid file (thanksSimon Howard
Alexandre Xavier). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2313
2010-04-30Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1924
2010-04-22Disable OPL debugging messages.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1913
2009-10-31When replacing an existing voice, discard voices that are the secondSimon Howard
voice of a two voice instrument. Don't discard instruments from lower numbered MIDI channels for higher numbered MIDI channels. Subversion-branch: /branches/opl-branch Subversion-revision: 1727
2009-10-25Emulate odd octave 7 behavior of Vanilla Doom.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1725
2009-10-17Add OPL library API function to set software emulation sample rate, andSimon Howard
set from snd_samplerate in the configuration file. Subversion-branch: /branches/opl-branch Subversion-revision: 1723
2009-10-11Don't apply base note offset if the instrument is a fixed noteSimon Howard
instrument. This should stop the ugly bleeping from the electric snare on E1M2. Subversion-branch: /branches/opl-branch Subversion-revision: 1715
2009-10-01Remove temporary MIDI file after loading MIDI data. Stop all playing OPLSimon Howard
voices when music is shut down. Subversion-branch: /branches/opl-branch Subversion-revision: 1704
2009-10-01Convert to American English spellings.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1700
2009-09-26Move register read/write code into OPL library. Detect OPL in theSimon Howard
library code, so that we fall back to software emulation if we have port access but an OPL is not detected. Fix detection of ioperm in configure. Subversion-branch: /branches/opl-branch Subversion-revision: 1692
2009-09-26Don't use snd_mport to control OPL base I/O port; Vanilla doesn't doSimon Howard
this. Subversion-branch: /branches/opl-branch Subversion-revision: 1691
2009-09-21Implement pausing of music.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1688
2009-09-20Implement volume control.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1685
2009-09-20Remove old test code.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1684
2009-09-20Avoid possible overflow due to base note offset.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1683
2009-09-20Use the base note offset field to offset notes, not a fixed lookup tableSimon Howard
of instruments to offset. Subversion-branch: /branches/opl-branch Subversion-revision: 1680
2009-09-19Add octave offset table, offset notes on specific instruments down bySimon Howard
one octave, as per research. Subversion-branch: /branches/opl-branch Subversion-revision: 1678
2009-09-12Remove separate volume calculations for non-feedback (separate operator)Simon Howard
voices. Doom writes the same value to both operators. Subversion-branch: /branches/opl-branch Subversion-revision: 1671
2009-09-12Vanilla Doom plays d_introa, not d_intro.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1670
2009-09-12Discard an existing voice when no voices are available (based onSimon Howard
research with Vanilla). Subversion-branch: /branches/opl-branch Subversion-revision: 1668
2009-09-11Implement the fine tuning field, based on research.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1664
2009-09-08Set the correct instrument voice, instead of using the first voice forSimon Howard
both. Subversion-branch: /branches/opl-branch Subversion-revision: 1661
2009-09-08Program two voices for double voice instruments.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1660
2009-09-07Implement pitch bend.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1658
2009-09-01Loop songs (when appropriate)Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1654
2009-08-31Perform volume mapping on note and channel volumes before multiplyingSimon Howard
them. This gives voice volume values that are almost identical to Doom's. Subversion-branch: /branches/opl-branch Subversion-revision: 1653
2009-08-31Dont program an instrument if it is already set.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1652
2009-08-31Set the volume on both operators for instruments that use non-modulatingSimon Howard
voice mode. Subversion-branch: /branches/opl-branch Subversion-revision: 1651
2009-08-31Make channel volume work.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1650
2009-08-30Use fixed note on instruments with the fixed note flag set.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1649
2009-08-30Use milliseconds rather than microseconds, to avoid integer overflow.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1648
2009-08-30Make I_OPL_StopSong work.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1647
2009-08-30Use the pedal speed value for the volume. This sounds better, but it'sSimon Howard
still not right. Subversion-branch: /branches/opl-branch Subversion-revision: 1646
2009-08-30Set the right instrument for percussion notes.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1645
2009-08-30Initial, broken, volume level setting.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1644
2009-08-30Initial/basic MIDI track playback.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1643
2009-08-30Make some noise.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1640
2009-08-29Use OPL_Delay to wait 1ms for timer to expire when doing OPL detect.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1638
2009-08-29Load MIDI file.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1637
2009-03-12Make base_note_offset a 16-bit integer rather than an 8-bit integer.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1465
2009-03-12Read from register port when doing register writes during startup phase;Simon Howard
afterwards, read from the data port. Subversion-branch: /branches/opl-branch Subversion-revision: 1464
2009-03-11More accurate initialisation; set registers to match what Doom does.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1463
2009-03-10Add delay to allow OPL detection to work.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1461
2009-03-10Initialise OPL registers on startup, initialise voices.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1457
2009-03-10Add initial GENMIDI lump loading, OPL detection.Simon Howard
Subversion-branch: /branches/opl-branch Subversion-revision: 1456