Giter Site home page Giter Site logo

miditomgba's Introduction

MidiToMGBA - MIDI input -> mGBA link

License: MIT


MidiToMGBA acts as a simple MIDI message forwarder, listening to a MIDI input device and passing on all MIDI messages to mGBA's internal link interface.

This previously was MidiToBGB, but BGB's TCP link is suboptimal for this task. Development thus moved on to a mGBA-centric solution.

Setup:

  • If you want to use MidiToBGB with your DAW: Download and install a MIDI "loopback" driver, f.e. loopmidi by Tobias Erichsen
  • Download MidiToMGBA from the releases tab.
  • Run MidiToMGBA.bat
    • If you want to change the settings, open the .bat in any text editor.

TODO:

  • Drop dependency on libmgba-sdl.dll exposing mSDLMain - instead, use custom SDL2-CS "platform."
  • Find a good cross-platform MIDI library (atsushieno/managed-midi lacks good input recording).
  • If possible, improve timing.

Note:
It ships with a devbuild of mGBA 0.7, split into multiple libraries, with the following changes:

  • SDL platform's "executable" built as libmgba-sdl.dll instead of mgba-sdl.exe
  • Entry point (function main) renamed to mSDLMain

miditomgba's People

Contributors

0x0ade avatar

Stargazers

Quentin avatar DracoMan671 avatar Greig Stewart avatar  avatar

Watchers

 avatar James Cloos avatar  avatar Greig Stewart avatar

miditomgba's Issues

NullReferenceException, Missing "Modified mGBA executable"

Main issue is the latest release crashes for me on launch (windows 10), log below.
Second issue is the release notes state the following, but these files seem to be missing (?)

Note:
It ships with a devbuild of mGBA 0.7, split into multiple libraries, with the following changes:

SDL platform's "executable" built as libmgba-sdl.dll instead of mgba-sdl.exe
Entry point (function main) renamed to mSDLMain

Log message:

MidiToMGBA 1.1.0.0
No --midi ID given, connecting to last connected device.
#0: loopMIDIPort
Setting up mGBA link
Fatal Error!
System.NullReferenceException: Object reference not set to an instance of an object.
   at MonoMod.RuntimeDetour.DetourNativeX86Platform.Copy(IntPtr src, IntPtr dst, Int32 size) in D:\Repos\MidiToBGB\MonoMod\MonoMod.RuntimeDetour\DetourNativePlatforms.cs:line 71
   at MonoMod.RuntimeDetour.NativeDetour..ctor(MethodBase method, IntPtr from, IntPtr to) in D:\Repos\MidiToBGB\MonoMod\MonoMod.RuntimeDetour\NativeDetour.cs:line 59
   at MidiToMGBA.MGBALink..ctor() in D:\Repos\MidiToBGB\src\MGBALink.cs:line 39
   at MidiToMGBA.Program.Main(String[] args) in D:\Repos\MidiToBGB\src\Program.cs:line 98

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.