commit f265dc4f92507112ef1b3162d4ce8cd3b8a6babb
parent 5cf63feebe6d55b0385484dabb97cd941819cfd7
Author: CarlSouthall <c-southall@live.co.uk>
Date: Wed, 17 Jan 2018 17:37:32 +0000
Typo
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usage.md b/usage.md
@@ -66,12 +66,12 @@ from ADTLib import ADT
Onsets=ADT('~/Drum.wav', '~/Desktop/Drum1.wav', text='no', save_dir='~/Desktop')
```
-Perform ADT on multiple audio files from different directories. Creates a drum tabulature but not a .txt file and saves it to the desktop. Returns onset times per instrument.
+Perform ADT on multiple audio files from different directories. Creates a drum tabulature but not a .txt file and saves it to the desktop. Returns onset times per instrument.
```Python
from ADTLib import ADTDT
-Onsets=ADT(['Drum.wav'], output_act='yes')
+Onsets, ActivationFunctions=ADT(['Drum.wav'], output_act='yes')
```
Perform ADT on a single audio file. Saves onset times to a .txt file in the current directory. Creates a drum tabulature and saves it as a pdf in the current directory. Returns onset times per instrument and activation functions per track, per instrument.