Numuse Documentation

numuse.tools.I

numuse.tools.I

numuse.tools.I(x: int, y: int)int[source]

Return the interval between the musical objects

The interval between two notes is the number you have to add to the first to get the second

Parameters
  • x (Note) – The base note

  • y (Note) – The secondary note

Returns

The interval between x and y

Return type

int

Free document hosting provided by Read the Docs.