Module xScale

Methods for working with notes & harmonic scales .

Functions

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


Functions

restrict_to_scale (note_value, scale_idx, 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 (int), 1=C, 2=C#, 3=D, ...
  • scale_key (int), the scale to apply (see xScale.SCALES)
generated by LDoc 1.4.2