The OpenD Programming Language

AudioPcmOutThreadImplementation.playEmulatedOpl3Midi

Plays the given midi files with the nuked opl3 emulator.

Requires nukedopl3.d (module arsd.nukedopl3) to be compiled in, which is GPL.

  1. SampleController playEmulatedOpl3Midi(string filename, bool loop)
  2. SampleController playEmulatedOpl3Midi(immutable(ubyte)[] data, bool loop)
    class AudioPcmOutThreadImplementation
    playEmulatedOpl3Midi
    ()
    (
    immutable(ubyte)[] data
    ,
    bool loop = false
    )

Bugs

The seek method is not yet implemented.

Meta

License

If you use this function, you are opting into the GPL version 2 or later.

Authors

Based on ketmar's code.

History

Added December 24, 2020.