def darth_vader(input_path, output_path):
     '''Applies a Darth Vader effect to a given input audio file'''
     sound = AudioProcessing(input_path)
     sound.set_audio_speed(.8)
     sound.set_echo(0.02)
     sound.set_lowpass(2500)
     sound.save_to_file(output_path)
 def ghost(input_path, output_path):
     '''Applies a ghostly halloween effect to a given input audio file'''
     sound = AudioProcessing(input_path)
     sound.set_reverse()
     sound.set_echo(0.05)
     sound.set_reverse()
     sound.set_audio_speed(.70)
     sound.set_audio_pitch(2)
     sound.set_volume(8.0)
     sound.set_bandpass(50, 3200)
     sound.save_to_file(output_path)
'''
    Usage  : python processing.py
    
    Input  : An input WAV file for processing
    Output : A processed WAV audio sample
    
    Note   : Please change the code below to fit your needs.
'''

from AudioLib.AudioProcessing import AudioProcessing

sound1 = AudioProcessing('input.wav')

sound1.set_audio_speed(0.5)
sound1.set_audio_pitch(2)
sound1.set_reverse()
sound1.set_echo(1)

sound1.save_to_file('output.wav')