Update jlibsox 0.2 that includes binary
This commit is contained in:
25
build.gradle
25
build.gradle
@@ -7,22 +7,25 @@ task wrapper(type: Wrapper) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.github.boukefalos:jlibpipe:0.1'
|
compile 'com.github.boukefalos:jlibsox:0.2'
|
||||||
compile 'com.github.boukefalos:jlibloader:0.2'
|
compile 'com.github.boukefalos:jlibpipe:0.1'
|
||||||
|
|
||||||
|
compile 'commons-io:commons-io:2.+'
|
||||||
|
compile 'commons-cli:commons-cli:1.+'
|
||||||
|
compile 'commons-pool:commons-pool:1.+'
|
||||||
|
compile 'org.slf4j:slf4j-api:1.+'
|
||||||
|
compile 'org.slf4j:slf4j-log4j12:1.7.5'
|
||||||
|
compile 'org.ostermiller:utils:1.+'
|
||||||
|
compile 'com.googlecode.soundlibs:jlayer:1.+'
|
||||||
|
compile 'net.sf.javamusictag:jid3lib:0.+'
|
||||||
|
|
||||||
compile 'commons-io:commons-io:2.+'
|
|
||||||
compile 'commons-cli:commons-cli:1.+'
|
|
||||||
compile 'commons-pool:commons-pool:1.+'
|
|
||||||
compile 'org.slf4j:slf4j-api:1.+'
|
|
||||||
compile 'org.slf4j:slf4j-log4j12:1.7.5'
|
|
||||||
compile 'org.ostermiller:utils:1.+'
|
|
||||||
compile 'com.googlecode.soundlibs:jlayer:1.+'
|
|
||||||
compile 'net.sf.javamusictag:jid3lib:0.+'
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url 'https://github.com/Boukefalos/jlibpipe/raw/mvn-repo/'
|
url 'https://github.com/Boukefalos/jlibpipe/raw/mvn-repo/'
|
||||||
}
|
}
|
||||||
|
maven {
|
||||||
|
url 'https://github.com/Boukefalos/jlibsox/raw/mvn-repo/'
|
||||||
|
}
|
||||||
maven {
|
maven {
|
||||||
url 'https://github.com/Boukefalos/jlibloader/raw/mvn-repo/'
|
url 'https://github.com/Boukefalos/jlibloader/raw/mvn-repo/'
|
||||||
}
|
}
|
||||||
|
|||||||
20
src/test/java/test/TestSox.java
Normal file
20
src/test/java/test/TestSox.java
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
package test;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
|
import ie.corballis.sox.SoXEffect;
|
||||||
|
import ie.corballis.sox.Sox;
|
||||||
|
import ie.corballis.sox.WrongParametersException;
|
||||||
|
|
||||||
|
public class TestSox {
|
||||||
|
public static void main(String[] args) throws IOException, WrongParametersException {
|
||||||
|
Sox sox = new Sox();
|
||||||
|
sox
|
||||||
|
.device("0")
|
||||||
|
.inputFile("-n")
|
||||||
|
.outputFile("-d")
|
||||||
|
.effect(SoXEffect.SYNTH, "2")
|
||||||
|
.argument("sine", "300-500")
|
||||||
|
.execute();
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user