Skip to content

Releases: DhrBaksteen/ArduinoOPL2

Arduino OPL2 v2.0.0

31 Oct 11:35
dfc52b7
Compare
Choose a tag to compare

This is a major update of the Arduino OPL2 library to add support for the OPL3 Duo! board.

Changes include:

  • Added OPL3 and OPL3Duo classes to control a single YMF262 and dual YMF262 for OPL3Duo board
  • Added 4-operator channel support
  • Implemented other OPL3 functions
  • Corrected volume changes
  • OPL3 Duo can control each YMF262 individually or as one big OPL3 chip
  • Limited memory consumption of shadow registers for OPL2 and OPL3
  • Added two banks of 4-operator MIDI instruments
  • Included TuneParser to make composing music simpler (not yet for OPL2)
  • Added new examples for OPL3 Duo board
  • Updated examples for OPL2 Audio Board

Arduino OPL2 v1.5.3

11 Apr 10:14
4910ca9
Compare
Choose a tag to compare

This update makes a few changes to how drums are handled in percusive mode and adds a new example that makes use of the Piano Board.

  • New definitions for the drum sounds. Old definition is renamed to DRUM_BITS.
  • Added a variant on the setDrums function that allows you to update the bits of the drum register using a byte value.
  • Added the playDrums function that allows playing a single drum instrument at a particular frequency.
  • Added the PianoBoardDrummer example that turns the Cheerful Electronic Piano Board into a drum machine.

Arduino OPL2 v1.5.2

10 Apr 08:17
Compare
Choose a tag to compare

Two new examples have been added:

  1. Scale - A demonstration on how to play notes
  2. PianoBoard - Turn your OPL2 Board and Piano Board into a piano!

Arduino OPL2 v1.5.1

18 Mar 18:36
a400103
Compare
Choose a tag to compare

This release fixes issues with the library when compiling it toward an ESP8266 board using the ESP8266 board definitions for Arduino v2.4 and later

Arduino OPL2 v1.5.0

10 Nov 11:07
fd5459b
Compare
Choose a tag to compare

This change adds a simpler way of defining OPL2 instruments in code to the library and a new example to play VGM files.

Changes:

  • New structs Instrument and Operator are introduced for simpler instrument definition in code. New related instrument functions:
    • createInstrument - Creates a new empty instruement
    • loadInstrument - Loads a predefined melodic or drum imstrument
    • getInstrument - Creates a new melodic instrument from the given OPL2 channel's current settings
    • setInstrument - Set an instrument to an OPL2 channel with optional volume
    • getDrumInstrument - Creates a new drum instrument from the current OPL2 drum settigns
    • setDrumInstrument - Set a drum instrument to its precussive channel
  • Instruments can now be loaded from both flash memory and SRAM using loadInstrument
  • The TeensyMidi example has been changed to fix issues with clicking and popping noises when changing instruments
  • Corrected comments that wrongly described the instrument definitions
  • Updated examples that use the old setInstrument function
  • Added new PlayVGM example by Eirik Stople

This fixes the following issues:

#44 Cracking noises in MIDI output
#47 SetInstrument does not support SRAM instruments
#48 Bug when setting registers for melodic instruments

Warning:

As of this version the old setInstrument function is deprecated and will be removed in v1.6.0 of the library! Please start using the new instrument handling functions.

Arduino OPL2 v1.4.7

04 Sep 10:20
a669b63
Compare
Choose a tag to compare

This release contains the following changes:

  • The Raspberry Pi / Orange Pi build script has been updated so it can also be run from an absolute path.
  • The build script requires no parameters, documentation is updated.
  • DosBoxPassthrough sketch is renamed to SerialPassthrough sice it has more uses now.
  • OPL3BankEditor by Wohlstand now supports the OPL2 Board using the SerialPassthrough.
  • Removed SerialIface sketch to prevent confusion and have a single simple serial interface.

Arduino OPL2 v1.4.6

17 Jun 19:18
Compare
Choose a tag to compare

This release fixes the following issues:

  • #40 Where DRO playback for certain songs would result in garbled playback due to timing issues

Also this release updates related files for Rev D boards

Arduino OPL2 v1.4.5

25 Feb 19:00
2c6496c
Compare
Choose a tag to compare

This release fixes the following issues:

  • #38 Where loading an instrument would write to an illegal register in the 0xC0 range
  • #40 Where OPL2Play did not ignore registerCodes > 127 causing horrible distortion
  • Related to #40 issues were found in the PlayDRO and PlayIMF examples for Arduino and Teensy where some songs would couse the delay timer not to be updated causing all delays to be skipped
  • Some code cleanup was done

Arduino OPL2 v1.4.4

18 Nov 18:02
61422c7
Compare
Choose a tag to compare

This release fixes some issues with the TeensyMidi sketch and adds more instruments!

  • This fixes issue #34 in TeensyMidi where MIDI events sent to a channel > 16 would cause unintended behavior such as random instrument changes and volumes.
  • This fixes an issue in TeensyMidi where a volume control change change would cause channels to either go to minimum or maximum volume. Volme is now limited
    to 80% to prevent instruments from clipping.
  • Included the MIDI instrument definitions used in Windows 3.1 by to
    SoundBlaster driver. These work best with MIDIs created for windows.

Arduino OPL2 v1.4.3

12 Sep 16:31
Compare
Choose a tag to compare

This release adds the DosBox passthrough sketch for Arduino that allows you to use the OPL2 Audio Board as a real Adlib in DosBox. This requires a special build of DosBox found here: https://github.com/DhrBaksteen/ArduinoOPL2.DosBox