-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy patheffects.py
More file actions
22 lines (17 loc) · 785 Bytes
/
effects.py
File metadata and controls
22 lines (17 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
'''
Usage : python effects.py
Input : An input WAV file for processing
Output : Five processed WAV audio samples
Note : Please change the code below to fit your needs.
'''
import sys
sys.path.append('<path>/PythonAudioEffects')
# EXAMPLE: In my case it was, sys.path.append('/home/pixel22/Projects/PythonAudioEffects')
from AudioLib import AudioEffect
input_file_path = 'input.wav'
output_filename = 'output'
AudioEffect.ghost(input_file_path, output_filename + '_ghost.wav')
AudioEffect.robotic(input_file_path, output_filename + '_robotic.wav')
AudioEffect.echo(input_file_path, output_filename + '_echo.wav')
AudioEffect.radio(input_file_path, output_filename + '_radio.wav')
AudioEffect.darth_vader(input_file_path, output_filename + '_vader.wav')