Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
lincollincol committed Oct 25, 2020
2 parents c4e009a + 40841b7 commit 7265660
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,22 @@ AudioTool.getInstance(this)
.saveCurrentTo("/storage/emulated/0/Music/NewAudio.mp3") // Audio file with echo and without vocal
.release();
```
#### If don't need result from callbacks, you can pass null as a parameter
``` java
AudioTool.getInstance(this)
.withAudio(new File("/storage/emulated/0/Music/Linc - AudioTool.mp3"))
.removeVocal(null) // It's ok.
.saveCurrentTo("/storage/emulated/0/Music/Instrumental.mp3") // Save audio without vocal to local file
.release();
```
#### Also, don't forget to call release() function when you finish work with AudioTool. The function remove buffer files from storage and clear other resources.
``` java
AudioTool.getInstance(this)
.withAudio(new File("/storage/emulated/0/Music/Linc - AudioTool.mp3"))
/* calls */
.release(); // Always call this function
```

# Download
## Gradle
``` groovy
Expand Down

0 comments on commit 7265660

Please sign in to comment.