FLvkeybd
Prev | Orchestra Opcodes and Operators | Next

## FLvkeybd

FLvkeybd — An FLTK widget opcode that creates a virtual keyboard widget.

## Description

An FLTK widget opcode that creates a virtual keyboard widget. This must be used in conjunction with the virtual midi keyboard driver for this to operate correctly. The purpose of this opcode is for making demo versions of MIDI orchestras with the virtual keyboard embedded within the main window.

| Note
The widget version of the virtual keyboard does not include the MIDI sliders found in the full window version of the virtual keyboard.

## Syntax

    FLvkeybd "keyboard.map", iwidth, iheight, ix, iy

## Initialization

“keyboard.map” -- a double-quoted string containing the keyboard map to use. An empty string ("") may be used to use the default bank/channel name values. See Virtual Midi Keyboard for more information on keyboard mappings.

iwidth -- width of widget.

iheight -- height of widget.

ix -- horizontal position of upper left corner of the keyboard, relative to the upper left corner of corresponding window (expressed in pixels).

iy -- vertical position of upper left corner of the keyboard, relative to the upper left corner of corresponding window (expressed in pixels).

| Note
The standard width and height for the virtual keyboard is 624x120 for the dialog version that is shown when FLvkeybd is not used.

## See Also

FLbutton, FLbox, FLbutBank, FLprintk, FLprintk2, FLvalue

## Credits

Author: Steven Yi

New in version 5.05

Prev | Up | Next
FLvalue | Home | FLvslidBnk