Hopefully there's something real there now.
62ZSRAF5GN3UMOY3B2XD22BK3POFOKBJ2WUEYRKOVME75VU24UQQC
{"draw_teach_word":68,"on_play":96,"on_record":95,"teach_mouse_release":46,"Mode":2,"draw_teach_screen":110,"teach_text_input":49,"on.draw":5,"Words":12,"on.initialize":7,"draw_new_word_button":117,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"draw_recording_button":133,"learn_keychord_press":59,"learn_text_input":60,"learn_key_release":61,"draw_learn_screen":4,"on.mouse_press":51,"draw_record_button":72,"on.mouse_release":52,"play":135,"on.keychord_press":53,"teach_keychord_press":47,"on.key_release":55,"Recording_device":132,"on.text_input":54,"teach_mouse_press":88,"Playing_source":126,"teach_key_release":56,"on_new_word_button":118,"to_word_idx":94,"new_word":64,"Cursor_word":24,"on":1,"on_word":80,"draw_playing_button":130,"learn_mouse_release":58,"fw_parent":135,"draw_play_button":75,"fw_app":"spell-cards","record":134}
play = function(word_idx)
Playing_source = love.audio.newSource('sample.wav', 'static')
Playing_source:play()
Recording_device = nil
end
{"draw_teach_word":68,"on_play":96,"on_record":95,"teach_mouse_release":46,"Mode":2,"draw_teach_screen":110,"teach_text_input":49,"on.draw":5,"Words":12,"on.initialize":7,"draw_new_word_button":117,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"draw_recording_button":133,"learn_keychord_press":59,"learn_text_input":60,"learn_key_release":61,"draw_learn_screen":4,"on.mouse_press":51,"draw_record_button":72,"on.mouse_release":52,"play":135,"on.keychord_press":53,"teach_keychord_press":47,"on.key_release":55,"Recording_device":132,"on.text_input":54,"teach_mouse_press":88,"Playing_source":126,"teach_key_release":56,"on_new_word_button":118,"to_word_idx":94,"new_word":64,"Cursor_word":24,"on":1,"on_word":80,"draw_playing_button":130,"learn_mouse_release":58,"fw_parent":134,"draw_play_button":75,"fw_app":"spell-cards","Recording":103,"record":134}
record = function(word_idx)
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Playing_source = nil
end
{"draw_teach_word":68,"on_play":96,"on_record":95,"teach_mouse_release":46,"Mode":2,"draw_teach_screen":110,"teach_text_input":49,"on.draw":5,"Words":12,"on.initialize":7,"draw_new_word_button":117,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"draw_recording_button":133,"learn_keychord_press":59,"learn_text_input":60,"learn_key_release":61,"draw_learn_screen":4,"on.mouse_press":51,"draw_record_button":72,"on.mouse_release":52,"play":129,"on.keychord_press":53,"teach_keychord_press":47,"on.key_release":55,"Recording_device":132,"on.text_input":54,"teach_mouse_press":88,"Playing_source":126,"teach_key_release":56,"on_new_word_button":118,"to_word_idx":94,"new_word":64,"Cursor_word":24,"on":1,"on_word":80,"draw_playing_button":130,"learn_mouse_release":58,"fw_parent":133,"draw_play_button":75,"fw_app":"spell-cards","Recording":103,"record":134}
{"draw_teach_word":68,"on_play":96,"on_record":95,"teach_mouse_release":46,"Mode":2,"draw_teach_screen":110,"teach_text_input":49,"on.draw":5,"Words":12,"on.initialize":7,"draw_new_word_button":117,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"draw_recording_button":133,"learn_keychord_press":59,"learn_text_input":60,"learn_key_release":61,"draw_learn_screen":4,"on.mouse_press":51,"draw_record_button":72,"on.mouse_release":52,"play":129,"on.keychord_press":53,"teach_keychord_press":47,"on.key_release":55,"Recording_device":132,"on.text_input":54,"teach_mouse_press":88,"Playing_source":126,"teach_key_release":56,"on_new_word_button":118,"to_word_idx":94,"new_word":64,"Cursor_word":24,"on":1,"on_word":80,"draw_playing_button":130,"learn_mouse_release":58,"fw_parent":132,"draw_play_button":75,"fw_app":"spell-cards","Recording":103,"record":128}
draw_recording_button = function()
if not Recording_device then return end
App.color{r=0, g=0, b=0, a=0.5}
love.graphics.circle('fill', 40, 20, 10)
end
{"draw_teach_word":68,"on_play":96,"on_record":95,"teach_mouse_release":46,"Mode":2,"draw_teach_screen":110,"teach_text_input":49,"on.draw":5,"Words":12,"on.initialize":7,"draw_new_word_button":117,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"draw_recording_button":125,"learn_keychord_press":59,"learn_text_input":60,"learn_key_release":61,"draw_learn_screen":4,"on.mouse_press":51,"draw_record_button":72,"on.mouse_release":52,"play":129,"on.keychord_press":53,"teach_keychord_press":47,"on.key_release":55,"Recording_device":132,"on.text_input":54,"teach_mouse_press":88,"Playing_source":126,"teach_key_release":56,"on_new_word_button":118,"to_word_idx":94,"new_word":64,"Cursor_word":24,"on":1,"on_word":80,"draw_playing_button":130,"learn_mouse_release":58,"fw_parent":131,"draw_play_button":75,"fw_app":"spell-cards","Recording":103,"record":128}
Recording_device = nil
{"draw_teach_word":68,"on_play":96,"on_record":95,"teach_mouse_release":46,"Mode":2,"draw_teach_screen":110,"teach_text_input":49,"on.draw":5,"Words":12,"on.initialize":7,"draw_new_word_button":117,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"draw_recording_button":125,"learn_keychord_press":59,"learn_text_input":60,"learn_key_release":61,"on.mouse_press":51,"draw_record_button":72,"on.mouse_release":52,"play":129,"on.keychord_press":53,"teach_keychord_press":47,"on.key_release":55,"draw_learn_screen":4,"on.text_input":54,"teach_mouse_press":88,"Playing_source":126,"teach_key_release":56,"on_new_word_button":118,"to_word_idx":94,"new_word":64,"Cursor_word":24,"on":1,"on_word":80,"draw_playing_button":130,"learn_mouse_release":58,"fw_parent":130,"draw_play_button":75,"fw_app":"spell-cards","Recording":103,"record":128}