GitXplorerGitXplorer
c

elm-piano

public
6 stars
5 forks
2 issues

Commits

List of commits on branch master.
Unverified
c8cbaf59f32039cc7a804a6b2dc545f85ca5ebb5

0.18 upgrade & bump to 2.0.2

CCallumJHays committed 8 years ago
Unverified
47b6a285f348c34fd1ed1a3a3ba7b23722e15418

upgrade to elm 0.18

CCallumJHays committed 8 years ago
Unverified
ca5fbfe342fc0beee1fe6a4cf1157e51b895a01e

upgrade to 0.18

CCallumJHays committed 8 years ago
Unverified
bf8ce9f471e539e2224502785c0e09c0ba3c3070

Allow using newer core versions and bump to 2.0.1

ccript0nauta committed 8 years ago
Unverified
afb9b87063285a94d831807cc71e2685de194e00

Bump to version 2.0.0

ccript0nauta committed 8 years ago
Unverified
5bdcd9c15c1816c0de630839203f12f40bb47c65

Interactive piano example

ccript0nauta committed 8 years ago

README

The README file for this repository.

elm-piano

image

Description

This package exports a simple, optionally interactive piano component for the Elm programming language. You can use it to create music aplications or similar.

The package itself does not handle any sound or other side effect, so the component's only function is only to render an object that looks like a piano and select which key to appear to be pressed. Also it has an experimental, not fully functional interactive mode so the keys the user clicks are markerd as pressed.

If you want to see examples of how to use it to generate sound you should check the example programs that use a MIDI.js port lo do it.

Documentation and examples

The documentation of this package is available on http://package.elm-lang.org/packages/sh4r3m4n/elm-piano/.

Example 1: Show the notes of a MIDI file

Example 2: Interactive keyboard with sound. Has some UI issues.

Credits

The HTML and CSS of the piano is based on michaelmp/js-piano