beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

MusicalScales Op

Ops.WebAudio.MusicalScales


MusicalScales
Namespace: Ops.WebAudio

Op author: simod

Outputs a musical scale array (major, minor, ...) as strings, steps and midi notes


summary (oneliner)



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

Root Note index (integer /Number)

root note of the scale


Scale Settings

Root Note (string /Number)

root note of the scale


Scale Type index (integer /Number)

the scale to use


Scale Settings

Scale Type (string /Number)

the scale to use


Include Upper Root Note (boolean /Number)

if true includes the root note in a higher octave


Octave (integer /Number)

the octave of the scale (only for string & midi note outputs)


Append Octave To Names (boolean /Number)

if true, octave number is appended to output strings


Outputs

Note Names Array (Array)

notes as an array of strings


Note Step Number Array (Array)

steps of the scale


Midi Note Array (Array)

midi note numbers of the scale


Current Scale (String)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

MusicalScales example

Example for the MusicalNotes op

Open Example In Editor


Changelog


cloned op from Ops.WebAudio.Scale.ScaleArray
2021-02-08 - simod

Ops.User.simod.ScaleArray_v2 renamed to Ops.WebAudio.ScaleArray_v2
2021-02-08 - simod

Ops.WebAudio.ScaleArray_v2 renamed to Ops.WebAudio.MusicalScales
2021-02-10 - cables

Examples using MusicalScales ()

Public Patches using MusicalScales ()