Skip to content
just-Addict edited this page Jun 16, 2016 · 5 revisions

##GRID

The waveform can optionally be overlayed with a grid. There are several settings and directives that influence the grid drawing in different ways. There are 3 settings to control size, weight and color instensity, and 6 directives to control appearance.

The settings are gridSize, gridWeight and gridGamma.

  • gridSize accepts values in the range 2.0 to as far apart as you like
  • gridWeight accepts values in the range 1.0 to the value of gridSize minus 1
  • gridGamma accepts values from 0.0 to as high as needed to make the line colorless.

The directives that alter the appearance are:

  • GRID_VERTICAL - only draws the horizontal lines, creating a top-to-bottom grid
  • GRID_HORIZONTAL - only draws the vertical lines, creating a left-to-right grid
  • ABOVE_WAVE - only draws lines above and outside of the waveform (req. GRID_VERTICAL and/or GRID_HORIZONTAL)
  • BELOW_WAVE - only draws lines below and outside of the waveform (req. GRID_VERTICAL and/or GRID_HORIZONTAL)
  • INSIDE_WAVE - only draws lines inside of the waveform (req. GRID_VERTICAL and/or GRID_HORIZONTAL)
  • OUTSIDE_WAVE - only draws lines outside of the waveform (req. GRID_VERTICAL and/or GRID_HORIZONTAL)

Together these 6 directives allow to create a total of 15 difference appearances and this is even without taking the different settings into account. However, when changing the values of settings, please be aware that not every combination gives a different result.

For instance consider the below images:


A gridSize of 4, a gridWeight of 1 and a gridGamma of 0.8


A gridSize of 4, a gridWeight of 3 and a gridGamma of 1.2

As you can see, there is no obvious difference in appearance. If you look closer there is a very small difference in color intensity of the lines, but this depends totally on the selected colors.

Clone this wiki locally