Skip to content

Commit

Permalink
add changelog with 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Rossi committed Apr 2, 2016
1 parent d991dd0 commit 85d8afc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## 4.0.0
* `@ 19ff9a8` MIDI events from PortMidi.Input are now sent as a tuple of three values, instead of an array. This makes the API consistent with PortMidi.Output, which accepts a tuple of three elements.
* `@ 59efd17` MIDI events are now sent with the server PID, which is returned when an input is opened (e.g. `{:ok, input} = PortMidi.open(:input, "Launchpad")`). This makes it easy to differentiate received messages, so that a process can listen on multiple MIDI devices, and be able to handle the messages differently, pattern matching on the input. The MIDI event is sent as a second tuple, e.g. `{^input, {status, note, velocity}}`.

0 comments on commit 85d8afc

Please sign in to comment.