Пример #1
0
def afraid_sox_init(speed, depth, number_of_bends, start_time_now,
                    end_time_now, cents, tempo, intensity):
    patch = Transformer()
    patch.tremolo(speed, depth)
    patch.tempo(tempo, 's')
    patch.gain(intensity)
    # patch.bend(number_of_bends,start_time_now,end_time_now,cents,50)
    return patch
Пример #2
0
def sad_sox_init(
    semitones,gain,
    cutfreq,tempo):
    patch = Transformer()
    patch.pitch(semitones, False)
    patch.tempo(tempo, 's')
    patch.treble(gain, cutfreq, 0.5)
    return patch
Пример #3
0
def sad_sox_init(semitones, gain, CUTFREQ, output_file_path):
    CUTFREQ = 3500
    patch = Transformer()
    patch.pitch(semitones, False)
    patch.tempo(0.95, 's')
    patch.treble(gain, CUTFREQ, 0.5)
    patch.build(FILE_NAME_PATH, output_file_path)
    return patch
Пример #4
0
def afraid_sox_init(speed,depth,number_of_bends,start_time_now,end_time_now,cents,filenameout):
	patch = Transformer()
	patch.tremolo(speed,depth)
	patch.tempo(1.05,'s')
	patch.gain(1.1)
	#patch.bend(number_of_bends,start_time_now,end_time_now,cents,50)			
	patch.build(FILE_NAME_PATH,filenameout)
	return patch
Пример #5
0
def happy_tensed_sox_init(filenameout,semitones,number_of_bends,start_time_now,end_time_now,cents,CUTFREQ,gain,QFACTOR):
	patch = Transformer()
	patch.pitch(semitones,False)
	patch.tempo(1.18,'s')
	patch.gain(gain)
	#patch.bend(number_of_bends,start_time_now,end_time_now,cents,50)			
	patch.treble(gain,CUTFREQ,0.5)
	patch.equalizer(CUTFREQ,QFACTOR,gain)
	patch.build(FILE_NAME_PATH,filenameout)
	return patch
Пример #6
0
def happy_tensed_sox_init(semitones, number_of_bends, start_time_now,
                          end_time_now, cents, cutfreq, gain, tempo, intensity,
                          qfactor):
    patch = Transformer()
    patch.pitch(semitones, False)
    patch.tempo(tempo, 's')
    patch.gain(intensity)
    # patch.bend(number_of_bends,start_time_now,end_time_now,cents,50)
    patch.treble(gain, cutfreq, 0.5)
    patch.equalizer(cutfreq, qfactor, gain)
    return patch
Пример #7
0
def happy_sox_init(output_file_path, semitones, number_of_bends,
                   start_time_now, end_time_now, cents, CUTFREQ, gain,
                   QFACTOR):
    patch = Transformer()
    patch.pitch(semitones, False)
    patch.tempo(1.1, 's')
    patch.gain(2.0)
    #patch.bend(number_of_bends,start_time_now,end_time_now,cents,50)
    patch.treble(gain, CUTFREQ, 0.5)
    patch.equalizer(CUTFREQ, QFACTOR, gain)
    print FILE_NAME_PATH
    print output_file_path
    patch.build(FILE_NAME_PATH, output_file_path)
    return patch