Jazz-Soft.net

We make it sound!

Home » Examples » JZZ.input.Qwerty

JZZ.input.Qwerty

How it works

Use the mouse!

This is a wrapper for Qwerty-Hancock virtual piano by Stuart Memo.

Page source

<!DOCTYPE html>
<html>
<head>
<title>JZZ.input.Qwerty</title>
<script src="JZZ.js"></script>
<script src="JZZ.synth.OSC.js"></script>
<script src="qwerty-hancock.js"></script>
<script src="JZZ.input.Qwerty.js"></script>
</head>

<body>
<h1>JZZ.input.Qwerty</h1>
<p id=qwerty></p>

<script><!--
JZZ.synth.OSC.register('Web Audio');
JZZ.input.Qwerty({ id: 'qwerty', width: 281, height: 150, octaves: 1, startNote: 'C4' })
     .or(function(){ alert('Cannot open MIDI In!\n' + this.err()); })
     .connect(JZZ().openMidiOut().or(function(){ alert('Cannot open MIDI Out!\n' + this.err()); }));
--></script>

</body>
</html>

See also