View Single Post
Old 04-27-2018, 04:54 AM   #105
snooks
Human being with feelings
 
Join Date: Sep 2015
Posts: 1,580
Default

You just...

Code:
local number = GUI.Val("my_opt2")
https://github.com/jalovatt/Lokasenn...-Options-class

If you want to translate that to a string then you can store the note names in a table...
Code:
local note_names = { [1] = "A", [2] = "Bb"..... }

local selected_note = note_names[number]
snooks is offline   Reply With Quote