No commit activity in last 3 years
No release in over 3 years
MIDI Input/Output plugin for Fluentd event collector
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0
>= 0

Runtime

>= 0.3
 Project Readme

MIDI Input/Output plugin for Fluentd

Gem Version Code Climate Dependency Status

Experimental project for log audiolization.

Installation

$ gem install fluent-plugin-midi

Usage

  • Output
echo '{"status":144, "note": 60, "velocity": 120}' | fluent-cat debug
sleep 3
echo '{"status":144, "note": 60, "velocity": 0}'   | fluent-cat debug

or

echo '{"status":144, "note": 60, "velocity": 120, "duration": 3}' | fluent-cat debug

Configuration

  • Input
<source>
  type midi
  tag  TAG
  port MIDI_PORT_INDEX
</source>
  • Output
<match pattern>
  type midi
  port MIDI_PORT_INDEX
</match>

port

To list midi port index

require 'rtmidi'
output = RtMidi::Out.new
puts output.port_nemes.each_with_index.to_a.inspect
# => [["IAC Driver port0", 0], ["IAC Driver port1", 1], ["MIDI Monitor (midimon.mMon)", 2]]

Contributing

  1. Fork it ( http://github.com/meganemura/fluent-plugin-midi/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request