zohann commited on
Commit
a6e9b6b
·
verified ·
1 Parent(s): d122370

Upload Audio_Effects_SDK/README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. Audio_Effects_SDK/README.md +108 -0
Audio_Effects_SDK/README.md ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Please refer to the guide:
2
+ - Link - https://docs.nvidia.com/deeplearning/maxine/audio-effects-sdk/index.html
3
+ - PDF - https://docs.nvidia.com/deeplearning/maxine/pdf/audio-effects-sdk.pdf
4
+
5
+ NVIDIA AudioEffects SDK
6
+ ===============================
7
+
8
+ # Prerequisites
9
+ AudioEffects SDK requires an NVIDIA Graphics driver >= 520.61.05, and is tested in Ubuntu 18.04/20.04, Debian 10 and RHEL/CentOS 7+.
10
+
11
+ Previous versions of drivers can be used by using the CUDA Forward-Compatible Update (refer to Section 3.2.1: Using Older Drivers(450/470) with CUDA Forward-Compatible Upgrade) in the Programming guide for more details).
12
+
13
+ All other libraries required for the SDK are already bundled under external/cuda/lib, do not need to be expliticly installed.
14
+
15
+ # Installing
16
+
17
+ ## Installing NVIDIA Graphics Driver
18
+ Please refer to the installation guide at https://docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html
19
+
20
+ ## Installing the SDK
21
+ Extract the SDK to the desired location on your computer, for example, by using the following command:
22
+ ```
23
+ tar xvf Audio_Effects_SDK.tar.gz
24
+ ```
25
+
26
+ ### Software dependencies
27
+ The SDK depends on CUDA 11.8, TensorRT 8.5.1.7 and CuDNN 8.6.0.
28
+
29
+ **Please note that all dependent libraries are already included under `external/cuda/lib`, do not need to be explicitly installed.**
30
+
31
+ The sample programs using the SDK reference these libraries via RPATH. In case the folder structure changes, LD_LIBRARY_PATH/similar can be used to explicitly load these libraries. For example
32
+
33
+ ```
34
+ export LD_LIBRARY_PATH=/maxine_sdk_install/external/cuda/lib:$LD_LIBRARY_PATH
35
+
36
+ # This command will first check for libraries under /maxine_sdk_install/external/cuda/lib
37
+ ./run_effect.sh -g a100
38
+ ```
39
+ For further details, please refer to your distribution's documentation.
40
+
41
+ # Running the sample programs
42
+ The SDK provides two sample apps, effects_demo and effects_delayed_streams_demo, both as pre-built binaries and with source.
43
+
44
+ To run the effects_demo sample on an A2 GPU, cd to samples/effects_demo and run the sample program using the run_effect.sh helper script, for example
45
+ ```
46
+ ./run_effect.sh -g a2 -e denoiser -s 48 -b 10
47
+ ```
48
+ runs the 48k denoiser effect for batch size 10 with the model for A2 (sm_86 model).
49
+
50
+ To run the sample on all WAV files in a folder/specific WAV file, run the program using the following command:
51
+ ```
52
+ # Run on all wav files under the ~/test_input folder (equivalent to ~/test_input/*.wav)
53
+ ./run_effect.sh -g a2 -e denoiser -s 48 -i ~/test_input
54
+
55
+ # Run only on /test/sample.wav
56
+ ./run_effect.sh -g a2 -e denoiser -s 48 -i /test/sample.wav
57
+ ```
58
+
59
+ For further details about the sample programs, please refer to Section 3.3: Sample Applications in the Programming Guide
60
+
61
+ ## Supported effects
62
+ The following effects are supported:
63
+ ```
64
+ # Denoiser
65
+ ./run_effect.sh -g a16 -e denoiser -s 16 -b 10
66
+ ./run_effect.sh -g a16 -e denoiser -s 48 -b 10
67
+
68
+ # Dereverb
69
+ ./run_effect.sh -g a16 -e dereverb -s 16 -b 10
70
+ ./run_effect.sh -g a16 -e dereverb -s 48 -b 10
71
+
72
+ # Dereverb+Denoiser
73
+ ./run_effect.sh -g a16 -e dereverb_denoiser -s 16 -b 10
74
+ ./run_effect.sh -g a16 -e dereverb_denoiser -s 48 -b 10
75
+
76
+ # AEC
77
+ ./run_effect.sh -g a16 -e aec -s 16 -b 10
78
+ ./run_effect.sh -g a16 -e aec -s 48 -b 10
79
+
80
+ # Superres 8k-16k
81
+ ./run_effect.sh -g a16 -e superres -s 8 -o 16 -b 10
82
+ # Superres 16k-48k
83
+ ./run_effect.sh -g a16 -e superres -s 16 -o 48 -b 10
84
+ # Superres 8k-48k
85
+ ./run_effect.sh -g a16 -e superres -s 8 -o 48 -b 10
86
+ ```
87
+ The following chained effects are supported:
88
+ ```
89
+ # Denoiser 16k + Superres 16k-48k
90
+ ./run_effect_chained.sh -e1 denoiser -s1 16 -e2 superres -s2 16 -g a16 -b 3
91
+ # Dereverb 16k + Superres 16k-48k
92
+ ./run_effect_chained.sh -e1 dereverb -s1 16 -e2 superres -s2 16 -g a16 -b 3
93
+ # Dereverb+Denoiser 16k + Superres 16k-48k
94
+ ./run_effect_chained.sh -e1 dereverb_denoiser -s1 16 -e2 superres -s2 16 -g a16 -b 3
95
+ # Superres 8k-16k + Denoiser 16k
96
+ ./run_effect_chained.sh -e1 superres -s1 8 -e2 denoiser -s2 16 -g a16 -b 3
97
+ # Superres 8k-16k + Dereverb 16k
98
+ ./run_effect_chained.sh -e1 superres -s1 8 -e2 dereverb -s2 16 -g a16 -b 3
99
+ # Superres 8k-16k + Dereverb+Denoiser 16k
100
+ ./run_effect_chained.sh -e1 superres -s1 8 -e2 dereverb_denoiser -s2 16 -g a16 -b 3
101
+
102
+ ```
103
+
104
+ # Building applications with the SDK
105
+ For sample workflow for building applications with the SDK, please refer to Section 4.1: End to End flow in SDK application
106
+
107
+ v1.3.0
108
+ - Latency for Superresolution effect has been reduced. The maximum batch size for these effects has also changed.