Jazz-Soft.net
We make it sound!
Home » Documentation » JZZ.js » Modules » JZZ.input.Qwerty

JZZ.input.Qwerty

A wrapper for Qwerty-Hancock virtual piano by Stuart Memo

Qwerty-Hancock

See the demo...

Usage

JZZ.input.Qwerty(params);
// or
JZZ.input.Qwerty(name, params);
// or
JZZ.input.Qwerty.register(name, params);
JZZ().openMidiIn(name);

where params - is the parameters object passed to the underlying library:

Example

<script src='JZZ.js'></script>
<script src='qwerty-hancock.js'></script>
<script src='JZZ.input.Qwerty.js'></script>
...
<div id='qwerty'> here comes the piano! </div>
...
<script><!--
JZZ.input.Qwerty({id:'qwerty', width:281, height:150, octaves:1, startNote:'C4'})
   .connect(JZZ().openMidiOut());
--></script>

See also