Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n-yoda/unity-midi
Play MIDI (SMF) on Unity, using C# Synth Project.
https://github.com/n-yoda/unity-midi
midi smf unity
Last synced: about 2 months ago
JSON representation
Play MIDI (SMF) on Unity, using C# Synth Project.
- Host: GitHub
- URL: https://github.com/n-yoda/unity-midi
- Owner: n-yoda
- License: other
- Created: 2016-01-21T05:47:35.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-01T12:06:07.000Z (about 4 years ago)
- Last Synced: 2024-08-04T02:09:51.504Z (5 months ago)
- Topics: midi, smf, unity
- Language: C#
- Homepage:
- Size: 2.74 MB
- Stars: 121
- Watchers: 15
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-unity-open-source-on-github - unity-midi - Play MIDI (SMF) on Unity, using C# Synth Project (Sound)
README
# unity-midi
Play SMF (Standard MIDI File) on Unity.## Overview
A pure C# MIDI library ([C# Synth Project](https://csharpsynthproject.codeplex.com/))
worked well on Unity with slight modifications.
This repository contains the modified library
and example codes to play an SMF using [OnAudioFilterRead](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnAudioFilterRead.html).## Alternative Approach
Using natively supported MIDI APIs will achieve better quality. The following may be useful references.
* [Native Audio Plugin](https://bitbucket.org/Unity-Technologies/nativeaudioplugins/src/a58c1cb0389874593b2a93b41fbb41912f9d670f/NativeCode/Plugin_Synthesizer.cpp)
* [smflite](https://github.com/keijiro/unity-smf-test)## Licenses for External Resources and Codes
* [C# Synth Project](https://csharpsynthproject.codeplex.com/): The MIT License
* [pathetique-2.mid](http://www.mutopiaproject.org/cgibin/piece-info.cgi?id=295): Public domain