克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT
 

News

  • 2023/12/21 Publish libmidi on Gitee!
  • 2022/9/22 Update libmidi version to 2.15.3, we support very large midi file playing such as millions voices midi files

millions voices midi demo

Introduction

MIDI player base on timidity and imgui, support soundfont(SF2) and software MIDI keyboard.

  • App main window with paino keyboard view

    paino view Image

  • App main window with event rolling

    event view Image

  • Soundfont Select

    soundfont select Image

  • Software MIDI keyboard

    midi keyboard Image

    Software MIDI keyboard mapping

    midi keyboard mapping

  • Software MIDI keyboard instrument

    midi keyboard instrument Image

  • Console demo

    console demo Image

Getting the Source

git clone --recurse-submodules https://github.com/opencodewin/libmidi

Building

This project supports CMake out of the box.

  • Linux

Install dependence library ncurses with apt

  • MacOS

Install dependence library ncurses with homebrew

  • Windows

Using MSYS64 + Mingw64 + Clang/GCC Install dependence library with pacman

  • imgui build

See imgui document imgui

Quick start:

Copy soundfont files into soundfont folder, then you can using extra soundfont(GM best). if you have SF2 format soundfont files, also put them into folder.

mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build .
./build/immidi
./build/timidity

LICENSE

This project is released under The MIT License

The MIT License (MIT) Copyright (c) 2014-2023 CodeWin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

midi player base on timidity and imgui 展开 收起
C/C++ 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化