go_playbox

command module
v0.0.0-...-06ee06a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 9 Imported by: 0

README

Go_PlayBox

MIDI関連のWIN32APIをGolangから呼び出して楽譜データを演奏します。 (MS-Windowsでしか動作しません。)

qiita.comにて記事を掲載しています。

リンク)
Golangで演奏する電子オルゴール

サンプルの演奏例

・「海の見える街」(楽器:シンセ・多声音色1(new age))
go run .\Go_PlayBox.go .\PB_sample\PB_uminomierumachi.txt 88
・「崖の上のポニョ」(楽器:明るい生ピアノ)
go run .\Go_PlayBox.go .\PB_sample\PB_ponyo.txt 1

第2引数の数値は楽器の指定です。 MIDI音源で定義されている楽器を0~127の値で指定できます。

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL