GithubHelp home page GithubHelp logo

csinkers / adlmidi.net Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 0.0 399 KB

A .NET wrapper for the libADLMIDI library, a free Software MIDI synthesizer library with OPL3 emulation

License: GNU Lesser General Public License v2.1

C# 99.34% Batchfile 0.51% Shell 0.15%
midi midi-player opl3-emulator

adlmidi.net's Introduction

AdlMidi.NET

AdlMidi.NET is a .NET wrapper for the libADLMIDI library, a free Software MIDI synthesizer library with OPL3 emulation

Original ADLMIDI code: Copyright (c) 2010-2014 Joel Yliluoma [email protected]

ADLMIDI Library API: Copyright (c) 2015-2020 Vitaly Novichkov [email protected]

AdlMidi.NET: Copyright (c) 2020 Cam Sinclair [email protected]

https://github.com/Wohlstand/libADLMIDI

License

The .NET wrapper code is licensed as LGPL v2.1+, and the libADLMIDI library and its parts are licensed as follows (from the libADLMIDI readme):

The library is licensed under in it's parts LGPL 2.1+, GPL v2+, GPL v3+, and MIT.

  • Nuked OPL3 emulators are licensed under LGPL v2.1+.
  • DosBox OPL3 emulator is licensed under GPL v2+.
  • Chip interfaces are licensed under LGPL v2.1+.
  • File Reader class and MIDI Sequencer is licensed under MIT.
  • WOPL reader and writer module is licensed under MIT.
  • Other parts of library are licensed under GPLv3+.

libADLMIDI build settings

The libADLMIDI.so / .dll files incuded in the NuGet package were generated via the following commands:

Linux:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release \
      -DlibADLMIDI_STATIC=OFF    \
      -DlibADLMIDI_SHARED=ON     \
      -DWITH_EMBEDDED_BANKS=OFF  \
      -DWITH_MUS_SUPPORT=OFF     \
      -DWITH_XMI_SUPPORT=ON      \
      -DUSE_DOSBOX_EMULATOR=OFF  \
      -DUSE_NUKED_EMULATOR=ON    \
      -DUSE_OPAL_EMULATOR=OFF    \
      -DUSE_JAVA_EMULATOR=OFF    \
      ..
make
[ -d ../../ADLMidi.NET/runtimes/linux-x64/native ] || mkdir -p ../../ADLMidi.NET/runtimes/linux-x64/native
cp -L libADLMIDI.so ../../ADLMidi.NET/runtimes/linux-x64/native

Windows:

  • Run CMake setup program
  • Pick libADLMIDI directory
  • Pick release build
  • Disable all emulators other than Nuked
  • Disable static, enable shared
  • Ensure XMI support and MIDI sequencer are enabled
  • Disable MUS support and embedded banks (not required)
  • Build generated solution file using VS2019
  • Copy resultant dll to ADLMidi.NET runtimes/win-x64/native directory

adlmidi.net's People

Contributors

csinkers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.