Module: Fretboard::Constants

Defined in:
lib/fretboard/constants.rb

Constant Summary collapse

GUITAR_TUNINGS =

SPN => Scientific pitch notation

{
  STANDART: {
    STRINGS: {
      1 => {
        NOTE: 'E',
        FREQUENCY: '329.63 Hz',
        SPN: 'E4'
      },
      2 => {
        NOTE: 'B',
        FREQUENCY: '246.94 Hz',
        SPN: 'B3'
      },
      3 => {
        NOTE: 'G',
        FREQUENCY: '196.00 Hz',
        SPN: 'G3'
      },
      4 => {
        NOTE: 'D',
        FREQUENCY: '146.83 Hz',
        SPN: 'D3'
      },
      5 => {
        NOTE: 'A',
        FREQUENCY: '110.00 Hz',
        SPN: 'A2'
      },
      6 => {
        NOTE: 'E',
        FREQUENCY: '82.41 Hz',
        SPN: 'E2'
      }
    }
  }
}.freeze