エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
ここにツイート内容が記載されます https://b.hatena.ne.jp/URLはspanで囲んでください
Twitterで共有ONにすると、次回以降このダイアログを飛ばしてTwitterに遷移します
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
package main import ( "fmt" "machine" "machine/usb/midi" "time" ) // Try it easily by opening the... package main import ( "fmt" "machine" "machine/usb/midi" "time" ) // Try it easily by opening the following site in Chrome. // https://www.online musictools.com/kb/ func main() { led := machine.LED led.Configure(machine.PinConfig{Mode: machine.PinOutput}) m := midi.New() m.SetHandler(func(b []byte) { led.Set(!led.Get()) fmt.Printf("% X\r\n", b) }) chords := []struct { name string keys []midi.Note }