Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lincollincol authored Oct 10, 2020
1 parent 2f3661e commit 40841b7
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 40841b7

Please sign in to comment.