new Hstack( dhc )

Description

The H-Stack class

A tool for visualize the Harmonic Series in the UI

Parameters
Name Type Description
dhc HUM.DHC

The DHC instance to which it belongs

Details

Classes


new HstackRow()

Members


dhc :HUM.DHC

Description

The DHC instance

Details

fontSize :integer

Description

H-Stack table font size

Details
integer

usedHT :Array.<xtnum>

Description

An array containing all the used Harmonic/Subharmonic in the controller Keymap

Details
Array.<xtnum>

active :boolean

Description

The state of the H-Stack; if false, it is turned off.

Details
boolean

uiElements :Object

Description

UI HTML elements

Properties
Name Type Description
fn Object.<string, HTMLElement>

Functional UI elements

out Object.<string, HTMLElement>

Output UI elements

Details
Object

Methods


_initUI()

Description

Initialize the UI elements

Details

updatesFromDHC( msg )

Description

Manage and route an incoming message

Parameters
Name Type Description
msg HUM.DHCmsg

The incoming message

Details

create()

Description

Create the H-Stack HTML table

Details

updateUsedHT()

Description

Update the HUM.Hstack#usedHT property

Details

allNotesOff()

Description

Turns off all the rows

Details

fillin()

Description

Fill-in the H-Stack table data

Details

ftMonitor( ftNum )

Description

Print the data about the FT at the bottom of the H-Stack

Parameters
Name Type Description
ftNum xtnum

The FT number

Details

playFx( type, state, xtNum )

Description

Turn ON or OFF the rows of the H-Stack

Parameters
Name Type Description
type tonetype

If the note to turn ON/OFF is a FT or HT

state 0 | 1

Note ON/OFF; 0 is OFF, 1 is ON

xtNum xtnum

FT or HT number

Details