GitHub
  • Preparing search index...
  • The search index is not available
mooz
  • mooz
  • Music
  • ScaleType
  • get

Function get

  • get(type): ScaleType
  • Given a scale name or chroma, return the scale properties

    Parameters

    • type: ScaleTypeName

      scale name or pitch class set chroma

    Returns ScaleType

    Example

    import { get } from 'tonaljs/scale-type'
    get('major') // => { name: 'major', ... }
    • Defined in src/music/scale-type/index.ts:46

Settings

Member Visibility

Theme

mooz
  • All
  • AudioContext
  • AudioEffects
  • AudioInstrument
  • AudioPlayer
  • Event
  • Fretboard
  • Keyboard
  • Metronome
  • Midi
  • MidiDevice
  • Music
  • MusicXml
  • Notation
  • Player
  • Schedule
  • Score