Skip to content

cript0nauta/elm-piano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple piano wigdet for Elm programming language

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages