3
« on: June 06, 2015, 01:14:18 AM »
That does sound like it might be the problem, it seems that anything that uses the .ana files doesn't work. I had a look through the script and it looks like it does use PVOC to do the conversion:
- PVOC Conversions
local function wav_to_ana(input_path, pvoc)
local output_path = os.tmpname("ana")
-- Construct argument string
local pvoc_arg_string = create_arg_string(pvoc.argument)
pvoc_arg_string = " "..input_path.." "..output_path..pvoc_arg_string
-- Run pvoc anal
local cmd_output = os.tmpname('txt')
os.execute(pvoc.anal_command..pvoc_arg_string.." > "..cmd_output)
update_terminal(cmd_output)
os.remove(cmd_output)
os.remove(input_path)
print("WAV to ANA - Output path = "..output_path)
print("---------------------------")
return output_path
end
local function ana_to_wav(input_path, pvoc)
local output_path = os.tmpname("wav")
local pvoc_arg_string = " "..input_path.." "..output_path
-- Run pvoc synth
local cmd_output = os.tmpname('txt')
os.execute(pvoc.synth_command..pvoc_arg_string.." > "..cmd_output)
update_terminal(cmd_output)
os.remove(cmd_output)
os.remove(input_path)
print("ANA to WAV - Output path = "..output_path)
print("---------------------------")
return output_path
end