G5BUJAF22ZJHHAO3E624PU6ZN3C5YSYHZXFDFWYXCCO6JTGYK2NQC
record = function(word_idx)
if Recording_device then
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
print(Words[word_idx].recording:getSampleCount(), Words[word_idx].recording:getSampleRate())
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start(10*8000, 8000)
Recording_word = Words[word_idx]
Playing_source = nil
end
{"draw_teach_word":68,"Playing_source":126,"teach_mouse_press":88,"teach_mouse_release":46,"Recording_device":132,"on_word":80,"draw_teach_screen":110,"fw_parent":187,"draw_learn_screen":4,"fw_app":"spell-cards","on.draw":5,"Recording_word":138,"Words":12,"on.initialize":7,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"learn_mouse_release":58,"learn_keychord_press":59,"learn_text_input":60,"exists":175,"record":188,"Cursor_word":24,"on_record":95,"on.mouse_press":51,"draw_record_button":140,"file_exists":176,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"draw_new_word_button":117,"on.key_release":55,"on.text_input":54,"play":177,"save_wav":171,"on.mouse_release":52,"draw_playing_button":130,"on_new_word_button":118,"draw_recording_button":133,"new_word":64,"Mode":2,"on_play":96,"on":1,"teach_key_release":56,"teach_text_input":49,"learn_key_release":61,"teach_keychord_press":47}
record = function(word_idx)
if Recording_device then
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
print(Words[word_idx].recording:getSampleCount(), Words[word_idx].recording:getSampleRate())
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start(80000, 8000) -- 10 seconds
Recording_word = Words[word_idx]
Playing_source = nil
end
{"draw_teach_word":68,"Playing_source":126,"teach_mouse_press":88,"teach_mouse_release":46,"Recording_device":132,"on_word":80,"draw_teach_screen":110,"fw_parent":186,"draw_learn_screen":4,"fw_app":"spell-cards","on.draw":5,"Recording_word":138,"Words":12,"on.initialize":7,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"learn_mouse_release":58,"learn_keychord_press":59,"learn_text_input":60,"exists":175,"record":187,"Cursor_word":24,"on_record":95,"on.mouse_press":51,"draw_record_button":140,"file_exists":176,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"draw_new_word_button":117,"on.key_release":55,"on.text_input":54,"play":177,"save_wav":171,"on.mouse_release":52,"draw_playing_button":130,"on_new_word_button":118,"draw_recording_button":133,"new_word":64,"Mode":2,"on_play":96,"on":1,"teach_key_release":56,"teach_text_input":49,"learn_key_release":61,"teach_keychord_press":47}
record = function(word_idx)
if Recording_device then
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
print(Words[word_idx].recording:getSampleCount(), Words[word_idx].recording:getSampleRate())
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start()
Recording_word = Words[word_idx]
Playing_source = nil
end
{"draw_teach_word":68,"Playing_source":126,"teach_mouse_press":88,"teach_mouse_release":46,"Recording_device":132,"on_word":80,"draw_teach_screen":110,"fw_parent":185,"draw_learn_screen":4,"fw_app":"spell-cards","on.draw":5,"Recording_word":138,"Words":12,"on.initialize":7,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"learn_mouse_release":58,"learn_keychord_press":59,"learn_text_input":60,"exists":175,"record":186,"Cursor_word":24,"on_record":95,"on.mouse_press":51,"draw_record_button":140,"file_exists":176,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"draw_new_word_button":117,"on.key_release":55,"on.text_input":54,"play":177,"save_wav":171,"on.mouse_release":52,"draw_playing_button":130,"on_new_word_button":118,"draw_recording_button":133,"new_word":64,"Mode":2,"on_play":96,"on":1,"teach_key_release":56,"teach_text_input":49,"learn_key_release":61,"teach_keychord_press":47}
record = function(word_idx)
if Recording_device then
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
print(Words[word_idx].recording:getSampleCount())
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start()
Recording_word = Words[word_idx]
Playing_source = nil
end
{"draw_teach_word":68,"Playing_source":126,"teach_mouse_press":88,"teach_mouse_release":46,"Recording_device":132,"on_word":80,"draw_teach_screen":110,"fw_parent":184,"draw_learn_screen":4,"fw_app":"spell-cards","on.draw":5,"Recording_word":138,"Words":12,"on.initialize":7,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"learn_mouse_release":58,"learn_keychord_press":59,"learn_text_input":60,"exists":175,"record":185,"Cursor_word":24,"on_record":95,"on.mouse_press":51,"draw_record_button":140,"file_exists":176,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"draw_new_word_button":117,"on.key_release":55,"on.text_input":54,"play":177,"save_wav":171,"on.mouse_release":52,"draw_playing_button":130,"on_new_word_button":118,"draw_recording_button":133,"new_word":64,"Mode":2,"on_play":96,"on":1,"teach_key_release":56,"teach_text_input":49,"learn_key_release":61,"teach_keychord_press":47}
record = function(word_idx)
if Recording_device then
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
print(love.audio.getVolume())
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start()
print(Recording_device:getData():getSampleCount())
Recording_word = Words[word_idx]
Playing_source = nil
end
{"draw_teach_word":68,"Playing_source":126,"teach_mouse_press":88,"teach_mouse_release":46,"Recording_device":132,"on_word":80,"draw_teach_screen":110,"fw_parent":183,"draw_learn_screen":4,"fw_app":"spell-cards","on.draw":5,"Recording_word":138,"Words":12,"on.initialize":7,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"learn_mouse_release":58,"learn_keychord_press":59,"learn_text_input":60,"exists":175,"record":184,"Cursor_word":24,"on_record":95,"on.mouse_press":51,"draw_record_button":140,"file_exists":176,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"draw_new_word_button":117,"on.key_release":55,"on.text_input":54,"play":177,"save_wav":171,"on.mouse_release":52,"draw_playing_button":130,"on_new_word_button":118,"draw_recording_button":133,"new_word":64,"Mode":2,"on_play":96,"on":1,"teach_key_release":56,"teach_text_input":49,"learn_key_release":61,"teach_keychord_press":47}
record = function(word_idx)
if Recording_device then
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
print(love.audio.getVolume())
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
print(Recording_device:getData():getSampleCount())
Recording_device:start()
Recording_word = Words[word_idx]
Playing_source = nil
end
{"draw_teach_word":68,"Playing_source":126,"teach_mouse_press":88,"teach_mouse_release":46,"Recording_device":132,"on_word":80,"draw_teach_screen":110,"fw_parent":182,"draw_learn_screen":4,"fw_app":"spell-cards","on.draw":5,"Recording_word":138,"Words":12,"on.initialize":7,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"learn_mouse_release":58,"learn_keychord_press":59,"learn_text_input":60,"exists":175,"record":183,"Cursor_word":24,"on_record":95,"on.mouse_press":51,"draw_record_button":140,"file_exists":176,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"draw_new_word_button":117,"on.key_release":55,"on.text_input":54,"play":177,"save_wav":171,"on.mouse_release":52,"draw_playing_button":130,"on_new_word_button":118,"draw_recording_button":133,"new_word":64,"Mode":2,"on_play":96,"on":1,"teach_key_release":56,"teach_text_input":49,"learn_key_release":61,"teach_keychord_press":47}
record = function(word_idx)
if Recording_device then
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
print(love.audio.getVolume())
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start()
Recording_word = Words[word_idx]
Playing_source = nil
end
{"draw_teach_word":68,"Playing_source":126,"teach_mouse_press":88,"teach_mouse_release":46,"Recording_device":132,"on_word":80,"draw_teach_screen":110,"fw_parent":181,"draw_learn_screen":4,"fw_app":"spell-cards","on.draw":5,"Recording_word":138,"Words":12,"on.initialize":7,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"learn_mouse_release":58,"learn_keychord_press":59,"learn_text_input":60,"exists":175,"record":182,"Cursor_word":24,"on_record":95,"on.mouse_press":51,"draw_record_button":140,"file_exists":176,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"draw_new_word_button":117,"on.key_release":55,"on.text_input":54,"play":177,"save_wav":171,"on.mouse_release":52,"draw_playing_button":130,"on_new_word_button":118,"draw_recording_button":133,"new_word":64,"Mode":2,"on_play":96,"on":1,"teach_key_release":56,"teach_text_input":49,"learn_key_release":61,"teach_keychord_press":47}
record = function(word_idx)
if Recording_device then
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start()
print(Recording_device:getVolume())
Recording_word = Words[word_idx]
Playing_source = nil
end
{"draw_teach_word":68,"Playing_source":126,"teach_mouse_press":88,"teach_mouse_release":46,"Recording_device":132,"on_word":80,"draw_teach_screen":110,"fw_parent":180,"draw_learn_screen":4,"fw_app":"spell-cards","on.draw":5,"Recording_word":138,"Words":12,"on.initialize":7,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"learn_mouse_release":58,"learn_keychord_press":59,"learn_text_input":60,"exists":175,"record":181,"Cursor_word":24,"on_record":95,"on.mouse_press":51,"draw_record_button":140,"file_exists":176,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"draw_new_word_button":117,"on.key_release":55,"on.text_input":54,"play":177,"save_wav":171,"on.mouse_release":52,"draw_playing_button":130,"on_new_word_button":118,"draw_recording_button":133,"new_word":64,"Mode":2,"on_play":96,"on":1,"teach_key_release":56,"teach_text_input":49,"learn_key_release":61,"teach_keychord_press":47}
record = function(word_idx)
if Recording_device then
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start()
Recording_word = Words[word_idx]
Playing_source = nil
end
{"draw_teach_word":68,"Playing_source":126,"teach_mouse_press":88,"teach_mouse_release":46,"Recording_device":132,"on_word":80,"draw_teach_screen":110,"fw_parent":179,"draw_learn_screen":4,"fw_app":"spell-cards","on.draw":5,"Recording_word":138,"Words":12,"on.initialize":7,"Font_height":8,"learn_mouse_press":57,"Line_height":9,"learn_mouse_release":58,"learn_keychord_press":59,"learn_text_input":60,"exists":175,"record":180,"Cursor_word":24,"on_record":95,"on.mouse_press":51,"draw_record_button":140,"file_exists":176,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"draw_new_word_button":117,"on.key_release":55,"on.text_input":54,"play":177,"save_wav":171,"on.mouse_release":52,"draw_playing_button":130,"on_new_word_button":118,"draw_recording_button":133,"new_word":64,"Mode":2,"on_play":96,"on":1,"teach_key_release":56,"teach_text_input":49,"learn_key_release":61,"teach_keychord_press":47}
record = function(word_idx)
if Recording_device then
love.timer.sleep(2)
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start()
Recording_word = Words[word_idx]
Playing_source = nil
end
{"on_new_word_button":118,"new_word":64,"Mode":2,"on_word":80,"draw_teach_screen":110,"draw_learn_screen":4,"on.draw":5,"exists":175,"on.initialize":7,"draw_new_word_button":117,"draw_teach_word":68,"on_play":96,"Line_height":9,"draw_recording_button":133,"teach_mouse_press":88,"teach_mouse_release":46,"teach_keychord_press":47,"teach_key_release":56,"teach_text_input":49,"file_exists":176,"on":1,"learn_text_input":60,"learn_mouse_press":57,"learn_key_release":61,"Playing_source":126,"draw_playing_button":130,"learn_keychord_press":59,"Font_height":8,"fw_parent":178,"save_wav":171,"fw_app":"spell-cards","Recording_device":132,"Recording_word":138,"learn_mouse_release":58,"on.mouse_release":52,"on.mouse_press":51,"draw_record_button":140,"play":177,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"on.key_release":55,"Words":12,"on.text_input":54,"on_record":95,"Cursor_word":24,"record":179}
record = function(word_idx)
if Recording_device then
love.timer.sleep(0.2)
Words[word_idx].recording = Recording_device:getData()
Recording_device:stop()
if Words[word_idx].recording then
save_wav(Words[word_idx].contents..'.wav', Words[word_idx].recording)
end
Recording_device = nil
Recording_word = nil
return
end
local devices = love.audio.getRecordingDevices()
if #devices == 0 then return end
Recording_device = devices[1]
Recording_device:start()
Recording_word = Words[word_idx]
Playing_source = nil
end
{"on_new_word_button":118,"new_word":64,"Mode":2,"on_word":80,"draw_teach_screen":110,"draw_learn_screen":4,"on.draw":5,"exists":175,"on.initialize":7,"draw_new_word_button":117,"draw_teach_word":68,"on_play":96,"Line_height":9,"draw_recording_button":133,"teach_mouse_press":88,"teach_mouse_release":46,"teach_keychord_press":47,"teach_key_release":56,"teach_text_input":49,"file_exists":176,"on":1,"learn_text_input":60,"learn_mouse_press":57,"learn_key_release":61,"Playing_source":126,"draw_playing_button":130,"learn_keychord_press":59,"Font_height":8,"fw_parent":177,"save_wav":171,"fw_app":"spell-cards","Recording_device":132,"Recording_word":138,"learn_mouse_release":58,"on.mouse_release":52,"on.mouse_press":51,"draw_record_button":140,"play":177,"draw_play_button":141,"on.keychord_press":53,"to_word_idx":94,"on.key_release":55,"Words":12,"on.text_input":54,"on_record":95,"Cursor_word":24,"record":178}