Update jlibsox 0.2 that includes binary

This commit is contained in:
2016-08-17 20:54:08 +01:00
parent 64de164cad
commit 953fb96bd4
2 changed files with 34 additions and 11 deletions

View File

@@ -7,22 +7,25 @@ task wrapper(type: Wrapper) {
}
dependencies {
compile 'com.github.boukefalos:jlibpipe:0.1'
compile 'com.github.boukefalos:jlibloader:0.2'
compile 'com.github.boukefalos:jlibsox: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 {
maven {
url 'https://github.com/Boukefalos/jlibpipe/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibsox/raw/mvn-repo/'
}
maven {
url 'https://github.com/Boukefalos/jlibloader/raw/mvn-repo/'
}

View 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();
}
}