package com.example.demo.test; import com.example.demo.utils.AudioUtil; import java.io.File; import java.io.IOException; /** * @Author: YafengLiang * @Description: * @Date: Created in 11:04 2018/12/21 */ public class Test { public static void main(String[] args) throws IOException { File directory = new File("src/main/resources/exe/spe2wav.exe"); String courseFile = directory.getCanonicalPath(); String spePath = "F:/jack/BFC5256A-88CA-4E81-AF81-29665141BC0E.spe"; AudioUtil.spe2wav(courseFile,spePath); } }