mididriver | Android midi driver using Sonivox EAS library | Audio Utils library
kandi X-RAY | mididriver Summary
kandi X-RAY | mididriver Summary
Android midi driver using Sonivox EAS library. The library is available in Releases. Licensed under Apache license. Includes Sonivox EAS library rebuilt without spurious references to libutils and libcutils. The ARM versions have been build with the assembler source files.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mididriver
mididriver Key Features
mididriver Examples and Code Snippets
Community Discussions
Trending Discussions on mididriver
QUESTION
I want to output MIDI audio with Unity3d on android. Using an open source library I think I got it working but no sound is produced by the device, and there are no error messages/logs of any kind.
I am using this library: https://github.com/billthefarmer/mididriver
I have tested the library with the provided gradle project using Android Studio and it's working well.
Unity recognizes the AAR file of this library by dropping it in Assets\Plugins\Android. I then added a java class to wrap the method calls, and created a small C# MonoBehaviour script to test it. I isolated the code so you can reproduce problem.
To reproduce:
- Using Unity3d create a new 3d project.
- Add an empty game object.
- Attach the below C# script to it.
- Create the folders Plugins\Android within the Assets folder.
- Create a new file with the below java code in it, within the Android folder.
- Add the AAR file of the latest release of the linked library.
- build and load it to an android device.
Sends a NOTE_ON message and then a NOTE_OFF message a second later, every 2 seconds. The AndroidJavaClass is used to call the library's methods.
...ANSWER
Answered 2019-Aug-17 at 15:19After extracting the libmidi.so in the jni/armv7a folder from the .aar, removing the java wrapper and changing the code to the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mididriver
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page