Example #1
0
def simple_mixed_cut():
    return MixedCut(id='simple-mixed-cut',
                    tracks=[
                        MixTrack(cut=dummy_cut('cut0', duration=10.0)),
                        MixTrack(cut=dummy_cut('cut1', duration=10.0),
                                 offset=5.0),
                    ])
Example #2
0
def cut_set_with_mixed_cut(cut1, cut2):
    mixed_cut = MixedCut(
        id="mixed-cut-id",
        tracks=[MixTrack(cut=cut1),
                MixTrack(cut=cut2, offset=1.0, snr=10)],
    )
    return CutSet({cut.id: cut for cut in [cut1, cut2, mixed_cut]})
Example #3
0
def simple_mixed_cut():
    return MixedCut(
        id="simple-mixed-cut",
        tracks=[
            MixTrack(cut=dummy_cut(0, duration=10.0)),
            MixTrack(cut=dummy_cut(1, duration=10.0), offset=5.0),
        ],
    )