Exemplo n.º 1
0
def diapason_bass(midi_in,beat,temperament,velocity):
    midi=midi_in
    plr = make_addtive_resonance(qCorrect=1.0, rollOff=3.0, saturate=0.5, power=1.1, post=None, limit = True, flat = True, seed = -30)
    notes1=Player.play(
        midi,
        beat,
        temperament,
        voice=plr,
        bend=False,
        mellow=False,
        velocity_correct=velocity*1.5,
        flat_env=True,
        quick_factor=1.25,
        pure=True,
        pan = 0.2
    )
    notes2=Player.play(
        midi,
        beat,
        temperament,
        voice=plr,
        bend=False,
        mellow=False,
        velocity_correct=velocity*0.25,
        flat_env=True,
        quick_factor=1.0,
        pure=True,
        pitch_shift=4.0,
        pan = 0.8
    )
    left1,right1 = post_process(notes1)
    left2,right2 = post_process(notes2)
    return sf.FixSize(mix(left1,left2)),sf.FixSize(mix(right1,right2))
Exemplo n.º 2
0
def distant(midi_in,beat,temperament,velocity):
    notes1=Player.play(
        midi_in,
        beat,
        temperament,
        voice=distant_wind,
        bend=True,
        mellow=False,
        velocity_correct=velocity*1.5,
        flat_env=True,
        quick_factor=1.5,
        pan = -1
    )
    return post_process(notes1)
Exemplo n.º 3
0
def string(midi_in,beat,temperament,velocity):
    l = 512
    plr = make_addtive_resonance(qCorrect=2.0, rollOff=1.5, power=1.0, post=violin_filter)
    notes1=Player.play(
        midi_in,
        beat,
        temperament,
        voice=plr,
        bend=True,
        mellow=False,
        velocity_correct=velocity*1.5,
        flat_env=True,
        quick_factor=1.0,
        pan = -1
    )
    return post_process(notes1)
Exemplo n.º 4
0
def oboe_soft_lead(midi_in,beat,temperament,velocity):
    plr = make_addtive_resonance(qCorrect=2.0, rollOff=1.0, saturate=0.1, power=1.4,
                                 post=tremulus_oboe_filter, limit = True, flat = False, seed = -60)
    notes1=Player.play(
        midi_in,
        beat,
        temperament,
        voice=plr,
        bend=False,
        mellow=False,
        velocity_correct=velocity*1.5,
        flat_env=True,
        quick_factor=0.5,
        pure=True,
        pan = -1
    )
    return post_process(notes1)
Exemplo n.º 5
0
def distant_bass(midi_in,beat,temperament,velocity):
    l = 512
    plr = make_addtive_resonance(qCorrect=1.0, rollOff=2.0, saturate=0.5, power=1.1)
    notes1=Player.play(
        midi_in,
        beat,
        temperament,
        voice=plr,
        bend=False,
        mellow=False,
        velocity_correct=velocity,
        flat_env=True,
        quick_factor=1.5,
        pure=True,
        pan = -1
    )
    return post_process(notes1)
Exemplo n.º 6
0
def oboe_second(midi_in,beat,temperament,velocity):
    midi=midi_in
    plr = make_addtive_resonance(qCorrect=1.5, rollOff=1.5, saturate=0.1, power=1.4, post=oboe_filter)
    notes1=Player.play(
        midi,
        beat,
        temperament,
        voice=plr,
        bend=False,
        mellow=False,
        velocity_correct=velocity*1.5,
        flat_env=True,
        quick_factor=1.0,
        pure=True,
        pan = -1
    )
    return post_process(notes1)