Module:TAMNAMS: Difference between revisions

Ganaram inukshuk (talk | contribs)
Added udp function that creates a udp as a string; helper function for various udp-related functions
Ganaram inukshuk (talk | contribs)
m Fixed bug where if the closest mode is the brightest mode, the closest_mode_as_step_matrix would have an empty table
Line 770: Line 770:
local lowest_differences = mos.equave_step_count(input_mos)
local lowest_differences = mos.equave_step_count(input_mos)
local bright_gens_down_per_period = 0
local bright_gens_down_per_period = 0
local closest_mode_as_step_matrix = {}
local closest_mode_as_step_matrix = true_modes[1]
for i = 1, #true_modes do
for i = 1, #true_modes do
local differences = 0
local differences = 0