Module xScale

Methods for working with notes & harmonic scales .

Functions

restrict_to_scale (note_value, scale_idx_or_name, scale_key) restricting notes to a specific scale and key


Functions

restrict_to_scale (note_value, scale_idx_or_name, scale_key)
restricting notes to a specific scale and key

Parameters:

  • note_value (0-119), notes outside this range are returned as-is
  • scale_idx_or_name (int/string), the scale to apply (xScale.SCALES)
  • scale_key (int), 1=C, 2=C#, 3=D, ...
generated by LDoc 1.4.2